/* 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 { 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 > li:first-child {
    display: block;
}
.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%;
}

/* 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 {
	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: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
	box-sizing: border-box;
	width: 40%;
	position: absolute;
	color: #fff;
	line-height: 18px;
	top: 0px;
	right: 0px;
	margin: 0px;
	box-shadow: -20px 0px 0px 0px rgba(0, 0, 0, 1);
	height: 100%;
	padding-right: 5%;
	padding-left: 3%;
	padding-bottom: 3em;
    background: url("/_global_resources/img/brand/palmleaves_black_repeating-25.svg") 0 0 repeat, #73000a;
    background-size: 70px auto;
}

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

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

.flex-caption h1 {
	display: block;
	font-family: "Berlingske Sans Extracondensed", "Impact", sans-serif;
    font-weight: 800;
	font-size: 2.75em;
    text-transform: uppercase;
	letter-spacing: .8px;
	color: #fff;
	line-height: 1.1em;
	margin:0;
}

.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 {
	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 (max-width: 959px) and (min-width: 768px) {
	.flex-caption {
		font-size: .75em;
	}
}


@media only screen and (min-width: 200px) and (max-width: 767px) {
    /* Flexslider */
	 .slides {
		 margin:0px;
	 }
	 
	.flexslider .slides img {
		max-width:100%;
		border-radius: 0px;
	}
	
	.flex-caption {
		width:100%;
		position:relative;
		padding-top: .75em;
    	padding-bottom: .75em;
	}
	
	.flex-caption:after {
		display:none;
	}
	
	.flex-caption p, .flex-caption h1 {
		z-index:1;
		bottom:0;
		position:relative;
	}
	.flex-caption > * { max-width: none; }
	
	.flex-caption h1  { padding-top: 0 !important; }
	
	.flex-control-nav {
		width:100%;
	}
	
	.flex-control-nav li {
		padding-right: 10px;
	}
}
