/*
 * jQuery FlexSlider v1.7
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* Browser Resets */
.flex-container a:active,
.flexslider a:active {
    outline: none;
}

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

/* FlexSlider Necessary Styles
*********************************/
.flexslider {
    width: 100%;
    margin: 0 0 0;
    padding: 0;
    float: left;
}

.flexslider .slides>li {
    display: none;
    height: 501px;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img {
    width: 100%;
    display: block;
    height: auto;
}

.flex-pauseplay span {
    text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

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

* html .slides {
    height: 1%;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides>li:first-child {
    display: block;
}


/* FlexSlider Default Theme
*********************************/
.flexslider {
    position: relative;
    zoom: 1;
}

.flexslider .slides {
    zoom: 1;
}

.flexslider .slides>li {
    position: relative;
}

/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {
    zoom: 1;
    position: relative;
}

/* Caption style */
/* IE rgba() hack */
.flex-caption {
    background: none;
    -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
    zoom: 1;
}

.flex-caption {
    width: 96%;
    padding: 2%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .3);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
    font-size: 14px;
    line-height: 18px;
}

/* Direction Nav */
.flex-direction-nav {
    width: 100%;
    max-width: 1126px;
    margin: auto;
    position: absolute;
    bottom: 106px;
    right: 0;
    left: 0;
    display: none;
}

.flex-direction-nav li a {
    width: 31px;
    height: 31px;
    margin: 0 0 0;
    display: block;
    position: absolute;
    cursor: pointer;
    text-indent: -9999px;
}

.flex-direction-nav li a.next {
    background: no-repeat center / 100% 100%;
    right: 0;
}

.flex-direction-nav li a.prev {
    background: no-repeat center / 100% 100%;
    right: 48px;
}

.flex-direction-nav li a.disabled {
    opacity: .3;
    filter: alpha(opacity=30);
    cursor: default;
}

/* Control Nav */
.flex-control-nav {
    width: 1246px;
    position: absolute;
    bottom: 47px;
    right: 0;
    left: 0;
    margin: 0 auto;
    text-align: left;
    z-index: 9;
    display: none;
}

.flex-control-nav li {
    margin: 0 3px 0;
    zoom: 1;
    display: inline-block;
    font-size: 0;
}

.flex-control-nav li a {
    width: 42px;
    height: 1px;
    display: block;
    /*background: url(../images/bg_control_nav.png) no-repeat 0 0;*/
    cursor: pointer;
    text-indent: -9999px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 5px;
}

.flex-control-nav li a:hover {
    background-position: 0 -13px;
}

.flex-control-nav li a.active {
    background-position: 0 -26px;
    cursor: default;
    background: #ffffff;
}

.inner-slide1 {
    background: url(../images/inner-thumb/thumb1-inner.jpg) no-repeat center / cover;
}

.inner-slide2 {
    background: url(../images/inner-thumb/thumb1-inner.jpg) no-repeat center / cover;
}

/*Smartphone css*/
@media screen and (max-width: 480px) {
    .flexslider {
        width: 100%;
    }

    .flexslider .slides>li {
        height: 200px;
        position: relative;
    }

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

    .flex-control-nav {
        display: none;
    }
}

@media screen and (min-width:481px) and (max-width:600px) {
    .flexslider {
        width: 100%;
    }

    .flexslider .slides>li {
        height: 200px;
        position: relative;
    }

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

    .flex-control-nav {
        display: none;
    }
}

@media screen and (min-width:601px) and (max-width:767px) {
    .flexslider {
        width: 100%;
    }

    .flexslider .slides>li {
        height: 200px;
        position: relative;
    }

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

    .flex-control-nav {
        display: none;
    }
}

@media screen and (min-width:768px) and (max-width:900px) {
    .flexslider .slides>li {
        height: 356px;
    }

    .flex-control-nav {
        width: 94%;
    }
}

@media screen and (min-width:901px) and (max-width:1024px) {
    .flexslider .slides>li {
        height: 380px;
    }

    .flex-control-nav {
        width: 94%;
    }
}

@media screen and (min-width:1025px) and (max-width:1240px) {
    .flexslider .slides>li {
        height: 480px;
    }

    .flex-control-nav {
        width: 94%;
    }
}

@media screen and (min-width:1241px) and (max-width:1340px) {
    .flex-control-nav {
        width: 94%;
    }
}