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

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; position:relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flex-pauseplay span {text-transform: capitalize;}

/* 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 {
	background: url(/images/layout/wood_bg.jpg) no-repeat center center;
	background-size: cover;
	position: relative;
	zoom: 1;
}
.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 {zoom: 1;}

.carousel li {margin-right: 5px}

/* ======== HOME ======= */

.home-slider .site-width {
	width : 100%;
}

.home-slider .flex-caption {
	background: #adae43;
	padding: 10px;
	color: #fff;

}

.home-slider .flex-caption p {
	position: relative;
	margin: 0;
	font-size: .8em;
}

.home-slider .flex-caption p span {
	font-weight: 700;
}

.home-slider .flex-caption p:before {
	display: none;
}

/* ======== SITE ======= */
.site-slider .flex-caption {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 5px 10px;
}


.site-slider .flex-caption {
	font-size: 12px;
	background : #adae43;
	color : #fff;
	font-style: italic;
	font-family: leitura-news, serif;
}

.site-slider .site-width {
	width : 100%;
}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {
	display: block;
	position: absolute;
	top: 50%;
	z-index: 10;
	cursor: pointer;
	text-indent: -9999px;

		width: 20px;
		height: 23px;
		margin: -11px 0 0 0;
		background: url(/images/bg_direction_nav_small.png) no-repeat 0 0;

}
.flex-direction-nav .flex-next {background-position: 100% 0; right: 0; }
.flex-direction-nav .flex-prev {left: 0;}
.flex-direction-nav .flex-disabled {opacity: 0 !important; filter:alpha(opacity=0); cursor: default;}

@media only screen and (min-width: 480px) {
	.flexslider {
		margin: 0;
	}

	/* ======== HOME ======= */
	.home-slider .flex-viewport {
		padding-bottom: 0;
	}

	.home-slider .flex-caption {
		background: #adae43;
		position: absolute;
		right: 0;
		bottom: 0;
		margin-bottom: 0;
	}

	.home-slider .site-width {
		width: 96%;
	}

	.home-slider .flex-caption p {
		padding-left: 1.3em;
		font-size: 1em;
	}


	.home-slider .flex-caption p:before {
		display: block;
	}

	/* ======== SITE ======= */

	.site-slider .flex-caption {
		font-size: 16px;
	}

	.site-slider .flex-caption-container {
		background: rgba(255, 255,255, .5);
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
	}


}

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

	.flex-direction-nav a {
		width: 82px;
		height: 92px;
		margin: -46px 0 0 0;
		background: url(/images/bg_direction_nav.png) no-repeat 0 0;
		opacity: 0;
		-webkit-transition: all .3s ease;
		-moz-transition: all .3s ease;
		transition: all .3s ease;
	}

	.flex-direction-nav .flex-next {right: 0; }
	.flex-direction-nav .flex-prev {left: 0;}
	.flexslider:hover .flex-next {opacity: 0.8; right: 0;}
	.flexslider:hover .flex-prev {opacity: 0.8; left: 0;}
	.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}

}

@media only screen and (min-width: 960px) {
	.home-slider .site-width,
	.site-slider .site-width {
		width: 960px;
	}

}