/*
 * 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; padding: 0;max-height: 350px;overflow: hidden;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flexslider .slides.round img {border-radius: 0;}
.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;}
.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;}
 .loading {/*min-height:350px;*/margin:0 auto; background: url("../../images/loading.html") no-repeat center center;}
.carousel li {margin-right: 5px}
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}
/*______________________________________________________________*/

/*                  FLEX SLIDER CSS                             */
/*______________________________________________________________*/

.flex-container {
    margin-bottom: 30px;
}
.flex-direction-nav li a.flex-next,
.flex-direction-nav li a.flex-prev {-webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out; width:35px;height:35px;text-indent:-9999px;display:block;position:absolute;top:45%; }
.flex-direction-nav li .flex-next  {background:#34495E url("../img/next.png") 14px -19px no-repeat;-webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;}
.flex-direction-nav li .flex-prev  { background:#34495E url("../img/prev.png") 10px -19px no-repeat;-webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;}
.flex-direction-nav li .flex-next:hover  {background:#34495E url("../img/next.png") 14px 10px no-repeat;}
.flex-direction-nav li .flex-prev:hover  { background:#34495E url("../img/prev.png") 10px 10px no-repeat;}

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

.flex-direction-nav li .flex-next{right:-40px;display: block;}
.flex-direction-nav li .flex-prev{left:-40px;display: block;}
.flexslider:hover .flex-direction-nav li .flex-next{right:0px;}
.flexslider:hover .flex-direction-nav li .flex-prev{left:0px;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
.flex-control-nav {width: auto;position: absolute;text-align:center;display:block;z-index:250;right:o;bottom:0;left: 0;margin: 0 auto;right: 0;}
.flex-control-nav li {margin: 0px 0 0 5px; display: inline-block; zoom: 1; *display: inline;text-indent:-9999px;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {-webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;width: 30px; height: 8px;display: block; background:#FFF;cursor:pointer; text-indent: -999em;}


.flex-caption {zoom: 1;width:auto;height:auto;position:absolute;left:30%;top:40%;z-index:111;padding:10px 20px;}
.flex-caption h3{color:#FFF;text-transform:capitalize;display:inline-block;margin-bottom:0;font-weight: 600;font-size: 14px;}


.flex-container.with-margin{
    margin-bottom: 20px;
    float: left;
    width: 100%;
}

.flex-control-nav li a.flex-active, .flex-caption, .flex-control-nav li a:hover {
    background: none repeat scroll 0 0 #34495E;
}
