/*
Theme Name: ZRS v1
Author: TOKANT
Description: Custom ZRS theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zrs
*/

html,
body {
    margin: 0;
    padding: 0;
}
@media (min-width: 768px) {
    body {
        margin-bottom: 185px;
    }
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}


/* typography */

@font-face {
    font-family: 'FoundersGroteskWeb-Light';
    src: url('assets/webfonts/FoundersGroteskWeb-Light.eot');
    src: url('assets/webfonts/FoundersGroteskWeb-Light.eot?#iefix') format('embedded-opentype'), 
        url('assets/webfonts/FoundersGroteskWeb-Light.woff2') format('woff2'),
        url('assets/webfonts/FoundersGroteskWeb-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
html {
    font-family: 'FoundersGroteskWeb-Light';
    font-weight: 300;
    font-size: 8px;
    line-height: 8px;
}
@media (min-width: 1280px) {
    html {
        font-size: 10px;
        line-height: 10px;
    }
}

body {
    font-size: 2rem;
    line-height: 2rem;
    /*background-color: rgb(239, 239, 239);*/
}

html, button, input, select, textarea, .pure-g, .pure-g [class *= "pure-u"] {
    /* Set your content font stack here: */
    font-family: 'FoundersGroteskWeb-Light';
    font-weight: 300;
}

h1, h2, h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 2.5rem;
    line-height: 2.5rem;
}

h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 3.5rem;
    line-height: 3.5rem;
}
@media (min-width: 768px) {
    h4 {
        font-size: 4rem;
    }
}

h5 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 2.3rem;
    line-height: 2.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 300;
    font-size: 2rem;
    line-height: 2.5rem;
}

.fontsize-small {
    font-size: 1.5rem;
}
.fontfamily-foundersgrotesk {
    font-family: 'FoundersGroteskWeb-Light';
    font-weight: 300;
}

.uppercase {
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .textalign-right {
        text-align: right;
    }
}

/* pure css */
.pure-g.padded {
    margin: 0 -10px;
}
@media (min-width: 768px) {
    .pure-g.padded {
        margin: 0 -10px;
    }
}
.pure-g.padded > div {
    position: relative;
    padding: 0 10px;
}
@media (min-width: 768px) {
    .pure-g.padded > div {
        padding: 0 10px;
    }
}

/* colors */

.color-black {
    color: rgb(35, 31, 32);
}
.color-sand {
    color: rgb(226, 205, 170);
}
.color-red {
    color: rgb(242, 114, 105);
}
.color-green {
    color: rgb(120, 130, 95);
}
.color-grey {
    color: rgb(170, 170, 170);
}
.color-sky {
    color: rgb(212, 199, 195);
}
.color-orange {
    color: rgb(235, 109, 53);
}
.color-white {
    color: rgb(255, 255, 255);
}
.bgcolor-black {
    background-color: rgb(35, 31, 32);
}
.bgcolor-sand {
    background-color: rgb(226, 205, 170);
}
.bgcolor-red {
    background-color: rgb(242, 114, 105);
}
.bgcolor-green {
    background-color: #78825f;
}
.bgcolor-grey {
    background-color: rgb(170, 170, 170);
}
.bgcolor-sky {
    background-color: rgb(212, 199, 195);
}
.bgcolor-orange {
    background-color: rgb(235, 109, 53);
}
.bgcolor-white {
    background-color: rgb(255, 255, 255);
}

/* wrappers */

.inner {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1920px;
}


/* figure and img */

figure {
    position: relative;
    margin: 0;
    padding: 0;
}

img.ri {
    width: 100%;
    height: auto;
    display: block;
}

/* margins */
.marginbottom-small {
    margin-bottom: 10px;
}


/* anchor */

a {
    color: rgba(35, 31, 32, 1);
    text-decoration: none;
    -webkit-transition: color 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000), border-bottom 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: color 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000), border-bottom 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: color 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000), border-bottom 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: color 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000), border-bottom 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: color 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000), border-bottom 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
}

/* lists */

