/*
 * jQuery FlexSlider v2.2.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;}

/* Icon Fonts
*********************************/
/* Font-face Icons */

/* FlexSlider Necessary Styles
*********************************/
.flexslider {width: 100%; height-: 374px; float: left; margin: 0; padding: 0;}
.gallery-b .flexslider {width: 100%; height-: 465px; float: left; margin: 0; padding: 0;}
.s-gallery .flexslider {width: 100%; height-: 260px; float: left; margin: 0; padding: 0;}
.gallery-b #gallery-carousel {width: 300px; height: 50px; margin: 0 70px; float: none; display: inline-block; }
.s-gallery #c-carousel {width: 150px; height: 50px; margin: 0 30px; float: none; display: inline-block; }
.flexslider .slides > li {display: none; height-: 256px; overflow: hidden; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */

.gallery-b .flexslider .slides > li {display: none; height-: 265px; padding-top: 5px; padding-bottom: 5px; text-align: center; overflow: hidden; -webkit-backface-visibility: hidden; } /* Hide the slides before the JS is loaded. Avoids image jumping */
.s-gallery .flexslider .slides > li {display: none; height-: 465px; padding-top: 5px; padding-bottom: 5px; text-align: center; overflow: hidden; -webkit-backface-visibility: hidden; } /* Hide the slides before the JS is loaded. Avoids image jumping */
.gallery-b .flexslider .slides > li img {cursor: pointer; } 
.gallery-b #gallery-carousel .slides > li:hover { /* background: #f0f0f0; */ } 
.gallery-b #gallery-carousel .slides > li { height: 50px; margin-right: 3px; margin-top: 2px; border: 1px solid #cccccc; } 
.s-gallery .flexslider .slides > li img {cursor: pointer; } 
.s-gallery #c-carousel .slides > li:hover { /* background: #f0f0f0; */ } 
.s-gallery #c-carousel .slides > li { height: 50px; margin-right: 3px; margin-top: 2px; border: 1px solid #cccccc; } 
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; 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 { zoom: 1; }
.flex-viewport { max-height-: 256px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.gallery-b .flex-viewport { max-height: 465px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.s-gallery .flex-viewport { max-height: 246px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }

/* Direction Nav */
.flex-direction-nav {
    *height: 0;
    width: 41px;
    position: absolute;
    top: 20px;
    right: 20px;
}
.gallery-b .flex-direction-nav {
    *height: 0;
    width: 96%;
    position: absolute;
    bottom: 45px;
    right: 2%;
    top: auto;
    
}
.s-gallery .flex-direction-nav {
    *height: 0;
    width: 96%;
    position: absolute;
    bottom: 45px;
    right: 2%;
    top: auto;
    
}
.flex-direction-nav a  { 
    text-decoration:none; 
    display: block; 
    width: 13px; 
    height: 0px; 
    padding-top: 20px;
    position: absolute; 
    top: 0; 
    z-index: 10; 
    overflow: hidden; 
    cursor: pointer; 
    outline: none;
}
.flex-direction-nav .flex-prev { left: 0px; background: url(../images/sprite.png) -40px -37px no-repeat; }
.flex-direction-nav .flex-next { right: 0px; background: url(../images/sprite.png) -54px -37px no-repeat; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {  }
.flex-direction-nav .flex-disabled {
    -khtml-opacity:     .25;
    -moz-opacity:     0.25;
    opacity: .25;

}
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 40px; display: inline-block; content: '\f001'; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: 17px; text-align: center; z-index: 2; }
.flex-control-nav li {display: inline-block; zoom: 1; *display: inline; vertical-align: middle; }
.flex-control-paging li a {
    width: 4px; 
    height: 4px; 
    display: block; 
    margin: 0 7px 0 8px; 
    background: #333; 
    cursor: pointer; 
    text-indent: -9999px; 
    -webkit-border-radius: 50%; 
    -moz-border-radius: 50%; 
    -o-border-radius: 50%; 
    border-radius: 50%; 
}
.flex-control-paging li a.flex-active {
    width: 6px;
    height: 6px;
    border: 2px solid #333;
    background: none;
    cursor: default; 
}

.flex-control-thumbs { outline: none; margin: 20px 0 0; position: static; overflow: hidden; overflow-x: scroll; white-space: nowrap;}
.flex-control-thumbs li {width: 98px; height: 68px; margin-left: 8px; padding-bottom: 27px; display: inline-block; overflow: hidden; }

.flex-control-thumbs li:first-child {margin-left: 0px; }
.flex-control-thumbs img {width: 96px; display: block; opacity: .7; cursor: pointer; border: 1px solid transparent; }
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs img.flex-active {opacity: 1; cursor: default; border: 1px solid #ff9933; }

