/*
 * jQuery FlexSlider v2.2.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;
}
.flex-control-nav {
	display: none;
}
/* FlexSlider Necessary Styles
*********************************/
.flexslider {
	position: relative;
	overflow:  hidden;
	min-height: 520px;
	height: 520px;
	width: 840px;
	margin: 0 auto;
}
@media screen and (max-width:414px) {
	.flexslider {
		min-height: 195px;
		height: 195px;
		width: 294px;
  		overflow: hidden;
	}
}
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}
/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	display: block;
	height: 470px;
	width: 840px;
}
@media screen and (max-width:414px) {
	.flexslider .slides img {
		height: 165px;
		width: 294px;
	}
}
.flex-pauseplay span {
	text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
	content: "\0020";
	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;
	zoom: 1;
}
.flex-viewport {
	max-height: 2000px;
	-webkit-transition: opacity 1s ease;
	-moz-transition: opacity 1s ease;
	-o-transition: opacity 1s ease;
	transition: opacity 1s ease;
}
.loading .flex-viewport {
	max-height: 300px;
}
.flexslider .slides {
	zoom: 1;
}
.carousel li {
	margin-right: 5px;
}
/* Direction Nav */
.flex-direction-nav {
	*height: 0;
}
.flex-direction-nav a {
	display: block;
	position: absolute;
	height: 470px;
	width: 50px;
	margin: 0;
	top: 0;
	z-index: 100;
	overflow: hidden;
	opacity: 0;
	cursor: pointer;
	-webkit-transition: opacity .3s ease;
	-moz-transition: opacity .3s ease;
	transition: opacity .3s ease;
	text-indent: -9999px;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}
@media screen and (max-width:414px) {
	.flex-direction-nav a {
		height: 165px;
		width: 25px;
		opacity: 1;
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}
}
.flex-direction-nav .flex-prev {
	left: 0;
	padding: 0 0 0 50px;
	background-image: url(../img/d_prev_next.gif);
	background-position: -50px 210px;
	background-repeat: no-repeat ;
}
@media screen and (max-width:414px) {
	.flex-direction-nav .flex-prev {
		left: 0;
		padding: 0 0 0 25px;
		background-image: url(../img/d_sp_prev_next.gif);
		background-position: -25px 70px;
	}
}
.flex-direction-nav .flex-next {
	right: 0;
	padding: 0 50px 0 0;
	background-image: url(../img/d_prev_next.gif);
	background-position: 50px 210px;
	background-repeat: no-repeat ;
}
@media screen and (max-width:414px) {
	.flex-direction-nav .flex-next {
		right: 0;
		padding: 0 25px 0 0;
		background-position: 25px 70px;
		background-image: url(../img/d_sp_prev_next.gif);
	}
}
.flexslider:hover .flex-prev,
.flexslider:hover .flex-next {
	opacity: 1;
}
.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
	opacity: 1;
}
.flex-direction-nav .flex-disabled {
	opacity: 1 !important;
	filter: alpha(opacity=0);
	cursor: default;
}
.flex-direction-nav a:before {
	display: inline-block;
	content: '\f001';
}
.flex-direction-nav a.flex-next:before {
	content: '\f002';
}


/* .slides _layout_ */
.slides {
	z-index: 100;
}
.slides > li {
	position: relative;
}
.slides > li p {
	width: 800px;
	padding: 15px 20px 13px;
	background-color: #000;
	text-align: center;
}
@media screen and (max-width:414px) {
	.slides > li p {
		width: 254px;
		padding: 7px 20px;
	}
}