.c-header-desktop {
    height: 5rem;
}

.careers .c-image>* {
    height: 101%;
}

.c-header-mobile__logo {
    width: 10.25rem;
}

._drawer_logo, .c-drawer__logo  {
    display: none !important;
}

.test-page .c-header-desktop__backdrop, ._test-page .c-header-desktop__backdrop { background-color: transparent; }

.hw-slider .c-slideshow { width: 100%; height: 100%; }

.hw-slider .c-image>* { position: relative; height: auto; }

.c-header-desktop__logo { width: 16.56rem; }

.video-background {
    position: absolute;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
}

@media (max-aspect-ratio: 16 / 9) {
    .video-background iframe {
        width: 177.78vh;
    }
}

@media (min-aspect-ratio: 16 / 9) {
    .video-background iframe {
        height: 56.25vw;
    }
}

.enterCompleted .c-filterBar {
    position: relative;
    top: 0 !important;
}

.home-slideshow .flickity-page-dots .dot,
.c-slideshow .flickity-page-dots .dot {
    height: 20px;
    width: 28px;
    position: relative;
    transform: scale(1);
    background-color: transparent;
    margin: 0;
}

.flickity-page-dots .dot {
    margin: 0 0;
}

.home-slideshow .flickity-page-dots .dot.is-selected ,
.c-slideshow .flickity-page-dots .dot.is-selected {
     transform: scale(1);
    background-color: transparent;
}

.home-slideshow .flickity-page-dots .dot:before,
.c-slideshow .flickity-page-dots .dot:before {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: scale(.4);
    transition: all .35s ease-in-out;
    background-color: #999aa1;
    opacity: 1;
}

.home-slideshow .flickity-page-dots .dot:before {
    background-color: #fff;
}

.home-slideshow .flickity-page-dots .dot.is-selected:before,
.c-slideshow .flickity-page-dots .dot.is-selected:before {
    transform: scale(1);
    background-color: #0099e7;
}

.c-lightbox__slide {
    flex-direction: column;
}

.c-lightbox__caption {
    position: relative;
    padding-top: 1rem;
    bottom: 0;
}

.c-drawer__scroll .text-m-c {
    font-size: 2.15rem;
}

.large-text-callout .text-callout-wrapper > p + p {
    margin-top: 1rem;
}

.career-content .text-m-c {
    font-size: 26px;
}

.news-detail-inner > .container.mb-8.md\:mb-16:first-child {
    margin-top: 10rem;
}

/* Slideshow revision */
.test-project .slideshow-block-desktop,
.slideshow-port .slideshow-block-desktop{
    /* overflow: hidden; */
    padding-bottom: 50%;
}

.test-project .slideshow-block-desktop .flickity-viewport,
.slideshow-port .slideshow-block-desktop .flickity-viewport {
     height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

 .test-project .slideshow-block-desktop .flickity-slider,
 .slideshow-port .slideshow-block-desktop .flickity-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.test-project .slideshow-block-desktop .c-slideshow__slideInner ,
.test-project .slideshow-block-desktop .c-image, 
.test-project .slideshow-block-desktop .c-slideshow__slide,
.slideshow-port .slideshow-block-desktop .c-slideshow__slideInner ,
.slideshow-port .slideshow-block-desktop .c-image, 
.slideshow-port .slideshow-block-desktop .c-slideshow__slide {
    height: 100% !important;
}

.test-project .slideshow-block-desktop .c-image,
.slideshow-port .slideshow-block-desktop .c-image {
    padding-bottom: 0 !important;
    background: #fff;
}

.test-project .slideshow-block-desktop .c-image > img,
.slideshow-port .slideshow-block-desktop .c-image > img {
    position: relative;
    height: 100% !important;
    width: auto;
    display: block;
    margin: 0 auto;
}

.test-project .slideshow-block-desktop .c-image.c-image--full > img,
.slideshow-port .slideshow-block-desktop .c-image.c-image--full > img {
    width: 100%;
    position: absolute;
} 

.test-project .flickity-viewport,
.slideshow-port .flickity-viewport{
  transition: height 0.2s;
}

.test-project .slideshow-block-desktop .c-image,
.slideshow-port .slideshow-block-desktop .c-image{
    background: #fff;
}


/* .test-project .c-image--portrait > img {
    left: 50%;
    transform: translateX(-50%);
    width: auto;
} */

.c-cursor__pause,
.c-cursor__play ,
.c-cursor__arrow-right,
.c-cursor__arrow-left {
     color: #0099e7;   
}

.c-cursor__pause svg path,
.c-cursor__play svg path {
    color: #0099e7;  
    stroke: #0099e7;
}


.news-banner.md\:py-24 {
    padding: 11.224rem 0;
}

.c-half-video {
    position: relative;
    height: auto;
    padding: 0;
}

.c-half-video video {
    height: auto;
    position: relative;
}

.related-proj-wrap + .container + .related-proj-wrap ,
.related-proj-wrap + .related-proj-wrap {
    display: none;
}

.team > .c-hero-spacer {
    display: none;
}

.large-text-callout + footer {
    margin-top: 3rem;
}

.careers p > .c-btn {
    text-decoration: none;
}

.careers p > .c-btn:hover {
    color: #fff;
}

.home-slideshow a h2 {
    transition: all .3s ease-in-out;
}

.home-slideshow a h2:hover {
    color: #0099E7;
}

#services  {
    margin-bottom: 0;
}

