/*
 * jQuery FlexSlider v1.7
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
width: 100%;
margin: 1em 0em;
z-index:0;
/*padding-bottom: 0.7em;*/
/*margin-bottom: 1em;*/
}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	width: 100%; 
	display: block;
	height: auto;
	border: none;
	padding:0;
}
.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 {
	background: #fff; 
	border-bottom: solid 0px #3B3B3B; 
	position: relative; 
	/*-webkit-border-radius: 5px; */
	/*-moz-border-radius: 5px; */
	/*-o-border-radius: 5px; */
	/*border-radius: 5px; */
	zoom: 1;
	padding-top: 0.2em;
	overflow:hidden;
}
.flexslider .slides {zoom: 1; transition: 0.25s ease-in-out;}
.flexslider .slides > li {position: relative;}
/* 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 {display: block; background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {
text-align: center;
  text-align: center;
  padding: 0.6em 0;
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(0,0,0,.3);
  text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  font-size: 18px;
  z-index: 1;
  margin: 0px;
  /* margin-left: 70%; */
  width: 100%;
  height: 50px;
  display: block;
  vertical-align: middle;
  line-height: normal;
  overflow: hidden;
  color: white;
  display: block;
}

.flex-caption a, .flex-caption p{
	margin: auto;
	color:white;
}
.slides:hover{
	opacity: 0.9;
	transition: 0.25s ease-in-out;
	}

@media only screen and (max-width:768px) {
	.flex-caption {
		text-align: center; 
		width: 100%; 
		padding: 0.5em; 
		position: relative; 
		left: 0; 
		bottom: 0; 
		background: rgba(0,0,0,1); 
		color: #fff; 
		text-shadow: 0 -1px 0 rgba(0,0,0,.3); 
		z-index: 1; 
		margin:0;
		height:auto;
		}
}

.flex-direction-nav {
	z-index: 99;
	/*display: none;*/
}

.flex-control-nav {
	z-index: 99;
}
/* Direction Nav */
.flex-direction-nav li a {width: 52px; height: 52px; margin: -20px 0px 0; display: block; background: url(theme/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li a.next {background-position: -26px 0; right: 0px;}
.flex-direction-nav li a.prev {background-position: 26px 0; left: 0px;}
.flex-direction-nav li a.disabled {opacity: .5; filter:alpha(opacity=50); cursor: default;}

/* Control Nav */
.flex-control-nav {display: none; width: 100%; position: absolute; bottom: 2em; text-align: center;}
.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 li a {width: 25px; height: 13px; display: block; background: url(theme/bg_control_nav.png) no-repeat 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}

@media only screen and (max-width:768px) {
	.flexslider {width: 100%; margin-top: 5%; padding-bottom: 1em; margin-bottom: 1em;}
	
	.flex-control-nav {
		width: 100%; position: absolute; bottom: 2em; text-align: center;
	}
}

@media only screen and (max-width:1024px) {
.flex-caption {
	}