ul.unstyled {
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.unstyled.horisontal li {
    display: inline-block;
}

/* toggle */
.height-transition {
    -webkit-transition: height 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: height 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: height 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: height 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: height 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    opacity: 1;
}
.height-transition-hidden {            
    height: 0;
    opacity: 0;
}

/* header */

header {
    position: relative;
    padding: 20px 20px 40px 20px;
    background-color: rgb(255, 255, 255);
    text-transform: uppercase;
    z-index: 100;
}

@media (min-width: 768px) {
    header {
        padding: 40px 40px 80px 40px;
    }
}
@media (min-width: 768px) {
    header {
        -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        opacity: 0;
    }
}
@media (min-width: 768px) {
    #page.document--ready header {
        opacity: 1;
    }
}

header .logo {
    position: relative;
    width: 80px;
    height: 80px;
    background-image: url(assets/images/logos/ZRS-logo-100x100.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    display: block;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
}
@media (min-width: 568px) {
    header .logo {
        width: 125px;
        height: 125px;
        z-index: 105;
    }
}
@media (min-width: 1024px) {
    header .logo {
        width: 110px;
        height: 110px;
    }
}
@media (min-width: 1280px) {
    header .logo {
        width: 125px;
        height: 125px;
    }
}
#page.nav--show header .logo {
    opacity: 0;
    pointer-events: none;
}
@media (min-width: 768px) {
    #page.nav--show header .logo {
        opacity: 1;
        pointer-events: auto;
    }
}

header .logo img {
    position: absolute;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    opacity: 0;
}
#page.frontpage.document--ready header .logo img {
    opacity: 0;
}
#page.term-architecture.document--ready header .logo img:first-child,
#page.term-architektur.document--ready header .logo img:first-child,
#page.page-id-159.document--ready header .logo img:first-child,
#page.page-id-162.document--ready header .logo img:first-child {
    opacity: 1;
}
#page.term-engineering.document--ready header .logo img:last-child,
#page.term-tragwerk-und-bauphysik.document--ready header .logo img:last-child,
#page.page-id-211.document--ready header .logo img:last-child,
#page.page-id-213.document--ready header .logo img:last-child {
    opacity: 1;
}

/* filters */
.filters {
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    z-index: 102;
    opacity: 0;
}
#page.document--ready .filters {
    opacity: 1;
}

.filters a.toggle {
    margin-right: 20px;
}
.filters a.toggle:hover,
.filters a.toggle.open {
    border-bottom: 1px solid rgb(35, 31, 32);
}
.filters ul {
    list-style-type: none;
    padding: 0;
    display: inline;
    line-height: 1.4;
}
.filters ul li {
    display: inline;
}
.filters ul li a {
    margin-right: 20px;
    color: rgb(170, 170, 170);
    white-space: nowrap;
}
.filters ul li a:hover,
.filters ul li.current-cat-parent > a {
    border-bottom: 1px solid rgb(170, 170, 170);
}
.filters ul li ul.children li {
    vertical-align: top;
}
.filters ul.hovercolor-black li.current-cat-parent ul.children li a {
    color: rgb(35, 31, 32);
}
.filters ul.hovercolor-black li.current-cat-parent ul.children li.current-cat a {
    border-bottom: 1px solid rgb(35, 31, 32);
}
.filters ul.hovercolor-sand li.current-cat-parent ul.children li a {
    color: rgb(226, 205, 170);
}
.filters ul.hovercolor-sand li.current-cat-parent ul.children li.current-cat a {
    border-bottom: 1px solid rgb(226, 205, 170);
}
.filters ul.hovercolor-red li.current-cat-parent ul.children li a {
    color: rgb(242, 114, 105);
}
.filters ul.hovercolor-red li.current-cat-parent ul.children li.current-cat a {
    border-bottom: 1px solid rgb(242, 114, 105);
}
.filters ul.hovercolor-green li.current-cat-parent ul.children li a {
    color: rgb(120, 130, 95);
}
.filters ul.hovercolor-green li.current-cat-parent ul.children li.current-cat a {
    border-bottom: 1px solid rgb(120, 130, 95);
}
.filters ul.hovercolor-grey li.current-cat-parent ul.children li a {
    color: rgb(170, 170, 170);
}
.filters ul.hovercolor-grey li.current-cat-parent ul.children li.current-cat a {
    border-bottom: 1px solid rgb(170, 170, 170);
}
.filters ul.hovercolor-sky li.current-cat-parent ul.children li a {
    color: rgb(212, 199, 195);
}
.filters ul.hovercolor-sky li.current-cat-parent ul.children li.current-cat a {
    border-bottom: 1px solid rgb(212, 199, 195);
}
.filters ul.hovercolor-offwhite li.current-cat-parent ul.children li a {
    color: rgb(245, 245, 245);
}
.filters ul.hovercolor-offwhite li.current-cat-parent ul.children li.current-cat a {
    border-bottom: 1px solid rgb(245, 245, 245);
}
.filters ul.hovercolor-orange li.current-cat-parent ul.children li a {
    color: rgb(235, 109, 53);
}
.filters ul.hovercolor-orange li.current-cat-parent ul.children li.current-cat a {
    border-bottom: 1px solid rgb(235, 109, 53);
}
.filters #content {
    max-width: 568px;
    margin-top: 10px;
    pointer-events: none;
}
@media (min-width: 1024px) {
    .filters #content {
        margin-top: -22px;
    }
}
@media (min-width: 1280px) {
    .filters #content {
        margin-top: -28px;
    }
}
.filters form {}
.filters form input {
    padding: 0;
    border: 0;
}
.filter-toggle {
    position: relative;
    height: 20px;
    border: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0 25px 0 0;
    background-color: transparent;
    color: rgba(35, 31, 32, 1);
}

