/*
 * 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)
 */

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

#flexholder{
	display:grid;
	top:0%;
	left:0%;
	width:100%;
	position: relative;
	/*z-index: 1000;*/
}
/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0px; padding: 0; z-index: 10000; width: 98%;}
.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;}
.flexslider .slides video {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: 4px 0 60px; background: #fff; border: 0px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1.0;}
.flex-viewport {zoom: 0.7; 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;}
.flex-direction-nav a  { text-decoration:none; display: block; width: 60px; height: 60px; margin: -20px 0px 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 1; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,1); -webkit-transition: all 0.3s ease; -moz-transition: all 03s ease; transition: all 0.3s ease; }
.flex-direction-nav .flex-prev { opacity: 0.5; left: 3%; }
.flex-direction-nav .flex-next { opacity: 0.5; right: 3%; text-align: right; }
.flexslider:hover .flex-prev { opacity: 1; left: 3%; }
.flexslider:hover .flex-next { opacity: 1; right: 3%; }
.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: "FontAwesome"; font-size: 48px; line-height:1; display: inline-block; content: '\f053'; color:#fff} /*'\f0a8'; }*/
.flex-direction-nav a.flex-next:before  { font-family: "FontAwesome"; font-size: 48px; line-height:1; display: inline-block; content: '\f054'; color:#fff}  /*'\f0a8'; }*/

/* Control Nav */

.flex-control-nav {width: 100%; position: absolute; bottom: 5px; text-align: center; z-index:1000; }
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 15px; height: 15px; display: block; background: #666; background: rgba(255,255,255,0.2); cursor: pointer; text-indent: -9999px; border-radius: 10px;-webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(255,255,255,1); }
.flex-control-paging li a:hover { background: #333; background: rgba(255,255,255,0.7); }
.flex-control-paging li a.flex-active { background: rgba(255,255,255,1); cursor: default; width:15px; height:15px; }

.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;}

.flexslider .slides img {
	width: 105%; /*70%;*/
	display: block;
	margin-left: auto;
	margin-right: auto;
	
	overflow:hidden;
	
	max-width:105%;  
	height:auto;
}

.flexslider .slides vid {
	width: 100%; /*70%;*/
	display: block;
	margin-left: auto;
	margin-right: auto;
	
	overflow:hidden;
	
	max-width:100%;  
	height:auto;
}

/* Flex Caption */
.flex-caption {
   width: 96%;
   padding: 2%;
   position: absolute;
   left: 0;
   bottom: 0;
   background: rgba(0,0,0,0.0);
   color: #fff;
   text-align: center;
   text-shadow: 0 -1px 0 rgba(0,0,0,0.0);
   font-size: 14px;
   line-height: 18px;
   margin:0;
}

.slide_text_c { /* this is 1 of the 2 current relevant bit*/
	/*float:left;*/
	position: absolute;
  	left: 0%;
  	top: 40%;
	width: 100%; /*850px;*/
	height: 260px;
	padding: 0px 7px;
	
}

.slide_text_c h20 { /* this is 2 of the 2 current relevant bit*/
	color: #FFFFFF;
	font-size: 2.7em;
	font-size: 2.5vw;
	font-weight: 200;
	font-style:none;
	background: rgba(0,0,0,0.0);
	font-family: 'Open Sans', sans-serif;
	padding: 0.2em 0 0.2em 0;
	position:relative;
	display: block;
	top: 5%;
	left:0%;
	width:100%;
    line-height:1.57em;
	word-wrap: break-word;
	text-align: center;
	
}
.slide_text_c h21 { /* this is 2 of the 2 current relevant bit*/
	color: #FFFFFF;
	font-size: 2.2em;
	font-weight: 200;
	font-style:none;
	background: rgba(0,0,0,0.5);
	font-family: 'Open Sans', sans-serif;
	padding: 0.2em 0 0.2em 0;
	position:relative;
	display: block;
	top: 5%;
	left:27.5%;
	width:45%;
    line-height:1.57em;
	word-wrap: break-word;
	text-align: center;
	
}

@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: 760px) {  /*480px) {*/
	
	#flexholder{
		display:none;
		top:0%;
		left:1%;
		position: relative;
		z-index: 1000;
	}

	.flexslider {left:0px; margin: 4px 0 60px; background: #fff; border: 0px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; 	box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}	
	
  .flex-direction-nav .flex-prev {opacity: 0.5; left: 5%;}
  .flex-direction-nav .flex-next {opacity: 0.5; right: 2%; text-align: right; }
  .flexslider:hover .flex-prev { opacity: 1; left: 5%; }
  .flexslider:hover .flex-next { opacity: 1; right: 2%; }
  
  .flex-direction-nav a:before  { font-family: "FontAwesome"; font-size: 35px; line-height:1; display: inline-block; content: '\f053'; color:#fff} /*'\f0a8'; }*/
  .flex-direction-nav a.flex-next:before  { font-family: "FontAwesome"; font-size: 35px; line-height:1; display: inline-block; content: '\f054'; color:#fff}  /*'\f0a8'; }*/

  .flexslider .slides img {
		width: 100%;
		display: block;
		margin-left: auto;
		margin-right: auto;
		
		overflow:hidden;
		
		max-width:100%;  
		height:auto;
	}
	.flex-control-paging li a {width: 15px; height: 15px; display: block; background: #666; background: rgba(255,255,255,0.0); cursor: pointer; text-indent: -9999px; border-radius: 10px;-webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(255,255,255,0); }
	.flex-control-paging li a:hover { background: #333; background: rgba(255,255,255,0.0); }
	.flex-control-paging li a.flex-active { background: rgba(255,255,255,0); cursor: default; width:15px; height:15px; }
	
	.slide_text {
	  background-color: transparent;
	  background-color: rgba(255, 0, 0, 0.4);  /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */
	  bottom: 0;
	  color: #ffffff;
	  display: block;
	  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000); /* IE6–IE9 */
	  left: 0;
	  padding: 1em;
	  position: absolute;
	  left: 3%;
	  top: 0%;
	  width: auto;
	  height: 100px;
	  max-height: 25%;
	  
	  zoom: 1;
	  
	}
	/*.slide_text_c { 
		float:left;
		position: absolute;
		left: 5%;
		top: 2.7%;
		width: 650px;
		height: 260px;
		padding: 0px 7px;
		
	}

	.slide_text_c h20 { 
		color: #ffcccc;
		font-size: 1.0em;
		font-weight: 200;
		font-style:italic;
		background: rgba(255,0,0,1);
		font-family: 'Open Sans', sans-serif;
		padding: 0.2em 0 0.2em 0;
		display: inline;
		line-height:1.57em;
		word-wrap: break-word;
		
		*/
	
	/*
	.flexslider {
		margin-top: 10px;
		margin-right: 0px;
		margin-left: 0px;
		margin-bottom: 0px;
		max-height: 1000px;
		background: #ffffff;
		
		border: 4px solid #fff;
		position: relative;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		-o-border-radius: 4px;
		border-radius: 4px;
		-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
		-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
		-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
		box-shadow: 0 1px 4px rgba(0,0,0,.2);
		zoom: 1;
		padding: 6em 0 0em 0
	}
	
	.flexslider .slides img {
		width: 100%;
		display: block;
		margin-left: auto;
		margin-right: auto;
		
		overflow:hidden;
		
		max-width:100%;  
		height:auto;
	
	
	/* this is 1 of the 2 current relevant bit*/
	/*
	.flexslider .slide_text_c { 
		float:left;
		position: absolute;
		left: 2%;
		top: 2.7%;
		width: 650px;
		height: 260px;
		padding: 0px 7px;
		
	}
	/* this is 2 of the 2 current relevant bit*/
	/*
	.flexslider .slide_text_c h20 { 
		color: #FFffff;
		font-size: 1.6em;
		font-weight: 200;
		font-style:italic;
		background: rgba(0,0,0,0.4);
		font-family: 'Open Sans', sans-serif;
		padding: 0.2em 0 0.2em 0;
		display: inline;
		line-height:1.60em;
		word-wrap: break-word;
		
	}*/
	
		h1 {
			font-size: 1.75rem;
			line-height: 0.0;
		}
		
	.slide_text_c h20 { /* this is 2 of the 2 current relevant bit*/
		color: #FFFFFF;
		font-size: 2.3em;
		font-size: 3.0vw;
		font-weight: 200;
		font-style:none;
		background: rgba(0,0,0,0.0);
		font-family: 'Open Sans', sans-serif;
		padding: 0.2em 0 0.2em 0;
		position:relative;
		display: block;
		top: 0%;
		left:0%;
		width:100%;
		line-height:1.57em;
		word-wrap: break-word;
		text-align: center;

	}
	.slide_text_c h21 { /* this is 2 of the 2 current relevant bit*/
		color: #FFFFFF;
		font-size: 2.3em;
		font-weight: 200;
		font-style:none;
		background: rgba(0,0,0,0.5);
		font-family: 'Open Sans', sans-serif;
		padding: 0.2em 0 0.2em 0;
		position:relative;
		display: block;
		top: 5%;
		left:17.5%;
		width:65%;
		line-height:1.57em;
		word-wrap: break-word;
		text-align: center;
	
	}
}
 
  





