/*
 * 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
 */
 #container {width: 80%; max-width: 800px; margin: 0 auto;}
/* 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: 100%; display: block!important; width:100%; }
.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;}
.flexslider .slides { zoom: 1; z-index:0; }
.flexslider .slides > li { position: relative; background-position:center center; background-repeat:no-repeat; background-size:cover; }
.flexslider .slides > li:after { position: absolute; display: block; content: ""; left:0; top:0; background: rgba(23, 72, 200, 0.8); width: 100%; height: 100%; }
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container { zoom: 1; position: relative; }
.flexslider .slides li { /*height:642px; background-repeat:no-repeat; background-position:center; background-size:cover;*/ }
.flexslider .slides li img { width:100%; float:left; }

/* Caption style */
/* IE rgba() hack */
.flex-caption { background:none; zoom: 1; }
.flex-caption { width:auto; position:absolute; z-index: 99; right: 0; top:50%; left: 0; margin:auto; opacity:1; background: none; display:block; text-align: left; transform: translateY(-50%)}
.flex-caption h1 { display:inline-block; font-family: 'CircularStd-Bold'; font-size:56px; font-weight:700; line-height:60px; color:#ffffff; text-shadow: 3px 0px 12px #333; position: relative; padding-bottom:10px; margin-bottom: 20px;}
.flex-caption p { display:inline-block; font-family: 'Graphik-Regular'; font-size:20px; line-height:26px; color:#ffffff; margin-bottom:35px;  display: block; text-align: left; }
.flex-caption a {font-family: 'Graphik-Regular'; border: 2px solid #ffd234; font-size:18px; line-height:26px; color:#000; background: #ffd234; padding:15px 35px; border-radius:5px; transition:all 0.3s ease; -moz-transition:all 0.3s ease; -webkit-transition:all 0.3s ease; -o-transition:all 0.3s ease;}
.flex-caption a:hover { background:#1748c8; color:#ffd234; border: 2px solid #1748c8;}

/* Direction Nav */
.flex-direction-nav { display:block; }
.flex-direction-nav li a {width:50px; height:50px; margin: -23px 0 0; display: block; z-index:100; background: url(../img/slide-arrow.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -99999px;}
.flex-direction-nav li .flex-next {background-position:-50px 0; right:30px;}
.flex-direction-nav li .flex-prev {left:30px;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom:6%; z-index:100; text-align:center;}
.flex-control-nav li {margin:0 4px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li a {width:30px; height:6px; border-radius:20px; background: #ffffff; display: block; font-size:0px; line-height:0px; cursor: pointer; text-indent: -99999px; }
.flex-control-nav li a:hover, .flex-control-nav li a.flex-active { background: #ffd234; }

.flexslider .slides { overflow: hidden;}
/* .flex-caption h1 {
	-webkit-transform: translateY(-300px);
	-moz-transform: translateY(-300px);
	transform: translateY(-300px);
	opacity:0;
}


.flex-active-slide .flex-caption h1 {
-webkit-animation:fadeInLeft ease-in 1;
-moz-animation:fadeInLeft ease-in 1;
-o-animation:fadeInLeft ease-in 1;
animation:fadeInLeft ease-in 1;
-webkit-animation-fill-mode:forwards;
-moz-animation-fill-mode:forwards;
-o-animation-fill-mode:forwards;
animation-fill-mode:forwards;
-webkit-animation-duration:1.5s;
-moz-animation-duration:1.5s;
-o-animation-duration:1.5s;
animation-duration:1.5s;
}
@-webkit-keyframes fadeInLeft {
	0% { opacity: 0; -webkit-transform: translateY(-300px); }
	40% { opacity: 0; -webkit-transform: translateY(-300px); }
	100% { opacity: 1; -webkit-transform: translateY(0);  }
}
@-moz-keyframes fadeInLeft { 
	0% { opacity: 0; -moz-transform: translateY(-300px); }
	40% { opacity: 0; -moz-transform: translateY(-300px); }
	100% { opacity: 1; -moz-transform: translateY(0); }
}
@-o-keyframes fadeInLeft {
	0% { opacity: 0; -o-transform: translateY(-300px); }
	40% { opacity: 0; -o-transform: translateY(-300px); }
	100% { opacity: 1; -o-transform: translateY(0); }
}
@keyframes fadeInLeft {
	0% { opacity: 0; transform: translateY(-300px); }
	40% { opacity: 0; transform: translateY(-300px); }
	100% { opacity: 1; transform: translateY(0); }
}


.flex-caption h4 {
	-webkit-transform: translateY(-300px);
	-moz-transform: translateY(-300px);
	transform: translateY(-300px);
	opacity:0;
}


.flex-active-slide .flex-caption p {
-webkit-animation:fadeInLeft ease-in 1;
-moz-animation:fadeInLeft ease-in 1;
-o-animation:fadeInLeft ease-in 1;
animation:fadeInLeft ease-in 1;
-webkit-animation-fill-mode:forwards;
-moz-animation-fill-mode:forwards;
-o-animation-fill-mode:forwards;
animation-fill-mode:forwards;
-webkit-animation-duration:1.5s;
-moz-animation-duration:1.5s;
-o-animation-duration:1.5s;
animation-duration:1.5s;
}
@-webkit-keyframes fadeInLeft {
	0% { opacity: 0; -webkit-transform: translateY(-300px); }
	40% { opacity: 0; -webkit-transform: translateY(-300px); }
	100% { opacity: 1; -webkit-transform: translateY(0);  }
}
@-moz-keyframes fadeInLeft { 
	0% { opacity: 0; -moz-transform: translateY(-300px); }
	40% { opacity: 0; -moz-transform: translateY(-300px); }
	100% { opacity: 1; -moz-transform: translateY(0); }
}
@-o-keyframes fadeInLeft {
	0% { opacity: 0; -o-transform: translateY(-300px); }
	40% { opacity: 0; -o-transform: translateY(-300px); }
	100% { opacity: 1; -o-transform: translateY(0); }
}
@keyframes fadeInLeft {
	0% { opacity: 0; transform: translateY(-300px); }
	40% { opacity: 0; transform: translateY(-300px); }
	100% { opacity: 1; transform: translateY(0); }
} */

