/*
 * jQuery FlexSlider v2.2.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;
	
}
 
 
/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0; position:relative}
.flexslider .slides > li {
	display:none;
	/*overflow:hidden;*/	
} /* Hide the slides before the JS is loaded. Avoids image jumping */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.flexslider .slides > li{
  -webkit-transition: opacity 1.5s ease; 
-moz-transition: opacity 1.3s ease;
 transition: opacity 1.3s ease;
	}
}
.flexslider .slides img {width: 100%; display: block;  -moz-user-select: none;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; 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; 
	border:0; 
	position: relative; 
	zoom: 1;
	z-index:1
 
}
.flex-viewport {
	max-height: 2000px; 
	/*-webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; */
	-webkit-transition:none !important; 
	-moz-transition:none !important; 
	-o-transition:none !important; 
	transition:none !important;
}
.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{
	cursor: pointer;
	display:block;
	 height: 100%;
    width: 100%; 
  
}
 
 
 
.flex-direction-nav .flex-disabled { filter:alpha(opacity=0); cursor: default;}
 

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {
	width: 100%; 
	position: absolute; 
	bottom:8px;
	left:0px;
	z-index:99; 
	text-align: center;
}
.flex-control-nav li {margin: 0 4px; display: inline-block; zoom: 1; *display: inline; vertical-align:top}
.flex-control-paging li a { 
	width:11px; 
	height:11px;
	background:none; 
	display: block; 
	cursor: pointer; 
	text-indent: -9999px;
	background-color:#7fa177; 
	border-radius: 50%; 
}
.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active { 
	background-color:#fff;
	background-color:rgba(255,255,255,0.5); 
}
 

.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-banner{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 9
}
.flex-banner:before{
	content: '';
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	height:215px;
	background: url(../img/banner-shadow.png) 0 0 repeat-x;
	z-index: 9
}
 
.flex-banner .slides > li{
	background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
}

.flex-banner .flex-control-nav,
.flex-banner .flex-direction-nav{
	z-index: 99
}
.flex-banner .flex-control-nav{ 
	bottom: 43px;
	max-width: 180px;
	left: 50%;
	margin-left: -90px;
}

.flex-banner .flex-direction-nav{
	bottom: 62px;
    right: 80px;
    position: absolute;
    z-index: 9;
}
.flex-banner .flex-direction-nav a{
	position: absolute;
	left: 0;
	top: 0;
	width:12px;
	height:12px;
	vertical-align:top;
	margin-left:3px;
	border-top: 2px solid #ffffff;
	border-left: 2px solid #ffffff;
	-webkit-transform: rotate(-45deg);
    transform: rotate(-45deg); 

    -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.flex-banner .flex-direction-nav a:hover{ border-color: #00bff3 }
.flex-banner .flex-direction-nav a.flex-prev{
	left: -85px
}
.flex-banner .flex-direction-nav a.flex-next{
	-webkit-transform: rotate(135deg);
    transform: rotate(135deg); 
}

.flex-caption{
	display:block;
	position:relative; 
	top:42%;
	height: auto !important;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	color:#ffffff;
	text-align: center;
	-webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
/*ie*/ 
/*.flex-caption{ opacity: 1\9 !important;}
.flex-caption{ opacity: 1\0/!important;}*/
/**/

.flex-caption h2{ 
	font-size:55px;
	line-height:60px; 
}
.flex-caption h3{ 
	font-size:30px;
	line-height:40px; 
	margin-top:30px; 
}
.flex-caption p{
	font-weight: 400;
	font-size: 18px;
	margin-top:30px; 
	line-height: 25px
}

.flex-caption .icons{
	margin:30px auto 22px;
	display: block; 
}


/**/
.flex-caption {
		-webkit-animation-duration: .6s;
		animation-duration: .6s;
		-webkit-animation-fill-mode: both;
		animation-fill-mode: both;
		/*-webkit-animation-name: fadeOut;
		animation-name: fadeOut;*/
		opacity: 0
}

.flexslider li.flex-active-slide .flex-caption{
		-webkit-animation-delay: .4s;
		animation-delay: .4s;
		-webkit-animation-duration: .6s;
		animation-duration: .6s;
		-webkit-animation-fill-mode: both;
		animation-fill-mode: both;
		-webkit-animation-name: fadeInUp;
		animation-name: fadeInUp;
}
/**/

@media (max-height:750px){
	.flex-caption{ top: 33% }
}

@media (min-width: 992px) and (max-width: 1400px) {
	/*.flex-caption h2{
		font-size:45px;
		line-height:45px;
	}
	.flex-caption p{
		font-size: 16px
	}*/
}
@media (min-width: 768px) and (max-width: 992px) {
	/*.flex-caption{top: 40%}
	.flex-caption h2{
		font-size:45px;
		line-height:45px;
	}
	.flex-caption p{
		font-size: 16px
	}*/

	
	
}

@media (max-width: 767px){
	.flex-caption{ top: 33% }
	.flex-caption h2{
		font-size: 40px;
    	line-height: 45px;
	}
	.flex-caption h3{
		font-size: 25px;
        line-height: 35px;
        margin-top: 20px;
	}
	.flex-caption p{
		font-size: 16px;
		margin-top: 20px;
	}
 
}

@media (max-width: 480px){
	.flex-caption{ top: 38% }
	.flex-caption h2{
		font-size: 30px;
    	line-height: 35px;
	}
	.flex-caption h3{
		font-size: 18px;
        line-height: 25px;
        margin-top: 15px;
	}
	.flex-caption p{
		font-size: 14px;
		margin-top: 15px;
	}

}

 