:root {
  --margin: 20px;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    background-color: #FFF;
    min-height: 100vh;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.vimeo iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: 'zemlenyi_sansregular';
  src: url('../font/nb_international_pro_regular-webfont.eot');
  src: url('../font/nb_international_pro_regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('../font/nb_international_pro_regular-webfont.woff2') format('woff2'),
       url('../font/nb_international_pro_regular-webfont.woff') format('woff'),
       url('../font/nb_international_pro_regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body {
   font-family: 'zemlenyi_sansregular';
   font-size: 16px;
   line-height: 120%;
   box-sizing: border-box !important;
   cursor: default;
   padding: 0;
   margin: 0;
   max-width: 100vw;
   overflow-x: hidden !important;
}
#app {
    background: #fff;
}
#pagecontent {
    opacity: 1;
}
#pagecontent.fade {
    opacity: 1;
    -webkit-transition: all 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -moz-transition: all 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -o-transition: all 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition: all 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
a {
   color: black;
   text-decoration: none;
   cursor: pointer;
}
#pagecontent img {
    max-width: 100%;
}
#pagecontent .partial img {
    object-position: left top;
    object-fit: scale-down;
    float: left;
}
[data-portrait="1"] #pagecontent .partial[data-slide-type="1/1"] img {
    width: 50%;
}
.floatleft {
    float: left;
}
.floatright {
    float: right;
}
.clearboth {
    clear: both;
}
.display-none {
    display: none;
}
.btn {
    cursor: pointer;
}
.news-video {
    width: 100%    !important;
    height: auto   !important;
}
.project-description-wrapper {
    z-index: 15;
    position: absolute;
    height: calc(100% - 80px);
    top: 0;
    background: #FFF;
    overflow: hidden;
    overflow-y: overlay;
    width: var(--info-panel-size);
    right: -100%;
    transition: right .5s ease;
    border-top: 42px solid;
    border-bottom: 42px solid;
}
.project-description-wrapper.expanded {
    right: 0;
}
.project-description {
    padding: 20px;
    box-sizing: border-box;
    font-size: var(--main-page-big-font-size);
    line-height: 110%;
}
.full-screen, .full-screen-next, .full-screen-prev {
    height: 100%;
    position: fixed;
    top: 0;
    background-color: #fff;
    background-size: cover !important;
    background-position: center !important;
    will-change: contents;
}
.swiper-slide .full-screen {
    position: absolute;
}
.full-screen-prev {
    width: 100vw;
    left: 0 !important;
}
.full-screen-next, .full-screen {
    width: 100vw;
    right: 0;
}
.image-frame, .image-frame-next, .image-frame-prev {
    position: fixed;
    top: 0;
    height: 100%;
    overflow: hidden;
    clip: rect(0, auto, auto, 0);
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    background-color: #fff;
    z-index: 60;
}
div.image-frame {
    width: 100%;
    right: 0;
}
div.image-frame-next {
    width: 0%;
    right: 0;
    z-index: 61;
}
div.image-frame-prev {
    width: 0%;
    left: 0;
}
div.image-frame.full {
    width: 100%;

}
/*--------------------------SLIDER------------------------------*/
.slider-item {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 75px 20px 20px 20px;
    box-sizing: border-box;
}
.slider-item-full {
    right: 0px;
    pointer-events: none;
}
.slider-img-double {
    max-height: 100%;
}
.slider-img-double-last {
    margin-left: 10px;
    box-sizing: border-box;
}
.slider-item-center {
    padding: 20px;
}
.slider-img-center {
    display: block;
    margin: auto;
}
.slider-header > div {
    display: inline-block;
}
.slider-header {
    left: 0%;
    top: 8px;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    z-index: 50;
    white-space: nowrap;
    padding: 10px 20px 20px 20px;
}
.slider-project-title {
    margin-left: 100px;
    cursor: default;
}
.slider-counter {
    cursor: default;
}
.slider-right {
    height: 40px;
    padding: 0 10px;
    width: 125px;
    position: fixed;
    right: 40px;
    top: 18px;
    text-align: right;
    z-index: 62;
}
.slider-next {
    cursor: pointer;
    display: inline-block;
}
.slider-close {
    cursor: pointer;
    position: fixed;
    right: 6px !important;
    top: 9px !important;
    padding: 14px;
    box-sizing: border-box;
}
.slider-close-link {
   /* background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><line x1='0' y1='12' x2='12' y2='0' stroke-width='2' stroke='black'></line><line x1='0' y1='0' x2='12' y2='12' stroke-width='2' stroke='black'></line></svg>") no-repeat; */
    width: 12px;
    height: 12px;
    display: block;
    overflow: hidden;
}
.projects {
    position: fixed;
    display: none;
    z-index: 10000000;
}
.project-cont {
    background-color: white;
    position: fixed;
    right: 0px;
    width: 50%;
    height: 100%;
    overflow: hidden;
}
.slider-item-text {
    font-size: 30px;
    line-height: 110%;
}
.slider-text {
    width: 50%;
    float: left;
    padding-right: 20px;
    box-sizing: border-box;
}
.slider-text-left {
    width: 50%;
    float: left;
    padding-right: 20px;
    box-sizing: border-box;
}
.slider-text-right {
    width: 50%;
    float: left;
    padding-left: 20px;
    box-sizing: border-box;
}
.vimeo {
    height: 100%;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    background-color: #000;
}
/*--------------------------SLIDER END------------------------------*/

