/*
 * 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; list-style-type: none;}
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
	margin: 0;
	padding: 0;
} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li:after {
	display: none;
}
.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 {
	margin: 0 0 4px 0;
	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;}

.flexslider li .thumb {
	margin-bottom: 0;
}

/* Direction Nav */
.flex-direction-nav {
	*height: 0;
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.flex-direction-nav li {
	padding: 0;
	margin: 0;
	position: static;
}
	.flex-direction-nav li:after {
		display: none;
	}
	.flex-direction-nav a {
		position: absolute;
		top: 100%;
		margin-top: -37px;
		z-index: 10;
		display: block;
		width: 40px;
		height: 40px;
		border: none;
		background: #ffffef;
		color: #1d1d33;
		vertical-align: top;
		text-align: center; 
		text-indent: -9999px;
		font-size: 12px;
		line-height: 40px; 
		cursor: pointer;
		-webkit-transition:all 0.2s ease-in-out;
		-moz-transition:all 0.2s ease-in-out;
		-ms-transition:all 0.2s ease-in-out;
		-o-transition:all 0.2s ease-in-out;
		transition:all 0.2s ease-in-out;
	}
	.flex-direction-nav a:hover {
		background: #b45883;
		text-decoration: none;
	}
	.flex-direction-nav .flex-next:before,
	.flex-direction-nav .flex-prev:before {
		content:"";
		display: block;
		position: absolute;
		left: 50%;
		top: 50%;
		margin: -4px 0 0 -10px;
		width: 21px;
		height: 9px;
		background: url(../images/arrows.gif) 0 0 no-repeat;
	}
	.flex-direction-nav .flex-prev:before {
		background-position: 0 -27px;
	}
	.flex-direction-nav .flex-next {
		background-position: 100% 0; 
		left: -190px;
	}
	.flex-direction-nav .flex-prev {
		left: -240px;
	}
	.flex-direction-nav .flex-disabled {
		opacity: .3!important; 
		filter:alpha(opacity=30); 
		cursor: default;
	}

/* Control Nav */
.flex-control-nav {
	position: absolute;
	bottom: 5px;
	margin: 0;
	padding: 0;
	height: 7px;
	overflow: hidden;
	left: 0;
	text-align: left;
}
.flex-control-nav li {
	margin: 0 4px;
	display: inline-block;
	zoom: 1;
	vertical-align: top;
	*display: inline;
}
.flex-control-nav li:first-child {
	margin-left: 0;
}
.flex-control-nav li:after {
	display: none;
}
.flex-control-paging li a {
	display: inline-block;
	vertical-align: top;
	width: 7px;
	height: 7px;
	border: none;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	background: #191938;
	text-indent: -9999px;
	cursor: pointer;
}
.flex-control-paging li a:hover {
	background: #a1a1c2;
}
.flex-control-paging li a.flex-active {
	background: #a1a1c2;
	cursor: default;
}

/* Caption */
.flex-caption {
	position: absolute;
	z-index: 3;
	right: 6px;
	top: 29%;
	width: 295px;
	padding: 17px 20px 20px 20px;
	color: #ffffef;
	background: rgba(29,29,51,.7);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
	.flex-caption h3 {
		margin-bottom: .5em;
	}
	.flex-caption p {
		margin: 1.5em 0 0 0;
	}
	.flex-caption h3 + p {
		margin-top: 0;
	}

/* Fullwidth Slider */
.flexslider__full .flex-direction-nav .flex-next { 
	left: auto;
	right: 26px;
	margin-top: -64px;
}
.flexslider__full .flex-direction-nav .flex-prev {
	left: auto;
	right: 76px;
	margin-top: -64px;
}

.flexslider__full .flex-caption {
	right: 6px;
	left: 0;
	width: auto;
	top: auto;
	bottom: 0;
}