/*
 * 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; background-position:center center; background-repeat:no-repeat; background-size:cover;}
/* 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;bottom:12%;}
.flex-caption-txtpad {font-weight:300; }
.flex-caption h1 { width:100%; font-family: 'Montserrat', sans-serif; font-size:60px; font-weight:700; line-height:30px; color:#ffffff; text-shadow: 0 0px 10px rgba(0, 0, 0, 0.8); text-align:center }
.flex-caption p { clear:left; width:100%; font-size:16px; color:#fff; font-weight:400; line-height:30px; text-align:center }
.flex-caption a.slide-btn { display:inline-block; background:#fe8f2a; font-size:16px; color:#ffffff; line-height:44px; text-transform:uppercase; padding:0 30px; margin:15px 0px 0px; border-radius:25px; }
.flex-caption a.slide-btn:hover { background:#ff9f38; }

/* Direction Nav */
.flex-direction-nav { display:block; }
.flex-direction-nav li a {width:45px; height:45px; margin:-15px 0 0; display: block; z-index:100; position: absolute; top: 50%; cursor: pointer; text-indent: -99999px;}
.flex-direction-nav li .flex-next {background-position:-30px 0; right:50px; background: url(../images/slid-ctrl-right.png) no-repeat 0 0;}
.flex-direction-nav li .flex-prev {left:50px; background: url(../images/slid-ctrl-left.png) no-repeat 0 0;}
.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:19px; height:19px; display: block; background: url(../img/control-nav.png) no-repeat 0px 0px; 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-position:-26px 0; }

.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;
	text-shadow:0 1px 1px rgba(0, 0, 0, 0.8);
}
.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 {
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; }
}