/*
 * 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 > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; height:auto; width: 100%}

/* 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;}
.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 {}

/* Direction Nav */
.flex-direction-nav {}

.flex-direction-nav li a {
    font-size: 0;
    height: 12px;
    position: absolute;
    top: -30px;
    width: 8px;
}
.flex-direction-nav li a.flex-prev {
    background: url("../images/sprite.png") no-repeat scroll -195px -226px transparent;
    right: 15px;
}
.flex-direction-nav li a.flex-prev:hover {
    background-position: -209px -226px;
}
.flex-direction-nav li a.flex-next {
    background: url("../images/sprite.png") no-repeat scroll -237px -226px transparent;
    right: 0;
}
.flex-direction-nav li a.flex-next:hover {
    background-position: -223px -226px;
}


.latestnews .flex-direction-nav li a {
    font-size: 0;
	height: 36px;
    top: 6%;
    width: 18px;
}
.latestnews .flex-direction-nav li a.flex-prev {
    background: url("../images/sprite.png") no-repeat scroll -78px -406px transparent;
    left:-9%;
}
.latestnews .flex-direction-nav li a.flex-prev:hover {
    background-position: -78px -363px;
}
.latestnews .flex-direction-nav li a.flex-next {
    background: url("../images/sprite.png") no-repeat scroll -116px -406px transparent;
    right:-9%;
}
.latestnews .flex-direction-nav li a.flex-next:hover {
     background-position: -116px -363px;
}

/* Control Nav */
.flex-control-nav {position: absolute; left:10px;display:none;}
.flex-control-nav li {margin: 0 3px;float:left;}
.flex-control-paging li a {
	background: none repeat scroll 0 0 #D88528;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    height: 8px;
    text-indent: -9999px;
    width: 8px;
	border:none;
}
.flex-control-paging li a:hover { background: none repeat scroll 0 0 #6F5341; }
.flex-control-paging li a.flex-active { background: none repeat scroll 0 0 #6F5341; 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;}
