/*
 * 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;height:256px;overflow: hidden;}
.flexslider .slides{height:256px;direction:rtl;}
.flexslider .slides > li {position: relative;opacity: 1;margin:0 0;height: 256px;display: none; -webkit-backface-visibility: hidden;/*background:black;*/} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li.flex-active-slide{opacity: 1;}
.flexslider .slides img {width: 100%;display: block;margin:0 auto;}
.flex-pauseplay span {text-transform: capitalize;}
#inner-slider .flexslider {height:129px;}
#inner-slider .flexslider ul{padding:0 !important;}
#inner-slider .flexslider .slides{height:129px;direction:rtl;}
#inner-slider .flexslider .slides > li {height: 129px;}
@media (min-width: 768px) {
    .flexslider {height:256px;}
    .flexslider .slides{height:256px;}
    .flexslider .slides > li {height: 256px;}
    #inner-slider .flexslider {height:129px;}
    #inner-slider .flexslider .slides{height:129px;direction:rtl;}
    #inner-slider .flexslider .slides > li {height: 129px;}
}
#slider li{cursor:pointer;}

/* 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;direction: ltr;}
.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}

/* Play / Pause */
.flex-pauseplay{position:absolute;bottom:5px;right:5px;width:18px;}
.flex-pause{background:url(../images/sprite.png) no-repeat -280px -213px;width:15px;height: 14px;cursor:pointer;display:block;text-indent:-99999px;overflow:hidden;}
.flex-play{background:url(../images/sprite.png) no-repeat -10px -213px;width:15px;height: 14px;cursor:pointer;display:block;text-indent:-99999px;overflow:hidden;}

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 41px; height: 39px; margin:0; display: block; background: url(../images/sprite.png) no-repeat -210px -84px; position: absolute; bottom: 25px; z-index: 10; cursor: pointer; text-indent: -9999px; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {left: 20px; }
.flex-direction-nav .flex-prev {right: 20px;background-position:-130px -84px; }
.flexslider:hover .flex-next {opacity: 1;left:15px;}
.flexslider:hover .flex-prev {opacity: 1;right:15px;}
.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 {position: absolute; bottom: 15px; text-align: left;left:38px;}
.rtl .flex-control-nav { text-align: right;right:38px;direction:rtl;}
#page-920.rtl .flex-control-nav { text-align: left;left:38px;right:auto;direction:rtl;}
#page-987.rtl .flex-control-nav { text-align: left;left:38px;right:auto;direction:rtl;}
#page-954 .flex-control-nav { text-align: right;right:38px;left:auto;direction:ltr;}
.flex-control-nav li {margin: 0 6px; float: left; }
.rtl .flex-control-nav li {float:right;}
.flex-control-paging li a {width: 6px; height: 6px; display: block;background: #bababa;background:rgba(255,255,255,0.5); cursor: pointer; text-indent: -9999px;overflow:hidden; -webkit-border-radius: 50%; -moz-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: white; }
.flex-control-paging li a.flex-active { background: white; cursor: default; }

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}