header #page-title {
    margin: 10px 0 0 0;
    -webkit-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
}
@media (min-width: 768px) {
    header #page-title {
        position: absolute;
        bottom: 0;
        display: block;
    }
}
#page.nav--show header #page-title {
    opacity: 0;
}
header #page-title a {
    border-bottom: 1px solid rgba(35, 31, 32, 0);
}
header #page-title a:hover {
    border-bottom: 1px solid rgba(35, 31, 32, 1);
}

#menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 104;
}
#menu-toggle span {
    min-width: 50px;
    text-align: right;
}
#menu-toggle span.show {
    display: block;
}
#menu-toggle span.hide {
    display: none;
}
#page.nav--show #menu-toggle span.show {
    display: none;
}
#page.nav--show #menu-toggle span.hide {
    display: block;
}

#language-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    color: rgb(170, 170, 170);
}
@media (min-width: 768px) {
    #language-toggle {
        z-index: 103;
    }
}
#language-toggle li + li::before {
    content: '\00a0/\00a0';
    display: inline-block;
    
}
#language-toggle li a {
    color: rgb(170, 170, 170);
}
#language-toggle li {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}
#language-toggle li.current-lang a {
    pointer-events: none;
}
#language-toggle li.current-lang a,
#language-toggle li a:hover {
    color: rgba(35, 31, 32, 1);
}
header nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
    -webkit-transition: -webkit-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: -moz-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: -ms-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: -o-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    -o-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    background-color: white;
    z-index: 103;
    opacity: 0;
}
@media (min-width: 768px) {
    header nav {
        position: absolute;
        bottom: auto;
        padding: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        -moz-transform: translate3d(0, -100%, 0);
        -ms-transform: translate3d(0, -100%, 0);
        -o-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}
#page.document--ready.nav--show header nav {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
}
#primary-menu li + li {
    margin-top: 15px;
}
#primary-menu li a {
    border-bottom: 1px solid rgba(35, 31, 32, 0);
}
#primary-menu li a:hover {
    border-bottom: 1px solid rgba(35, 31, 32, 1);
}

#secondary-menu {
    margin-top: 20px;
}
@media (min-width: 768px) {
    #secondary-menu {
        margin-top: 0;
    }
}
#secondary-menu li + li {
    margin-top: 15px;
}
#secondary-menu li a {
    color: rgb(170, 170, 170);
    border-bottom: 1px solid rgba(191, 191, 191, 0);
}
#secondary-menu li a:hover {
    border-bottom: 1px solid rgba(191, 191, 191, 1);
}
#secondary-menu li form input {
    color: rgb(170, 170, 170);
    padding: 0;
    border: 0;
    outline: none;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius:0;
    border-radius: 0;
    display: block;
}
@media (min-width: 768px) {
    #secondary-menu li form input {
        height: 20px;
    }
}
#secondary-menu li form input::-webkit-input-placeholder {
    color: rgb(170, 170, 170);
    opacity: 1;
}
#secondary-menu li form input::-moz-placeholder {
    color: rgb(170, 170, 170);
    opacity: 1;
}
#secondary-menu li form input:-ms-input-placeholder {
    color: rgb(170, 170, 170);
    opacity: 1;
}
#secondary-menu li form input:-moz-placeholder {
    color: rgb(170, 170, 170);
    opacity: 1;
}

