@font-face {
    font-family: 'Gotham';
    src: url('/fonts/Gotham-Bold.woff2') format('woff2'),
        url('/fonts/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Book';
    src: url('/fonts/Gotham-Book.woff2') format('woff2'),
        url('/fonts/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Gotham Book   ', sans-serif;
    line-height: 1.2;
    letter-spacing: 0.155em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Gotham', sans-serif;
    letter-spacing: -0.5px;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}

hr {
    border-top: 5px solid #000000;
}

a {
    color: inherit;
    transition: all .2s ease-in-out;
}

a:hover {
    color: #188e53;
    text-decoration: none;
}

.text-green {
    color: #188e53 !important;
}

.drop-shadow {
    -webkit-box-shadow: 4px 7px 5px 0px rgba(0, 0, 0, 0.31);
    -moz-box-shadow: 4px 7px 5px 0px rgba(0, 0, 0, 0.31);
    box-shadow: 4px 7px 5px 0px rgba(0, 0, 0, 0.31);
}

.media-container {
    padding-bottom: 80%;
    background-size: cover;
    background-position: center;
}

.btn {
    border-radius: 0;
    background: #000000;
    border: 0;
    padding: .75rem 1.5rem;
    transition: all .2s ease-in-out;
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: #188e53 !important;
    outline: none;
    box-shadow: none !important;
}

@media (max-width: 500px) {
    hr {
        border-top: 3px solid #000000;
    }
}

.navbar-dark .navbar-toggler {
    border-radius: 100%;
    height: 56px;
    width: 56px;
    border: 2px solid;
    border-color: #fff;
    position: relative;
    outline: none !important;
    z-index: 1;

}

.navbar-dark .navbar-toggler span {
    width: 32px;
    height: 2px;
    background: #ffffff;
    display: block;
    position: absolute;
    left: 10px;
    transition: top .35s ease-in-out;
}

.navbar-dark .navbar-toggler.active {
    border-color: #ffffff !important;
}

.navbar-dark .navbar-toggler.active span {
    background-color: #ffffff !important;
}

.navbar-dark .navbar-toggler span:first-child,
.navbar-dark .navbar-toggler span:last-child {
    top: 26px;
}

.navbar-dark .navbar-toggler.collapsed span {
    top: 26px;
}

.navbar-dark .navbar-toggler.collapsed span:first-child {
    top: 16px;
}

.navbar-dark .navbar-toggler.collapsed span:last-child {
    top: 36px;
}

@media (max-width: 500px) {
    .navbar-dark .navbar-toggler {
        height: 40px;
        width: 40px;
    }

    .navbar-dark .navbar-toggler span {
        width: 20px;
        left: 8px;
    }

    .navbar-dark .navbar-toggler span:first-child,
    .navbar-dark .navbar-toggler span:last-child {
        top: 17px;
    }

    .navbar-dark .navbar-toggler.collapsed span {
        top: 17px;
    }

    .navbar-dark .navbar-toggler.collapsed span:first-child {
        top: 11px;
    }

    .navbar-dark .navbar-toggler.collapsed span:last-child {
        top: 24px;
    }
}

.navbar-collapse {
    position: fixed;
    top: 0;
    left: 100%;
    bottom: 100%;
    right: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, .4);
    transition: .2s ease-in-out;
    transform: skew(-1.712rad);
}

.navbar-collapse.show {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .9);
    transform: skew(0);
}

.navbar-dark .navbar-nav .nav-link {
    font-size: 35px;
    font-weight: normal;
    letter-spacing: 0.12em;
    line-height: 156%;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
}

.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
    color: #188e53;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #467b5d;
}

@media (min-width: 768px) {
    .nav-link {
        font-size: 50px;
    }
}

.hero-slider .slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: none !important;
}

.hero-slider .slide.slide-small {
    height: 40vh;
}

.hero-slider .slide img {
    max-width: 50vw;
}
.slide video{
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
@media (max-width: 768px) {
    .slide video{
        height:100%;
    }
}
@media (max-width: 768px) {
    .hero-slider .slide {
        height: 50vh;
    }

    .hero-slider .slide img {
        max-width: 80vw;
    }
}

.hero-slider .slide .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
}

.hero-slider .breadcrumbs {
    display: block;
    text-align: center;
    font-size: 1rem;
    margin-top: 20px;
}

.hero-slider .breadcrumbs a {
    text-decoration: none;
}

.content-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.content-section.margin {
    margin-top: 90px;
    margin-bottom: 90px;
}

.content-box {
    text-align: center;
    height: 250px;
    padding-top: 1.5rem;
    position: relative;
}

.content-box>div {
    width: 100%;
}

.content-box h2 {
    position: relative;
    font-size: 16px;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: all .35s ease-in-out;
}

.content-box h2 span {
    display: block;
    font-size: 35px;
    letter-spacing: .12em;

}