#services > section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

#services > section > .container > .row{
    margin-bottom: 5rem;
}

#services .service-projects {
    padding-bottom: 0;
    padding-top: 0;
}

 #services + footer{
        margin-top: 5rem;
    }

.md\:mb-24 .rich-text {
    margin-bottom: -5rem;
}

.homeSlideshow .mobile-img {
    display: none;
}

@media only screen and (min-width:1024px) {
    .test-project-new .c-slideshow__slide {
        /* height: 100%; */
    }
}

@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) { 
    .service-projects.bg-black {
        background-color: #242322;
    }
    
    .service-projects__item.sm\:text-black {
        color: #fff;
    }
    
    .service-projects .sm\:c-btn--black {
        color: #fff;
        border-color: #fff;
    }
}

@media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (-webkit-device-pixel-ratio : 3)  {
    
    .service-projects.bg-black {
        background-color: #242322;
    }
    
     .service-projects__item.sm\:text-black {
        color: #fff;
    }
    
    .service-projects .sm\:c-btn--black {
        color: #fff;
        border-color: #fff;
    }
}

@media screen and (max-width: 766px) {
    .service-projects__item.sm\:text-black {
        color: #fff;
    }
    
    .service-projects .sm\:c-btn--black {
        color: #fff;
        border-color: #fff;
    }
    
    .rich-text ul {
        font-size: 1.125rem;
        max-width: 100%;
    }
}

@media screen and (max-width: 676px) {
    .c-lightbox__slide {
        flex-direction: column;
    }
    
    .c-lightbox__caption {
        position: absolute;
        padding-top: 0;
        bottom: -2.5rem;
    }
    
    .c-drawer__scroll .text-m-c {
        font-size: 1.375rem;
    }
    
    .career-content .text-m-c {
        font-size: 18px;
    }
    
    .news-detail-inner > .container.mb-8.md\:mb-16:first-child {
        margin-top: 6.25rem;
    }
    
    .c-filterBar + .mt-4 {
        margin-top: 0;
    }
    
    #work-grid .c-featuredCard {
        margin-top: 2.5rem;
    }
    
    
    /* #work-grid :nth-child(1 of .c-featuredCard[style="display: block;"]) {
        margin-top: 0;
    } */
    
    .home-slideshow .flickity-page-dots  {
        display: none !important;
    }

    #services > section {
        padding-top: 3.25rem;
        padding-bottom: 0;
    }

    #services .service-projects {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }

    #services .service-projects > .flex {
        margin-top: 3.75rem;
    }

    #services > section > .container > .row {
        margin-bottom: 0;
    }
    
    #services + footer{
        margin-top: 5rem;
    }
    
    .homeSlideshow .mobile-img {
        display: block;
    }
    
    .homeSlideshow .desktop-img {
        display: none;
    }


    
}