/* main */

main {
    position: relative;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    z-index: 2;
}
/*
#page.document--ready main {
    opacity: 1;
}
*/
@media (min-width: 768px) {
    main {
        padding: 0 40px;
        
    }
}
@media (min-width: 768px) {
    main {
        -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        opacity: 0;
    }
}
@media (min-width: 768px) {
    #page.document--ready main {
        opacity: 1;
    }
}

/* section.masonry-grid */

section.masonry-grid {
    margin: -10px;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    /*opacity: 0;*/
}
#page.document--ready section.masonry-grid.loaded {
    opacity: 1;
}
.grid:after {
    content: '';
    display: table;
    clear: both;
}

.grid-sizer,
.grid-item {
    float: left;
}
.grid-sizer {
    width: 100%;
}
.grid-item {
    width: 100%;
    padding: 10px 10px;
}
@media (min-width: 568px) {
    .grid-sizer {
        width: 50%;
    }
    .grid-item {
        width: 50%;
    }
    .grid.grid-three-cols .grid-sizer {
        width: 50%;
    }
    .grid.grid-three-cols .grid-item {
        width: 50%;
    }
}
@media (min-width: 1024px) {
    .grid-sizer {
        width: 25%;
    }
    .grid-item {
        width: 25%;
    }
    .grid.grid-three-cols .grid-sizer {
        width: 33.3333%;
    }
    .grid.grid-three-cols .grid-item {
        width: 33.3333%;
    }
}
@media (min-width: 1280px) {
    .grid-sizer {
        width: 25%;
    }
    .grid-item {
        width: 25%;
    }
    .grid.grid-three-cols .grid-sizer {
        width: 33.3333%;
    }
    .grid.grid-three-cols .grid-item {
        width: 33.3333%;
    }
}
@media (min-width: 768px) {
    .grid-item.double {
        width: 50%;
    }
}
.grid-item.full {
    width: 100%;
}

section.masonry-grid a {
    display: block;
}
section.masonry-grid figure img {
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    opacity: 0;
}
section.masonry-grid figure.loaded img {
    opacity: 1;
}
@media (min-width: 768px) {
    section.masonry-grid figure::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(35, 31, 32, 1);
        -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        opacity: 1;
        z-index: 1;
        pointer-events: none;
    }
}
@media (min-width: 768px) {
    section.masonry-grid figure.loaded::after {
        opacity: 0;
    }
}
@media (min-width: 768px) {
    section.masonry-grid figure.overlaycolor-black::after {
        background-color: rgb(35, 31, 32);
    }
    section.masonry-grid figure.overlaycolor-sand::after {
        background-color: rgb(226, 205, 170);
    }
    section.masonry-grid figure.overlaycolor-red::after {
        background-color: rgb(242, 114, 105);
    }
    section.masonry-grid figure.overlaycolor-green::after {
        background-color: rgb(120, 130, 95);
    }
    section.masonry-grid figure.overlaycolor-grey::after {
        background-color: rgb(170, 170, 170);
    }
    section.masonry-grid figure.overlaycolor-sky::after {
        background-color: rgb(212, 199, 195);
    }
    section.masonry-grid figure.overlaycolor-offwhite::after {
        background-color: rgb(245, 245, 245);
    }
    section.masonry-grid figure.overlaycolor-orange::after {
        background-color: rgb(235, 109, 53);
    }
}
@media (min-width: 768px) {
    section.masonry-grid a:hover figure::after {
        opacity: 0.8;
    }
}
@media (min-width: 768px) {
    section.masonry-grid a:hover figure.overlay::after {
        opacity: 0.8;
    }
}
section.masonry-grid figure.overlay figcaption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    opacity: 0;
    z-index: 2;
    display: none;
}
@media (min-width: 768px) {
    section.masonry-grid figure.overlay figcaption {
        padding: 40px;
        display: block;
    }
}
section.masonry-grid a:hover figure.overlay figcaption {
    opacity: 1;
}
section.masonry-grid a h5 {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(35, 31, 32, 0);
    display: inline;
    -webkit-transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
}
section.masonry-grid a:hover h5 {
    border-bottom: 1px solid rgba(35, 31, 32, 1);
}

