/*
 * jQuery FlexSlider v2.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)
 */
 



/* --Clearfix */
.cf:before,
.cf:after {content:""; display:table;}
.cf:after {clear:both;}
.cf {zoom:1;}



 
/* 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;
}
	.slides > li,
	.flex-control-nav > li,
	.flex-direction-nav > li {
	position:relative;
	margin:0;
	padding:0;
	list-style:none;
	background:none;
	} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {}
.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: "."; 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: 0 0 0px; border:none; position: relative;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;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;position: absolute;width: 100%;top:50%;left:0px;}
.flex-direction-nav a {
width: 30px;
height: 30px; 
margin: -20px 0 0; 
display: block;
position: absolute; 
top: 50%; 
z-index: 10; 
cursor: pointer; 
text-indent: -9999px; 
opacity:1; 
-webkit-transition: all .3s ease;
}
.flex-direction-nav .flex-next {right:0px; background-image:url(../../images/slider_right.png); background-position:center; background-repeat:no-repeat;}
.flex-direction-nav .flex-prev {left:0px; background-image:url(../../images/slider_left.png); background-position:center; background-repeat:no-repeat;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {
text-align:center;
padding: 0px 10px;
display:block;
margin:0 auto;
height:14px;
line-height:14px;
width:10%;
background-color:#000;
position:relative;
}
	.flex-control-nav::before {
	content:'';
	position:absolute;
	background-image:url(../../images/nav_control_left.png)	;
	background-position:left center;
	background-repeat:no-repeat;
	width:14px;
	height:14px;
	left:-14px;
	}
	.flex-control-nav::after {
	content:'';
	position:absolute;
	background-image:url(../../images/nav_control_right.png);
	background-position:right center;
	background-repeat:no-repeat;
	width:14px;
	height:14px;
	right:-14px;
	}
	
	
.flex-control-nav li {line-height:14px;margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}

.flex-control-paging li a {
cursor:pointer;
display:inline-block;
background-color:#ffffff;
text-indent:5000px;
min-width:8px;
width:8px;
height:8px;
border-radius:20px;
overflow:hidden;
}

.flex-control-paging li a:hover {
font-weight:bold;
background-color:#cd6c00;
}

.flex-control-paging li a.flex-active {
font-weight:bold;
background-color:#cd6c00;
}

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

.flex-caption {
width:40%;
padding:2%;
position:absolute;
right:0;
bottom:35%;
color:#fff;
text-align:left;
font-size:14px;
line-height:18px;
}

	.flex-caption h2 {
	color:#000;
	font-size:28px;
	line-height:32px;
	margin-bottom:8px;
	}
		.flex-caption h2 .slider-title {
		display:inline-block;
		z-index:999;
		color:#cd6c00;
		font-size:34px;
		text-shadow: 1px 0 0 rgba(255,255,255,0.4), 
					-1px 0 0 rgba(255,255,255,0.4),
					 0 1px 0 rgba(255,255,255,0.4),
					 0 -1px 0 rgba(255,255,255,0.4),
					 1px 1px rgba(255,255,255,0.4),
					-1px -1px 0 rgba(255,255,255,0.4),
					 1px -1px 0 rgba(255,255,255,0.4),
					 -1px 1px 0 rgba(255,255,255,0.4);
		font-weight:700;
		}
		
		.flex-caption  h3 {
		position:relative;
		font-family: "jaf-bernina-sans-condensed-n3","jaf-bernina-sans-condensed",sans-serif;
		font-style: normal;
		font-weight: 300;
		line-height:34px;
		padding:0;
		min-width:400px;
		float:left;
		clear:both;
		display:inline-block;
		margin-bottom:8px;
		text-align:left;
		color:#fff;
		padding-left: 10px;
		font-size: 16px;
		background: -moz-linear-gradient(left,  rgba(205,108,0,1) 0%, rgba(205,108,0,1) 49%, rgba(205,108,0,0.64) 67%, rgba(46,136,209,0) 99%, rgba(41,137,216,0) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(205,108,0,1)), color-stop(49%,rgba(205,108,0,1)), color-stop(67%,rgba(205,108,0,0.64)), color-stop(99%,rgba(46,136,209,0)), color-stop(100%,rgba(41,137,216,0))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(left,  rgba(205,108,0,1) 0%,rgba(205,108,0,1) 49%,rgba(205,108,0,0.64) 67%,rgba(46,136,209,0) 99%,rgba(41,137,216,0) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(left,  rgba(205,108,0,1) 0%,rgba(205,108,0,1) 49%,rgba(205,108,0,0.64) 67%,rgba(46,136,209,0) 99%,rgba(41,137,216,0) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(left,  rgba(205,108,0,1) 0%,rgba(205,108,0,1) 49%,rgba(205,108,0,0.64) 67%,rgba(46,136,209,0) 99%,rgba(41,137,216,0) 100%); /* IE10+ */
		background: linear-gradient(to right,  rgba(205,108,0,1) 0%,rgba(205,108,0,1) 49%,rgba(205,108,0,0.64) 67%,rgba(46,136,209,0) 99%,rgba(41,137,216,0) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cd6c00', endColorstr='#002989d8',GradientType=1 ); /* IE6-9 */
		}
			.flex-caption h3 .diagonal {
			position:absolute;
			left:-38px;
			top:0;
			width:38px;
			height:34px;
			background-image:url(../images/sliderText_diagonal.png);
			background-repeat:no-repeat;
			background-position:center left;
			}
		
		.flex-caption .text {
		clear:both;
		float:left;	
		width:400px;
		text-align:left;
		line-height:24px;
		font-size:14px;
		}
		

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