/*
 * 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;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('fonts/flexslider-icon.eot');
	src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('fonts/flexslider-icon.woff') format('woff'),
		url('fonts/flexslider-icon.ttf') format('truetype'),
		url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* 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 Default Theme
*********************************/
.flexslider { margin: 0px; background: #ffffff;  position: relative;  zoom: 1;}
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Alternate Caption CSS */
#flex-main { font-family: TeXGyreAdventor-regular, sans-serif; padding: 0 40px; max-width: 1200px; margin: 0 auto; }
.flex-caption { width: 100%; margin: 0; }
.text-container { width: 100%; padding: 0px; }
.text-container a:hover { text-decoration: underline; }

.caption-one { background: none; color: white; }
.caption-one a { color: white; }
.cap-container-bg-one {background:none}

.caption-two { background: none; color: white; }
.caption-two a { color: white; }
.cap-container-bg-two {background:none}

.caption-three { background-color: #000000; color: white; }
.caption-three a { color: white; }

.caption-four { background-color: #000000; color: white; }
.caption-four a { color: white; }


/* Direction Nav */
.flex-direction-nav { height: 0; }
.flex-direction-nav li a {width: 50px; height: 50px; display: block; position: absolute; top: 40%; cursor: pointer; text-indent: -999em;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

.flex-direction-nav .flex-prev { 
	display: none;
	height: 50px;
	width: 50px;
	background: url(../images/prev.png) no-repeat center left;
	text-indent: -99999em; 
	left:0;
	z-index:900000;}
	
	
.flex-direction-nav .flex-next { 
	display: block ;
	height: 50px;
	width: 50px;
	background: url(../images/next2.png) no-repeat center right;
	text-indent: -99999em;
	right:0;
	z-index:100;}
.flexslider:hover .flex-prev { opacity: 0.7; left: 0px; }
.flexslider:hover .flex-next { opacity: 0.7; right: 0px; }
.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; }
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 40px; display: inline-block; content: '\f001'; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }


 






/* 860px and above CSS of Alternate Caption */
@media screen and (min-width: 875px) {
  .flex-caption { width: 100%; max-width: 1600px; margin: 20px auto 0 auto; position: absolute; top: 10%; z-index: 100;}
  .caption-container { position: relative; width: 100%; margin: 250px auto 0 auto;}
  .text-container {  position: relative; -webkit-animation: slideIn; -moz-animation: slideIn; -o-animation: slideIn; animation: slideIn; -webkit-animation-duration: 2s; -moz-animation-duration: 2s; -o-animation-duration: 2s; animation-duration: 2s; }
}



@media screen and (max-width: 875px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
  
  .cap-container-bg-one {background: #000000} /* #3c8511 */
  .cap-container-bg-two {background: #000000} /* #da7009 */
  .caption-container { padding-bottom:25px}
  
  .text-container{padding:20px}
}



/* Alternate Caption slideIn CSS */
/* Will not work properly without JS pull by Ryan Long https://github.com/woothemes/FlexSlider/pull/865 */
@-webkit-keyframes slideIn { 0% { left: 9%; opacity: 0; }
  100% { left: 0; opacity: 1; } }

@-moz-keyframes slideIn { 0% { left: 9%; opacity: 0; }
  100% { left: 0; opacity: 1; } }

@-o-keyframes slideIn { 0% { left: 9%; opacity: 0; }
  100% { left: 0; opacity: 1; } }

@keyframes slideIn { 0% { left: 9%; opacity: 0; }
  100% { left: 0; opacity: 1; } }