/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
* {
	-webkit-backface-visibility: hidden;
}
.flex-container a:hover, .flex-slider a:hover, .flex-container a:focus, .flex-slider a:focus {
	outline: none;
}
.slides, .slides > li, .flex-control-nav, .flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
.flex-pauseplay span {
	text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
	margin: 0;
	padding: 0;
	display: none;
}
.flexslider .slides > li {
	width: 100%;
	height: calc(100vh - 174px);
	display: none;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
	position: relative;
	background-size: cover;
}
.flexslider.img_box{
	height:auto;
	display:block; 
	position:absolute
}
.flexslider.img_box .slides > li {
	height:auto;
	min-height:550px;
	padding:0;
}
#page-timeout .flexslider .slides > li{
	height:auto;
	
}
#page-timeout .flexslider .slides img{
	float:none;
}
.flexslider .slides img {
	width: 0;
	display: block;
	float: left;
}
.flexslider .slides:after {
	content: "\0020";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .flexslider .slides {
	display: block;
}
* html .flexslider .slides {
	height: 1%;
}
.flexslider .slides > li:first-child {
	display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
	margin: 0 auto;
	max-width: 100%;
	width: 100;
	position: relative;
	zoom: 1;
}
.flexslider .slides {
	-webkit-transform: translateZ(0px);
	zoom: 1;
}
.flexslider .slides img {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
}
.flex-viewport {
	max-height: 2000px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
	padding-bottom: 40px;
}
.loading .flex-viewport {
	max-height: 300px;
}
.carousel li {
	margin-right: 5px;
}
.flex-direction-nav a {
	text-decoration: none;
	display: block;
	width: 18px;
	height: 30px;
	position: absolute;
	top: calc(50% - 35px);
	background-position: center center;
	background-repeat: no-repeat;
}
.flex-direction-nav .flex-prev {
	background-image: url(/images/btns/left.png);
	left: -48px;
}
.flex-direction-nav .flex-next {
	background-image: url(/images/btns/right.png);
	right: -48px;
}
#area .flex-direction-nav .flex-prev {
	background-image: url(/images/btns/leftgreen.png);
}
#area .flex-direction-nav .flex-next {
	background-image: url(/images/btns/rightgreen.png);
}
.flex-direction-nav .flex-disabled {
	opacity: 0!important;
	filter: alpha(opacity=0);
	cursor: default;
}
.flex-pauseplay a:before {
	font-family: "flexslider-icon";
	font-size: 20px;
	display: inline-block;
	content: '\f004';
}
.flex-pauseplay a:hover {
	opacity: 1;
}
.flex-pauseplay a.flex-play:before {
	content: '\f003';
}
.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: -40px;
	text-align: center;
	display: none;
}
.flex-control-nav li {
	margin: 0 6px;
	display: inline-block;
	zoom: 1;
 *display: inline;
}
.flex-control-paging li a {
	width: 11px;
	height: 11px;
	display: block;
	background: #666;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	text-indent: -9999px;
	-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	-o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}
.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: rgba(0, 0, 0, 0.9);
	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%;
	height: auto;
	display: block;
	opacity: .7;
	cursor: pointer;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}
.flex-control-thumbs img:hover {
	opacity: 1;
}
.flex-control-thumbs .flex-active {
	opacity: 1;
	cursor: default;
}
.slidenom {
	display: none;
}

/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 780px) {
	.flexslider.m{display:block;}
	.flexslider.img_box{position:relative}
	.flexslider.img_box .slides > li{min-height:50px; background-image:none !important;}
        .flexslider .slides img {width: 100%;}
}
