/*
 * 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 {outline: none;}
.slides,.flex-control-nav,.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {width: 100%; margin: 0; padding: 0;}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img { max-width:98%; margin:3px 1%; height:auto;}
.flex-pauseplay span {text-transform: capitalize;}
.slides li a img { 
	margin:auto;
	max-width: 100%;
	margin: 0 0 .75% 0; 
}
/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;padding-bottom:10px;} 
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; */ position: relative; zoom: 1; border-top:1px solid #f5f5f5; border-bottom:1px solid #f5f5f5; padding-bottom:0;}
.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: 40%; 
	padding: 0; 
	position: absolute; 
	left:15px;
	top:22px;
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,.3);
	font-size: 18px;
}
div.flex-caption h2 {
	color:#ffffff !important;
	border-bottom:#ffffff solid 1px;
	position:absolute;
	bottom:70%;
	left:4%;
	padding-bottom:10px;
	font-family: 'Ubuntu','Terminal Dosis', sans-serif;
}
div.flex-caption ul {
	margin: 0;
	position:absolute;
	right:4%;
	bottom:0;
	left:4%;
	list-style:none;
	font-family: 'Ubuntu','Terminal Dosis', sans-serif;
}
div.flex-caption ul li {
	color:#ffffff !important;
	line-height:25px;
}
div.flex-caption ul li:before {
	content: "\0BB \020";
	font-size:16px;
	line-height:18px;
	font-family: 'Roboto,''Terminal Dosis', sans-serif;
}

div.flex-caption ul li { /*color:#2a7b95;*/ }
div.flex-caption { width:43%; bottom:15px; }

@media only screen and (max-width: 959px) and (min-width: 768px) {
	.flex-caption {
		font-size:16px;
		line-height:16px;
	}
	div.flex-caption ul li { line-height:16px; }
}
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
	
	.flex-caption ul { top: 33%; }

}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 640px) and (max-width: 767px) {
	.flex-caption h2 {
		font-size:20px;
		line-height: 35px;
	}
	.flex-caption ul {
		font-size:13px;
	}
	div.flex-caption ul li {
		line-height: 5px;
	}
}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 639px) {
	/* .flex-caption{display:none;} */
	.flex-caption {
		left: 0px;
		top: 20px;
	}
	div.flex-caption {
		width: 100%;
		bottom: 0px;
	}
	div.flex-caption h2 {
		width: 40% !important;
		border-bottom: none;
		bottom: 42px;
	}
	.flex-caption h2 {
		left: 4%;
		font-size: 24px;
		line-height: 30px;
	}
	.flex-caption ul {
		font-size:9px;
		bottom: 0;
		left: 45%;
		margin-bottom: 5px;
		margin: 0;
	}
	.flex-caption ul {
		font-size: 12px;
		top: 1%;
		right: 0;
	}
	div.flex-caption ul li {
		line-height: 1px;
	}
	div.flex-caption ul {
		margin: 0;
		position: absolute;
		left: 45%;
		bottom: 0;
	}
}
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	/* .flex-caption{display:none;} */
	.flex-caption h2 {
		position: absolute;
		top: -30px;
		left: 4%;
		font-size: 10px;
		line-height: 10px;
	} 
	.flex-caption ul {
		font-size:9px;
		top: 1%;
		right: 0;
		margin-bottom: 1px;
	}
	div.flex-caption ul li { line-height: 1px; }
	.flexslider .slides img {
		width: 100% !important;
		margin: 1%;
		height: auto !important;
		max-width: none;
	}
	div.flex-caption { display: none; }
}
/* Direction Nav */
/* .flex-direction-nav li a {width: 38px; height: 98px; margin: -49px 0 0; display: block; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li .next {right: 21px; background:url(../images/right-arrow.png) center center no-repeat;}
.flex-direction-nav li .prev {left: 20px;  background:url(../images/left-arrow.png) center center no-repeat;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;} */

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: 3px; text-align: center; }
.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: url(theme/bg_control_nav.png) no-repeat 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}

/* Burst Slide */
.burstSlide {
	width:100%;
	margin-top:10px;
}
.burstSlideLeft {
	width:47%;
	margin:0 1% 0 2%;
	float:left;
}
.burstSlideRight {
	width:47%;
	margin:0 2% 0 1%;
	float:left;
}
.burstSlideRight h2 {
	font-size:30px;
}
@media only screen and (max-width: 639px) {
	.burstSlideLeft, .burstSlideRight {
		width:96%;
		margin:0 2% 0 2%;
	}
}