section.masonry-grid a figure.typographic {
    min-height: 200px;
}
section.masonry-grid figure.typographic figcaption {
    padding: 20px;
}
@media (min-width: 768px) {
    section.masonry-grid figure.typographic figcaption {
        padding: 20px;
    }
}
section.masonry-grid figure.typographic figcaption h4 {
    font-size: 3.2rem;
    line-height: 3rem;
    /*
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    */
}


section.masonry-grid a p {
    margin-top: 5px;
}

/* section.article */
section.article {}
section.article .images {
    margin-top: 40px;
}
@media (min-width: 768px) {
    section.article .images {
        margin-top: 0;
    }
}
section.article .images figure + figure {
    margin-top: 20px;
}
@media (min-width: 568px) {
    section.article .images figure + figure {
        margin-top: 20px;
    }
}
section.article #content {
    max-width: 568px;
    -webkit-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
}
section.article #content.stuck {
    position: fixed;
    top: 20px;
}
section.article #content.hide {
    opacity: 0;
}
section.article #content article p a {
    border-bottom: 1px solid rgba(191, 191, 191, 1);
}
section.article #meta {
    margin-top: 20px;
    color: rgba(191, 191, 191, 1);
}
section.article #meta {
    margin-bottom: 0;
}
section.article #meta a {
    color: rgba(191, 191, 191, 1);
    border-bottom: 1px solid rgba(191, 191, 191, 0);
    -webkit-transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: border-bottom 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
}
section.article #meta a:hover {
    border-bottom: 1px solid rgba(191, 191, 191, 1);
}

/* section.project */
section.project {}

section.project h4.title {
    margin-bottom: 10px;
}
section.project h4.location {
    margin-bottom: 0;
}
section.project #title-facts {}
section.project #facts {
    margin-bottom: 20px;
    line-height: 2.5rem;
}
@media (min-width: 1024px) {
    section.project #facts {
        margin-bottom: 0;
    }
}
@media (min-width: 1024px) {
    section.project #facts.stuck {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 10px;
    }
}
section.project #facts .fact {
    max-width: 280px;
}
section.project #facts .fact + .fact {
    margin-top: 10px;
}
section.project #content {
    max-width: 568px;
    line-height: 2.5rem;
}
section.project #content p:last-child {
    margin-bottom: 0;
}
section.project #content ul {
    margin-top: 10px;
    padding: 0 20px;
    list-style-type: circle;
}
section.project #content a {
    border-bottom: 1px solid rgb(35, 31, 32);
}
section.project #content a:hover {
    color: rgb(170, 170, 170);
    border-bottom: 1px solid rgb(170, 170, 170);
}

/* section.divider */
section.divider {
    position: relative;
    height: 1px;
    background-color: rgba(35, 31, 32, 1);
}

/* section.spacer */
section.spacer {
    position: relative;
    height: 20px;
}
@media (min-width: 568px) {
    section.spacer {
        height: 40px;
    }
}
section.spacer.small {
    position: relative;
    height: 10px;
}
@media (min-width: 568px) {
    section.spacer.small {
        height: 20px;
    }
}
section.spacer.medium {
    position: relative;
    height: 30px;
}
@media (min-width: 568px) {
    section.spacer.medium {
        height: 60px;
    }
}
section.spacer.large {
    height: 40px;
}
@media (min-width: 568px) {
    section.spacer.large {
        height: 80px;
    }
}

/* section.accordion */

