/*
 * 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:0 0 0; padding: 0; float:left;}
.flexslider .slides > li {display: none; height:669px;} /* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img { width: 100%; display: block; height:auto; }
.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;}
/* 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=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {width: 96%; padding: 2%; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}

/* Direction Nav */
.flex-direction-nav {width: 100%;
    max-width: 1126px;
    margin: auto;
    position: absolute;
    bottom: 106px;
    right: 0;
    left: 0;
    display: none;}
.flex-direction-nav li a {width: 31px; height: 31px; margin: 0 0 0; display: block; position: absolute; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li a.next { background: no-repeat center / 100% 100%; right: 0;}
.flex-direction-nav li a.prev { background: no-repeat center / 100% 100%; right: 48px;}
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width:1246px; position:absolute; bottom:60px; right:0; left:0; margin:0 auto; text-align:center; z-index:9;}
.flex-control-nav li {margin: 0 4px 0; zoom: 1; display:inline-block; font-size:0;}
.flex-control-nav li a {width: 11px; height: 11px; display: block; /*background: url(../images/bg_control_nav.png) no-repeat 0 0;*/ cursor: pointer; text-indent: -9999px; background:#919191; border-radius:50%;}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default; background:#6e8b3a;}

.inner-slide1 { background:url(../images/inner-thumb/inner-thumb1.jpg) no-repeat center / cover;}
.inner-slide2 { background:url(../images/inner-thumb/inner-thumb2.jpg) no-repeat center / cover;}
.inner-slide3 { background:url(../images/inner-thumb/inner-thumb3.jpg) no-repeat center / cover;}
.inner-slide4 { background:url(../images/inner-thumb/inner-thumb4.jpg) no-repeat center / cover;}

/*Smartphone css*/
@media screen and (max-width: 480px) {
.flexslider { width:100%;}
.flexslider .slides > li { height:180px; position:relative;}
.flex-direction-nav { display:none;}
.flex-control-nav { display:none;}

.flexslider .slides > li:after {
	content: "";
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

}

@media screen and (min-width:481px) and (max-width:600px) {
.flexslider { width:100%;}
.flexslider .slides > li { height:220px; position:relative;}
.flex-direction-nav { display:none;}
.flex-control-nav { display:none;}

.flexslider .slides > li:after {
	content: "";
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}
}

@media screen and (min-width:601px) and (max-width:767px) {
.flexslider { width:100%;}
.flexslider .slides > li { height:240px; position:relative;}
.flex-direction-nav { display:none;}
.flex-control-nav { display:none;}

.flexslider .slides > li:after {
	content: "";
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}
}

@media screen and (min-width:768px) and (max-width:900px) {
.flexslider .slides > li { height:420px;}
.flex-control-nav { max-width:94%;}
}

@media screen and (min-width:901px) and (max-width:1024px) {
.flexslider .slides > li { height:488px;}
.flex-control-nav { max-width:94%;}
}

@media screen and (min-width:1025px) and (max-width:1240px) {
.flexslider .slides > li { height:500px;}
.flex-control-nav { max-width:94%;}
}

@media screen and (min-width:1241px) and (max-width:1340px) {
.flex-control-nav { max-width:94%;}
}