/*
 * 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, .flexslider a {
	outline: none; 
	color: #fff;
	border-bottom: 0!important;
}
.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; /* Hide the slides before the JS is loaded. Avoids image jumping */
} 
.flexslider .slides img {
	max-width: 100%;
	margin: 0 auto;
	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 {background: #fff; margin: 0 0 10px 0; padding: 10px; position: relative; zoom: 1;}
.flexslider .slides {zoom: 1;}
.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 {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#444444,endColorstr=#444444);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#444444,endColorstr=#444444); zoom: 1;}
.flex-caption {
	padding: 10px; 
	position: absolute; 
	left: 0; 
	bottom: 0; 
	margin-bottom: 0;
	background: rgba(68,68,68,.8); 
	color: #fff; 
	text-shadow: 0 1px 1px rgba(0,0,0,.8); 
	font-size: 1.8em; 
	line-height: 1.4em;
}

/* Direction Nav */
.flex-direction-nav li a {width: 52px; height: 52px; margin: -26px 0 0; display: block; background: url(../images/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: -52px 0; right: -16px;}
.flex-direction-nav li a.prev {background-position: 0 0; left: -16px;}
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; padding: 10px 0 0 0; text-align: center; height: 13px;}
.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: 13px; height: 13px; display: block; background: url(../images/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 screen and (max-width: 500px) {
	html>/**/body .flexslider {
		background: #fff; 
		margin: 0 0 10px 0; 
		padding: 10px; 
		position: relative; 
		zoom: 1;
		height: 230px;
	}
	html>/**/body .flex-caption {
		padding: 10px; 
		position: relative;
		top: -25px;
		left: 0;
		background: #444;
		height: 180px;
	}
	html>/**/body .flex-direction-nav li a {
		display: none;
	}
	html>/**/body .flex-control-nav {
		margin-top: -15px;
		padding: 0;
	}
	html>/**/body .flexslider .slides img{
		display: none;
	}
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
	.flex-direction-nav li a {
		top: 40%; 
	}
}