/*
 * jQuery FlexSlider v1.8
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* 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; padding:0;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-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 {/*background: #fff;*/ position: relative; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {width: 96%; padding: 2%; margin: 0; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}

/* Direction Nav */
.carousel-flexslider .flex-direction-nav li a{top:-50px; box-shadow:0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:0 1px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.1);}
.carousel-flexslider .flex-direction-nav li .flex-next{right:0; left:auto}
.carousel-flexslider .flex-direction-nav li .flex-prev{right:37px; left:auto}
.carousel-flexslider .img-border img{
	width:100%
}

.flex-direction-nav { height: 0; }
.flex-direction-nav li a {opacity:.8;filter:alpha(opacity="80");width: 36px; height: 30px; display: block; background:#FFF no-repeat center center; position: absolute; bottom: 0; cursor: pointer; text-indent: -999em;}
.flex-direction-nav li .flex-next {background-image:url(../images/nav-next.png); left: 37px;}
.flex-direction-nav li .flex-prev {background-image:url(../images/nav-prev.png);left: 0;}
.flexslider-shortcode .flex-direction-nav li a{bottom:auto;top:0}
.flex-direction-nav li a:hover{opacity:1;filter:alpha(opacity="100")}
.flex-direction-nav li .disabled,.flex-direction-nav li .disabled:hover {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/*.carousel-flexslider .flex-direction-nav li .flex-next{-webkit-border-top-right-radius: 3px;-webkit-border-bottom-right-radius: 3px;-moz-border-radius-topright: 3px;-moz-border-radius-bottomright: 3px;border-top-right-radius: 3px;border-bottom-right-radius: 3px;}
.carousel-flexslider .flex-direction-nav li .flex-prev{-webkit-border-top-left-radius: 3px;-webkit-border-bottom-left-radius: 3px;-moz-border-radius-topleft: 3px;-moz-border-radius-bottomleft: 3px;border-top-left-radius: 3px;border-bottom-left-radius: 3px;}*/

/* Control Nav */
.flex-control-nav {width: 100%; position: relative; bottom: 0; text-align: center;}
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 10px; height: 10px; display: block;cursor: pointer; text-indent: -999em; background-color:#d1d1d1;-webkit-border-radius: 50%;-moz-border-radius: 50%;border-radius: 50%;}
.flex-control-nav li a:hover {}
.flex-control-nav li a.flex-active { cursor: default;background-color:#D62831;}

.home-flex-slider.flexslider{
	overflow:visible !important
}
.home-flex-slider .flex-control-thumbs{
	position:absolute;
	bottom:-30px;
	left: 50%;
	margin-left: -35%;
	width: 70%;
}
.home-flex-slider .flex-control-thumbs li{
	margin-left:10px;
	padding:0;
	margin-right:10px;
	height:60px;
	cursor:pointer;
	background:#FFF;
	position:relative;
	box-shadow:0 0 5px rgba(0,0,0,.1);
	-moz-box-shadow:0 0 5px rgba(0,0,0,.1);
	-webkit-box-shadow:0 0 5px rgba(0,0,0,.1);
}
.home-flex-slider .flex-control-thumbs li:before{
	position:absolute;
	content:'';
	width:120px;
	height:10px;
	background:url(../images/slide-thumbnail-shadow.png) no-repeat center bottom;
	bottom:-10px;
	left:-10px;
	z-index:-1
}

.home-flex-slider .flex-control-thumbs li:hover img,.home-flex-slider .flex-control-thumbs li img.flex-active{
	opacity:1;
	filter:alpha(opacity=100);
}
.home-flex-slider .flex-control-thumbs li img{
	margin:5px;
	opacity:.5;
	filter:alpha(opacity=50);
	background-color:#FFF;
}
.home-flex-slider .slides li{
	overflow:hidden
}

.home-flex-slider .flex-control-nav.flex-control-paging {
	bottom: -40px;
	z-index:99999999;
	position:absolute
}
.home-flex-slider .flex-control-nav.flex-control-paging li{
	margin: 0 5px 0 5px !important;
}

.home-flex-slider .video_slide{
	width:100%;
	height:370px;
}


.home-flex-slider .video_slide:hover{
}
#slider-shadow.slider-shadow2{
	background:url(../images/slider-shadow2.png) no-repeat center bottom ;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.home-flex-slider .video_slide{
		height:286px
	}
	.home-flex-slider .flex-control-thumbs {
		width:100%;
		left:auto;
		margin-left:0;
	}
}
@media only screen and (max-width: 479px) {
	.home-flex-slider .video_slide{
		height:110px
	}
	.home-flex-slider .flex-control-thumbs{display:none}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.home-flex-slider .video_slide{
		height:165px
	}
	.home-flex-slider .flex-control-thumbs{display:none}
}


