/* 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{
	zoom: 1;
	position: relative;
	margin-bottom:30px;
}


#index .flexslider .slides li{ height:500px; }
#index .flexslider{ margin-bottom:0px; }

.ie7 #index .flexslider{ margin-bottom:0px; height:500px; }

.flex-viewport{
	max-height: 2000px;
}

.loading .flex-viewport{
	max-height: 300px;
}

.flexslider .slides{
	zoom: 1;
}


/* Direction Nav - left right navigation */

.flex-direction-nav a {
	width: 28px;
	height: 27px;
	display: block;
	background-color: #000;
	bottom: 45%;
	right: 80px;
	float: none;
	position: absolute;
	cursor: pointer;
	text-indent: -9999px;
	background-color: #222;
	background: rgba(0, 0, 0, 0.65);
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	opacity: 0.9;
}

.ie7 .flex-direction-nav{ top:30px; }

.flex-direction-nav .flex-next {
	background: url(images/bg_direction_nav.png) no-repeat center right;
}

.flex-direction-nav .flex-prev {
	left: 80px;
	background: url(images/bg_direction_nav.png) no-repeat center left;
}

.flex-direction-nav .flex-prev:hover,
.flex-direction-nav .flex-next:hover {
	opacity: 1;
}

/* Control Nav - pager navigation*/

.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: 130px;
	text-align: center;
}

.flex-control-nav li {
	margin: 0 3px 0 0;
	display: inline-block;
	zoom: 1;
	*display: inline;
}

.flex-control-paging li a {
	width: 14px;
	height: 14px;
	display: block;
	background: #c8c8c8;
	cursor: pointer;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
}

.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active {
	background: #505050;
}

.flex-control-paging li a.flex-active {
	cursor: default;
}

/* Slide Text*/

.slidetext{
	background-color: rgba(0,0,0,0.6);
	color: #aeb0b3;
	padding: 35px 35px 35px 0;
	width:280px;
	margin-top:125px;
}

.ie7 .slidetext,
.ie8 .slidetext{ background-color:#000 !important; filter:alpha(opacity = 60);} 

.slidetext h2, 
.slidetext h3{
	color: #ffffff;
	line-height: 20px;
	font-weight: 600;
	border-left:3px solid #0099CB;
	padding:15px 25px;
	padding-left:40px;
}

.slidetext a, .slidetext h2 a, .slidetext h3 a{
	color: #ffffff;
	text-decoration: none;
}



.slidetext p{
	margin-left: 43px;
}

.ie8 .slidetext h2, 
.ie8 .slidetext h3,
.slidetext p{  filter:alpha(opacity = 100); }

.flexslider img {
	
}

/* #Tablet (Portrait) - designed for 705px width grid */
	
@media only screen and (min-width: 768px) and (max-width: 959px) {
	
	.slidetext{  }

}

/* #Mobile (Landscape) - designed for 280px width */

@media only screen and (max-width: 767px) {

	.slidetext{ width:210px; }
	.flex-direction-nav a { bottom:40%; }
	.flex-direction-nav .flex-next { right:20px; }
	.flex-direction-nav .flex-prev { left:20px; }
}

/* #Mobile (Landscape) - designed for 420px width */

@media only screen and (min-width: 480px) and (max-width: 767px){
	
	.slidetext{ width:280px; }
		
}

 
