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

/* 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: 2000px; display: block; max-height: 600px; margin:0 auto; }


/* FlexSlider Default Theme
*********************************/
.flexslider {background: #fff; /*border: 4px solid #fff;*/ position: relative; /*-webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px;*/}
.flexslider .slides  li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flexslider-container {position: relative;}


/* Caption style */
.flex-caption {width: 96%; padding: 2%; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 15px; line-height: 18px;}
.flex-caption-blue{width: 47%; padding: 2%; position: absolute; left: 20%; top: 13%; background:#00457c; opacity:0.67; color: #fff; font-family: 'Crimson Text', serif; font-size:200%; font-weight:900;}
.flex-caption-white{width: 35%; padding: 2%; position: absolute; right: 0; top: 24%; background:#ffffff; opacity:0.70; color: #1f1f1f; font-family: 'Crimson Text', serif; font-size:250%; font-weight:900;}
.flex-caption-yellow{width: 15%; padding: 2%; position: absolute; right: 28%; top: 53%; background:#ddac01; color: #ffffff; font-family: 'Crimson Text', serif; font-size:150%; font-weight:900; text-transform:uppercase;}
.flex-caption-yellow a{ color:#ffffff; text-decoration:none;}

/* Direction Nav */
.flex-direction-nav li a {width: 52px; height: 52px; margin: -13px 0 0; display: block; background: url(../images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 90%; cursor: pointer; text-indent: -9999px;} /* set negative margin-top equal to half the height on the directional-nav for perfect vertical centering */
.flex-direction-nav li a.next {background-position: -52px 0; right: 25%;}
.flex-direction-nav li a.prev {background-position: 0 0; right: 29%;}

/* Control Nav */
.flex-control-nav {margin-left: -31px; position: absolute; bottom: -30px; left: 50%;} /* set negative margin-left equal to half the width on the control-nav for perfect centering */
.flex-control-nav li {margin: 0 0 0 5px; float: left;}
.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;}
@media screen  and (max-width:1275px) {
	.flex-caption-yellow{font-size: 125%;text-align: center;}
		.flex-direction-nav li a{top:85%;}
	.flex-direction-nav li a.prev{right: 30%;}
  .banner-logo{max-width: 180px !important;}
  .flex-caption-white{top: 26%;}
}

@media screen  and (max-width:1120px) {
	.flex-caption-blue{font-size: 175%;}
}
@media screen  and (max-width:1065px) {
	.flex-caption-yellow{font-size: 100%;text-align: center;}
  .flex-caption-white{top: 27%;}
}
@media screen  and (max-width:980px) {
	.flex-caption-blue{font-size: 150%;}
	.flex-direction-nav li a.prev{right: 31%;}
   .banner-logo{max-width: 140px !important;}

}
@media screen  and (max-width:860px) {
	.flex-caption-yellow{font-size: 90%;text-align: center;top: 56%;}
   .banner-logo{max-width: 100px !important;}
}
@media screen  and (max-width:820px) {
	.flex-caption-blue{font-size: 125%;}
		.flex-caption-white{top: 27%;}
	.flex-direction-nav li a.prev{right: 32%;}

}
@media screen  and (max-width:767px) {
	.flex-caption-yellow{font-size: 75%;text-align: center;top: 56%;}
}
@media screen  and (max-width:710px) {
	.flex-caption-blue{font-size: 100%;}
	.flex-caption-white{top: 28%;}
	.flex-direction-nav li a.prev{right: 33%;}
   
}
@media screen  and (max-width:650px) {
	.flex-caption-yellow{right: 25%;width: 18%; top: 55%;}
	.flex-caption-white{top:28%;}
	.flex-caption-blue{ display:none;}
	.flex-direction-nav li a.next{right: 10%;}
	.flex-direction-nav li a.prev{right: 20%;}
}
@media screen  and (max-width:550px) {
	.flex-caption-yellow{width: 30%;right: 13%;}
}
@media screen  and (max-width:485px) {
.flex-direction-nav{display:none;}
.flex-caption-white{font-size: 200%;}
 .flex-caption-white{display: none !important;}
}
@media screen  and (max-width:390px) {
	.flex-caption-white{width:65%;}
	.flex-caption-yellow{width: 44%;right: 29%;}

}