/* 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 */
/* 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 auto 60px; background: #fff; border: 7px solid #292929; position: relative; /*box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);*/ /*zoom: 1;}*/

.flexslider{margin: 0 auto 59px; position:relative;/*padding:7px; border-top:solid 1px #1f1f1f;

background-image: linear-gradient(bottom, rgba(46,46,46,1) 0%, rgba(41,41,41,0) 50%, rgba(41,41,41,1) 100%);
background-image: -o-linear-gradient(bottom, rgba(46,46,46,1) 0%, rgba(41,41,41,0) 50%, rgba(41,41,41,1) 100%);
background-image: -moz-linear-gradient(bottom, rgba(46,46,46,1) 0%, rgba(41,41,41,0) 50%, rgba(41,41,41,1) 100%);
background-image: -webkit-linear-gradient(bottom, rgba(46,46,46,1) 0%, rgba(41,41,41,0) 50%, rgba(41,41,41,1) 100%);
background-image: -ms-linear-gradient(bottom, rgba(46,46,46,1) 0%, rgba(41,41,41,0) 50%, rgba(41,41,41,1) 100%);

background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgba(46,46,46,1)), color-stop(0.5, rgba(41,41,41,0)),	color-stop(1, rgba(41,41,41,1)));

-webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px;*/
}

.flexslider4 .flex-viewport{ height:285px;}

.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease; overflow:hidden;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}




/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 33px; height: 50px; margin: -30px 0 0; display: block; background: url(img/sright2.png) no-repeat bottom left; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {right:15px; background:url(img/sright2.png) no-repeat bottom left;}
.flex-direction-nav .flex-prev {left: 15px; background:url(img/sleft2.png) no-repeat bottom left;}
.flex-direction-nav .flex-next:hover {right:15px; background:url(img/sright3.png) no-repeat bottom left;}
.flex-direction-nav .flex-prev:hover {left: 15px; background:url(img/sleft3.png) no-repeat bottom left;}

/*.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 */
.flexslider2, .flexslider3{ position:relative;}

.flex-control-nav {width: 100%; position: absolute; bottom: 13px; text-align:center; bottom:-50px; z-index:9999;}
/*.flex-control-nav {width: 100%; position: relative; bottom: -30px; text-align: center;z-index:9999;}*/

/*.flexslider2 .flex-control-nav {width: 580px; bottom:-50px; right:7px;}
.flexslider3 .flex-control-nav {width: 240px; bottom:-43px; right:-9px;}*/
.flexslider2 .flex-control-nav {width: 80px; top:-50px; right:7px;}
.flexslider3 .flex-control-nav {width: 80px; top:-43px; right:-9px;}

.flexslider4 .flex-control-nav {width: 440px; bottom:-40px;}
.flex-control-nav li {margin: 0 4px 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a { 
/*width: 8px; height: 8px; display: inline-block; background: #666; background: #272828; cursor: pointer; text-indent: -9999px; border: solid 2px #6e6f6f; -webkit-border-radius: 8px; -moz-border-radius: 8px; -o-border-radius: 8px; border-radius: 8px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);*/
	text-indent: -9999px;
	width: 16px;
	height: 20px;
	margin-right: 2px;
	float: left;
	background: url(../images/assets/circlebutton.png) no-repeat top center;
	
	display: inline-block;
	cursor: pointer;
}

.flexslider2 .flex-control-paging li a,
.flexslider3 .flex-control-paging li a,
.flexslider4 .flex-control-paging li a{
	width:11px; height:13px; display:block;
	background: url(../images/assets/circlebutton_2.png) no-repeat top left;
/*background: #c3c4c3;  border: solid 1px #bfbfbf; width:9px; height:9px;
background-image: linear-gradient(bottom, rgb(224,224,224) 0%, rgb(203,203,205) 100%);
background-image: -o-linear-gradient(bottom, rgb(224,224,224) 0%, rgb(203,203,205) 100%);
background-image: -moz-linear-gradient(bottom, rgb(224,224,224) 0%, rgb(203,203,205) 100%);
background-image: -webkit-linear-gradient(bottom, rgb(224,224,224) 0%, rgb(203,203,205) 100%);
background-image: -ms-linear-gradient(bottom, rgb(224,224,224) 0%, rgb(203,203,205) 100%);

background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0, rgb(224,224,224)),
	color-stop(1, rgb(203,203,205))
);*/
}
.flex-control-paging li a:hover { background-position: 0 -22px; /*background: #fff; border-color:#5891d4; border: solid 3px #5891d4; width:6px; height:6px;*/ }
.flex-control-paging li a.flex-active { background-position: 0 -22px; cursor: default; /*background: #fff; cursor: default; border: solid 3px #5891d4; width:6px; height:6px;*/}

.flexslider2 .flex-control-paging li a.flex-active,
.flexslider2 .flex-control-paging li a:hover,
.flexslider3 .flex-control-paging li a.flex-active,
.flexslider3 .flex-control-paging li a:hover,
.flexslider4 .flex-control-paging li a.flex-active,
.flexslider4 .flex-control-paging li a:hover{
	background-position: bottom left;
/*border: solid 1px #aaaaaa; width:9px; height:9px;
background-image: linear-gradient(bottom, rgb(165,165,165) 0%, rgb(193,193,193) 100%);
background-image: -o-linear-gradient(bottom, rgb(165,165,165) 0%, rgb(193,193,193) 100%);
background-image: -moz-linear-gradient(bottom, rgb(165,165,165) 0%, rgb(193,193,193) 100%);
background-image: -webkit-linear-gradient(bottom, rgb(165,165,165) 0%, rgb(193,193,193) 100%);
background-image: -ms-linear-gradient(bottom, rgb(165,165,165) 0%, rgb(193,193,193) 100%);

background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0, rgb(165,165,165)),
	color-stop(1, rgb(193,193,193))
);*/
}


.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;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}