/* 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%; border-radius: 50%; 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 4px; 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 {
	width: 126px; 
	height: 48px; 
	position: absolute; 
	right: 171px; /* 468/2 - this width/2 */
	top: -4px; 
	overflow: hidden;
}
.flex-direction-nav a {width: 50px; height: 30px; margin: -20px 0 0; display: block; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
}
.flex-direction-nav .flex-next {background-position: -42px 4px; right: -50px; }
.flex-direction-nav .flex-prev {left: -50px; background-position: 20px 4px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 50%; position: absolute; bottom: 0px; text-align: center;}
.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-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.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: absolute; overflow: hidden;}
.flex-control-thumbs li {
	width: auto;
	float: left; 
	margin: 0px 3% 0px 0px; 
	padding: 1.5%;
	/* background: rgba(72, 72, 72, 0.1); */
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,.15);
	box-shadow: inset 0 0 6px rgba(0,0,0,.1);
	-moz-box-shadow: inset 0 0 6px rgba(0,0,0,.1);
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.1);
}

.flex-control-thumbs li.flex-current {
	background: rgba(72, 72, 72, 0.7);
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}

.flex-control-thumbs img {
	width: 80px;
	display: block; 
	opacity: 1; 
	cursor: pointer; 
	border-radius: 50%; 
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-box-shadow: inset 0 0 10px #000000;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	behavior: url(css/PIE.htc);
	position: relative;
}

.flex-control-thumbs li span {
	display: block;
	border-radius: 50%;
	border: 5px solid #eee;
	background: rgba(255, 255, 255, 0.5);
}

.flex-control-thumbs img:hover {
	opacity: 0.4;
}
.gecko .flex-control-thumbs img:hover  { opacity: 1; }
.flex-control-thumbs .flex-active {
	opacity: 0.4;
	cursor: default;
}
.gecko .flex-control-thumbs .flex-active {
opacity: 1;
}

.flex-control-thumbs img.flex-active {
	cursor: default;
	/* border: 5px solid rgba(70, 21, 7, 0.7); */
}

.slider-big-image {
width: 352px;
height: 352px;
padding: 58px 58px 58px 0px;
float: right;
}

.slider-big-image img {
border-radius: 50%; 
display: block;
}

ul.flex-direction-nav,
ul.flex-direction-nav li a.flex-next,
ul.flex-direction-nav li {
display: block;
visibility: visible;
}

.slider1-promo-left {
width: 50%;
padding: 20px 0px 0px 10px;
float: left;
}

.slider1-promo-left h2.flex-slidertitle {
font-size: 44px;
line-height: 120%;
margin-top: 0;
margin-bottom: 20px;
}
.slider1-promo-left h2, .slider1-promo-left h4 { margin: 0; margin-bottom: 20px; }
.slider1-promo-left h4 {
line-height: 140%;
}

.flexslider .slides img {
width: auto;
}


@media screen and (min-width: 601px) and (max-width: 767px) {
	.flexslider { background: url(../images/slider2_bkg.png) no-repeat right 20px; }
	
	.slider-big-image {
	width: 290px;
	height: 290px;
	padding: 36px 16px 0 0;
	float: right;
	}
	.flex-direction-nav {
	top: 18px;
	right: 97px;
	}
}

@media screen and (max-width: 767px) {
	#container .slider1-promo-left h2 {
	font-size: 18px;
	line-height: 100%;
	font-weight: normal;
	margin-bottom: 10px;
	color: #847c63;
	}
	#container .slider1-promo-left h2.flex-slidertitle {
	font-size: 30px;
	line-height: 100%;
	margin-bottom: 10px;
	color: #383121;
	}
	
	.flex-control-nav, .flex-control-thumbs {
	text-align: center;
	}
	.flex-control-nav, .flex-control-thumbs {
	width: 100%;
	margin: 10px auto 0;
	}
	#container .flex-control-thumbs li  {
	float: none;
	padding: 1%;
	margin-right: 2%;
	width: 60px;
	}
	.flex-control-thumbs li span { border-width: 3px; }
	.flex-control-thumbs img { max-width: 100%; }
}

@media screen and (max-width: 600px) {	
	.slider-big-image, .slider1-promo-left { padding-left: 0; }
	.slider1-promo-left h4 { display: none; }
	#container .slider1-promo-left {
	width: 100%; text-align: center; max-width: none;
	}
	
	.flexslider { background: transparent; }
	.flex-control-thumbs li { background: none; }	
	.slider-big-image, .slider1-promo-left {
		width: 100%;
		height: 100%;
		padding: 10px;
		padding-left: 0;
		float: none;
	}
	.slider-big-image {
		height: 100%;
		background: url(../images/slider_selected_bkg.png) no-repeat center center;
		padding: 58px 0 58px;
		float: none;
		margin-top: -58px;
	}
	.slider-big-image img {
	margin: 0 auto;
	}
	.slider1-promo-left {
	}	
	ul.flex-direction-nav {
		display: none;
		overflow: hidden;
	}
}

@media screen and (max-width: 480px) {
	.slider-big-image {
		height: 100%;
		background: url(../images/slider2_bkg.png) no-repeat center center;
		padding: 20px;
		float: none;
		margin-top: -10px;
		margin-left: -20px;
	}
	.slider-big-image img { max-width: 300px; }
}


@media screen and (max-width: 1022px) {
	.slider1-promo-left { max-width: 40%; }
	.slider1-promo-left h2.flex-slidertitle { font-size: 40px; }
}
@media screen and (max-width: 1060px) {
	.flex-control-nav,
	.flex-control-thumbs {
		position: static;
	}
}
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}