/*
 * 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 {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
    margin: 0!important;
    padding: 0!important;
}

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    line-height: 0;
    margin: 0;
    padding: 0;
} /* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .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 Default Theme
*********************************/
.flexslider {
    margin: 0;
    border: 0;
    position: relative;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0px;
    border-radius: 0;
    box-shadow: 0;
    -webkit-box-shadow: 0;
    -moz-box-shadow: 0;
    -o-box-shadow: 0;
    zoom: 1;
    max-width: 940px;
    overflow: hidden;
}

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: 300px;
}

.flexslider .slides {
    zoom: 1;
}

.carousel li {
    margin-right: 5px;
    line-height: 0;
}

/* Direction Nav */
.flex-direction-nav {
*height: 0;
}

.flex-direction-nav a {
    width: 48px;
    height: 45px;
    margin: -20px 0 0;
    display: block;
    background: url(../images/bg_direction_nav_3.png) no-repeat 0 0;
    position: absolute;
    top: 47%;
    z-index: 10;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
}

.flex-direction-nav .flex-next {
    background-position: 100% 0;
    right: -36px;
}

.flex-direction-nav .flex-prev {
    left: -36px;
}

.flexslider:hover .flex-next {
    opacity: 0.6;
    right: 5px;
}

.flexslider:hover .flex-prev {
    opacity: 0.6;
    left: 5px;
}

.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
    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;
    text-align: right;
    top: 88%;
}

.flex-control-nav li {
    margin: 0 3px;
    display: inline-block;
    zoom: 1;
 *display: inline;
    line-height: 11px;
    height: 11px;
    font-size: 11px
}

.flex-control-nav li:last-child {
    margin-right: 15px;
}

.flex-control-paging li a {
    padding: 3px 5px;
    display: block;
    background: #edefe6;
    cursor: pointer;
    color: #3e3e3e;
    border: 1px solid #A3A3A3;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background: #e9e9e9;
    
    background: -moz-linear-gradient(top, #e9e9e9 29%, #a9a9a9 100%); /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(29%, #e9e9e9), color-stop(100%, #a9a9a9)); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top, #e9e9e9 29%, #a9a9a9 100%); /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top, #e9e9e9 29%, #a9a9a9 100%); /* Opera 11.10+ */

    background: -ms-linear-gradient(top, #e9e9e9 29%, #a9a9a9 100%); /* IE10+ */

    background: linear-gradient(to bottom, #e9e9e9 29%, #a9a9a9 100%); /* W3C */

 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9e9e9', endColorstr='#a9a9a9', GradientType=0 ); /* IE6-8 */
    text-shadow: 0 1px 2px #bbb, 0 1px 0 #bbb;
    -webkit-box-shadow: 0px 2px 2px rgba(50, 50, 50, 0.2);
    -moz-box-shadow:    0px 2px 2px rgba(50, 50, 50, 0.2);
    box-shadow:         0px 2px 2px rgba(50, 50, 50, 0.2);
}

.flex-control-paging li a:hover {
    background: #f4f4f4; /* Old browsers */
    background: -moz-linear-gradient(top, #f4f4f4 14%, #cccccc 100%, #e9e9e9 100%, #207cca 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(14%, #f4f4f4), color-stop(100%, #cccccc), color-stop(100%, #e9e9e9), color-stop(100%, #207cca)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f4f4f4 14%, #cccccc 100%, #e9e9e9 100%, #207cca 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f4f4f4 14%, #cccccc 100%, #e9e9e9 100%, #207cca 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f4f4f4 14%, #cccccc 100%, #e9e9e9 100%, #207cca 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f4f4f4 14%, #cccccc 100%, #e9e9e9 100%, #207cca 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#e9e9e9', GradientType=0 ); /* IE6-9 */
}

.flex-control-paging li a.flex-active {
    padding: 3px 5px;
    border: 1px solid #A3A3A3;
    background: #fcfcfc; /* Old browsers */
    background: -moz-linear-gradient(top, #fcfcfc 26%, #d3d3d3 100%, #e9e9e9 100%, #207cca 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(26%, #fcfcfc), color-stop(100%, #d3d3d3), color-stop(100%, #e9e9e9), color-stop(100%, #207cca)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fcfcfc 26%, #d3d3d3 100%, #e9e9e9 100%, #207cca 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fcfcfc 26%, #d3d3d3 100%, #e9e9e9 100%, #207cca 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fcfcfc 26%, #d3d3d3 100%, #e9e9e9 100%, #207cca 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fcfcfc 26%, #d3d3d3 100%, #e9e9e9 100%, #207cca 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#e9e9e9', GradientType=0 ); /* IE6-9 */

}

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

.flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
    line-height: 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;
}
 @media screen and (max-width: 860px) {

.flex-direction-nav a {
    top: 43%;
}

.flex-control-nav {
    top: 85%
}

.flex-direction-nav .flex-prev {
    opacity: 1;
    left: 0;
}

.flex-direction-nav .flex-next {
    opacity: 1;
    right: 0;
}
}