/*--------------------------HOME------------------------------*/
.absolute {
    position: absolute !important;
}
.line {
    background: black;
    width: 100%;
    height: 1px;
    box-shadow: 0px 0px 1px 0px grey;
    clear: both;
}
.small-title {
    padding: 2px 0px 2px 0px;
}
.big-text {
    font-size: 40px;
    line-height: 110%;
    margin: 10px 0px 10px 0px;
}
.body-text {
    padding: 2px 0px 2px 0px;
}
.categories-cont {
    position: relative;
    display: inline-block;
    float: left;
    max-width: 250px;
    min-width: 185px;
}
.project-list {
    display: inline;
    float: right;
    width: calc(100% - 254px);
}
.project-category {
    display: none;
}
.category-all {
    float: left;
    clear: both;
    display: none;
    margin-top: 50px;
}
div.category.btn.selected, div.category.btn:hover, div.line {
    opacity: 1 !important;
}
.grey, div.categories-cont:hover div.category.btn:not(:hover), 
div.category.btn.selected:not(.selected), 
div.project-list-nospace:hover div.project-title-wrap:not(:hover),
.cases-container .project-title:not(.active):not(:hover) .project-title-wrap {
    opacity: 0.3;
}
.space-11 {
    width: 100%;
    clear: both;
    display: block;
    height: 11px;
}
.space-23 {
    width: 100%;
    clear: both;
    display: block;
    height: 23px;
}
.space-47 {
    width: 100%;
    clear: both;
    display: block;
    height: 47px;
}
.logotype {
    width: 100%;
    margin-top: -5px;
    margin-bottom: 20px;
}
.category-hide {
    display: none;
    pointer-events: none;
}
.project-title-wrap {
    height: 19px;
    overflow: hidden;
}
.project-title-wrap .project-title {
    position: relative;
}
.project-title-wrap .project-title:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: -2px;
    padding: 2px 0px;
}
/*--------------------------HOME END------------------------------*/
.videoInnerBox{
    overflow: hidden;
    height: calc(var(--window-height) - var(--info-btn-space) - 75px);
}
/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.bar, .bar:before, .bar:after {
    transition: all .25s;
    content: "";
    height: 2px;
    width: 17px;
    background-color: rgb(38, 38, 38);
}
.bar {
    position: fixed;
    right: 15px;
    top: 20px;
}
.bar:before {
    position: absolute;
    left: 0;
    top: -5px;
}
.bar:after {
    position: absolute;
    left: 0;
    top: 5px;
}
.menu .mainnav {
    font-size: 24px;
}
.menu-collapsed {
    transition: all .25s;
    position: fixed;
    right: 0;
    top: 0;
    height: 42px;
    width: 52px;
    z-index: 1;
    cursor: pointer;
}
.menu-expanded {
    transition: all .25s;
    height: 100%;
    width: 100%;
    border-radius: 0px;
    top: 0;
    left: 0;
    background-color: #FFF;
}
.menu-expanded .mainnav {
    margin-bottom: 55px;
}
.menu-expanded .mainnav a {
    padding: 8px 0px 8px 0px;
}
.menu-expanded .bar {
    background-color: transparent;
    transition: all .25s;
}
.menu-expanded .bar:before {
    transition: all .25s;
    content: "";
    transform: rotate(45deg);
    top: -0px;
}
.menu-expanded .bar:after {
    transition: all .25s;
    content: "";
    transform: rotate(-45deg);
    top: 0px;
}
header .logo {
    position: fixed;
    left: 15px;
    top: 10px;
    width: 66px;
    z-index: 9999;
}
header .logo img {
    max-width: 100%;
}
.menu-collapsed nav {
    display: none;
}
.menu-expanded nav {
    display: block;
    margin: 0 15px;
    margin-top: 97px;
    height: 100%;
}
nav a {
    display: block;
}
.menu nav .line {
    position: initial;
    width: 100%;
}
.menu nav > .line:last-child {
    position: absolute;
    bottom: 15px;
    width: calc(100% - 30px);
}

