/*
 * jQuery FlexSlider v1.7
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

 
/* Browser Resets */
.flex-container a:active,
.work-slide, .flexslider a:active {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.work-slide, .flexslider {margin: 30px 30px 0 30px; padding: 0 0 0 0; float:left; display:block; float:left;}
.flexslider .slides > li,
.work-slide .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img,
.work-slide .slides img {max-width: 100%; display: block; background:#fff; margin-bottom:20px !important; padding-bottom:0; border:4px solid #f6f6f6;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-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,
.work-slide {  position: relative;/*border: 4px solid #fff; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: */5px; zoom: 1;}
.flexslider .slides, .work-slide .slides {zoom: 1;}
.flexslider .slides > li, .work-slide .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: 30%; padding: 2%; position: absolute; left: 4px; top: 30px; background: rgba(0,0,0,.5); z-index:99;}
.flex-caption p{ font-size: 14px !important; line-height: 22px; font-family: 'Open Sans', sans-serif; font-weight:300;  text-shadow: 0 -1px 0 rgba(0,0,0,.3); color: #f0f0f0 !important; margin-bottom:15px;}
.flex-caption h3{ font-family: 'Open Sans Condensed', sans-serif; font-weight:700; color:#f4f4f4; font-size:22px; line-height:26px;}
.flex-caption span a{ font-size:12px; padding:7px 15px; float:left; color:#fff;  background:#fa9038; text-shadow:0 1px 1px #e68c64;  -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px;}
.flex-caption span a:hover{ opacity:.9;}

/* Direction Nav */
.flex-direction-nav li a { width: 32px; height: 32px; margin: 0 0; background: url(../images/bg_direction_nav.png) no-repeat 0 0; position: absolute; bottom: -2%; cursor: pointer; text-indent: -9999px;opacity: .8; filter:alpha(opacity=80); }
.flex-direction-nav li a.next {background-position: -38px 0; right:35%; }
.flex-direction-nav li a.prev {background-position: 0 0; left: 35%; }
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}
.flex-direction-nav li a.next:hover, .flex-direction-nav li a.prev:hover{opacity: 1; filter:alpha(opacity=100);}

/* Control Nav */
.flex-control-nav {width: 100%; bottom: -30px; text-align: center; float:left; }
.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: 13px; height: 13px; font-size:12px; color:#888; display: block; background: url(../images/bg_control_nav.png) no-repeat 0 0; cursor: pointer; }
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active { color:#222;}

.slider-video-container{
	width:100%;
	position: relative;
	padding-bottom: 38.5%;
	padding-top: 30px;
	margin-bottom:20px;
	height: 0;
	overflow: hidden;
	
}

.slider-video-container iframe,  
.slider-video-container object,  
.slider-video-container embed{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-height:400px; }

#slider_wrap{max-width:960px; margin:0 auto; position:relative; clear:both; padding:0 0 30px 0; overflow:hidden; max-height:100%;}
#slider_home {height:auto;}

@media handheld and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 767px)  {
.flex-caption{ display:none;}
}