section.accordion .filters {
    margin-top: 10px;
}
@media (min-width: 768px) {
    section.accordion .filters {
        margin-top: 0;
    }
}
section.accordion article {
    padding: 20px 0;
    border-top: 1px solid rgba(35, 31, 32, 1);
}
section.accordion article:last-child {
    border-bottom: 1px solid rgba(35, 31, 32, 1);
}
section.accordion article.expanded {}
section.accordion article .item-toggle {}
section.accordion article .item-toggle h4.section-title {
    margin: 0;
    padding-right: 20px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: url(assets/images/misc/plus-dark-20x20.svg);
    background-repeat: no-repeat;
    background-position: right center;
}
@media (min-width: 768px) {
    section.accordion article .item-toggle h4.section-title {
        padding-right: 0;
        background-image: none;
    }
}
section.accordion article.expanded .item-toggle h4.section-title {
    background-image: none;
}
section.accordion article .item-toggle .plus {
    height: 100%;
    display: none;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-top: 6px;
}
@media (min-width: 768px) {
    section.accordion article .item-toggle .plus {
        display: block;
    }
}
section.accordion article.expanded .item-toggle .plus {
    display: none;
}
section.accordion article .item-toggle .plus img {
    -webkit-transition: -webkit-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: -moz-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: -ms-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: -o-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
}
section.accordion article .item-toggle:hover .plus img {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
section.accordion article .item-toggle .filters {
    display: none;
}
section.accordion article.expanded .item-toggle .filters {
    display: block;
}
section.accordion article .item {
    position: relative;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    opacity: 0;
    height: 0;
    overflow: hidden;
}
section.accordion article.expanded .item {    
    margin-top: 20px;
    margin-bottom: 20px;
    opacity: 1;
    height: auto;
}
@media (min-width: 568px) {
    section.accordion article.expanded .item {    
        margin-top: 40px;
        margin-bottom: 40px;
    }
}
section.accordion article .item .image {
    display: none;
}
@media (min-width: 768px) {
    section.accordion article .item .image {
        display: block;
    }
}
@media (min-width: 768px) {
    section.accordion article.expanded .item .image {
        position: relative;
        -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
        transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    }
}
@media (min-width: 768px) {
    section.accordion article.expanded .item .image.hide {
        opacity: 0;
    }
}
section.accordion article .item .title,
section.accordion article .item .description {
    max-width: 568px;
}
section.accordion article .item .description p a {
    border-bottom: 1px solid rgb(35, 31, 32);
}
section.accordion article .item .description p a:hover {
    color: rgb(170, 170, 170);
    border-bottom: 1px solid rgb(170, 170, 170);
}
section.accordion article .item .sub-item {
    margin-bottom: 10px;
}
/*
section.accordion article .item .sub-item.open:not(:first-child) {
    margin-top: 10px;
}
*/
section.accordion article .item .sub-item .title p {
    margin-bottom: 0;
}
section.accordion article .item .sub-item.open .title p a {
    color: rgb(235, 109, 53);
    border-bottom: 1px solid rgb(235, 109, 53);
}
section.accordion article .item .sub-item:not(.open) .title p a:hover {
    border-bottom: 1px solid rgb(35, 31, 32);
}
section.accordion article .item .sub-item .description {
    display: none;
    margin-top: 5px;
}
section.accordion article .item .sub-item.open .description {
    display: block;
}
section.accordion article .item .sub-item .description p:last-child {
    margin-bottom: 20px;
}
section.accordion article .item .publication {
    cursor: pointer;
}
section.accordion article .item .publication + .publication {
    margin-top: 20px;
}
section.accordion article .item .publication .image {
    position: absolute;
    top: 0;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    opacity: 0;
}
section.accordion article .item .publication:hover .image {
    opacity: 1;
}

section.accordion article .item .sub-item a {
    border-bottom: 1px solid rgba(35, 31, 32, 0);
}
section.accordion article .item .sub-item a:hover {
    border-bottom: 1px solid rgba(35, 31, 32, 1);
}
section.accordion .filters ul li.current-menu-parent > a,
section.accordion .filters ul li a:hover {
    border-bottom: 1px solid rgb(170, 170, 170);
}

/* tabs */
section.accordion article .item-toggle .tabs {
    display: none;
}
section.accordion article.expanded .item-toggle .tabs {
    display: block;
}
section.accordion article .item-toggle .tabs ul li a {
    margin-right: 20px;
    color: rgb(170, 170, 170);
    white-space: nowrap;
}
section.accordion article .item-toggle .tabs ul li a:hover,
section.accordion article .item-toggle .tabs ul li.current > a {
    border-bottom: 1px solid rgb(170, 170, 170);
}
section.accordion article .item .tab-content {
    display: none;
}
section.accordion article .item .tab-content.current {
    display: inherit;
}


/* section.map */
section.map .googlemap {
    position: relative;
    margin-bottom: 20px;
    height: 240px;
    background-color: rgb(170, 170, 170);
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    opacity: 0;
}
@media (min-width: 568px) {
    section.map .googlemap {
        height: 480px;
        margin-bottom: 0;
    }
}
#page.document--ready section.map .googlemap {
    opacity: 1;
}
section.map span.super {
    text-transform: uppercase;
    vertical-align: super;
    font-size: 1.2rem;
    margin-right: 5px;
    color: rgb(170, 170, 170);
}
section.map  a {
    border-bottom: 1px solid rgba(35, 31, 32, 0);
}
section.map a:hover {
    border-bottom: 1px solid rgba(35, 31, 32, 1);
}
section.map .accreditation {
    margin-top: 40px;
}

