/*
 * 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;
}
/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
	margin: 0;
	padding: 0;
}
.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.fullwidth{
	margin:0;
	padding-top:0;
	min-height: 450px;
}
.flexslider {
	margin:0;
	position: relative;
	zoom: 1;
	padding:0px 0 0 0;
	min-height: 130px;
}
.flexslider.mini-slider{
	margin:0 0 40px 0;
	padding:0;
}
.flexslider .shadow-wrapper:before, .flexslider .shadow-wrapper:after{
	bottom:16px;
}
.flexslider.no-padding{
	padding:0;
}
.flexslider .shadow-wrapper{
	margin:0;
}
.flexslider .shadow-wrapper:before, .flexslider .shadow-wrapper:after {
	-webkit-box-shadow: 0 7px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 7px 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0 7px 5px rgba(0, 0, 0, 0.5);
	z-index: -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: 500px;
}
.flexslider .slides {
	zoom: 1;
}
.flexslider.fullwidth .slides .container {
	height:1px;
}
#flexslider-loader {
    background: url(../images/loading.gif) no-repeat scroll center center #FFF;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99999;
	min-height:450px;
}/*
.loading {
    background: url(../images/loading.gif) no-repeat scroll center center transparent;
    margin: 0 auto;
    min-height: 548px;
}*/
.fullwidth .flex-caption{
	bottom:150px;
}
.flex-caption {
	padding: 2%;
	margin: 0;
	left:30px;
	bottom:50px;
	color: #fff;
	text-shadow:0 1px 0 rgba(0,0,0, 0.7);
	font-size: 12px;
	line-height: 18px;
	zoom: 1;
	position:relative;
}
.flex-caption h2 {
	color:#FFF;
	font-size:24px;
	text-transform:capitalize;
	background: rgba(255,153,30,.9);
	padding:20px;
	font-weight:600;
	display:inline-block;
	margin:0;
	text-shadow:0 1px 0 rgba(0,0,0, 0.7);
}
.flex_subtitle h3{
	color:#FFF;
	font-size:20px;
	margin:0;
	text-transform:capitalize;
	background: rgba(67,66,80,.8);
	padding:20px;
}
.flex-caption .slide-txt {
	color:#FFF;
	font-size:14px;
	background: rgba(0,0,0,.8);
	padding:10px;
}
/* Direction Nav */
.flex-direction-nav a {
	margin:0;
	color:#FFF;
	display: inline-block;
	background: #434250;
	position: absolute;
	top: 50%;
	cursor: pointer;
	opacity: 0;
	z-index:10;
	padding:10px 15px;
	font-size:24px;
	-webkit-transition: all 0.35s ease;
	-moz-transition: all 0.35s ease;
	-o-transition: all 0.35s ease;
	transition: all 0.35s ease;
}
.flex-direction-nav .flex-next {
	background-position: 100% 0;
	right: 0;
}
.flex-direction-nav .flex-prev {
	left: 0;
}
.flexslider:hover .flex-next {
	opacity: 1;
	right: 0px;
}
.flexslider:hover .flex-prev {
	opacity: 1;
	left: 0px;
}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
	opacity: 1;
	
	color:#FFF;
}
.flex-caption .text {
    bottom: 40px;
    position: absolute;
}
.flex-direction-nav .flex-disabled {
	opacity: .3!important;
	filter:alpha(opacity=30);
	cursor: default;
}
/* Control Nav */
.flex-control-nav {
	width: 100%;
	position: absolute;
	left:0;
	text-align:center;
	bottom: -48px;
}
.flex-control-nav li {
	padding: 12px 2px 10px;
	display: inline-block;
	zoom: 1;
	*display: inline;
	
}
.flex-control-paging li a {
	width: 10px;
	height: 10px;
	display: block;
	background: #fff;
	border:1px solid #a4a4a4;
	border-radius:50% 50% 50% 50%;
		-moz-border-radius:50% 50% 50% 50%;
			-webkit-border-radius:50% 50% 50% 50%;
	
	cursor: pointer;
	text-indent: -9999px;
	transition:none;
}
.flex-control-paging li a:hover {
	background: #a4a4a4;
}
.flex-control-paging li a.flex-active {
	cursor: default;
	background: #a4a4a4;
}
.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;
}
.flextslider-content{ margin-bottom:80px;}
.flextslider-content .flex-direction-nav .flex-next,.flextslider-content .flex-direction-nav .flex-prev{ text-indent:-9999px;background:transparent;}
.testimonial .flex-control-paging li a{ background:transparent;border-color:#fff;}
.testimonial .flex-control-paging li a:hover,.testimonial .flex-control-paging li a.flex-active{ background:#fff;}
.testimonial {position:relative;}
.testimonial .flexslider h3,#content .testimonial .flexslider p{ color:#fff;line-height:45px;}
.testimonial .flex-direction-nav .flex-next,.testimonial .flex-direction-nav .flex-prev{ text-indent:-9999px;background:url('../images/testimonial-arrow.png');width:48px;height:48px;padding:0 0;position:absolute;margin-top:-5%;opacity:1;}
.testimonial .flex-direction-nav .flex-next{ background-position:-55px 0;right:0px;margin-right:6px;}
.testimonial .flex-direction-nav .flex-prev{ margin-left:6px;}
.testimonial .flex-direction-nav {
bottom: 41%;
width:100%;
position: absolute;z-index:9999;
}
.testimonial .flex-control-nav {bottom:43px;}

#home-baner-flex{ position:relative; overflow:hidden;margin-bottom:65px;}
.home-baner-content {position:relative; overflow:hidden;}
#home-baner-flex .flex-direction-nav .flex-next,#home-baner-flex  .flex-direction-nav .flex-prev{ text-indent:-9999px;background:url('../images/testimonial-arrow.png');width:48px;height:48px;padding:0 0;position:absolute;margin-top:-5%;opacity:0;}
#home-baner-flex:hover .flex-direction-nav .flex-next,#home-baner-flex:hover  .flex-direction-nav .flex-prev{ opacity:1;}
#home-baner-flex .flex-direction-nav .flex-next{ background-position:-55px 0;right:0px;margin-right:6px;}
#home-baner-flex .flex-direction-nav .flex-prev{ margin-left:6px;}
.home-baner-content p { font-size:24px;line-height:36px;word-spacing:0.1em;padding-bottom:30px;border-bottom:1px solid rgba(243,244,245,0.2);margin-bottom:55px;overflow:auto;}
#home-baner-flex .flex-direction-nav {
bottom: 41%;
width:100%;
position: absolute;z-index:9999;
}
#home-baner-flex .flex-control-nav {bottom:20px;}
/* Top Bar */
#home-baner-flex{ max-height:534px;}
#home-baner-flex img{ max-height:534px;width:100%;}
.home-baner-content .slider-caption{ position:absolute;top:110px;width:460px;}
.home-baner-content p{ margin-top: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;
}

}

/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		.flexslider{padding:20px 0 0;}
		#home-baner-flex .flexslider{padding:0px 0 0;}
		.flex-caption{display:none;}
		.fullwidth .flex-caption{bottom:20px; left:0;}
		.flex-caption h2{font-size:16px;}
		.flex-caption h3{font-size:14px; line-height:inherit}
		}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.flexslider{padding:40px 0 0;}
	.fullwidth .flex-caption{bottom:20px; left:0;}
	.fullwidth #flexslider-loader, .flexslider.fullwidth{min-height: 228px;}
	
	}



@media only screen and (min-width: 480px) and (max-width: 767px) {
		.loading{min-height:inherit;}
		.fullwidth #flexslider-loader, .flexslider.fullwidth{min-height: 205px;}

		}
		@media only screen and (max-width: 479px) {
		
		.fullwidth .flex-caption {bottom:20px; left:0;}
		.flex-caption{display:none;}
		.flex-caption h2{font-size:14px; line-height:inherit}
		.flex-caption h3{font-size:12px; line-height:inherit}.loading{min-height:inherit;}
		.fullwidth #flexslider-loader, .flexslider.fullwidth{min-height: 124px;}

	}
	
