/* 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;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* 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 */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme*/
.flexslider {
	background: #fafafa;
	border: 5px solid #fafafa;
	position: relative;
	box-shadow: 0 1px 3px #d7d7d7;
	-webkit-box-shadow: 0 1px 3px #d7d7d7;
	height:622px;
}
	.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;}

/* Control Nav */
.flex-control-thumbs {
	width: 100%;
	position:absolute;
	bottom:1px;
	left:0;
	text-align:center;
	font-size:0;
	line-height:0;
}
	.flex-control-thumbs li {
		display:inline-block;
		margin-left:6px;
		border:5px solid #fff;
		background:#000;
	}
		.flex-control-thumbs li:first-child{margin-left:0;}
			.flex-control-thumbs img {width: 100%; display: block; opacity: .5; cursor: pointer;}
				.flex-control-thumbs img:hover {opacity: 1;}
				.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media only screen and (max-width: 995px){
	.flexslider {height:494px;}
	.flex-control-thumbs img{width:75px; height:75px;}
}

@media only screen and (max-width: 767px) {
	.flexslider {border-width:6px; height:549px;}
	.flex-control-thumbs {
		position:static;
		text-align:left;
		margin:0 -6px -6px 0;
		padding-top:6px;
		width:420px;
	}
	.flex-control-thumbs li {
		margin-left:0;
		border:6px solid #fafafa;
		margin-left:-6px !important;
		margin-top:-6px;
	}
	.flex-control-thumbs img{width:132px; height:132px;}
}

@media only screen and (max-width: 479px){
	.flexslider {height:388px;}
	.flex-control-thumbs {width:300px;}
	.flex-control-thumbs img{width:92px; height:92px;}
}