/*
 * 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:70px; }
.flex-caption-txtpad { float:left;  width:50%; font-weight:300; }
.flex-caption h1 { float:left;  width:100%; font-size:34px; line-height:42px; text-transform:uppercase; color:#ffffff; padding-bottom:10px; letter-spacing:-1px; }
.flex-caption p { clear:left; width:100%; font-size:20px; color:#ffffff; line-height:27px; letter-spacing:-0.3px; }
.flex-caption a.slide-btn { display:inline-block; font-size:20px; color:#ffffff; text-align:center; line-height:50px; padding:0 15px; margin:10px 0px 0px; background:none; border:1px solid #ffffff; }
.flex-caption a.slide-btn:hover { background:#ffffff; color:#fe5f0e; }

/* 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 { position: absolute; left:22px; bottom:25px; z-index:100; text-align:left; }
.flex-control-nav li {margin:0 4px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li a { width:12px; height:12px; display: block; background:rgba(255,255,255,0.6); font-size:0px; line-height:0px; 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: translateY(-300px);
	-moz-transform: translateY(-300px);
	transform: translateY(-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: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-active-slide .flex-caption p {
-webkit-animation:fadeInright3 ease-in 1;
-moz-animation:fadeInright3 ease-in 1;
-o-animation:fadeInright3 ease-in 1;
animation:fadeInright3 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:2s;
-moz-animation-duration:2s;
-o-animation-duration:2s;
animation-duration:2s;
}
@-webkit-keyframes fadeInright3 {
	0% { opacity: 0; -webkit-transform: translateY(300px); }
	65% { opacity:1; -webkit-transform: translateY(300px); }
	100% { opacity: 1; -webkit-transform: translateY(0); }
}
@-moz-keyframes fadeInright3 { 
	0% { opacity: 0; -moz-transform: translateY(300px); }
	65% { opacity: 1; -moz-transform: translateY(300px); }
	100% { opacity: 1; -moz-transform: translateY(0); }
}
@-o-keyframes fadeInright3 {
	0% { opacity: 0; -o-transform: translateY(300px); }
	65% { opacity: 1; -o-transform: translateY(300px); }
	100% { opacity: 1; -o-transform: translateY(0); }
}
@keyframes fadeInright3 {
	0% { opacity: 0; transform: translateY(300px); }
	65% { opacity: 1; transform: translateY(300px); }
	100% { opacity: 1; transform: translateY(0); }
}

.flex-active-slide a.slide-btn {
	background:none; opacity: 0;
-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:3s;
-moz-animation-duration:3s;
-o-animation-duration:3s;
animation-duration:3s;
}
@-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; }
}