/* ==========================================================================
  ONLY DESKTOP
   ========================================================================== */
@media only screen and (min-width: 769px) {
    .mail {
        width: 47px;
        margin-top: -2px;
        margin-right: 10px;
    }
    .home-half-cont {
        width: 50vw;
        padding: 20px;
        box-sizing: border-box;
        background-color: #fff;
        overflow: hidden;
        position: absolute;
        min-height: 100%;
        -webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
    }
    #contentWrapper .home-half-cont {
        /*display: none;*/
    }
    .home-left-cont {
        padding-right: 10px;
        padding: 0;
        z-index: 10;
        padding: 20px;
        left: 0;
        -webkit-transform: translateZ(0);
        position: fixed;
    }
    .home-right-cont {
        padding-left: 0;
        z-index: -1;
        left: 50vw;
    }
    [data-view="Home"] .home-right-cont {
        -webkit-transform: translate3d(0,0,0);
    }
    .home-cont .container {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    #contentWrapper {
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 17;
        overflow-y: overlay;
        overflow-x: hidden;
        clip: rect(0, auto, auto, 0);
    }
    .slider-info {
        margin-left: 100px;
        cursor: default;
    }
    [data-view="Home"] .image-frame {
        display: none;
    }
    [data-view="Home"] .image-frame.closing {
        z-index: 16;
    }
    .image-frame {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        transition: clip-path .5s ease;
    }
    .image-frame.closing {
        -webkit-clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
        clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    }
    .image-frame.closed {
        -webkit-clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
    .full-screen .partial, .full-screen-prev .partial, .full-screen-next .partial {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        padding: 65px 10px 10px 10px;
        box-sizing: border-box;
        -webkit-transform : translate3d(0,0,0);
    }
    body[data-portrait="1"] .partial.landscape {
        height: auto;
    }
    .full-screen .partial img, .full-screen-prev .partial img, .full-screen-next .partial img, .full-screen .partial video, .full-screen-prev .partial video, .full-screen-next .partial video {
        padding: 10px;
        box-sizing: border-box;
        -webkit-transform : translate3d(0,0,0);
        z-index: 1;
        user-select: none;
        max-height: 100%;
        max-width: 100%;
    }
    [data-description="1"] .full-screen .partial.clip, [data-description="1"] .full-screen-prev .partialclip, [data-description="1"] .full-screen-next .partial.clip {
        clip-path: inset(0 0 50px 0);
    }
    .full-screen .partial video, .full-screen-prev .partial video, .full-screen-next .partial video {
        height: calc(100% - var(--info-btn-space) + 20px);
        object-position: left top;
    }
    .full-screen > video, .full-screen-next > video, .full-screen-prev > video {
        position: fixed;
        top: 50vh;
        min-width: 100vw;
        min-height: var(--window-height);
        width: auto;
        height: auto;
        z-index: -100;
        -webkit-transform: translateX(-50vw) translateY(-50vh);
        transform: translateX(-50vw) translateY(-50vh);
        background-size: cover;
        z-index: 1;
    }
    .full-screen > video, .full-screen-prev > video {
        left: 50vw;
    }
    .full-screen-next > video {
        right: -50vw;
    }
    .swiper-container-android .swiper-slide, #image-frame .swiper-wrapper {
        transform: none !important;
    }
    
    .video-js .vjs-tech {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: auto !important;
    }
    .swiper-slide:not(:first-child) {
        display: none;
    }
    .sections .section .right {
        float: right;
        z-index: 99;
        position: relative;
        background: #fff;
    }
    .sections .section .left {
        position: absolute;
        overflow-wrap: break-word;
        margin-top: 40px;
        z-index: 9;
    }
    .case-studies-footer {
        display: none;
	position: fixed;
        bottom: 0;
        left: 20px;
        background: #fff;
        z-index: 100;
        width: calc(50% - 40px);
        padding-bottom: 20px;
    }
    .sections .section p {
        padding-right: 20px;
    }
    .cases-container .case-study {
        height: calc(100vh - 35px);
    }
    .sections .sticky {
        width: calc(50% - 20px + var(--scroll-width) / 2) !important;
    }
    .project-description-wrapper {
        border-top: 78px solid;
        height: calc(100% - 100px);
    }
}

