
/* 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; border-radius: 4px 4px 4px 4px;box-shadow: 0 4px 16px 0 rgba(22,35,58,.2); /*box-shadow: 1px 1px 1px rgba(0,0,0,0.3);*/}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; position: relative; } /* 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 {margin: 0 0 30px; background: #fff; position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}


@media all and (min-width: 1280px)  {
.flex-direction-nav a {width: 60px; /*height: 76px; margin: 0; background: url( images/bg_direction_nav_custom.png ) no-repeat 0 0; background-color: rgba(129, 118, 118, 0.5); display: block;*/ position: absolute; bottom: 30%; z-index: 10; cursor: pointer; /*text-indent: -9999px;*/ opacity: 0.7; -webkit-transition: all .3s ease;}
}
@media all and (min-width: 800px) and (max-width: 1280px) {
.flex-direction-nav a {width: 50px; /*height: 76px; margin: 0; background: url( images/bg_direction_nav_custom.png ) no-repeat 0 0; background-color: rgba(129, 118, 118, 0.5); display: block;*/ position: absolute; bottom: 30%; z-index: 10; cursor: pointer; /*text-indent: -9999px;*/ opacity: 0.7; -webkit-transition: all .3s ease;}
}
@media all and (min-width: 200px) and (max-width: 800px) {
.flex-direction-nav a {width: 35px; /*height: 76px; margin: 0; background: url( images/bg_direction_nav_custom.png ) no-repeat 0 0; background-color: rgba(129, 118, 118, 0.5); display: block;*/ position: absolute; bottom: 30%; z-index: 10; cursor: pointer; /*text-indent: -9999px;*/ opacity: 0.7; -webkit-transition: all .3s ease;}
}


@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	.flex-direction-nav a {background-size: 172px 76px;  }
}
.flex-direction-nav .flex-next {background-position: 100% 0; right: 0; -webkit-border-radius: 3px 0 0 3px;}
.flex-direction-nav .flex-prev {left: 0; -webkit-border-radius: 0 3px 3px 0;}
/*.flexslider:hover .flex-next {opacity: 0.8; right: 0px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 0px;}*/
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 0.8; }
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: 10px; text-align: center;z-index:9999;}
.flex-control-nav li {margin: 0 3px; display: inline-block; zoom: 1; *display: inline;vertical-align:middle;}





@media all and (min-width: 1280px)  {
.flex-control-paging li a {width: 25px; height: 7px; display: block; background: #ddd; cursor: pointer; text-indent: -9999px;}
}
@media all and (min-width: 800px) and (max-width: 1280px) {
.flex-control-paging li a {width: 23px; height: 7px; display: block; background: #ddd; cursor: pointer; text-indent: -9999px;}
}
@media all and (min-width: 500px) and (max-width: 800px) {
.flex-control-paging li a {width: 20px; height: 7px; display: block; background: #ddd; cursor: pointer; text-indent: -9999px;}
}
@media all and (min-width: 200px) and (max-width: 500px) {
.flex-control-paging li a {width: 15px; height: 7px; display: block; background: #ddd; cursor: pointer; text-indent: -9999px;}
}


.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background:#ff6800; cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

.flexslider.no-control-nav .flex-control-nav { display: none; }

/* Caption */
.flex-caption-container {
	position: absolute;
	margin-left: 15px;
	margin-right: 15px;
	bottom: 45px;
}

.flex-caption , .flex-alt {
	background-color: black;
	background-color: rgba( 0, 0, 0, 0.5 );
	color: #fff;
}

.flex-caption {
	font-size: 32px;
	font-weight: normal;
	padding: 5px 15px;
	display: inline-block;
	text-transform: uppercase;
	margin-bottom: 3px;
}

.flex-alt {
	font-size: 14px;
	padding: 10px 15px;
	color: #eee;
	display: block;
}

@media screen and (max-width: 768px) {
	/*.flex-direction-nav .flex-prev {opacity: 1; left: 0;}*/
	/*.flex-direction-nav .flex-next {opacity: 1; right: 0;}*/
	.flex-caption {
		font-size: 24px;
		padding: 10px;
	}

	.flex-alt {
		font-size: 12px;
		padding: 5px 10px;
	}
}

@media screen and (max-width: 479px) {
	.flex-caption {
		font-size: 18px;
		padding: 5px;
	}

	.flex-alt {
		font-size: 11px;
	}
}