/*
 * 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;}
/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li {display: none; position:relative;} 
.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; background-color:#ffffff; }
.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 {
	left:50%; 
	width: 40%; 
	margin:0 auto; 
	margin-left: -20%;
	position: absolute;  
	bottom: 5%; 
	font-size:18px;
}

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

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav li a {
	top: 45%;
	width: 40px; 
	height: 40px; 
	margin: 0 auto; 
	display: block; 
	position: absolute;  
	margin-top: -15px;
	z-index: 10; 
	cursor: pointer; 
	text-indent: -9999px; 
	border: 4px solid #ffffff;
	-webkit-border-radius:	24px;
	-moz-border-radius: 	24px;
	border-radius: 			24px;
	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:#FC7100 url(../images/flex-arrow-next.png) no-repeat center center;
	}
	
.flex-direction-nav .flex-prev {
	left: 40px; 
	background:#FC7100 url(../images/flex-arrow-prev.png) no-repeat center center;
	}

.flex-direction-nav li .disabled {
	opacity: .3; 
	}


.flex-direction-nav a.flex-next:hover,
.flex-direction-nav a.flex-prev:hover { background-color:#333333; }

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

/* Control Nav */
.flex-control-nav { 
	position: absolute; 
	bottom: 0; 
	right: 40px; 
	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 h1{
	display: table;
	margin: 0 auto 2px auto;
	padding: 6px 15px;
	text-align:center;
	font-size: 30px;
	color: #ffffff;
	background:url('../images/opacs/dark50.png') 0 0 repeat;
}
.flex-title p {
	padding: 10px;
    line-height: 1.3em;
	font-size: 13px;
	text-align: center;
	display: table;
	margin: 0 auto;
	background:url('../images/opacs/white80.png') 0 0 repeat;
}