/*
 * 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; }
.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%; min-height:480px; background:#f8f8f8;}
.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{ 
    background:transparent;
    border-radius: 50%; -webkit-border-radius:50%;  -khtml-border-radius:50%;  -moz-border-radius:50%;
    font-size: 0;
    height: 35px;
    line-height: 28px;
    position: absolute;
    text-align: center;
    top: 47%;
    width:35px;
    border:2px solid #fff;
    z-index: 4;
}
.flex-direction-nav li a:before {
    color: #ffffff;
    font-family: fontawesome;
    font-size: 22px;
    position:absolute;
    left:0;
    right:0;
    margin:0 auto;
    top:3px;
}

.flex-direction-nav li a.flex-prev{left:30px;}
.flex-direction-nav li a.flex-next { right:30px; }
.flex-direction-nav li a.flex-prev:before {content:"\f0d9"; left:-2px;}
.flex-direction-nav li a.flex-next:before {content:"\f0da"; right:-4px;}

.flexslider .flex-direction-nav li a.flex-next:hover,
.flexslider .flex-direction-nav li a.flex-prev:hover {background:#46A6C4; border-color:#46A6C4;}

.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; display: none;}
.flex-control-nav li {margin: 0 3px;display: inline-block; font-size:0; border:2px solid #46A6C4;}
.flex-control-paging li a {    
    cursor: pointer;
    display: block;
    height: 7px;
    text-indent: -9999px;
    width: 7px;
    font-size: 0;
    background: transparent;
    border-radius: 0%;
    -webkit-border-radius: 0%;
    -moz-border-radius: 0%;
    -khtml-border-radius: 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;
    border: 2px solid #fff;
}

.flex-control-paging li a.flex-active,.flex-control-paging li:hover a {
	background: #46A6C4;
}

#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;}