/* ==========================================================================
  ONLY MOBILE
   ========================================================================== */

div.mobileWrapper {
    width: 100%;
    left: 0;
    background-color: #fff;
}
div.mobileWrapper > div {
    padding: 0 15px;
}
div.mobileWrapper div#mobile-profile, div.mobileWrapper div#mobile-news {
    padding-top: 15px;
    padding-bottom: 20px;
    min-height: calc(100vh - 77px); /* padding + header */
}
div#mobile-profile .big-text.about-text-short {
    margin-top: 0;
}
div#mobile-profile .big-text.about-text-short p {
    margin: 0;
}
@media only screen and (max-width: 768px) {
    img.img-type-b {
        box-sizing: border-box;
        padding: 0 15px;
        width: 100%;
        max-height: inherit !important;
    }

    img.img-type-c {
        box-sizing: border-box;
        padding: 0 15px 15px 15px;
        height: calc(100% - 42px);
    }

    .slider-header {
        top: 0;
        padding: 15px !important;
        line-height: 12px;
    }
    .big-text {
        font-size: 24px;
        line-height: 110%;
    }
    .desktop {
        display: none !important;
    }
    #image-frame {
        top: 42px;
        height: calc(50% - 21px);
    }
    [data-view="Home"] #image-frame {
        z-index: 4;
    }
    #image-frame .full-screen {
        width: 100% !important;
        will-change: transform;
    }
    .home-half-cont {
        padding: 0 !important;
    }
    header {
        top: 0;
        height: 42px;
        width: 100%;
        background: #fff;
        position: fixed;
        z-index: 5;
    }
    body[data-view="Home"] header h2.mobile-header {
        display: none;
    }
    body[data-view="Cases"] header {
        z-index: 101 !important;
    }
    body:not([data-view="Home"]) header h2.mobile-header {
        display: block !important;
        min-width: 50%;
        background: #fff;
        position: absolute;
        left: 15px;
        top: 0;
        z-index: 9999;
        font-size: 13pt;
        padding-top: 12px;
        padding-bottom: 9px;
        margin: 0;
    }
    #pagecontent {
        margin-top: 42px;
    }
    .contact-cont {
        height: 38px;
        padding: 5px 0;
    }
    .mail {
        width: 20px;
        margin-right: 5px;
    }
    .slider-close {
        top: 2px !important;
        right: 2px !important;
    }
    .slider-info {
        margin-left: 20px;
    }
    .slider-counter-current {
        display: inline-block;
    }
    div.image-frame.topless {
        top: 0 !important;
        height: 100% !important;
        margin-top: 0 !important;
    }
    .full-screen .partial, .full-screen-prev .partial, .full-screen-next .partial {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        margin: 42px 0 0 0;
    }
    [data-description="1"] .full-screen .partial:not(.landscape), [data-description="1"] .full-screen-prev .partial:not(.landscape), [data-description="1"] .full-screen-next .partial:not(.landscape) {
        clip-path: inset(0 0 80px 0);
    }
    .full-screen .partial.landscape {
        text-align: center !important;
        margin-top: 0;
    }
    .full-screen .partial.landscape img {
        height: var(--window-height);
    }

    .full-screen > video, .full-screen-next > video, .full-screen-prev > video {
        position: fixed;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        background-size: cover;
    }
    .work:not(.menu-expanded) > div.line {
        display: none !important;
    }
    .menu > div.line {
        display: block;
        width: calc(100% - 30px);
        position: fixed;
        top: 42px;
        left: 0;
        margin-left: 15px;
    }
    .loading-100, .loader {
        margin-top: 0 !important;
    }
    .full-screen .partial.landscape .videoInnerBox {
        background-color: #000;
    }
    .full-screen .partial:not(.landscape) video {
        max-width: 100%;
        max-height: calc(100vh - 87px - 24px);
    }
    .full-screen .partial.landscape video {
        max-width: 100%;
        max-height: calc(100vh - 35px);
    }
    /* Always visible on mobile */
    .player .player__controls {
        position: static;
        transform: translateY(0%) translateY(-10px);
    }
    .player__audio-control input {
        max-width: 61px;
        opacity: 1;
    }
    .videoInnerBox{
        overflow: hidden;
        height: calc(var(--window-height) - 52px);
    }
    .full-screen .partial.landscape .videoInnerBox{
        height: calc(var(--window-height));
    }
    .case-study-menu,
    .cases-container .title {
        display: none;
    }
    .sections .section .left, .sections .section .right {
        width: 100% !important;
    }
    .sections h2 {
        padding: 9px 0 !important;
        z-index: 9;
        background: #fff;
        margin: 0;
        font-size: var(--case-study-mobile-header-font-size);
    }
    .sections article .left {
        font-size: var(--case-study-mobile-body-font-size) !important;
    }
    .sections article .sticky {
        position: static !important;
    }
    .sections, .cases-container footer {
        padding: 0 15px !important;
    }
    .cases-container .case-study {
        height: calc(100vh - 42px);
    }
    .btn-info {
        padding: 15px !important;
    }
    .cases-container footer a.btn-left {
        left: 15px !important;
}
    .cases-container footer a.btn-right {
        right: 15px !important;
    }
}