/* section.download */
section.download {
    line-height: 2.5rem;
}
section.download a {
    border-bottom: 1px solid rgba(35, 31, 32, 0);
}
section.download a:hover {
    border-bottom: 1px solid rgba(35, 31, 32, 1);
}
section.download a img {
    vertical-align: text-bottom;
}

/* section.download */
section.form input[type="text"] {
    border: 0;
    border-bottom: 1px solid rgb(35, 31, 32);
    background-color: transparent;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius:0;
    border-radius: 0;
}
section.form input[type="text"]::-webkit-input-placeholder {
    color: rgb(35, 31, 32);
    opacity: 1;
}
section.form input[type="text"]::-moz-placeholder {
    color: rgb(35, 31, 32);
    opacity: 1;
}
section.form input[type="text"]:-ms-input-placeholder {
    color: rgb(35, 31, 32);
    opacity: 1;
}
section.form input[type="text"]:-moz-placeholder {
    color: rgb(35, 31, 32);
    opacity: 1;
}

/* search form */
form.search input[type="text"] {
    width: 100%;
    border: 0;
    background-color: transparent;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius:0;
    border-radius: 0;
}
form.search input[type="text"]::-webkit-input-placeholder {
    color: rgb(35, 31, 32);
    opacity: 1;
}
form.search input[type="text"]::-moz-placeholder {
    color: rgb(35, 31, 32);
    opacity: 1;
}
form.search input[type="text"]:-ms-input-placeholder {
    color: rgb(35, 31, 32);
    opacity: 1;
}
form.search input[type="text"]:-moz-placeholder {
    color: rgb(35, 31, 32);
    opacity: 1;
}

/* search-placeholder */
.search-placeholder {
    position: relative;
}
.search-placeholder-watermark {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 65px;
}

/* footer */
footer {
    position: relative;
    padding: 30px 20px;
    background-color: rgb(239, 239, 239);
    font-size: 1.5rem;
    line-height: 1.5rem;
    z-index: 1;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    opacity: 0;
}
#page.document--ready footer {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
@media (min-width: 768px) {
    footer {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        height: 185px;
        padding: 60px 40px; 
    }
}

footer .pure-g.padded {
    margin: -10px;
}
@media (min-width: 768px) {
    footer .pure-g.padded {
        margin: -10px;
    }
}
footer .pure-g.padded > div {
    padding: 10px;
}
@media (min-width: 768px) {
    footer .pure-g.padded > div {
        padding: 10px;
    }
}

