/*
* 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)
*/

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('fonts/flexslider-icon.eot');
	src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
	url('fonts/flexslider-icon.woff') format('woff'),
	url('fonts/flexslider-icon.ttf') format('truetype'),
	url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* ====================================================================================================================
* RESETS
* ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover,
.flex-container a:focus,
.flex-slider a:focus {
	outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
.flex-pauseplay span {
	text-transform: capitalize;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {
	min-height: 100px;
	background: #fff url(../ajax-loader.gif) no-repeat center center;
	position: relative;
	margin: 0;
	padding: 0;
	overflow:hidden;
	zoom: 1;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
	margin: 0;
	padding: 0;
}
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}
.flexslider .slides img {
	width: 100%;
	display: block;
	height: auto;
}
.flexslider .slides:after {
	content: "\0020";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .flexslider .slides {
	display: block;
}
* html .flexslider .slides {
	height: 1%;
}
.no-js .flexslider .slides > li:first-child {
	display: block;
}

/* FlexSlider Default Theme
*********************************/
.flex-viewport { transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

/* Caption style */
/* IE rgba() hack */
.flex-caption { zoom: 1; }
.flex-caption {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 0;
	font-size:18px;
	width: 100%;
	max-width: 1100px;
	text-align: center;
}

.flex-caption p { margin-bottom:0;}

/* Direction Nav */
.flex-direction-nav {
	*height: 0;
  }
  
  .flex-direction-nav a {
	display: block;
	width: 40px;
	height: 40px;
	margin: -20px 0 0;
	position: absolute;
	top: 50%;
	z-index: 10;
	font-size: 0;
	overflow: hidden;
	opacity: 0;
	cursor: pointer;
	transition: all 0.3s ease;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
  }
  
  .flex-direction-nav .flex-prev {
	left: -50px;
	background-image: url('data:image/svg+xml,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="10.323px" height="18.625px" viewBox="0 0 10.323 18.625" enable-background="new 0 0 10.323 18.625" xml:space="preserve"><g id="Layer_1"><line fill="none" stroke="%23ffffff" stroke-width="1.5002" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="9.021" y1="16.952" x2="1.301" y2="9.232"/><line fill="none" stroke="%23ffffff" stroke-width="1.5002" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="9.021" y1="1.512" x2="1.301" y2="9.232"/></g><g id="Layer_2" display="none"><line display="inline" fill="none" stroke="%23ffffff" stroke-width="1.5002" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="9.022" y1="9.231" x2="1.301" y2="16.952"/><line display="inline" fill="none" stroke="%23ffffff" stroke-width="1.5002" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="9.022" y1="9.231" x2="1.301" y2="1.512"/></g></svg>');
  }
  
  .flex-direction-nav .flex-next {
	right: -50px;
	background-image: url('data:image/svg+xml,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="10.323px" height="18.625px" viewBox="0 0 10.323 18.625" enable-background="new 0 0 10.323 18.625" xml:space="preserve"><g id="Layer_1" display="none"><line display="inline" fill="none" stroke="%23ffffff" stroke-width="1.5002" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="9.021" y1="16.952" x2="1.301" y2="9.232"/><line display="inline" fill="none" stroke="%23ffffff" stroke-width="1.5002" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="9.021" y1="1.512" x2="1.301" y2="9.232"/></g><g id="Layer_2"><line fill="none" stroke="%23ffffff" stroke-width="1.5002" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="9.022" y1="9.231" x2="1.301" y2="16.952"/><line fill="none" stroke="%23ffffff" stroke-width="1.5002" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="9.022" y1="9.231" x2="1.301" y2="1.512"/></g></svg>');	
  }
  
  .flexslider:hover .flex-prev {
	opacity: 0.7;
	left: 20px;
  }
  
  .flexslider:hover .flex-next {
	opacity: 0.7;
	right: 20px;
  }
  
  .flexslider:hover .flex-next:hover,
  .flexslider:hover .flex-prev:hover {
	opacity: 1;
  }
  
  .flex-direction-nav .flex-disabled {
	opacity: 0 !important;
	filter: alpha(opacity=0);
	cursor: default;
  }
  



/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: 10px; text-align: center; z-index:2}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; border-radius: 20px; -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); 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;}

@media screen and (max-width: 860px) {
	.flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
    .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}
/* iPad Portrait
======================================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.flex-title h5 span { font-size: 32px !important; }
	.flex-caption { width: 80%; }
}

/* Smartphones and iPhone 4s(landscape)
======================================================================== */
@media only screen and (min-width: 320px) and (max-width: 480px) {
	.flexslider .slides img {
		height: 250px;
		-o-object-fit: cover;
		   object-fit: cover;
	}
	.flex-title h5 span { font-size: 20px !important; }
	.flex-title h6 span { font-size: 18px !important; }
	.flex-caption { width: 85%; }
}

/* Smartphones  and iPhone 4s (portrait)
======================================================================== */
@media only screen and (max-width : 320px) {
	.flexslider .slides img {
		height: 250px;
		-o-object-fit: cover;
		   object-fit: cover;
	}
	.flex-title h5 span { font-size: 18px !important; }
	.flex-title h6 span { font-size: 14px !important; }
	.flex-caption { width: 85% !important; }
	.flex-direction-nav a.flex-prev { left: 0; }
	.flex-direction-nav a.flex-next { right: 0; }
}

.flex-title {
	max-width: 80%;
	margin: 0 auto;
}

.flex-title h5,
.flex-title h6 {
	margin-bottom: 0;
}

.flex-title h5 span,
.flex-title h6 span { margin:0 auto; }
.flex-title h5 span {
	font-size: 55px;
	line-height: 1.2;
	font-weight: 600;
	color:#ffffff;
	letter-spacing: -1px;
}
.flex-title h6 span {
	padding: 5px 10px;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 300;
	color:#ffffff;
}


.flex-active-slide:before {
	content: '';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
}
