/*
 * 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; 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;}
.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;}
.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:100%; position: absolute; left: 0; top:60px; }
.flex-caption h1 {
	float:left;
	font-family: DINProBlack_0;
	font-size:40px;
	color:#ffffff;
	letter-spacing:-1px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding-bottom:10px;
	margin:0px 0px 15px 0px;
}
.flex-caption p { clear:left; width:43%; font-family: 'DINProRegular_0'; font-size:30px; color:#ffffff; line-height:32px; letter-spacing:-0.3px; }
.flex-caption span { font-family: 'DINProMedium_0'; color:#f8c917; font-size:32px; padding-top:8px; line-height:34px; }
.flex-caption2 p, .flex-caption2 span { font-size:28px; line-height:30px; }
.flex-caption a.slide-btn { 
display:inline-block; background:url(../img/slider-btn-bg.jpg); font-family: 'DINProBold_0'; font-size:20px; color:#ffffff; text-align:center; line-height:54px; padding:0 15px; margin:10px 0px 0px; 
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
-webkit-border-radius:5px; -moz-border-radius:5px; -khtml-border-radius:5px; border-radius:5px; 
}
.flex-caption a.slide-btn:hover { background:#d50100; text-decoration:none; }

/* Direction Nav */
.flex-direction-nav { display:block; }
.flex-direction-nav li a {width:46px; height:46px; margin: -23px 0 0; display: block; z-index:100; background: url(../img/slide-arrow.jpg) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -99999px;}
.flex-direction-nav li .flex-next {background-position:-46px 0; right:0px;}
.flex-direction-nav li .flex-prev {left:0px;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom:10%; z-index:100; text-align:center; }
.flex-control-nav li {margin:0 3px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li a {width:14px; height:14px; display: block; background:rgba(255, 255, 255, 0.25); font-size:1px; line-height:1px; cursor: pointer; text-indent: -99999px; -webkit-border-radius:50%; -moz-border-radius:50%; -khtml-border-radius:50%; border-radius:50%; }
.flex-control-nav li a:hover, .flex-control-nav li a.flex-active {background:rgba(255, 255, 255, 1);}

.flexslider .slides {
    overflow: hidden;
}
.flex-caption h1 {
	-webkit-transform: translateX(-300px);
	-moz-transform: translateX(-300px);
	transform: translateX(-300px);
	opacity:0;
}

.flex-caption p {
	-webkit-transform: translateY(300px);
	-moz-transform: translateY(300px);
	transform: translateY(300px);
	opacity:0;
}
.flex-caption a.slide-btn { 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:1s;
-moz-animation-duration:1s;
-o-animation-duration:1s;
animation-duration:1s;
}
@-webkit-keyframes fadeInLeft {
	0% { opacity: 0; -webkit-transform: translateX(-300px); }
	60% { opacity: 0; -webkit-transform: translateX(-300px); }
	100% { opacity: 1; -webkit-transform: translateX(0);  }
}
@-moz-keyframes fadeInLeft { 
	0% { opacity: 0; -moz-transform: translateX(-300px); }
	60% { opacity: 0; -moz-transform: translateX(-300px); }
	100% { opacity: 1; -moz-transform: translateX(0); }
}
@-o-keyframes fadeInLeft {
	0% { opacity: 0; -o-transform: translateX(-300px); }
	60% { opacity: 0; -o-transform: translateX(-300px); }
	100% { opacity: 1; -o-transform: translateX(0); }
}
@keyframes fadeInLeft {
	0% { opacity: 0; transform: translateX(-300px); }
	60% { opacity: 0; transform: translateX(-300px); }
	100% { opacity: 1; transform: translateX(0); }
}

.flex-active-slide .flex-caption p {
-webkit-animation:fadeInright ease-in 1;
-moz-animation:fadeInright ease-in 1;
-o-animation:fadeInright ease-in 1;
animation:fadeInright 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 fadeInright {
	0% { opacity: 0; -webkit-transform: translateY(300px); }
	75% { opacity: 0; -webkit-transform: translateY(300px); }
	100% { opacity: 1; -webkit-transform: translateY(0); }
}
@-moz-keyframes fadeInright { 
	0% { opacity: 0; -moz-transform: translateY(300px); }
	75% { opacity: 0; -moz-transform: translateY(300px); }
	100% { opacity: 1; -moz-transform: translateY(0); }
}
@-o-keyframes fadeInright {
	0% { opacity: 0; -o-transform: translateY(300px); }
	75% { opacity: 0; -o-transform: translateY(300px); }
	100% { opacity: 1; -o-transform: translateY(0); }
}
@keyframes fadeInright {
	0% { opacity: 0; transform: translateY(300px); }
	75% { opacity: 0; transform: translateY(300px); }
	100% { opacity: 1; transform: translateY(0); }
}

.flex-active-slide a.slide-btn {
-webkit-animation:fadeInBtn ease-in 1;
-moz-animation:fadeInBtn ease-in 1;
-o-animation:fadeInBtn ease-in 1;
animation:fadeInBtn 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:2.5s;
-moz-animation-duration:2.5s;
-o-animation-duration:2.5s;
animation-duration:2.5s;
}
@-webkit-keyframes fadeInBtn {
	0% { opacity: 0; }
	75% { opacity: 0; }
	100% { opacity: 1; }
}
@-moz-keyframes fadeInBtn { 
	0% { opacity: 0; }
	75% { opacity: 0; }
	100% { opacity: 1; }
}
@-o-keyframes fadeInBtn {
	0% { opacity: 0; }
	65% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes fadeInBtn {
	0% { opacity: 0; }
	75% { opacity: 0; }
	100% { opacity: 1; }
}
