/*
 * jQuery FlexSlider v1.5
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* FlexSlider Necessary Styles
*********************************/ 
#slider .flexslider {width: 100%; margin: 0; padding: 0; }
#slider .flexslider .slides li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
#slider .flexslider .slides img {max-width: 100%; display: block;}

/* Browser Resets */
#slider .flexslider a {outline: none;}
#slider .slides,
#slider .flex-control-nav,
#slider .flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* 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
 */
#slider .no-js .slides li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
#slider .flexslider {
height:286px;
background: #000; border: 4px solid #000; position: relative; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px;}
#slider .flexslider .slides  li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
#slider .flexslider-container {position: relative;}

/* Caption style */
#slider .flex-caption {/*width: 96%;*/ padding: 2%; position: absolute; left: 0; top: 14px; background: rgba(0,0,0,.4); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}

/* Direction Nav */
#slider .flex-direction-nav li a {width: 52px; height: 52px; margin: -13px 0 0; display: block; background: no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;} /* set negative margin-top equal to half the height on the directional-nav for perfect vertical centering */
#slider .flex-direction-nav li a.next {background:none;}
#slider .flex-direction-nav li a.prev {background:none;}


/* Control Nav */
#slider .flex-control-nav {width: 100%; position: absolute; bottom: 10px; right:10px; text-align: right; }
#slider .flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
#slider .flex-control-nav li:first-child {margin: 0;}
#slider .flex-control-nav li a {width: 13px; height: 13px; display: block; background: url(../images/bg_control_nav.png) no-repeat 0 0; cursor: pointer; text-indent: 9999px; overflow:hidden;}
#slider .flex-control-nav li a:hover {background-position: 0 -13px;}
#slider .flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}