/* cookies optin prompt */

		    .gdpr-dialog-title {
		        display: none;
		        position: fixed;
		        max-width: 500px;
		        bottom: 5px;
		        right: 5px;
		        background: #fff;
		        z-index: 99999;
		        padding: 0 20px;
		        border-radius: 10px;
		        border: 1px solid #999aa1;
		    }
		    
		    @media (max-width: 767px) {
		        .gdpr-dialog-title {
		            bottom: 0;
		            right: 0;
		            border-radius: 0;
		            border-color: transparent;
		        }
		    }
		    
		    .gdpr-dialog-title.d-none {
		        display: none;
		    }
		    
		    .gdpr-dialog-title.d-block {
		        display: block;
		    }
		    
		    .gdpr-dialog-title .inner-wrap {
		        display: flex;
                justify-content: space-between;
                padding: 20px 0;
		    }
		    
		    
		    
		    .gdpr-dialog-title p a {
		        font-weight: 700;
		        color: #000;
		    }
		    
		    .btn-close-modal,
		    .gdpr-banner-close-btn {
                position: absolute;
                top: 20px;
                right: 20px;
                /* bottom: 0; */
                margin: auto;
                cursor: pointer;
                width: 24px;
                height: 24px;
                display: flex;
                padding: 0;
                line-height: inherit;
                color: inherit;
                background: none;
                border: none;
            }
            
            .btn-close-modal {
                right: 0;
                bottom: initial;
            }
            
            .btn-close-modal::after, .btn-close-modal::before,
            .gdpr-banner-close-btn::after, .gdpr-banner-close-btn::before {
                position: absolute;
                height: 100%;
                background-color: #000;
                content: '';
                left: 50%;
                width: 1px;
            }
            
            .btn-close-modal::before,
            .gdpr-banner-close-btn::before {
                transform: rotate(-45deg);
            }
            
            .btn-close-modal::after,
            .gdpr-banner-close-btn::after {
                transform: rotate(45deg);
            }
            
            .gdpr-dialog-title .txt {
                display: flex;
                flex-direction: column;
                width: 100%;
                /* align-items: center; */
                gap: 15px;
                color: #000;
                padding-right: 25px;
            }
            
            .gdpr-dialog-title .cta-wrap {
                display: flex;
                gap: 15px;
                margin-right: 60px;
            }
            
            .modal-footer button,
            .gdpr-dialog-title .cta-wrap button {
                font-size: 12px;
                border: 1px solid #000;
                color: #000;
                background: none;
                border-radius: none;
                outline: none;
                padding: 5px 10px;
            }
            
            .gdpr-dialog-title .cta-wrap button:hover {
                border-color: #0099e7;
                color: #0099e7;
            }
            
            .modal-container {
                position: fixed;
                height: 100%;
                width: 100%;
                top: 0;
                background-color: rgba(0,0,0,.5);
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 9999999;
                display: none;
            }
            
            .modal-container .modal-body {
                    overflow: hidden;
                position: absolute;
                margin: 0 auto;
                top: 5%;
                right: 0;
                left: 0;
                width: 40%;
                max-width: 575px;
                min-width: 575px;
                background: #fff;
                
            }
            
            .modal-container .modal-header {
                position: relative;
                margin: 30px;
            }
            
            .modal-header > p {
                font-size: 14px;
                padding-right: 30px;
                margin: 20px 0 0 0;
            }
            
            .modal-content {
                margin: 0 30px;
                border: 1px solid #ccc;
            }
            
            .modal-content .content-item  + .content-item {
                border-top: 1px solid #ccc;
            }
            
            .modal-content .content-item > div {
                display: flex;
                padding: 10px 10px;
                justify-content: space-between;
            }
            
            .modal-footer {
                margin-top: 30px;
                display: flex;
                justify-content: flex-end;
                gap: 15px;
                padding: 30px;
                border-top: 1px solid #ccc;
            }
            
            @media (max-width: 767px) {
                .gdpr-dialog-title {
                    padding: 0 13px;
                }
                
                .gdpr-dialog-title .inner-wrap {
                    padding: 15px 0;
                }
            }