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


#preloader{position:absolute; top:48%; left:48%; width:20px; height:20px; display:inline-block; z-index:9;}
/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {width: 100%; margin: 0; padding: 0; position: relative; zoom: 1; margin-bottom:30px; min-height:auto!important;}
.flexslider .slides {zoom: 1;}
.flexslider .slides li {position: relative; list-style: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; display: block;}
.slides, .flex-control-nav, .flex-direction-nav{margin:0; padding:0; list-style: none;}
.flex-control-nav {text-align:center}
/* FlexSlider Default Theme
*********************************/
.flexslider-container {position: relative; zoom: 1;}

/* Caption style */
.flex-caption {width: 96%; padding: 2%; 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: 15px; line-height: 18px;}

/* Direction Nav */
.flex-direction-nav {display:none;}
.flexslider:hover .flex-direction-nav {display:block;}
.flex-control-nav  {width:100%}
.flex-direction-nav li {list-style-type:none;}
.flex-direction-nav li{}

.flex-direction-nav li a {width:40px; height:40px; margin:0px; display:block; background:#ccc url(../image/arrows.png) no-repeat center center; position: absolute; top: 40%; cursor: pointer; text-indent: -9999px;} /* set negative margin-top equal to half the height on the directional-nav for perfect vertical centering */
.flex-direction-nav li a.flex-next {background-position: -27px center; right:0px;}
.flex-direction-nav li a.flex-prev {background-position: 5px center; left:0px;}
.flex-direction-nav li a.flex-next:hover{background:#ccc url(../image/arrows.png) no-repeat -27px center;}
.flex-direction-nav li a.flex-prev:hover{background:#ccc url(../image/arrows.png) no-repeat 5px center;}

/* Control Nav */
.flex-control-nav {position:absolute; bottom:40px; bottom:2px; z-index:9} /* set negative margin-left equal to half the width on the control-nav for perfect centering */

.flex-control-nav li {margin: 0 3px 0 3px; display:inline-block }
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width:22px; height:22px; display: block; background:url("../image/bullets.png") no-repeat 0 0; cursor:pointer; text-indent:-9999px;}
.flex-control-nav li a:hover {background-position: 0 -22px;}
.flex-control-nav li a.flex-active {background-position: 0 -22px; cursor: default;}

.slideshow-wrapper{background:url(../image/slideshow-main-bg.jpg) center top no-repeat; width:100%; height:375px; margin-bottom:15px;}
.slideshow{position:relative; width:940px; height:375px; margin:0 auto;}
.flexslider{margin:0;}
.slider-box{background-image:url(../image/slideshow-bg.png); background-repeat:no-repeat; margin:0; padding:0; position:absolute; width:990px; height:375px; top:0;  left:-25px;}
.slider-box-bottom{background:url(../image/slideshow-bg.png) no-repeat 0 bottom; margin:0; padding:0; position:absolute; width:990px; height:55px; bottom:0;  left:-25px; z-index:99}



@media screen and (max-width:768px) {

/*
.slideshow{width:auto; height:auto; padding:0 5px;}
.slider-box{-moz-background-size:100% auto; background-size:100% auto; -webkit-background-size:100% auto; width:100%; left:0; height:108%;}*/
.slideshow{width:auto; height:auto; padding:0;}
.slider-box-bottom{-moz-background-size:100% auto; background-size:100% auto; -webkit-background-size:100% auto; height:16%; bottom:-10px;  left: 0px; width: 100%; background-image:url(../image/slideshow-bg1.png); }

.slider-box {display:none}

.slideshow-wrapper{-moz-background-size:100% 100%; background-size:100% 100%; -webkit-background-size:100% 100%; width:100%; height:auto;}
}

