﻿.col-sm-6.video-img-border iframe {
    /*border: 10px solid white;
    margin-top: 50px;
    margin-bottom: 38px;*/
    width: 100%;
}

.carousel-caption.carousel-caption-home p:nth-of-type(1) {
    font-size: 16px;
}

p.whiteBannerButton.brochureTopButton a {
    background: #a3a7a9;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0);
    font-weight: 500;
}

    p.whiteBannerButton.brochureTopButton a:hover {
        background: #81898D;
    }


p.whiteBannerButton a {
    font-size: 16px;
}

.video-img-border .whiteBGvideo {
    background: white;
    padding: 10px 10px 8px 10px;
    margin-top: 50px;
    margin-bottom: 38px;
}

.video-img-border .whiteBGvideo video {
    width: 100%;
    height: auto;
}

.video-img-border .whiteBGvideo p {
    margin: 0px!important;
}

.carousel-caption-home {
    text-align: right !important;
    text-transform: uppercase;
}

.carousel-caption {
    top: 120px!important;
}

    /***/
    body, html {
    overflow-x: hidden;
}

.grid {
    position: relative;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

    /* Common style */
    .grid figure {
        position: relative;
        float: left;
        overflow: hidden;
        margin: 10px 1%;
        min-width: 367px;
        max-width: 480px;
        max-height: 360px;
        width: 48%;
        background: #3085a3;
        text-align: center;
        cursor: pointer;
    }

        .grid figure img {
            position: relative;
            display: block;
            min-height: 100%;
            max-width: 100%;
            opacity: 0.8;
        }

        .grid figure figcaption {
            padding: 2em;
            color: #fff;
            text-transform: uppercase;
            font-size: 1.25em;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

            .grid figure figcaption::before,
            .grid figure figcaption::after {
                pointer-events: none;
            }

            .grid figure figcaption,
            .grid figure figcaption > a {
                position: absolute;
                top: 117px;
                left: 0;
                width: 100%;
                height: 100%;
            }

                /* Anchor will cover the whole item by default */
                /* For some effects it will show as a button */
                .grid figure figcaption > a {
                    z-index: 1000;
                    text-indent: 200%;
                    white-space: nowrap;
                    font-size: 0;
                    opacity: 0;
                }

        .grid figure h2 {
            word-spacing: 0.05em;
            font-weight: 300;
        }

            .grid figure h2 span {
                font-weight: 800;
            }

        .grid figure h2,
        .grid figure p {
            margin: 0;
        }

        .grid figure p {
            letter-spacing: 1px;
            font-size: 68.5%;
        }

/*---------------*/
/***** Sarah *****/
/*---------------*/

figure.effect-sarah {
    background: #006cb6;
}

    figure.effect-sarah img {
        max-width: none;
        width: -webkit-calc(100% + 20px);
        width: calc(100% + 20px);
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(-10px,0,0);
        transform: translate3d(-10px,0,0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    figure.effect-sarah:hover img {
        opacity: 0.4;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    figure.effect-sarah figcaption {
        text-align: center;
    }

    figure.effect-sarah h2 {
        position: relative;
        overflow: hidden;
        padding: 0.5em 0;
        font-weight: 400!important;
        text-shadow: 0px 0px 10px #000000!important;
    }

        figure.effect-sarah h2::after {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #fff;
            content: '';
            -webkit-transition: -webkit-transform 0.35s;
            transition: transform 0.35s;
            -webkit-transform: translate3d(-100%,0,0);
            transform: translate3d(-100%,0,0);
        }

    figure.effect-sarah:hover h2::after {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    figure.effect-sarah p {
        padding: 1em 0;
        opacity: 0;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0);
    }

    figure.effect-sarah:hover p {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

/****************/

figure.effect-sarah img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.fullscreen-bg {
    bottom: auto !important;
    top: -170px;
}

.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
    display: block !important;
    margin-top: 20px;
}

.fullscreen-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}

.owl-ourWork {
    padding: 90px 0px;
}

.video-section .buttonBar {
    display: none;
}

.player {
    font-size: 1px;
}

.fancybox-slide > * {
    padding: 0px!important;
}

    .imageBackground {
    position: absolute;
    /* top: 49px; */
    right: 0;
    /* bottom: 0; */
    left: 0;
    overflow: hidden;
    z-index: -110;
    bottom: auto !important;
    top: 133px;
}

    .imageBackground img {
        width: 100%;
        /*margin-top: -100px;*/
    }

.bannerText {
    text-align: right;
    margin-top: 12%;
    width: 38%;
    float: right;
    text-transform: uppercase;
}

.bannerText h2 {
    color: white;
    font-size: 42px;
    font-weight: 500;
}

.bannerText p {
    color: white;
    font-size: 21px;
}

p.whiteBannerButton {
    display: inline-block;
}

p.whiteBannerButton a {
    background: white;
    /*padding: 12px 30px;*/
    padding: 11px 15px;
    color: #333333;
    font-style: italic;
    font-weight: 500;
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

p.whiteBannerButton a:hover {
    background: #CECECE;
    text-decoration: none !important;
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

p.whiteBannerButton {
    margin-top: 15px;
    margin-bottom: 20px;
}

.pattern-overlay .container {
    margin-top: 10%;
}

.videoBannerBackground {
    background: rgba(0,0,0,0.2);
    background: url('/images/blueCurve.png');
    background-repeat:no-repeat;
    background-position: right;
    background-size: contain;
    height: 550px;
}

.navbar {
    margin-bottom: 0px;
}

.body-content {
    background: white;
}

.wording {
    margin-top: 30px;
}

.blueGradBG {
    background: #015893;
    background: -moz-linear-gradient(top, #015893 0%, #006cb5 100%);
    background: -webkit-linear-gradient(top, #015893 0%,#006cb5 100%);
    background: linear-gradient(to bottom, #015893 0%,#006cb5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#015893', endColorstr='#006cb5',GradientType=0 );
    padding: 35px 0px 55px;
    color: white;
}

.blueGradBG h2 {
    text-transform: uppercase;
    font-size: 36px;
}

.blueGradBG p {
    font-size: 19px;
    font-weight: 100;
}

.blueGradBG p:nth-of-type(1) {
    margin-top: 20px;
}

.mainContent {
    padding: 90px 0px;
}

@media (max-width: 1920px) and (min-width: 1599px) {
    .video-section .pattern-overlay {
        padding: 110px 0 32px;
        min-height: 940px;
    }
}

@media (min-width: 1368px) and (max-width: 1598px) {
    .video-section .pattern-overlay {
        /*background-color: rgba(71, 71, 71, 0.59);*/
        padding: 100px 0 32px;
        min-height: 900px;
        /* Incase of overlay problems just increase the min-height*/
    }
}

@media (min-width: 993px) and (max-width: 1367px) {
    .video-section .pattern-overlay {
        /*background-color: rgba(71, 71, 71, 0.59);*/
        padding: 100px 0 32px;
        min-height: 900px; /*here*/
        /* Incase of overlay problems just increase the min-height*/
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .video-section .pattern-overlay {
        /*background-color: rgba(71, 71, 71, 0.59);*/
        padding: 100px 0 32px;
        min-height: 1080px;
        /* Incase of overlay problems just increase the min-height*/
    }

    .blueGradBG h2 {
        font-size: 29px;
    }

    .wording {
        margin-top: 0px;
    }
}

@media (min-width: 20px) and (max-width: 767px) {
    .video-section .pattern-overlay {
        /*background-color: rgba(71, 71, 71, 0.59);*/
        padding: 100px 0 32px;
        min-height: 1080px;
        /* Incase of overlay problems just increase the min-height*/
    }


    .col-sm-6.wording {
        margin-bottom: 50px;
        text-align: center;
    }

    .blueGradBG {
        padding: 5px 0px 50px;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {

    .imageBackground img {
        width: 100%;
        margin-top: 0px !important;
        width: 1800px;
    }

    .videoBannerBackground {
        height: 510px;
    }

    .grid figure {
        margin: 0px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {

    .grid figure figcaption, .grid figure figcaption > a {
        top: 36px;
    }

    .grid h2, .grid .h2 {
        font-size: 25px;
    }

    .grid figure {
        min-width: 299px;
    }

    .bannerText {
        margin-top: 5%;
    }

    .bannerText h2 {
        font-size: 33px;
    }

    p.whiteBannerButton {
        margin-top: 7px;
    }

    .bannerText p {
        font-size: 18px;
    }

    .imageBackground img {
        width: 1800px;
    }

    .videoBannerBackground {
        height: 350px;
    }
}

@media (min-width: 767px) and (max-width: 992px) {

    .carousel-caption {
        width: 100% !important;
        text-align: center !important;
        left: 0 !important;
        right: 0 !important;
    }

    .grid figure {
        min-width: 227px;
    }

        .grid figure figcaption {
            padding: 0.5em;
        }

    .grid h2, .grid .h2 {
        font-size: 25px;
    }

    .grid figure figcaption, .grid figure figcaption > a {
        top: 55px;
    }
}


@media (min-width: 20px) and (max-width: 992px) {

    .imageBackground img {
        width: 1400px;
    }

    .videoBannerBackground {
        height: 478px;
    }

    .videoBannerBackground {
        background: rgba(0,108,182,0.6);
    }

    .bannerText {
        text-align: center;
        margin-top: 25%;
        width: 100%;
        float: none;
    }

    p.whiteBannerButton a {
        background: white;
        padding: 8px 16px;
    }

    .bannerText h2 {
        font-size: 34px;
    }

    .bannerText p {
        color: white;
        font-size: 19px;
        margin-top: 20px;
    }
}

@media (min-width: 20px) and (max-width: 767px) {
    .mainContent .col-sm-4 {
        overflow: auto;
    }

    figure.effect-sarah {
        float: none;
        display: inline-block;
    }

    .grid figure {
        min-width: 100%;
    }

    figure.effect-sarah img {
        opacity: 0.4;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    figure.effect-sarah p {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    figure.effect-sarah h2::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: #fff;
        content: '';
        -webkit-transition: none;
        transition: none;
        -webkit-transform: none;
        transform: none;
    }

    .grid {
        position: relative;
        margin: 0 auto;
        padding: 1em 0 0em;
    }
}

@media (min-width: 20px) and (max-width: 500px) {
    .grid figure figcaption, .grid figure figcaption > a {
        top: 0px;
    }
}


@media (min-width: 1410px) and (max-width: 1700px) {
    .carousel-caption {
        right: 202px!important;
        /* border: 2px solid red; */
        width: 20%;
        left: auto;
        text-align: left;
        top: 86px;
        bottom: auto;
        z-index: 9999;
        position: absolute;
        top: 60px !important;
    }
}


@media (min-width: 1140px) and (max-width: 1410px) {
    .carousel-caption {
        right: 142px!important;
        /* border: 2px solid red; */
        width: 25%!important;
        left: auto;
        text-align: left;
        top: 86px;
        bottom: auto;
        z-index: 9999;
        position: absolute;
        top: 25px !important;
    }
}

@media (min-width: 992px) and (max-width: 1140px) {
    .carousel-caption {
        right: 142px !important;
        /* border: 2px solid red; */
        width: 29% !important;
        left: auto;
        text-align: left;
        top: 86px;
        bottom: auto;
        z-index: 9999;
        position: absolute;
        top: 0px !important;
    }

    .carousel-caption {
        text-align: right !important;
    }

        .carousel-caption h2 {
            font-size: 29px!important;
        }

    p.whiteBannerButton {
        font-size: 15px!important;
    }
}

@media (min-width: 20px) and (max-width: 992px) {
    .blueBG {
        width: 100%!important;
    }

    .carousel-caption.carousel-caption-home {
        width: 100%;
        text-align: center !important;
        left: 0;
        right: 0;
    }
}

@media (min-width: 20px) and (max-width: 767px) {
    .blueBG {
        width: 100% !important;
    }

    .carousel-caption.carousel-caption-home, .carousel-caption {
        width: 100% !important;
        text-align: center !important;
        left: 0 !important;
        right: 0 !important;
    }

    .carousel-caption {
        top: 32px !important;
    }

        .carousel-caption h2 {
            font-size: 35px!important;
        }

    .carousel-control.right, .carousel-control.left {
        display: none;
    }

    .carousel-caption {
        z-index: 49!important;
    }
}