
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
    outline: none;
}

.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-pauseplay span {
    text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
}

.flexslider .slides img {
    width: 100%;
    display: block;
    max-height: 90vh;
    object-fit: cover;
}

.flexslider .slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .flexslider .slides {
    display: block;
}

* html .flexslider .slides {
    height: 1%;
}

.no-js .flexslider .slides > li:first-child {
    display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
    background: #fff;
    border: 4px solid #fff;
    position: relative;
    width: 865px;
    margin: 0 auto;
}

    .flexslider .slides {
        zoom: 1;
    }

        .flexslider .slides img {
            height: 405px;
            -moz-user-select: none;
            max-width: 760px;
            margin: 0 auto;
            border-radius: 8px;
        }

.flex-viewport {
    max-height: 500px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    padding: 15px 0px;
}

.loading .flex-viewport {
    max-height: 300px;
}

@-moz-document url-prefix() {
    .loading .flex-viewport {
        max-height: none;
    }
}

.carousel li {
    margin-right: 5px;
}

.image-carousel.style1 .flex-direction-nav {
    position: static;
    width: 0;
    height: 0;
}

.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 42px;
    height: 42px;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    .flex-direction-nav a:before {
        font-family: "FontAwesome";
        font-size: 25px;
        display: inline-block;
        content: '';
        color: #000;
        text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
        background-image: url(/assets/project/img/Icon-Strip.svg?v1);
        width: 41px;
        height: 41px;
        background-position: -256px -91px;
    }

    .flex-direction-nav a.flex-next:before {
        background-position: -314px -91px;
    }

.flex-direction-nav .flex-prev {
    left: 0;
}

.flex-direction-nav .flex-next {
    right: 0;
}

.flex-pauseplay a {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    left: 10px;
    opacity: 0.8;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    color: #000;
}

    .flex-pauseplay a:before {
        font-family: "flexslider-icon";
        font-size: 20px;
        display: inline-block;
        content: '\f004';
    }

    .flex-pauseplay a:hover {
        opacity: 1;
    }

    .flex-pauseplay a.flex-play:before {
        content: '\f003';
    }

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
    display: none;
}

    .flex-control-nav li {
        margin: 0 6px;
        display: inline-block;
        zoom: 1;
        *display: inline;
    }

.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

    .flex-control-paging li a:hover {
        background: #333;
        background: rgba(0, 0, 0, 0.7);
    }

    .flex-control-paging li a.flex-active {
        background: #000;
        background: rgba(0, 0, 0, 0.9);
        cursor: default;
    }

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

    .flex-control-thumbs li {
        width: 25%;
        float: left;
        margin: 0;
    }

    .flex-control-thumbs img {
        width: 100%;
        height: auto;
        display: block;
        opacity: .7;
        cursor: pointer;
        -moz-user-select: none;
        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -ms-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

        .flex-control-thumbs img:hover {
            opacity: 1;
        }

    .flex-control-thumbs .flex-active {
        opacity: 1;
        cursor: default;
    }
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/

.image-carousel {
    position: relative;
    box-shadow: none;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #fff;
    padding: 10px 45px;
    width: 865px;
    margin: 0 auto;
}

    .image-carousel.style1 .slides > li:last-child {
        margin-right: 0;
    }

    .image-carousel .flex-viewport ul li img {
        width: auto;
        height: 64px;
        position: relative !important;
        margin: 0 !important;
        left: auto !important;
        right: auto;
        top: 0 !important;
        border-radius: 8px;
        width: 64px;
        object-fit: cover;
    }

    .image-carousel.style1 .slides > li {
        margin-right: 10px;
        height: 64px !important;
        cursor: pointer;
        overflow: hidden;
    }

.popupmobile1 a.popup-close {
    top: -14px;
    right: -0px;
}

.image-carousel .slides > li, .image-carousel.style1 .flex-control-nav, .photo-gallery.style1 .flex-control-nav, .photo-gallery.style1 .flex-direction-nav, .photo-gallery.style3 .flex-control-nav, .photo-gallery.style4 .flex-direction-nav {
    display: none;
}

.flex-viewport .slides li {
    -webkit-perspective: 1000;
    -webkit-transform: translateZ(0);
}

.flex-viewport .slides li, .hover-effect img, .image-box.style11 figure img, .image-box.style5 figure img {
    -webkit-backface-visibility: hidden;
}

.flexslider .close {
    position: absolute;
    top: -17px;
    right: -19px;
    height: 23px;
    width: 23px;
    text-align: center;
    line-height: 30px;
    z-index: 1;
    font-size: 31px;
    color: var(--all-text-sub);
}

@media screen and (min-width:630px) {
    .image-carousel .flex-direction-nav {
        display: none;
    }
}

@media screen and (max-width: 991px) {

    .popup-wrapper {
        margin-top: 70px;
    }

    .flexslider .slides img {
        max-height: 270px;
        object-fit: contain;
        height: 270px !important;
    }

    .flex-direction-nav .flex-next {
        right: -15px;
    }

    .flex-direction-nav .flex-prev {
        left: -15px;
    }

    .image-carousel {
        padding: 10px 25px !important;
    }

        .image-carousel .flex-direction-nav .flex-prev, .image-carousel .flex-direction-nav .flex-next {
            top: 55px;
        }

    .flex-viewport {
        max-height: 265px;
    }

    .flex-direction-nav a:before {
        font-size: 18px;
        height: 44px;
    }

    .flexslider, .image-carousel {
        width: 100% !important;
    }
}

@media screen and (max-width: 767px) {

    .flexslider .flex-direction-nav {
        display: none;
    }
}