.textSlide{
    font-size: 30px;
    line-height: 110%;
    overflow: auto;
    padding: 10px;
}

@media (min-width: 1451px) and (max-width: 1880px) {
    .mail {
        width: 47px;
        margin-top: -2px;
        margin-right: 10px;
    }
    .categories-cont {
        font-size: 47px;
        line-height: 110%;
        display: inline-block;
        float: left;
        width: 22vw;
        max-width: 340px;
        min-width: 185px;
        margin-top: 12px;
    }
    .project-list {
        display: inline;
        float: right;
        width: calc(100% - 340px);
    }
}

@media (min-width: 1212px) and (max-width: 1450px) {
    .big-text {
        font-size: var(--main-page-big-font-size);
        line-height: var(--main-page-big-font-size);
    }
    .mail {
        width: 47px;
        margin-top: -2px;
        margin-right: 10px;
    }
    .categories-cont {
        margin-top: 15px;
        max-width: 248px;
    }
    .project-list {
        display: inline;
        float: right;
        width: calc(100% - 248px);
    }
}

@media (min-width: 841px) and (max-width: 1211px) {
    .big-text {
        font-size: 30px;
        line-height: 110%;
    }
    .mail {
        width: 36px;
        margin-top: -2px;
        margin-right: 7px;
    }
    .categories-cont {
        margin-top: 15px;
        max-width: 210px;
    }
    .project-list {
        display: inline;
        float: right;
        width: calc(100% - 210px);
    }
}
@media (min-width: 769px) and (max-width: 840px) {
    .big-text {
        font-size: 24px;
        line-height: 110%;
    }
    .mail {
        width: 28px;
        margin-top: -2px;
        margin-right: 7px;
    }
    .categories-cont {
        max-width: 155px;
        min-width: 155px;
    }
    .project-list {
        display: inline;
        float: right;
        width: calc(100% - 155px);
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */
@media only screen and (min-width: 769px) {
    .mobile {
        display: none !important;
    }
}

.hidden {
    display: none;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
div#left {
    padding-bottom: 43px;
}
div#left.hide {
    padding: 20px 0;
    width: 0%;
    overflow: hidden;
    -webkit-transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -moz-transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -o-transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
div.nav-left {
    position: fixed;
    left: 0;
    width: 50%;
    height: 100%;
}
.slider-nav {
    position: fixed;
    height: 100%;
    width: 50%;
    z-index: 15;
}
.slider-nav-right {
    right: 0%;
    cursor: url('../img/arrow-right.png'), auto;
    cursor: -webkit-image-set(
      url('../img/arrow-right.png') 1x,
      url('../img/arrow-right-hi.png') 2x
    ), auto;
}
.slider-nav-left {
    cursor: url('../img/arrow-left.png'), auto;
    cursor: -webkit-image-set(
      url('../img/arrow-left.png') 1x,
      url('../img/arrow-left-hi.png') 2x
    ), auto;
}
.transparent {
    opacity: 0;
}
.disable-interaction-overlay {
    position: fixed;
    width: 50%;
    height: 100%;
    z-index: 1000;
    display: none;
}

/* Preloader */
.loading-100, .loading {
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
}
.loader {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #000;
    overflow: hidden;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%);
    transition: clip-path 99s linear;
}
.loading .text {
    position: absolute;
    top: 49%;
    left: 10px;
    font-size: 17px;
}

.loading .intro-text {
    top: 0;
    opacity: 0;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    z-index: 99999;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    font-size: var(--preloader-font-size);
    line-height: var(--preloader-font-size);
    padding: 0;
    margin: 20px;
    transition: opacity .5s linear;
}
.loading .intro-text.cover {
    background: #fff;
    box-shadow: 0px 0px 0px 200px #fff;
}
.loading .intro-text.show {
    opacity: 1;
    display: flex;
}
.loading .intro-text p {
    margin: 0;
    position: absolute;
    width: 100%;
}
.btn-info {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
    padding: 20px;
    margin: 0;
    line-height: 6px;
}

/* Swipe Gesture Animation */
@keyframes swipe-gesture {
    0%   {
        opacity: 0;
        right: 0;
        transform: scale(0.5);
    }
    15% {
        transform: scale(1);
    }
    50%  {
        opacity: 1;
        right: 40%;
    }
    75% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        right: 80%;
        transform: scale(0.5);
    }
}
.swipe-animation-container {
    height: 50px;
    width: 80vw;
    position: absolute;
    left: 0;
    bottom: 10vh;
    right: 0;
    margin: auto;
    z-index: 10000;
    opacity: 1;
}
.swipe-animation-container .circle {
    height: 100%;
    width: 50px;
    border: 1px solid #FFF;
    border-radius: 30px;
    position: absolute;
    background-color: #FFF;
    animation: .8s swipe-gesture infinite linear;
}
.swiper-slide-active {
    z-index: 10;
}
#image-frame .swiper-slide {
    overflow: hidden !important;
}
#image-frame .swiper-wrapper {
    position: absolute !important;
    top: 0 !important;
}

