/*
 * 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;}

#products { position: relative; }

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0 auto; padding: 0; max-width:100%;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; position:relative} /* 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: "\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 { margin: 0 auto; position: relative; zoom: 1; }
.flex-viewport { max-height: 1637px; -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; }
.carousel li { margin-right: 5px; }


/* Direction Nav */

.flex-direction-nav {*height: 0; display:block; width: 50px; height: 29px; position: relative; position: absolute; bottom: 5%; right: 5%;}

.flexcaro .flex-direction-nav {*height: 0; display:block; width: 100%; height: 50px; position: relative; position: absolute; top: 50%; right: 0; margin: -25px 0 0 0;}

.flex-direction-nav a  { display: block; width: 15px; height: 29px; margin: 0; position: absolute; top: 0;  z-index: 99; overflow: hidden;  cursor: pointer; border:0; text-indent:99999em;}
.flex-direction-nav .flex-prev { background:url(../images/prev.png) top left no-repeat; left:0;}
.flex-direction-nav .flex-next {text-align: right; background:url(../images/next.png) top left no-repeat; right:0;}

.flexcaro .flex-direction-nav a  { display: block; width: 50px; height: 50px; margin: 0; position: absolute; top: 0;  z-index: 99; overflow: hidden;  cursor: pointer; border:0; text-indent:99999em;}
.flexcaro .flex-direction-nav .flex-prev { background: #b5061a url(../images/prev-caro.png) center center no-repeat; left:0;}
.flexcaro .flex-direction-nav .flex-next {text-align: right; background: #b5061a url(../images/next-caro.png) center center no-repeat; right:0;}

#products .flex-direction-nav .flex-prev { background:url(../images/prev.png) top left no-repeat; left:10px;}
#products .flex-direction-nav .flex-next {text-align: right; background:url(../images/next.png) top left no-repeat; right:10px;}
.flexslider:hover .flex-prev { }
.flexslider:hover .flex-next { }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {}
.flex-direction-nav a:before  {}
.flex-direction-nav a.flex-next:before  {}

/* 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: auto; display: block; height:40px; padding:0 15px; text-align: left; position:absolute; bottom:5%; left:auto;
	position: absolute;
	bottom: 5px;
 left: 50%;
 transform: translate(-50%, -50%);}
.flex-control-nav li {margin: 15px 8px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 10px; height: 10px; display: block; background: #dedede; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; }
.flex-control-paging li a:hover { background: #ed1c24; }
.flex-control-paging li a.flex-active { background: #ed1c24; cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden; height:auto !important}
.flex-control-thumbs li {width: 25%; float: left; margin: 0; height:130px; overflow:hidden;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer; height:100%;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media only screen and (max-width: 768px) {
	.flex-direction-nav {*height: 0; display:block; width: 50px; height: 29px; position: relative; position: relative; bottom: auto; right: auto;}
}