/*
 * 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,
.flex-container a:focus,
.flexslider a:focus { outline: none; }

.slides,
.flex-control-nav,
.flex-direction-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* FlexSlider Necessary Styles
*********************************/

.flexslider {
    margin: 0;
    padding: 0;
}

.flexslider .slides > li {
    -webkit-backface-visibility: hidden;
    display: none;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img {
    display: block;
    width: 100%;
}

.flex-pauseplay span { text-transform: capitalize; }

/* Clearfix for the .slides element */

.slides:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

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 {
    -moz-border-radius: 4px;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    -o-border-radius: 4px;
    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    -webkit-border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    background: #EBEBEB;
    border: 4px solid #EBEBEB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    margin: 0 0 20px;
    position: relative;
    zoom: 1;
}

.flex-viewport {
    -moz-transition: all 1s ease;
    -webkit-transition: all 1s ease;
    max-height: 2000px;
    transition: all 1s ease;
}

.loading .flex-viewport { max-height: 300px; }

.flexslider .slides {
    background-color: #EBEBEB;
    zoom: 1;
}


.carousel li { margin-right: 5px; }

/* Direction Nav */

.flex-direction-nav { *height: 0; }

.flex-direction-nav a {
    -webkit-transition: all .3s ease;
    background: url(img/bg_direction_nav.png) no-repeat 0 0;
    cursor: pointer;
    display: block;
    height: 30px;
    margin: -20px 0 0;
    opacity: 0;
    position: absolute;
    text-indent: -9999px;
    top: 50%;
    width: 30px;
    z-index: 10;
}

#carousel .slides li {
    margin-right: 5px;
}

.flex-direction-nav .flex-next {
    background-position: 100% 0;
    opacity: .1;
    right: 0px;
}

.flex-direction-nav .flex-prev {
    left: 0px;
    opacity: .1
}

.flexslider:hover .flex-next {
    opacity: 0.8;
    right: 5px;
}

.flexslider:hover .flex-prev {
    left: 5px;
    opacity: 0.8;
}

.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }

.flex-direction-nav .flex-disabled {
    cursor: default;
    filter: alpha(opacity=30);
    opacity: .3 !important;
}

/* Control Nav */

.flex-control-nav {
    bottom: -40px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.flex-control-nav li {
    display: inline-block;
    *display: inline;
    margin: 0 6px;
    zoom: 1;
}

.flex-control-paging li a {
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    -webkit-border-radius: 20px;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: block;
    height: 11px;
    text-indent: -9999px;
    width: 11px;
}

.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;
    overflow: hidden;
    position: static;
}

.flex-control-thumbs li {
    float: left;
    margin: 0;
    width: 25%;
}

.flex-control-thumbs img {
    border: 1px solid black;
    cursor: pointer;
    display: block;
    opacity: .7;
    width: 100%;
}

.flex-control-thumbs img:hover { opacity: 1; }

.flex-control-thumbs .flex-active {
    cursor: default;
    opacity: 1;
}

@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        left: 0;
        opacity: 0;
    }

    .flex-direction-nav .flex-next {
        opacity: 0;
        right: 0;
    }
}