/* Upgrade your browser */
#upgradeBrowser {
    position: fixed;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    padding-top: 10%;
    display: none;
}

#upgradeBrowser img {
    border: 0;
    max-width: 30%;
}

#upgradeBrowser h1 {
    line-height: 1em;
}

#upgradeBrowser table {
    width: 100%;
}

#upgradeBrowser td {
    display: none;
}

video source { 
    width: 100%; 
    height: auto; 
}
.full-bleed.vjs-ended .vjs-poster {
    background-size: cover;
}
.full-bleed{
    left: 50vw;
    top: 50vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    width: auto !important;
    height: auto !important;
    -webkit-transform: translateX(-50vw) translateY(-50vh) !important;
    transform: translateX(-50vw) translateY(-50vh) !important;
}
.full-bleed video{
    width: auto !important;
}
.vjs-loading-spinner {
    position: absolute;
    top: 50%;
    left: 0;
    margin: 0;
    opacity: 0.85;
    text-align: left;
    border: none;
    box-sizing: border-box;
    background-clip: padding-box;
    width: 100%;
    height: 2px;
    border-radius: 0;
    background: #000000;
    z-index: 9999;
}

.vjs-loading-spinner:before {
    content: "";
    position: absolute;
    margin: 0;
    box-sizing: inherit;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    opacity: 1;
    border: inherit;
    border-color: transparent;
    border-top-color: black;
    left: -100%;
    background: white;
    
    -webkit-animation: vjs-spinner-spin 1.2s infinite linear;
    animation: vjs-spinner-spin 1.2s infinite linear;
}

@keyframes vjs-spinner-spin {
  100% {
    left: 100%; } }

@-webkit-keyframes vjs-spinner-spin {
  100% {
    left: 100%; } }


