/*
 * jQuery FlexSlider v1.8
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* Browser Resets */
.flex-container a,
.flexslider a,
.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 {max-width: 100%; display: block;}
.flexslider .slides img:hover{ opacity:0.8; cursor:pointer;}
.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 { position: relative;zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative; margin-bottom:0;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {width: 55%; margin: 0; position: absolute; left: 7%; top: 35%;}

.flex-caption-2 {width: 50%; margin: 0; position: absolute; right: 0; top: 35%;}

/* Direction Nav */
#testi-flex .flex-direction-nav { height: 0; display:none; }
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 31px; height: 52px; margin: -26px 0 0; display: block; position: absolute; top: 50%; cursor: pointer; text-indent: -999em; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav a:hover { background-position:0 0;}
.flex-direction-nav .flex-next {background:url(../images/icons/arrow-right.png) 0 -52px no-repeat; right: -90px; opacity: 0.8}
.flex-direction-nav .flex-prev {left: -90px; background:url(../images/icons/arrow-left.png) 0 -52px no-repeat; opacity: 0.8}
.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; bottom: -30px; text-align: center; display:none;}
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav a {width: 13px; height: 13px; display: block; background: url(theme/bg_control_nav.png) no-repeat; cursor: pointer; text-indent: -999em;}
.flex-control-nav a:hover {background-position: 0 -13px;}
.flex-control-nav a.flex-active {background-position: 0 -26px; cursor: default;}

.testimonial-content {
	position:relative;	
	border:4px solid rgba(30,30,30,0.3);
	
	margin-bottom:30px;
}
.testimonial-content p {
	margin-bottom:0;
	padding:15px 10px;
	color:#fff;
	font-style:italic;	
	background-color:#27a5d3;
	text-shadow:none;
}
.testimonial-content .testimonial-arrow {
	display:block;
	background:url(../images/background/testimonial-arrow.png) no-repeat 0 0;
	width:24px;
	height:18px;
	position:absolute;
	left:90px;
	bottom:-18px;
}
.testimonial-author img {
	border:5px solid #2b2b2b;
	float:left;
	margin-right:15px;
}
.testimonial-author p {
	color:#d7d7d7;
	text-shadow:none;
}
.testimonial-author p strong, .testimonial-author p em {
	display:block;
	text-shadow:none;
}
.testimonial-author p strong {
	font-size:15px;
	text-shadow:none;
}
.testimonial-author p em {
	font-size:13px;
	font-family: 'Lora',serif;
	text-shadow:none;
}

#flex-wrapper {
	background-image: linear-gradient(left , rgb(0,128,178) 0%, rgb(88,212,254) 100%);
	background-image: -o-linear-gradient(left , rgb(0,128,178) 0%, rgb(88,212,254) 100%);
	background-image: -moz-linear-gradient(left , rgb(0,128,178) 0%, rgb(88,212,254) 100%);
	background-image: -webkit-linear-gradient(left , rgb(0,128,178) 0%, rgb(88,212,254) 100%);
	background-image: -ms-linear-gradient(left , rgb(0,128,178) 0%, rgb(88,212,254) 100%);	
	background-image: -webkit-gradient(
		linear,
		left top,
		right top,
		color-stop(0, rgb(0,128,178)),
		color-stop(1, rgb(88,212,254))
	);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0080b2', endColorstr='#58d4fe');
}
#flex-wrapper #main-slider {
	height:auto;
}
#flex-container {
	width:1100px;
	margin:0 auto;
	position:relative;
}
#main-slider h2 a {
	color:#fff;
}
#main-slider h2 a:hover {
	text-decoration:underline;
}
#flex-wrapper #main-slider .flex-caption, #flex-wrapper #main-slider .flex-caption-2 {
	z-index:1000;
}