/* 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 -15px; 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: 60%;
	display: block;
}
.flexslider .slides iframe {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 {
	background: #fff;
	position: relative;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	zoom: 1;
}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.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;
	clear: both;
	width: 100%;
	margin-bottom: 5px;
}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {
	width: 31%;
	position: absolute;
	color: #fff;
	line-height: 18px;
	top: 0px;
	right: 0px;
	margin: 0px;
	box-shadow: -20px 0px 0px 0px rgba(115, 0, 10, .5);
	height: 100%;
	padding-right: 5%;
	padding-left: 5%;
	font-family:'Open Sans';
	font-weight:400;
	background-color: #73000a !important;
    background: url("/_global_resources/img/Line-Diag-2-white50.png") 0 0 repeat, -moz-linear-gradient(to bottom, #500004 0%,#73000A 55%,#73000A 100%);
    background: url("/_global_resources/img/Line-Diag-2-white50.png") 0 0 repeat, -webkit-linear-gradient(to bottom, #500004 0%,#73000A 55%,#73000A 100%);
    background: url("/_global_resources/img/Line-Diag-2-white50.png") 0 0 repeat, -o-linear-gradient(to bottom, #500004 0%,#73000A 55%,#73000A 100%);
    background: url("/_global_resources/img/Line-Diag-2-white50.png") 0 0 repeat, -ms-linear-gradient(to bottom, #500004 0%,#73000A 55%,#73000A 100%);
    background: url("/_global_resources/img/Line-Diag-2-white50.png") 0 0 repeat, linear-gradient(to bottom, #500004 0%,#73000A 55%,#73000A 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#500004', endColorstr='#73000a',GradientType=0 );
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
            align-items: flex-start;
}
    .flex-caption:after {
        content:"";
        background: #73000a;
        height: 11%;
        width:100%;
        display:block;
        position: absolute;
        right: 0px;
        bottom: 0px;
        float:left;
    }

.flex-caption > * { max-width: 350px; }

.flex-caption strong:after { content: ''; }

.flex-caption h1 {
	display: block;
	color: #fff;
	font-size: 2.4em;
	font-weight: 800;
	line-height: 1.1em;
	margin:0;
}
.flex-caption h1 span {
	font-weight: 300;
	display: inline-block;
}

.flex-caption p {
	margin-top:10px;
	line-height:1.4em;
}

.flex-caption p b {
	padding-right: 25px;
	float: left;
	line-height: 2.5em;
	position: relative;
}

.flex-control-nav {
	position: absolute;
	bottom: 3%;
	text-align: center;
	right: 3%;
	z-index:9999;
}

.content-slider .flex-control-nav { bottom:8%; right:4%; }

.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {
	width: 21px;
	height: 21px;
	display: block;
	background-color: #B6BF00;
	cursor: pointer;
	font-weight: 600;
	font-size: .9375em; /* 15px / 16px */
	line-height: 1.5em;
	border-radius: 50%;
	box-shadow: 0px 3px 8px 1px rgba(0, 0, 0, .4);
}
	.no-borderradius .flex-control-nav li a { background: url(../img/flexslider/bg_control_nav.png) no-repeat 0 0; }
	/* Adjustment for content pages with a slider */
	.content-slider .flex-control-nav li a { line-height: 1.8em; }

.flex-control-nav li a:hover { text-decoration:none; }

.flex-control-nav .flex-active { background-color:white; }
	.no-borderradius .flex-control-nav .flex-active { background-position: 0 -25px; }

/*.flex-control-nav li a:hover {background-position: 0 -13px;}*/
.flex-control-nav li a.active {
	background-position: 0 -13px;
	cursor: default;
}

/* Links to get double arrow */
.flexslider a .flex-caption h1:after {
	content: "\00bb";
	font-weight: 300;
}

#home-alternate + .flex-container .lightbox-video:after {
	left: 25%;
	right: auto;
}

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


@media only screen and (min-width: 320px) and (max-width: 767px) {
    /* Flexslider */
	 .slides {
		 margin:0px;
	 }
	 
	.flexslider .slides img {
		max-width:100%;
		border-radius: 0px;
	}
	
	.flex-caption {
		width:100%;
		position:relative;
		height:145px;
	}
	
	.flex-caption:after {
		display:none;
	}
	
	.flex-caption p, .flex-caption h1 {
		z-index:1;
		bottom:0;
		width:100%;
		position:relative;
		top:10px;
	}
	
	.flex-caption h1 {
		font-size:1.25em; /* 20px / 16px */
		font-weight:700;
	}
	
	.flex-caption p {
		font-size:.75em; /* 12px / 16px */
	}
	
	.flex-control-nav {
		width:100%;
	}
	
	.flex-control-nav li {
		padding-right: 10px;
	}
	#home-alternate + .flex-container .lightbox-video:after {
		top: -35%;
		left: 0;
		right: 0;
	}
}