footer .logo {
    position: relative;
    width: 65px;
    height: 65px;
    background-image: url(assets/images/logos/ZRS-logo-100x100.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    display: block; 
}
footer .logo img {
    position: absolute;
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000) 500ms;
    opacity: 0;
}
footer .logo:hover img:first-child {
    -webkit-animation: fadeinout 4s infinite;
    -moz-animation: fadeinout 4s infinite;
    -ms-animation: fadeinout 4s infinite;
    -o-animation: fadeinout 4s infinite;
    animation: fadeinout 4s infinite;
}
footer .logo:hover img:last-child {
    -webkit-animation: fadeinout 4s infinite 2s;
    -moz-animation: fadeinout 4s infinite 2s;
    -ms-animation: fadeinout 4s infinite 2s;
    -o-animation: fadeinout 4s infinite 2s;
    animation: fadeinout 4s infinite 2s;
}
@-webkit-keyframes fadeinout {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
@-moz-keyframes fadeinout {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
@-ms-keyframes fadeinout {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
@-o-keyframes fadeinout {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
@keyframes fadeinout {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

#address {
    line-height: 20px;
}

#contact {
    line-height: 20px;
}
#contact li a {
    border-bottom: 1px solid rgba(35, 31, 32, 0);
}
#contact li a:hover {
    border-bottom: 1px solid rgba(35, 31, 32, 1);
}
#newsletter {
	margin-top: 10px;
    line-height: 20px;
}
#newsletter input {
	border: 2px solid white;
    background-color: transparent;
    padding: 2px 5px;
}
#newsletter input:focus {
    outline: none;
}
#newsletter input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: rgba(35, 31, 32, 1);
}
#newsletter input::-moz-placeholder { /* Firefox 19+ */
    color: rgba(35, 31, 32, 1);
}
#newsletter input:-ms-input-placeholder { /* IE 10+ */
    color: rgba(35, 31, 32, 1);
}
#newsletter input:-moz-placeholder { /* Firefox 18- */
    color: rgba(35, 31, 32, 1);
    opacity: 1;
}
#social li + li {
    margin-left: 10px;
}
#social li a {
    -webkit-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    display: block;
}
#social li a:hover {
    opacity: 0.25;
}
#social li a img {
    max-width: 15px;
}

/* imagelightbox */
a.imagelightbox {}
a.imagelightbox::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    background-image: url(assets/images/misc/fullscreen-dark-20x20.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
    border-radius: 50%;
    /*border: 1px solid rgba(0, 0, 0, 0.75);*/
    opacity: 0;
    -webkit-transition: -webkit-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: -moz-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: -ms-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: -o-transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: transform 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000), opacity 500ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
}
a.imagelightbox:hover::after {
    opacity: 1;
    -webkit-transform: rotateZ(180deg);
    -moz-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
    -o-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
}

/* flickity */
.flickity-enabled {
    position: relative;
}

.flickity-enabled:focus {
    outline: none;
}

.flickity-enabled.flickity-enabled.is-draggable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.flickity-enabled.flickity-enabled.is-draggable .flickity-viewport {
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab;
}

.flickity-enabled.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.flickity-enabled .flickity-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100% !important;
}

.flickity-enabled .flickity-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}
/* lightbox */
#lightbox {
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 999;
    -webkit-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -moz-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -ms-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    -o-transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    transition: opacity 250ms cubic-bezier(0.230, 0.810, 0.560, 1.000);
    opacity: 0;
}
#page.lightbox-enabled #lightbox {
    opacity: 1;
}

#lightbox .slider {
    width: 100%;
    height: 100%;
}

#lightbox .slider .slide {
    width: 100%;
    height: 100%;
}

#lightbox .slider .slide .frame {
    width: 100%;
    height: 100%;
    display: table;
    table-layout: fixed;
}

#lightbox .slider .slide .frame .valign {
    width: 100%;
    height: 100%;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    line-height: 0;
}

#lightbox .slider .slide .frame .valign img {
    max-width: 100%;
    height: auto;
}

#lightbox .exit {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    cursor: pointer;
    background-image: url(assets/images/misc/close-dark-20x20.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
}

#lightbox .prev,
#lightbox .next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: transparent;
    cursor: pointer;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
}
#lightbox .prev {
    left: 20px;    
    background-image: url(assets/images/misc/arrow-left-dark-20x20.svg);
}
#lightbox .next {
    right: 20px;
    background-image: url(assets/images/misc/arrow-right-dark-20x20.svg);
}