﻿.carouselContainer .item img {
    width: 100%;
}

.carouselContainer .item {
    max-height: 550px;
}

.fancybox-slide div img {
    max-height: 750px;
}

.grid {
    position: relative;
    padding: 0px;
    max-width: 100%;
    list-style: none;
    text-align: center;
    margin: 0px -15px;
}

figure.effect-sarah {
    margin: 10px 1%!important;
}

.blueGradBG a:last-child {
    font-style: italic;
    font-weight: bold;
    background: white;
    padding: 10px 15px;
    margin-top: 15px;
    display: inline-block;
}

    .blueGradBG a:last-child:hover {
        text-decoration:none;
    }
    
    img.videoImg {
        border: 10px solid white;
    }

    .grid .hovereffect {
        margin-bottom: 30px;
    }

.carousel-control.right {
    z-index: 45;
}

.blueBG {
    position: absolute;
    height: 100%;
    width: 62%;
    top: 0;
    right: 0;
}

.carousel-caption {
    right: 313px;
    /* border: 2px solid red; */
    width: 20%;
    left: auto;
    text-align: left;
    top: 86px;
    bottom: auto;
    z-index: 9999;
    position: absolute;
}


.carousel-caption h2 {
    font-size: 40px;
}

.blueBG img {
    right: 0px;
    position: absolute;
    z-index: 5;
    min-height: 100%;
    width: auto;
}

.carouselContainer {
    overflow: hidden;
}

.grid .hovereffect {
    overflow: hidden;
    background: 0px;
    height: 135px;
}

.mobile {
    display: none!important;
}

@media (min-width: 767px) and (max-width: 992px) {

    .grid .hovereffect .overlay {
        padding: 1.5em!important;
    }

    .overlay h2, .overlay .h2 {
        font-size: 19px!important;
    }

        .carouselContainer {
        height: 450px!important;
    }

        .carouselContainer .item {
            height: 450px;
        }
}

@media (min-width: 20px) and (max-width: 767px) {

    .grid .hovereffect {
        height: 69px;
    }

        .grid .hovereffect .overlay {
            padding: 1em!important;
        }

    .hovereffect.col-sm-3.effect-steve {
        padding: 0px!important;
    }

    .grid {
        position: relative;
        margin: 0 auto!important;
    }

        .carouselContainer {
        height: 350px;
    }

        .carouselContainer .item {
            height: 350px;
        }
}

@media (min-width: 20px) and (max-width: 992px) {

    .mobile {
        display: block!important;
    }

    .browser {
        display: none!important;
    }

    .blueBG img {
        display: none;
    }

    .blueOpacity {
        display: block !important;
        background: rgba(0,108,182,0.6);
        height: 450px;
        width: 100%;
        position: absolute;
        z-index: 6;
    }

    .carousel-control {
        z-index: 7;
    }

}