.content-box h2:after {
    content: '';
    width: 50px;
    height: 4px;
    transition: all .35s ease-in-out;
    position: absolute;
    top: -26px;
    left: calc(50% - 25px);
    background-color: #000000;
}

.content-box-container.active .content-box {
    background: #000000;
}

.content-box-container.active * {
    color: #ffffff;
}


.content-box-container.active .content-box h2:after {
    background-color: #ffffff;
    width: 70px;
    left: calc(50% - 35px);
}

.content-box h3 {
    font-size: inherit;
    font-family: 'Gotham Book ', sans-serif;
    font-style: italic;
    letter-spacing: .05em;
    transition: color .35s ease-in-out;

}

.content-box-container.active h3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.content-box p {
    transition: color .35s ease-in-out;
    display: none;
    font-size: .9em;
}

@media (max-width: 768px) {
    .content-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .content-section.margin {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

.content-section.section-border-bottom {
    border-bottom: 5px solid #000;
}

.page-title {
    color: #ffffff;
    font-size: 11vw;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.06em;
    opacity: .5;
}

@media (max-width: 768px) {
    .page-title {
        align-self: center;
        font-size: 10vw;
        margin-bottom: 0;
    }

    .page-title-small {
        font-size: 1.5rem;
    }

}

@media (max-width: 768px) {
    .quote {
        font-size: 1rem;
    }
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title:after {
    content: '';
    width: 50px;
    height: 5px;
    background-color: #000000;
    position: absolute;
    bottom: -24px;
    left: 0;

}

.section-title.text-center:after {
    left: calc(50% - 25px);
}

.intro {
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

.intro-text {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.cryder-house {
    margin-left: -5vw;
}

@media (max-width: 767px) {
    .cryder-house {
        margin-left: 0;
    }
}

.we-are-cryder {
    overflow: hidden;
}

.we-are-cryder img {
    margin-top: -550px;
}

@media (max-width: 767px) {
    .we-are-cryder img {
        margin-top: -250px;
        position: relative;
        width: 100%;
    }
}

.intro .lead {
    font-size: 1.75rem;
}

.intro .animated-text span {
    display: inline-block;
    opacity: 0;
}

.intro .animated-text span em {
    font-style: normal;
}

.intro .animated-text span strong {
    font-weight: 700;
}

.intro .animated-text span.animated {
    display: inline-block;
    opacity: 1;
}

.animated.delay-1500ms {
    -webkit-animation-delay: 1500ms;
    animation-delay: 1500ms;
}

.animated.delay-2500ms {
    -webkit-animation-delay: 2500ms;
    animation-delay: 2500ms;
}

.animated.delay-3500ms {
    -webkit-animation-delay: 3500ms;
    animation-delay: 3500ms;
}

.animated.delay-4500ms {
    -webkit-animation-delay: 4500ms;
    animation-delay: 4500ms;
}

.animated.delay-5500ms {
    -webkit-animation-delay: 5500ms;
    animation-delay: 5500ms;
}

@media (max-width: 768px) {
    .intro .lead {
        font-size: 1.25rem;
        margin-top: .75rem;
    }
}

/*
About
****************************************************************************/
.employee {
    perspective: 1000px;
    display: block;
}

.employee-image {
    background-color: transparent;
    perspective: 1000px;
    /* Remove this if you don't want the 3D effect */
    background: #ffffff;
    transition: background .35s ease-in-out;
    position: relative;
}

.content-box-container.active .employee-image {
    z-index: 1000;
}

/* This container is needed to position the front and back side */
.employee-image-inner {
    position: relative;
    padding-bottom: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.content-box-container.active .employee-image-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.employee-image-front,
.employee-image-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    background-size: cover;
    background-position: center;
}

/* Style the front side (fallback if image is missing) */
.employee-image-front {
    background-color: #bbb;
    color: black;
}

/* Style the back side */
.employee-image-back {
    background-color: dodgerblue;
    color: white;
    transform: rotateY(180deg);
}



/*
Work
***************************************************************************/

.client {
    display: block;
    position: relative;
    transition: none;
    overflow: hidden;
}

.client.active {
    overflow: visible;
}

.logo-container {
    padding-bottom: 56.25%;
    position: relative;
    background: #ffffff;
    transition: background 250ms ease 0s;
}

.logo {
    position: absolute;
    height: 60%;
    left: 15%;
    position: absolute;
    top: 20%;
    width: 70%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.logo:first-child {
    opacity: 0;
    transition: opacity 250ms ease 0s;
}

.logo:last-child {
    opacity: 1;
    transition: opacity 250ms ease 0s;
    filter: grayscale(100%);
}

.client.active .logo-container,
.logo-container:hover {
    background: #ebebeb;
}

.client.active .logo-container .logo:last-child,
.logo-container:hover .logo:last-child {
    opacity: 0;
}

.client.active .logo-container .logo:first-child,
.logo-container:hover .logo:first-child {
    opacity: 1;
}

.client-details {
    width: 200%;
    background: #000000;
}

.row .col-6:nth-child(2n+0) .client-details {
    margin-left: -100%
}

.client .arrow {
    border-style: solid;
    border-color: #ebebeb transparent transparent transparent;
    border-width: 12px 15px 0 15px;
    bottom: -12px;
    height: 0;
    left: 50%;
    margin-left: -15px;
    position: absolute;
    width: 0;
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transition: none;
    z-index: 1;
}

.client-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

@media (min-width: 768px) {
    .client .arrow {
        border-width: 21px 26px 0 26px;
        bottom: -21px;
        margin-left: -26px;
    }

}

@media (min-width: 768px) {
    .client-details {
        width: 300%;
    }


    .row .col-6:nth-child(4) .client-details,
    .row .col-6:nth-child(7) .client-details,
    .row .col-6:nth-child(10) .client-details,
    .row .col-6:nth-child(13) .client-details,
    .row .col-6:nth-child(16) .client-details,
    .row .col-6:nth-child(19) .client-details,
    .row .col-6:nth-child(22) .client-details {
        margin-left: 0;
    }

    .row .col-6:nth-child(2) .client-details,
    .row .col-6:nth-child(5) .client-details,
    .row .col-6:nth-child(8) .client-details,
    .row .col-6:nth-child(11) .client-details,
    .row .col-6:nth-child(14) .client-details,
    .row .col-6:nth-child(17) .client-details,
    .row .col-6:nth-child(20) .client-details, 
    .row .col-6:nth-child(23) .client-details{
        margin-left: -100%;
    }

    .row .col-6:nth-child(3) .client-details,
    .row .col-6:nth-child(6) .client-details,
    .row .col-6:nth-child(9) .client-details,
    .row .col-6:nth-child(12) .client-details,
    .row .col-6:nth-child(15) .client-details,
    .row .col-6:nth-child(18) .client-details,
    .row .col-6:nth-child(24) .client-details {
        margin-left: -200%
    }

}

@media (min-width: 992px) {
    .client-details {
        width: 400%;
    }

    .row .col-6:nth-child(5) .client-details,
    .row .col-6:nth-child(9) .client-details,
    .row .col-6:nth-child(13) .client-details,
    .row .col-6:nth-child(17) .client-details {
        margin-left: 0;
    }

    .row .col-6:nth-child(2) .client-details,
    .row .col-6:nth-child(6) .client-details,
    .row .col-6:nth-child(10) .client-details,
    .row .col-6:nth-child(14) .client-details,
    .row .col-6:nth-child(18) .client-details,
    .row .col-6:nth-child(22) .client-details {
        margin-left: -100%;
    }

    .row .col-6:nth-child(3) .client-details,
    .row .col-6:nth-child(7) .client-details,
    .row .col-6:nth-child(11) .client-details,
    .row .col-6:nth-child(15) .client-details,
    .row .col-6:nth-child(19) .client-details,
    .row .col-6:nth-child(23) .client-details {
        margin-left: -200%
    }

    .row .col-6:nth-child(4) .client-details,
    .row .col-6:nth-child(8) .client-details,
    .row .col-6:nth-child(12) .client-details,
    .row .col-6:nth-child(16) .client-details,
    .row .col-6:nth-child(20) .client-details,
    .row .col-6:nth-child(24) .client-details  {
        margin-left: -300%
    }

}

.client-details .content {
    padding: 50px 7%;
}

.client-details .content p {
    color: #fff;
    line-height: 230%;
    font-size: 13px;
    letter-spacing: 0.155em;
}

.client-details .close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: block;
    opacity: 1;
    z-index: 1;
}

.client-details .close:before,
.client-details .close:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: #ffffff;
    top: 12px;
    left: 5px;
}

.client-details .close:before {
    transform: rotate(43deg);
}

.client-details .close:after {
    transform: rotate(-43deg);
}

/*
Service
***************************************************************************/
.service .content-box {
    height: 350px;
    padding-top: 90px;
}
@media (min-width: 768px) {
    .service .content-box {
        height: 400px;
    }
}
@media (min-width: 1250px) {
    .service .content-box {
        height: 350px;
    }
}
.service h3 em {
    color: #188e53;
}

/*
News Pages
***************************************************************************/
.news-image {
    height: 400px;
    background-size: cover;
    background-position: top;
    display: flex;
    position: relative;
    align-items: flex-end;
}

.news-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
}

.news-item:hover .news-image .overlay {
    background: rgba(0, 0, 0, .5);
}

.news-title {
    line-height: 1.1;
    letter-spacing: .12em;
    position: relative;
    font-size: 19px;
}

.read-more {
    position: absolute;
    bottom: 0;
}

.news-summary {
    border-bottom: 4px solid;
    display: block;
    position: relative;
    font-weight: normal;
    transition: all .2s ease-in-out;
}

.news-summary .read-more {
    left: 0;
}

.news-summary img {
    height: 20px;
    margin-left: .5rem;
    float: left;
    margin-right: .5rem;
}
.news-summary .news-meta{
    display:block;
}
.news-image .read-more {
    right: 0;
}

.news-item:hover .news-title {
    font-weight: 700;
}

@media (max-width: 768px) {
    .news-summary {
        border-width: 2px;
    }

    .news-meta {
        font-size: 12px;
    }

    .news-image {
        height: 150px;
    }

    .news-title {
        margin-top: 2.5rem !important;
    }

    .news-image .news-title {
        display: none;
    }

    .read-more {
        display: none;
    }

    .news-summary .read-more {
        position: relative;
        margin-top: 30px;
        display: block;
        text-align: right;
        font-size: 14px;
        margin-bottom: 1.5rem !important;
    }
}
@media (max-width: 1300px) {
    .news-meta {
        font-size: 13px;
    }
    .news-summary img {
        height: 14px;
    }
}
.cryder-scroll {
    height: 50rem !important;
    overflow-y: scroll;
}

.cryder-scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.cryder-scroll::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.cryder-scroll::-webkit-scrollbar-thumb {
    background-color: #000000;
}

.pdfobject-container {
    border: none;
}

.pdfobject {
    height: 4000px !important;
}

/*
Contact
****************************************************************************/
.video-background {
    position: absolute;
    top: 50%;
    left: 0;
    padding-top: 58.25%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: 1s opacity ease;
    transition: 1s opacity ease;
    opacity: 1;
    background-size: cover;

}

.video-foreground,
.video-background video,
.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: 1s opacity ease;
}

.video-background.active iframe {
    opacity: 1;
}

@media only screen and (max-width: 768px) {
    .video-background {
        display: none;
    }
}

.map-container,
.contact-details-container {
    position: relative;
    padding-bottom: 80%;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .map-container {
        padding-bottom: 100%;
    }

    .contact-details-container {
        padding-bottom: 120%;
    }
}

.contact-details {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.contact-details-container img {
    position: absolute;
    bottom: 15px;
    left: 15px;
    max-width: 60%;
}

@media (max-width: 576px) {
    .contact-details-container img {
        bottom: 0;
        left: 20%;
    }
}

.map-container:before {
    content: '';
    width: 5px;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: -17px;
}

#map {

    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.form-group {
    margin-bottom: 40px;
}

.form-control {
    border: 0;
    color: #828282;
    height: 27px;
    letter-spacing: 0.155em;
    outline: 0;
    padding: 0 .5rem;
    width: 100%;
    height: 55px;
    border-bottom: 1px solid #ebebeb;
    border-radius: 0;
    position: relative;
}

.form-control:after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0px;
    height: 4px;
    background: #000000;
    transition: width .35s ease-in-out;
}

.form-control:active,
.form-control:focus {
    border-color: #ebebeb;
    box-shadow: none;
}

.form-control:active:after,
.form-control:focus:after {
    width: 100%;
    z-index: 111;
}

.contact-group {
    margin-bottom: 50px;
}
label.error{
    font-size: .75rem;
    margin-top: .5rem;
    color:#DB620F;
}
#sending-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.3);
    z-index: -1;
    opacity:0;
    transition: all .35s ease-in-out;
}
.sending #sending-overlay{
    z-index:1;
    opacity:1;
}
#sending-overlay img{
    width:40px;
    position:absolute;
    left:calc(50% - 20px);
    top:calc(50% - 23px);
}
#form-response{
    position:absolute;
    top:50%;
    left:0;
    width:100%;
    display:none;
    transform:translateY(-50%);
    text-align:center;
}
#form-response.animated{
    display:block;
}
/*
Footer
***************************************************************************/
footer .social-links {
    padding: 3rem 0;
}

footer .social-links.text-center a {
    color: #000000;
    font-size: 2.5rem;
    margin: .5rem 2.5rem;
    display: inline-block;
}

footer nav ul {
    padding: 1rem 0;
}

footer nav ul a {
    color: #000000;
    text-decoration: none;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

footer nav ul a:after {
    content: '|';
    position: absolute;
    top: 0;
    right: -4px;
}

footer nav ul li {
    margin-right: 0 !important;
}

footer nav ul li:last-child a:after {
    display: none;
}

@media (max-width: 767px) {
    footer .social-links {
        padding: 0;
    }

    footer .social-links.text-center a {
        font-size: 1.5rem;
        margin: .5rem 1rem;

    }

    footer nav ul a {
        font-size: .75rem;
        padding: 0 1.5vw;
    }
}
