/*
 * jQuery FlexSlider v1.8
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* 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 { min-height:50px; overflow:hidden; margin: 0; padding: 0;}
.flexslider .slides > li {display: none; position:relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img { width:100%; max-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
*********************************/
.flexslider { position: relative; zoom: 1; }
.flex-viewport {-webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

/* Caption style */
/* IE rgba() hack */
.flex-caption { zoom: 1; }
.flex-caption {
	width: 30%; 
	left:0; 
	right:0; 
	margin:0 auto; 
	padding:0; 
	position: absolute;  
	bottom: 38%; 
	font-size:18px;
}

.flex-caption p { margin-bottom:0;}

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav li a {
	width: 40px; 
	height: 40px; 
	margin: 0 auto; 
	display: block; 
	position: absolute; 
	top: 50%; 
	margin-top: -15px;
	z-index: 10; 
	cursor: pointer; 
	text-indent: -9999px; 
	transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
}

.flex-direction-nav .flex-next { 
	right:-40px; 
	background:#333333 url(../images/flex-arrow-next.png) no-repeat center center;
}
	
.flex-direction-nav .flex-prev {
	left: -40px; 
	background:#333333 url(../images/flex-arrow-prev.png) no-repeat center center;
}

.flex-direction-nav li .disabled {
	opacity: .3; 
	filter:alpha(opacity=30); 
	cursor: default;
}

.flexslider:hover .flex-prev { left: 10px; background: #0ba054 url(../images/flex-arrow-prev.png) no-repeat center center;}
.flexslider:hover .flex-next { right: 10px; background: #0ba054 url(../images/flex-arrow-next.png) no-repeat center center; }

/* Control Nav */
.flex-control-nav { 
	position: absolute; 
	bottom: 0px; 
	right:34px; 
	text-align: center; 
	width:auto; 
}
.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: 25px; height: 6px; display: block; background:#666666; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background:#222222;}
.flex-control-nav li a.active {background:#f5f5f5; cursor: default;}

.flex-title { text-align:center; }

.flex-title h2,
.flex-title h3 { margin-bottom: 20px }

.flex-title h2 span {
	padding: 15px;
	text-shadow: 0px 4px 0px rgba(0,0,0,0.2);
	text-align: center;
	line-height: 30px;
	color: #ffffff;
	background:url('../images/opacs/dark70.png') 0 0 repeat;
	font-family: Open Sans Condensed, Helvetica, Arial, sans-serif;
	font-size: 30px;
}
.flex-title h3 span {
	padding: 10px;
	line-height: 20px;
	text-transform: uppercase;
	text-align: center;
	background: url('../images/opacs/white90.png') 0 0 repeat;
	font-family: Open Sans Condensed, Helvetica, Arial, sans-serif;
	font-size: 18px;
}