/*
 * 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;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* 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: "."; 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
*********************************/
.flex-container {
zoom: 1;
position: relative;
}
.flexslider {margin: 0 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}
.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}


/* #Slider
============================================== */



/* Direction Nav */
.flex-direction-nav{
	display:none;
	position:absolute;
	width:100%;
	top:50%;
	margin-top:-25px;
	display:block\9; /*IE needs this */
}
.flex-direction-nav li a {
	margin: 0 ; 
	display:block;
	background: url(../images/bg_direction_nav.png) no-repeat 0 0;
	position: absolute; 
	top:0;
	cursor: pointer; 
	text-indent: -9999px;
	background-color:#222;
	background-color:rgba(0,0,0,.1);
	color:#fff;
	width:20px;
	height:20px;
	font-size:20px;
	padding:15px;
	border-radius:50px;
	-moz-border-radius:50px;
	-webkit-border-radius:50px;
	-o-border-radius:50px;
	text-decoration:none;
	text-align:center;
	
	font-weight:normal;
	
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
	
}

.flex-direction-nav li a:hover{
	background-color:#222;
	background-color:rgba(0,0,0,.3);
	
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.flex-direction-nav li a.flex-next {background-position: -50px 0; right: 20px; /*-21px;*/ }
.flex-direction-nav li a.flex-prev {background-position: 0 0; left: 20px; /* -20px;*/ }
.flex-direction-nav li a.flex-disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav { 
	display:none; 
	width: 100%; 
	position: absolute; 
	bottom: 20px; 
	text-align: center;
}
.flex-video-slider .flex-control-nav{
	display:none !important; /* Hide in video slider, otherwise it blocks the controls */
}
.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: 13px; height: 13px; display: block;
	background-image:none;
	background-color:#444;
	background-color:rgba(0,0,0,.1); 
	cursor: pointer; text-indent: -9999px;
	
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	-o-border-radius:6px;
	border-radius:6px;
	
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
}
.flex-control-nav li a:hover {
	background-position: 0 -13px;
	background-color:#000;
	background-color:rgba(0,0,0,.6);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.flex-control-nav li a.active {
	background-position: 0 -26px; cursor: default;
	background-color:#000;
	background-color:rgba(0,0,0,.4);
}

/* Only show on hover */
.flex-container:hover .flex-direction-nav,
.flex-container:hover .flex-control-nav{
	display:block;
}

/* Pause / Play */
.flex-pauseplay{
	position: absolute;
	top: 0px;
	right: 0px;
	opacity:.3;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
}
.flex-container:hover .flex-pauseplay{
	opacity:1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.flex-pauseplay span{
	margin:5px 5px 0 0;
	width:22px;
	height:22px;
	font-size:8px;
	text-transform:uppercase;
	font-weight:bold;
	line-height:24px;
	display:block;
	background-color:#222;
	background-color: rgba(250, 250, 250, .2);
	/*background-position:5px 5px;*/
	background-image: url(../images/icons/icons.png);
	background-repeat:no-repeat;
	color:#dedede;
	text-indent:-999em;
	cursor:pointer;
}
.flex-pauseplay .play{
	background-position: 4px -178px;
}
.flex-pauseplay .pause{
	background-position: 4px -199px;
}

.flexslider iframe{ max-width: 100%; max-height:100%; }




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