﻿/*
 * jQuery FlexSlider v2.7.0
 * http://www.woothemes.com/flexslider/
 */

/*-----------*/
.flexslider {
    margin: 0;
    padding: 0; /* overflow:hidden; */
    position: relative;
    zoom: 1;
}

    .flexslider li {
        position: relative
    }

        .flexslider li .contact {
            color: #fff;
            margin: 0 auto;
            animation-duration: .6s;
            animation-fill-mode: both;
            animation-name: fadeOutLeft;
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            text-align: left;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-direction: column;
            z-index: 5;
        }

        .flexslider li .contact-inner {
            width: 50%;
            position: relative;
            left: 0px;
            margin: 0;
            z-index: 5;
        }

        .flexslider li.flex-active-slide .contact {
            -webkit-animation-delay: .4s;
            animation-delay: .4s;
            -webkit-animation-duration: .6s;
            animation-duration: .6s;
            -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
            -webkit-animation-name: fadeInLeft; /* animation-name:fadeInLeft; */
        }

        .flexslider li .contact h2 {
            margin-top: 0px;
            font-size: 42px;
            padding: 0px 0 8px 0;
            text-trans;
            width: 100%;
        }

        .flexslider li .contact p {
            padding-bottom: 0;
            font-size: 22px;
            margin: 0;
        }

        .flexslider li .contact a {
            color: #fff;
            position: relative;
            z-index: 1000
        }


@media (max-width: 992px) {
    .flexslider li .contact .contact-inner {
        width: 90%;
    }
}

@media (max-width: 778px) {
    .flexslider li .contact {
        padding: 0;
        text-align: left;
    }

        .flexslider li .contact h2 {
            font-size: 18px;
            padding: 0px 0 7px 0;
            line-height: 28px;
        }

        .flexslider li .contact h4 {
            font-size: 10px;
            line-height: 12px;
        }

        .flexslider li .contact p {
            margin-bottom: 0;
            font-size: 13px;
            line-height: 20px;
        }

    .flex-control-nav {
        padding: 0px !important;
    }
}

.slides li img {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 8000ms linear;
    -moz-transition: all 8000ms linear;
    -ms-transition: all 6000ms linear;
    -o-transition: all 8000ms linear;
    transition: all 8000ms linear;
}
/*.slides li.flex-active-slide img{-webkit-transform: scale(1.1);-ms-transform: scale(1.1);transform: scale(1.1);}*/

/* ====================================================================================================================
 * 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;
    position: relative;
}

.flexslider .slides > li .bnnerafter:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(90deg, #00000094, #00000030, transparent);
    z-index: 1;
}


.flexslider .slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}

html[xmlns] .flexslider .slides {
    display: block; /* overflow: hidden; */
}

* html .flexslider .slides {
    height: 1%
}

.no-js .flexslider .slides > li:first-child {
    display: block
}

/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider .slides {
    zoom: 1
}

    .flexslider .slides img {
        height: auto;
        -moz-user-select: none;
    }

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease
}

.loading .flex-viewport {
    max-height: 300px
}

.carousel li {
    margin-right: 5px
}

.flex-direction-nav {
    *height: 0
}

.flex-direction-nav {
    *height: 0
}

    .flex-direction-nav a {
        text-decoration: none;
        display: block;
        width: 40px;
        height: 40px;
        margin: -20px 0 0;
        position: absolute;
        top: 50%;
        z-index: 10;
        overflow: hidden;
        opacity: 0;
        cursor: pointer;
        color: rgba(0,0,0,0.8);
        text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out
    }

        .flex-direction-nav a:before {
            font-size: 40px;
            display: inline-block;
            content: '<';
            color: rgba(0,0,0,0.8);
            text-shadow: 1px 1px 0 rgba(255,255,255,0.3)
        }

        .flex-direction-nav a.flex-next:before {
            content: '>'
        }

    .flex-direction-nav .flex-prev {
        left: -50px
    }

    .flex-direction-nav .flex-next {
        right: -50px;
        text-align: right
    }

.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: .7;
    left: 10px
}

    .flexslider:hover .flex-direction-nav .flex-prev:hover {
        opacity: 1
    }

.flexslider:hover .flex-direction-nav .flex-next {
    opacity: .7;
    right: 10px
}

    .flexslider:hover .flex-direction-nav .flex-next:hover {
        opacity: 1
    }

.flex-direction-nav .flex-disabled {
    opacity: 0 !important;
    filter: alpha(opacity=0);
    cursor: default;
    z-index: -1
}

.flex-pauseplay a {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    left: 10px;
    opacity: .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: 6px;
    text-align: center;
    z-index: 1
}

    .flex-control-nav li {
        margin: 0 6px;
        display: inline-block;
        zoom: 1;
        *display: inline;
        width: auto
    }

.flex-control-paging li a {
    display: block;
    cursor: pointer;
    text-indent: -999px;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    background: #ec705a;
    width: 16px;
    height: 8px; /* background: #fff0 none repeat scroll 0 0; */ /* border: 1px solid #ec705a; */
    text-indent: -9999px;
    border-radius: 0;
    
}

    .flex-control-paging li a:hover {
        background: var(--theme);
    }

    .flex-control-paging li a.flex-active {
        background: #000;
        cursor: default;
        width: 30px;
    }

.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;
        -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
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 10px;
    }

    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 10px;
    }
}
