/*
 * 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 
*********************************/
.flexslider {
	background: #fff; 
	position: relative; 
	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: 400px;}

.flexslider .slides {
	zoom: 1;
}

.flex-viewport .slides > li {
	position: relative;
}

.flex-viewport .slides > li > img,
.flex-viewport .slides > li > iframe {
    max-width: 100%;
}

.flex-viewport .slides > li > a,
.flexslider .slides > li > a {
	display: block;	
}

.flexslider .button {
	margin-bottom: 0;	
}

/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */

.flex-container {
	zoom: 1; 
	position: relative;
}

/* Caption style */

.flex-caption {
	width: 100%; /* 530px/940px */
	max-width: 960px;
	position: absolute;
	left: 0px;
	bottom: 0px;
	background: rgba(0, 0, 0, 0.7);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000); /* For IE 5.5 - 7*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)"; /* For IE 8*/
	color: #eee;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.75);
}

.flex-caption > div {
	padding: 10px 20px;
}

.flex-caption h3 {
	margin-bottom: 0px;
	padding: 6px 20px;
}

.flex-caption p {
	font-size: 1.083em; /* 13px */
	line-height: 1.538em; /* 20px/13px */
}

.flex-caption p:last-child {
	margin-bottom: 0;
}

.flex-caption .button {
	float: right;
	margin: 0 0 0 20px;
	font-size: 1.333em; /* 16px */
	padding: 5px 15px;
}

.flex-caption .button:hover {
	background-color: #333;
}

/* Direction Nav */

#flexslider-home .flex-direction-nav {
	opacity: 0;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;	
}

#flexslider-home.flex-container:hover .flex-direction-nav {
	opacity: 1;
}

.flex-direction-nav a {
	position: absolute;
	top: 50%;
	margin-top: -25px; /* half the height */
	display: block;
	width: 40px; 
	height: 50px; 
	background: url(/images/slider/arrows.png) no-repeat;
	cursor: pointer; 
	text-indent: -999em;
	z-index: 2; /* necessary when there is an overlay */
}

.flex-direction-nav a.flex-prev,
.flex-direction-nav a.flex-prev.flex-disabled {
	background-position: 15px center;
	left: 0;
	border-radius: 0 5px 5px 0;
	behavior:url(/css/PIE.htc);
	-pie-border-radius: 0 5px 5px 0;
}

.flex-direction-nav a.flex-next,
.flex-direction-nav a.flex-next.flex-disabled {
	background-position: -35px center; 
	right: 0;
	border-radius: 5px 0 0 5px;
	behavior:url(/css/PIE.htc);
	-pie-border-radius: 5px 0 0 5px;
}

.flex-direction-nav a:link, .flex-direction-nav a:visited,

.flex-direction-nav a.flex-disabled:link, .flex-direction-nav a.flex-disabled:visited, 
.flex-direction-nav a.flex-disabled:hover, .flex-direction-nav a.flex-disabled:active {
	background-color: rgba(0,0,0,0.6);	
}

.flex-direction-nav a.flex-disabled:link, .flex-direction-nav a.flex-disabled:visited, 
.flex-direction-nav a.flex-disabled:hover, .flex-direction-nav a.flex-disabled:active {
	cursor: default;
}

/* Control Nav */

.flex-control-nav {
	position: absolute; 
	right: 20px;
	top: 10px;
	overflow: hidden;
	z-index: 2; /* necessary when there is an overlay */
}

.entry-slider .flex-control-nav {
	left: 40px;
	bottom: 15px;
}

.flex-control-nav li {
	margin-right: 6px;
	float: left;
}

.flex-control-paging a {
	width: 10px; 
	height: 10px; 
	display: block; 
	background: url(/images/slider/nav.png) no-repeat left bottom;
	cursor: pointer; 
	text-indent: -999em;
}

.flex-control-paging a:hover, .flex-control-paging a.flex-active {
	background-position: left top;	
}

.flex-control-paging a.flex-active {
	cursor: default;
}

/* Video */

.flexslider iframe {
	margin: 0 auto;	
}

.flex-direction-nav a:hover, .flex-direction-nav a:active,
.ie8 .flex-direction-nav a:hover, .ie8 .flex-direction-nav a:active {
	background-color: #4c6192;	
}
