/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

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

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

/* FlexSlider Necessary Styles
*********************************/
.flexslider .slides > li, .flexslider-clients .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img, .flexslider-clients .slides img {
    width: 100%;
    display: block;
}

.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, .flexslider-clients {
    margin: 0 auto 40px;
    padding: 0;
    width: 900px;
    position: relative;
    zoom: 1;
}

.flex-viewport {
    margin: 0;
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: inherit;
}

.flexslider .slides, .flexslider-clients .slides {
    zoom: 1;
}

.carousel li {
    margin-right: 5px
}

/* Direction Nav */
.flex-direction-nav {
    width: 1170px;
    position: absolute;
    top: 50%;
    left: -135px;
}

.flex-direction-nav a i {
    margin-top: -25px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    line-height: 50px;
    color: #FFF;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    z-index: 1000;
    transition-duration: 0.25s;
    -ms-transition-duration: 0.25s;
    -moz-transition-duration: 0.25s;
    -webkit-transition-duration: 0.25s;
    -o-transition-duration: 0.25s;
}

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

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

.flexslider:hover .flex-direction-nav a.flex-next i:hover, .flexslider:hover .flex-direction-nav a.flex-prev i:hover, .flexslider-clients:hover .flex-direction-nav a.flex-next i:hover, .flexslider-clients:hover .flex-direction-nav a.flex-prev i:hover {
    background: rgba(0, 0, 0, 0.25);
    opacity: 1;
}

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

/* Control Nav */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -30px;
    text-align: center;
    display: none;
}

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

.flex-control-paging li a {
    width: 10px;
    height: 10px;
    display: block;
    background: #CCC;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -o-border-radius: 100%;
    border-radius: 100%;
    transition: all linear 0.25s;
    -ms-transition: all linear 0.25s;
    -moz-transition: all linear 0.25s;
    -webkit-transition: all linear 0.25s;
    -o-transition: all linear 0.25s;
}

.flex-control-paging li a:hover {
    background: #FFF;
    background: rgba(255, 255, 255, 1);
}

.flex-control-paging li a.flex-active {
    background: #FFF;
    background: rgba(255, 255, 255, 1);
    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%;
    display: block;
    opacity: .7;
    cursor: pointer;
}

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

.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
}

/* Desktop large layout */
@media (min-width: 1210px) {
    .flexslider, .flexslider-clients {
        width: 900px;
    }
}

/* Desktop small layout */
@media (min-width: 980px) and (max-width: 1209px) {
    .flexslider, .flexslider-clients {
        width: 900px;
    }

    .flex-direction-nav {
        width: 100px;
        top: -65px;
        right: -20px;
        left: inherit;
    }
}

/* Tablet layout */
@media (min-width: 768px) and (max-width: 979px) {
    .flexslider, .flexslider-clients {
        width: 600px;
    }

    .flex-direction-nav {
        width: 724px;
        left: -62px;
    }
}

/* Mobile landscape layout */
@media (min-width: 480px) and (max-width: 767px) {
    .flexslider, .flexslider-clients {
        width: 300px;
    }

    .flex-direction-nav {
        width: 420px;
        left: -60px;
    }
}

/* Mobile portrait layout */
@media (max-width: 479px) {
    .flexslider, .flexslider-clients {
        margin-left: -20px;
        width: 300px;
    }

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