/* 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 {background: url(../images/loader.gif) no-repeat 50% 50%; height:270px; margin: 0; padding: 0;}
.flexslider .slides > li {display: none; position: relative; -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 */
 


/* FlexSlider Default Theme
*********************************/
.flexslider img {height:270px;}
.flexslider {padding:15px; margin-bottom:20px; background: #fff; border:#d5d5d5 solid 1px; 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}
 

.flex-caption { 
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
    bottom: 15px;
    color: #FFFFFF;
    left: 0; height:65px; 
    padding: 2%;
    position: absolute;
     float:left; 
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    width:608px;
}
.flex-caption h1 {border:1px solid #fff; font-family:'BebasNeueRegular'; font-size:20px; color:#00A1FF; margin-top:6px; padding:3px 0px 2px 0px; text-shadow: 1px 1px 1px #000}
.flex-caption h1 a {background:#FB2900; color:#fff; text-shadow:1px 1px 1px #000; padding:3px 10px 2px 10px} 
.flex-caption h1 a:hover {text-decoration:none}
.paddgrey {background:#262729; border:1px solid #fff; padding:7px 2px 7px 2px; margin-left:9px; margin-top:6px}
.flex-caption-text {line-height:15px; width:600px; padding:3px 5px 3px 0;  color:#fff}
.flex-caption-plays {background: url(../images/playon.png) no-repeat left; margin-left:11px; padding:0px 10px 0px 25px; color:#fff; text-shadow:1px 1px 1px #333; font-weight:bold}
/* Direction Nav */
.flex-direction-nav {*height: 0; }

.flex-direction-nav a {opacity: 0; width: 48px; height: 48px; text-indent: -999em; display: block; position:absolute; top:45%; z-index:9; cursor:pointer; }
 

.flex-direction-nav .flex-next {background: url(../images/nivo-arrows.png) no-repeat scroll 0 0 #FB2900; margin-top: -24px; right: 0; background-position: -48px}
.flex-direction-nav .flex-prev {margin: -24px 0 0}

.flexslider:hover .flex-next {opacity: 0.6; background: url(../images/nivo-arrows.png) no-repeat scroll 0 0 #000000; right: 15px; background-position: -48px;  }
.flexslider:hover .flex-prev {opacity: 0.6; background: url(../images/nivo-arrows.png) no-repeat scroll 0 0 #000000;  }

.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
.flexslider:hover .flex-next:hover {-moz-transition: background 0.3s ease-in-out 0s; -webkit-transition: background 0.3s ease-in-out 0s; -o-transition: background 0.3s ease-in-out 0s; transition: background 0.3s ease-in-out 0s; opacity: 1; background: url(../images/nivo-arrows.png) no-repeat scroll 0 0 #FB2900; background-position: -48px}
.flexslider:hover .flex-prev:hover {-moz-transition: background 0.3s ease-in-out 0s; -webkit-transition: background 0.3s ease-in-out 0s; -o-transition: background 0.3s ease-in-out 0s; transition: background 0.3s ease-in-out 0s; opacity: 1; background: url(../images/nivo-arrows.png) no-repeat scroll 0 0 #FB2900; }



/* Control Nav */
.flex-control-nav {
    top:30px;
    position: absolute;
    text-align: right;
    width: 633px; right:25px;
}
.flex-control-nav li {
    display: inline; 
    margin: 0 5px;
}
.flex-control-nav li a {
    background: none repeat scroll 0 0 #ffffff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3) inset;
    display: inline-block;
    height: 0;  text-indent: -9999px;
    overflow: hidden;
    padding-top: 10px;
    text-align: center;
    width: 10px;
border: 1px solid #666666;
}
.flex-control-nav li a:after {
    border: 100px solid red;
    border-radius: 20px 20px 20px 20px;
    content: "";
    display: inline-block;
    height: 0;
    margin-top: 2px;
    overflow: hidden;
    padding-top: 4px;
    width: 4px;
}
.flex-control-nav li:hover a, .flex-control-nav li a.flex-active {
    background-color: #7A7B78;  
 
}

.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;}