/*
 * 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;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}

/* 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 */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {position: relative; clear:both; margin:0 0 0px 0; overflow:hidden; background-color: #fff;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease; -ms-transition: all 1s ease; -o-transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides { margin:0;     border: 1px solid #e0e0e0;}

/* Direction Nav */
.flex-direction-nav { margin:0 !important; z-index:999; }
.flex-direction-nav  li{ list-style:none;}
.flexslider:hover .flex-direction-nav { display:block;  margin:0 !important;  }
.flex-direction-nav li a.flex-next
{
    font-size: 0;
    position: absolute;
    right: 20px;
    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;
}

.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: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;}


#spinner {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: url(../../images/megnor/ajax-loader.gif) 50% 50% no-repeat #fff;
}

/* Control Nav */
.flex-control-nav {position: absolute; bottom:10px; left:0; text-align:center; right:0; z-index:99; }
.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: 1px solid #6dac23;
}
.flex-control-paging li a:hover ,.flex-control-paging li a.flex-active{background:#6dac23; }
.flex-control-paging li a.flex-active{  cursor: default; }

.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;}