@media only screen and (max-width: 768px){
    .vjs-control-bar {
        position: fixed;
    }
}
/* END VIDEO STYLE */

.contact-cont svg{
    width: 100%;
    height: auto;
}
.contact-cont.desktop svg {
    width: 100%;
    height: auto;
}

#slider-left, #slider-right{
    display: none;
}
.mail i{
    vertical-align: bottom;
}
.textSlideBox{
    /*overflow: overlay !important;*/
    overflow-y: scroll; /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
}

/* OVERWIEW */
#overview {
    display: none;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    overflow-x: hidden;
}
#overview .overview-wrapper {
    width: 100%;
    height: 100%;
}
#overview div {
    /*border: 1px solid;*/
}
#overview img {
    position: absolute;
    padding: 15px;
    display: block;
    z-index: 99;
}
#overview img:hover {
    cursor: pointer;
}
#overview .overview-menu-link {
    position: fixed;
    left: 20px;
    bottom: 20px;
    font-size: 44px;
    z-index: 999;
}

/* Case Studies */
.cases-container {
    position: relative;
    background: #fff;
    z-index: 100;
    transition: all .3s linear;
}
.cases-container .case-study {
    position: absolute;
    width: 100vw;
    top: 0;
    left: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #fff;
}
.cases-container .case-study.active {
    z-index: 9999;
}
.cases-container .cases-wrapper .case-study.enter {
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.71, 0.07, 0.1, 1.01);
}
.cases-container .cases-wrapper.btn-left .case-study.enter {
    animation-name: prevCaseStudy;
}
.cases-container .cases-wrapper.btn-right .case-study.enter {
    animation-name: nextCaseStudy;
}
@keyframes prevCaseStudy {
  from {
    -webkit-clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0, 50% 0, 50% 100%, 0 100%, 0 0);
    clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0, 50% 0, 50% 100%, 0 100%, 0 0);
    z-index: 999;
  }
  to {
    -webkit-clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0, 100% 0, 100% 100%, 50% 100%, 50% 0);
    clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0, 100% 0, 100% 100%, 50% 100%, 50% 0);
    left: 0;
    z-index: 99999;
  }
}
@keyframes nextCaseStudy {
  from {
    -webkit-clip-path: polygon(50% 0, 50% 100%, 50% 100%, 50% 0, 100% 0, 100% 100%, 100% 100%, 100% 0%);
    clip-path: polygon(50% 0, 50% 100%, 50% 100%, 50% 0, 100% 0, 100% 100%, 100% 100%, 100% 0%);
    z-index: 999;
  }
  to {
    -webkit-clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0, 50% 0, 50% 100%, 100% 100%, 100% 0%);
    clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0, 50% 0, 50% 100%, 100% 100%, 100% 0%);
    left: 0;
    z-index: 99999;
  }
}
.cases-container .home-left-cont {
    padding: 20px 0px 0px 0px;
    margin-left: 20px;
    width: calc(50% - 20px);
}
.cases-container header {
    position: fixed;
    width: 100%;
    z-index: 99;
}
.cases-container footer {
    position: fixed;
    width: calc(100% - 40px);
    bottom: 0;
    height: 30px;
    background: #fff;
    padding: 5px 20px;
    z-index: 9999999;
}
.cases-container footer:before {
    content: '';
    background: #000;
    height: 1px;
    width: calc(100% - 40px);
    box-shadow: 0px 0px 1px 0px grey;
    clear: both;
    position: absolute;
    top: 0;
}
.cases-container footer a {
    padding: 6px 0;
    max-width: 40%;
    overflow: hidden;
    white-space: nowrap;
}
.cases-container footer a.btn-left {
    position: absolute;
    left: 20px;
}
.cases-container footer a.btn-right {
    position: absolute;
    right: 20px;
}
.cases-container footer a span {
    display: inline-block;
    width: calc(100% - 20px);
    overflow: hidden;
}
.cases-container footer a.btn-left span {
    margin-left: 20px;
}
.cases-container footer a.btn-right span {
    margin-right: 20px;
}
.cases-container footer a span:after {
    content: '';
    display: block;
    position: absolute;
    background: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0)), to(rgba(255,255,255, 1)));
    height: 100%;
    width: 0;
    top: 2px;
    right: 0;
}
.cases-container footer a.btn-left span:after {
    width: var(--case-study-nav-left-fade);
}
.cases-container footer a.btn-right span:after {
    width: var(--case-study-nav-right-fade);
    right: 20px;
}
.cases-container footer a img {
    height: 15px;
    margin-top: 2px;
    position: absolute;
}
.cases-container footer .btn-left img {
    left: 0;
}
.cases-container footer .btn-right img {
    right: 0;
}
.cases-container header h4 {
    position: absolute;
    margin: 0;
    left: 20px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}
