/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; 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 Patron Theme
*********************************/
.flexslider { position: relative; zoom: 1; width: 100%; }
.flex-viewport { max-height: 900px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; width: 100%; }
.loading .flex-viewport { max-height: 640px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a { text-decoration:none; display: block; width: 33px; height: 64px; margin: -32px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .5s ease; -moz-transition: all .5s ease; transition: all .5s ease; }
.flex-direction-nav .flex-prev { left: -40px; text-indent: -9999px; display: block; background: url(../../images/arrow_l.png) no-repeat; opacity: 0; }
.flex-direction-nav .flex-next { right: -40px; opacity: 0; text-indent: -9999px; display: block; background: url(../../images/arrow_r.png) no-repeat;  }
.flexslider:hover .flex-prev { opacity: 0.7; left: 30px; }
.flexslider:hover .flex-next { opacity: 0.7; right: 30px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }

/* Patron Specific
*********************************/
.featured-slider { background-color: #354459; position: relative; overflow: hidden; }
.featured-slider .slide { background-repeat: no-repeat; background-size: cover; background-position: top center; background-color: #354459; color: #fff; }
.featured-slider .slide .slide-wrap { display: table;  width: 100%; text-align: center; }
.featured-slider .slide .wrap { display: table-cell; vertical-align: middle; padding-top: 64px; padding-bottom: 64px; }
.featured-slider, .featured-slider .slide, .featured-slider .slide-wrap { height: 600px; }
.featured-slider, .featured-slider .post-slider .slide, .featured-slider .post-slider .slide-wrap { height: auto !important; }
.slide-content { font-weight: 400; padding: 0 50px; }
.featured-slider p, .featured-slider h1, .featured-slider h2, .featured-slider h3, .featured-slider h4, .featured-slider h5, .featured-slider h6 { color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.featured-slider p { margin-bottom: 20px; }
.slide-content .title { font-size: 100px; font-weight: 700; position: relative; margin: 0; padding-top: 10px; }
.slide-content .title:before { display: inline-block; height: 3px; width: 140px; background: #fff; content: ""; position: absolute; top: 0; left: 50%; margin-left: -70px; opacity: .5; }
.featured-slider .button { margin-top: 15px; padding: 12px 50px; font-size: 16px; }

.flex-active-slide .slide-content {
    -moz-animation: swipein_left 1s;
    -webkit-animation: swipein_left 1s;
    -o-animation: swipein_left 1s;
	animation: swipein_left 1s;
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-delay: .5s;
	-moz-animation-delay: .5s;
	-ms-animation-delay: .5s;
	-o-animation-delay: .5s;
	animation-delay: .5s;
}
.slide.clone .slide-content { opacity: 0; }

.featured-slider.featured-video, .featured-slider.featured-video .slide, .featured-slider.featured-video .slide-wrap { height: auto; }
.featured-slider.featured-video iframe, .featured-slider.featured-video object { margin: 0 auto; display: block; }


/* - Swipe Fade ----------- */
@-webkit-keyframes swipein_left {
	0% { opacity: 0; -webkit-transform: translateY(30px); }
	100% { opacity: 1; -webkit-transform: translateY(0); }
}
@-moz-keyframes swipein_left {
	0% { opacity: 0; -moz-transform: translateY(30px); }
	100% { opacity: 1; -moz-transform: translateY(0); }
}
@-o-keyframes swipein_left {
	0% { opacity: 0; -ms-transform: translateY(30px); }
	100% { opacity: 1; -ms-transform: translateY(0); }
}
@keyframes swipein_left {
	0% { opacity: 0; transform: translateY(30px); }
	100% { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}
