/*
 * jQuery FlexSlider v1.8
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* Browser Resets */
.flex-container a:flex-active,
.flexslider a:flex-active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* Additional Resets */
.slides li,
.flex-control-nav li,
.flex-direction-nav li { margin: 0; list-style-type: none; }


/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100% !important; display: block;}
.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 {background: #fff; border: none; position: relative; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {width: 98%; padding: 1%; margin: 0; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.6); color: #fff; rgba(0,0,0,.6); font-size: 14px; line-height: 18px;}
.flex-caption strong {font-weight: normal; margin-right: 1em;}
.flex-caption strong:before { content:url(../img/arrow_slide.png); }
.flex-caption figcaption {display: inline !important; font-weight: normal !important;}
.flex-caption a {color: #fff !important;}

.flex-teaser {width: auto; padding: 1%; margin: 0; position: absolute; top: 10%; right: -5px; z-index: 2; background: #ac1b20; color: #fff; rgba(0,0,0,.3); font-size: 14px; line-height: 18px; box-shadow: 3px 3px 3px #888; border-radius: 3px;}

/* Direction Nav */
.flex-direction-nav {*height: 0; padding: 0;} /*fix for IE 7 */
.flex-direction-nav li a {width: 26px; height: 26px; margin: -13px 0 0; display: block; background: url(../img/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 45%; cursor: pointer; text-indent: -9999px; opacity: 0.8; filter:alpha(opacity=80); }
.flex-direction-nav li a:hover  { opacity: 1; filter:alpha(opacity=100); }
.flex-direction-nav li .next {background-position: -30px 0; right: 10px;}
.flex-direction-nav li .prev {left: 10px;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 50%; position: absolute; right: 0; bottom: 10px; text-align: right;}
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 15px; height: 15px; display: block; margin-right: 10px; background: #000; color: #000 !important; line-height: 1em; cursor: pointer;}
.flex-control-nav li a:hover {background-color: #fff !important; color: #fff !important;}
.flex-control-nav li a:focus { 
  	color:#fff !important; 
  	outline: 0px !important; 
  	background: #fff !important;
}
.flex-control-nav li a.flex-active {background: #fff; color: #fff !important; cursor: default;}


#flex-button {	
	width: 40px;
	height: 40px;
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 980;
	cursor: pointer;
	display: none;
}

#flex-button.slider-pause {
	background: transparent url(../img/flexslider_pause.png) no-repeat;
}

#flex-button.slider-play {
	background: transparent url(../img/flexslider_play.png) no-repeat;
}

/**
 * Device max width 600px (Smartphones Minipad)
 *
 */
@media only screen and (max-device-width: 600px) {
	.flexslider { margin-bottom: 7px; }
	.flex-direction-nav { display: none !important; }
	#flex-button { display: none !important; }
}

/**
 * Device min width 1024px (Desktop)
 *
 */
@media only screen and (min-width: 1024px) {
	.flexslider {min-height: 472px;}
}

/**
 * Device min width 1024px (Desktop)
 *
 */
@media only screen and (min-width: 800px) {
	.flexslider {min-height: 472px;}
}

/**
 * Device max width 768px (Mobile Devices)
 *
 */
@media only screen and (max-device-width: 800px) {
	.flexslider {min-height: 10px !important;}
	.flexslider ol {
		display: none;
	}
	.flex-caption {
		width: 100%;
		padding: 0;
		position: relative;
		top: 0; 
		background: rgba(0,0,0,.9); 
		color: #fff; rgba(0,0,0,.9); 
	}

	.flex-caption strong { display: inline-block; padding: 2%; }
}
