/*
 * 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 */
.fav-container a:active,
.favslider a:active,
.fav-container a:focus,
.favslider a:focus  {outline: none;}
.favs,
.fav-control-nav,
.fav-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.favslider {margin: 0; padding: 0;}
.favslider .favs > li {display: none; -webkit-backface-visibility: hidden; background:none!important; padding: 0px!important; position: relative;} /* Hide the favs before the JS is loaded. Avoids image jumping */
.favslider .favs img {width: 100%; display: block;}
.fav-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .favs element */
.favs:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .favs {display: block;} 
* html .favs {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 .favs > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.favslider {margin: 0 0 45px; position: relative; zoom: 1;}
.fav-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .fav-viewport {max-height: 300px;}
.favslider .favs {zoom: 1;}


#carousel img {display: block; opacity: .5; filter:alpha(opacity=50); cursor: pointer;}
#carousel img:hover {opacity: 1; filter:alpha(opacity=100);}
#carousel .fav-active-slide img {opacity: 1; filter:alpha(opacity=100); cursor: default;}
.carousel li { margin-right: 5px;}

/* Caption style */
/* IE rgba() hack */
.fav-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.fav-caption {width: 96%; padding: 2%; margin: 0; 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 */
.fav-direction-nav {*height: 0;}
.fav-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; filter:alpha(opacity=0); -webkit-transition: all .3s ease;}
.fav-direction-nav .fav-next {background-position: 100% 0; right: 0px; }
.fav-direction-nav .fav-prev {left: 0px;}
.favslider:hover .fav-next {opacity: 0.8; filter:alpha(opacity=80); right: 5px;}
.favslider:hover .fav-prev {opacity: 0.8; filter:alpha(opacity=80); left: 5px;}
.favslider:hover .fav-next:hover, .favslider:hover .fav-prev:hover {opacity: 1; filter:alpha(opacity=100);}
.fav-direction-nav .fav-disabled {cursor: default;}
.fav-disabled:hover {opacity: 0.3!important; filter:alpha(opacity=30)!important;}
.fav-direction-nav li {margin: 0!important; padding: 0!important;}

/* Control Nav */
.fav-control-nav {width: 100%; position: absolute; bottom: -40px; left:0; text-align: center;}
.fav-control-nav li {margin: 0!important; display: inline-block; zoom: 1; *display: inline; background: none!important; padding: 0!important;}
.fav-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3); margin-right: 5px;}
.fav-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.fav-control-paging li a.fav-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.fav-control-thumbs {position: static; overflow: hidden;}
.fav-control-thumbs li {width: 25%; float: left; margin: 0;}
.fav-control-thumbs img {width: 100%; display: block; opacity: .7; filter:alpha(opacity=70); cursor: pointer;}
.fav-control-thumbs img:hover {opacity: 1; filter:alpha(opacity=100);}
.fav-control-thumbs .fav-active {opacity: 1; cursor: default; filter:alpha(opacity=100);}

@media screen and (max-width: 860px) {
  .fav-direction-nav .fav-prev {opacity: 1; filter:alpha(opacity=100); left: 0;}
  .fav-direction-nav .fav-next {opacity: 1; filter:alpha(opacity=100); right: 0;}
}
