/*
 * 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; background: #fff; 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: 60px;
height: 60px; 
margin: -30px 0 0; 
display: block;
position: absolute; 
top: 50%; 
z-index: 10; 
text-align:center;
cursor: pointer; 
color:rgba(0,0,0,0.5);
/*text-indent: -9999px; */
opacity:1; 
-webkit-transition: all .3s ease;
}
.flex-direction-nav a:hover {
    color: #C29E13;
}

.flex-direction-nav a .material-icons {
	font-size:50px;
}

.flex-direction-nav .flex-next {right:0px;}

/*.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 {width: 100%; position: absolute; top:15px; left:12px; text-align: left;}
.flex-control-nav li {margin: 0 3px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.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:96%;
padding:2%;
position:absolute;
left:0;
bottom:0;
}



/* Full screen rotator */
	#fullscreen-rotator {
	color:#ffffff;
	position:relative;
	}
		#fullscreen-rotator a {color:#ffffff;}
		#fullscreen-rotator a:hover {color:rgba(255,255,255,0.7);}
	
		#main #fullscreen-rotator {margin-bottom:18px;}	
		
		/* Set height to fullscreen */
		#fullscreen-rotator,
		#fullscreen-rotator .flexslider,
		#fullscreen-rotator .flexslider .slides,
		#fullscreen-rotator .flexslider .slides > li {
		height:100vh;
		}
		
			#fullscreen-rotator .flexslider .slides > li {
			position:relative;
			background-position:center;
			background-repeat:no-repeat;
			background-size:cover;	
			background-attachment:fixed;
			}
			
				#fullscreen-rotator .flexslider .slides > li:before {
				content:"";
				position:absolute;
				left:0;
				right:0;
				top:0;
				bottom:0;
				background-color:rgba(0,0,0,0.15);
				z-index:300;	
				}
			
				
		
		/* Caption */
		#fullscreen-rotator .flex-caption {
		position:absolute;
		width:100%;
		padding:0 0 0 0;
		top:0px;
		left:0px;
		right:0px;
		bottom:0px;
		color:#ffffff;
		text-align:center;
		opacity:0;
		z-index:500;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		box-sizing:border-box;
		-moz-transition:all .3s ease-out;
		-webkit-transition:all .3s ease-out;
		transition:all .3s ease-out;
		}
		
			#fullscreen-rotator .flex-active-slide .flex-caption {
			left:0px;
			opacity:1;
			}
			
			#fullscreen-rotator .flex-caption .wrap {
			font-weight:inherit;
			display:block;
			}
				
				#fullscreen-rotator .flex-caption .wrap .flex-caption-inner {display:inline-block;}
				
				#fullscreen-rotator .flex-caption h2 {
				font-size:94px;
				line-height:90px;
				padding:0;
				font-weight:500;
				font-family:"effra-n5", "effra", Arial, Helvetica, sans-serif;
				text-transform:uppercase;	
				}
				
				#fullscreen-rotator .flex-caption .rotator-button {
				display:inline-block;
				margin-top:44px;
				font-size:24px;
				text-transform:uppercase;
				letter-spacing:3px;
				padding:20px 60px;
				border:2px solid #fff;
				cursor:pointer;
				background-color:transparent;
				-moz-transition:all .3s ease-out;
				-webkit-transition:all .3s ease-out;
				transition:all .3s ease-out;
				}
				
					#fullscreen-rotator .flex-caption .rotator-button:hover {
					background-color:#000;
					border-color:#000;	
					}
				
					
				
					
		
		/* Direction controls */
		#fullscreen-rotator .flex-direction-nav {}
		#fullscreen-rotator .flex-direction-nav a {}
		
			#fullscreen-rotator .flex-direction-nav .flex-next {}
			#fullscreen-rotator .flex-direction-nav .flex-prev {}
				
		/* Navigation controls */	
		#fullscreen-rotator .flex-control-nav {}
		
			#fullscreen-rotator .flex-control-nav li {}
			#fullscreen-rotator .flex-control-paging li a {}
			
			#fullscreen-rotator .flex-control-paging li a:hover {}
			#fullscreen-rotator .flex-control-paging li a.flex-active {}
			
			
			
		.flexslider li a {
		display:block;
		padding-left:5px;
		padding-right:5px;
		}
		
		
		

@media screen and (max-width:1200px) {
		
	#image-rotator .flex-caption .rotator-button,
	#image-rotator .flex-caption .rotator-text,
	#fullscreen-rotator .flex-caption .rotator-button,
	#fullscreen-rotator .flex-caption .rotator-text {
	margin-top:12px;
	}

}

@media screen and (max-width:1080px) {
	
	#image-rotator .flex-caption h2,
	#fullscreen-rotator .flex-caption h2 {
	font-size:78px;
	line-height:74px;
	}


}

@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 screen and (max-width:780px) {
	
	#image-rotator .flex-caption,
	#fullscreen-rotator .flex-caption {
	width:80%;	
	}
	
		#fullscreen-rotator .flex-active-slide .flex-caption {left:10%;}
	
		#image-rotator .flex-caption h2,
		#fullscreen-rotator .flex-caption h2 {
		font-size:48px;
		line-height:54px;	
		}
		
		#image-rotator .flex-caption .rotator-button,
		#image-rotator .flex-caption .rotator-text,
		#fullscreen-rotator .flex-caption .rotator-button,
		#fullscreen-rotator .flex-caption .rotator-text {
		padding:10px 40px;
		letter-spacing:2px;
		margin-top:12px;
		}
	
}


@media screen and (max-width:600px) {
	
	#fullscreen-rotator,
	#fullscreen-rotator .flexslider,
	#fullscreen-rotator .flexslider .slides,
	#fullscreen-rotator .flexslider .slides > li {
	height:calc(100vh - 90px);
	}
		#fullscreen-rotator,
		#image-rotator {margin-top:90px;}
	
		#image-rotator .flex-caption h2,
		#fullscreen-rotator .flex-caption h2 {
		font-size:44px;
		line-height:44px;	
		}
		
		#image-rotator .flex-caption .rotator-button,
		#fullscreen-rotator .flex-caption .rotator-button,
		#image-rotator .flex-caption .rotator-text,
		#fullscreen-rotator .flex-caption .rotator-text {
		padding:10px 40px;
		letter-spacing:1px;	
		font-size:20px;
		}
	
}