/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* 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 { list-style: none;}

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider .slides{ padding:0; border: 1px solid #e0e0e0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; list-style:none !important; margin-bottom:0px;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display:inline-block; vertical-align:middle; }

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {} 
* 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 {position: relative; clear:both; margin:0 auto 0px; overflow:hidden; text-align:center; width:100%; background:#f8f8f8;z-index: 3;}
.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 { margin:0; }

/* Direction Nav */
.flex-direction-nav {margin:0 !important; z-index:999; }
.flex-direction-nav  li{ list-style:none; margin:0px;}
.flexslider:hover .flex-direction-nav { margin:0 !important;  }
.flex-direction-nav li a{}

.flex-direction-nav li a.flex-prev{ 
    font-size: 0;
    left: 20px;
    position: absolute;
    top: 50%;
    z-index: 9;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -khtml-opacity: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: inline-block;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -khtml-border-radius: 50%;
}
.flex-direction-nav li a.flex-prev:before {
    content: "\0003C";
    font-size: 28px;
    color: #fff;
    vertical-align: bottom;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -khtml-border-radius: 50%;
    padding: 15px 14px;
    display: inline-block;
}
.flexslider .flex-direction-nav li a.flex-prev:hover {background: #f02640;}
.flex-direction-nav li a.flex-next { 
    font-size: 0;
    right: 20px;
    position: absolute;
    top: 50%;
    z-index: 9;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -khtml-opacity: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: inline-block;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -khtml-border-radius: 50%;
}
.flex-direction-nav li a.flex-next:before {
    content: "\0003E";
    font-size: 28px;
    color: #fff;
    vertical-align: bottom;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -khtml-border-radius: 50%;
    padding: 15px 14px;
    display: inline-block;
}
.flexslider .flex-direction-nav li a.flex-next:hover { background: #f02640;}

.flexslider:hover .flex-direction-nav li a.flex-prev, .flexslider:hover .flex-direction-nav li a.flex-next{
    opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    -khtml-opacity: 1;
}

/* Control Nav */
.flex-control-nav {position: absolute; bottom:10px; right:0px; left:0px; z-index:99; text-align:center; margin: 0 !important;}
.flex-control-nav li {margin: 0 3px;display: inline-block; font-size:0;}
.flex-control-paging li a {
    cursor: pointer;
    display: block;
    height: 10px;
    text-indent: -9999px;
    width: 10px;
    font-size: 0;
    background: transparent;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -khtml-border-radius: 50%;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    border: 2px solid #9e9e9e;
}

.flex-control-paging li a.flex-active, .flex-control-paging li:hover a {
    background: #444444;
    border: 2px solid #444444;
}

#spinner {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: url(../images/ajax-loader.gif) 50% 50% no-repeat #fff;
}


.flex-control-paging li a.flex-active{  cursor: default; }
.flex-control-paging li:hover a{}
.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;}