.cases-container .home-half-cont.home-left-cont {
    padding-right: 20px !important;
    min-height: auto;
    padding-bottom: 0;
    font-size: var(--case-study-menu-font-size);
    line-height: 20px;
    will-change: transform;
}
.cases-container header a {
    position: absolute;
    right: 40px;
}
.navigation {
    position: fixed;
    top: calc(50% - 10px);
    width: 100%;
}
.btn-left, .btn-right {
    cursor: pointer;
    border: 0;
}
.sections {
    list-style: none;
    margin: 0;
    padding: 20px;
    padding-top: 0;
}
.sections .section {
    min-height: 200px;
    margin: 0;
    padding-bottom: 20px;
    position: relative;
    background: #fff;
    z-index: 1;
}
.sections .section h2:before {
    content: '';
    background: #000;
    height: 1px;
    width: 100%;
    box-shadow: 0px 0px 1px 0px grey;
    clear: both;
    position: absolute;
    bottom: 0;
}
.sections .section h2 {
    margin: 0;
    padding: 10px 0;
    z-index: 9 !important;
    background: #fff;
}
.sections .sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    z-index: 99;
    background: #fff;
}
.sections .sticky h2 {
    display: flex;
    font-size: var(--case-study-body-font-size);
    line-height: var(--case-study-body-font-size);
    overflow-wrap: break-word;
    /*margin-left: 62px;
    text-indent: -62px;*/
}
.sections .sticky h2 span {
    margin-right: 5px;
}
.sections .section .left,
.sections .section .right {
    width: calc(50% - (var(--scroll-width) / 2));
    font-size: var(--case-study-body-font-size);
    line-height: 120%;
    will-change: transform;
}
.sections .section img {
    width: 100%;
    padding-bottom: var(--margin);
}


.cases-container .projects-title span {
    float: right;
    width: calc(100% - 248px);
}
.cases-container .title {
    width: calc(50% - var(--margin) - 10px);
    position: absolute;
    right: 20px;
    top: 0;
    z-index: 99;
    text-align: right;
}
.cases-container .title h1 {
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: var(--case-study-body-font-size);
}
article .left {
    /*min-height: 600px;*/
}
.footer {
    bottom: 100px;
    z-index: -1;
    width: 80%;
    margin: 50px auto auto auto;
}

/* ANIMATIONS */
/* Home > Case, Case < Home animation */
.cases-container.slideY-enter, .cases-container.slideY-leave-to {
    opacity: 1;
}
.cases-container.slideY-enter .cases-wrapper, .cases-container.slideY-leave-to .cases-wrapper {
    transform: translateY(100vh);
}
.cases-container.slideY-enter footer, .cases-container.slideY-leave-to footer {
    bottom: -100vh !important;
}
.cases-container.slideY-enter-active, .cases-container.slideY-leave-active,
.cases-container.slideY-enter-active .cases-wrapper, .cases-container.slideY-leave-active .cases-wrapper,
.cases-container.slideY-enter-active footer, .cases-container.slideY-leave-active footer {
    opacity: .9999;
    transition: transform .5s linear, bottom .5s linear, opacity .5s linear;
    will-change: 'transform';
    --scroll-width: 0px;
}

.cases-container .large-title h1 {
    font-size: var(--case-study-huge-title-font-size);
    line-height: var(--case-study-huge-title-font-size);
    font-weight: normal;
}
.cases-container .title .small-title {
    visibility: hidden;
    opacity: 0;
    background: #fff;
    position: fixed;
    top: -100px;
    right: calc(var(--margin) - 1px + var(--scroll-width));
    width: calc(50% + 1px - var(--margin) - var(--scroll-width));
    transition: top .5s ease;
}
.cases-container .title .small-title.visible {
    visibility: visible;
    opacity: 1;
    top: 0px;
    padding-bottom: 11px;
}