/*
* jQuery FlexSlider v2.6.3
* http://www.woothemes.com/flexslider/
*
* Copyright 2012 WooThemes
* Free to use under the GPLv2 and later license.
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Contributing author: Tyler Smith (@mbmufffin)
*
*/



/* ====================================================================================================================
* RESETS
* ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
	outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
.flex-pauseplay span {
	text-transform: capitalize;
}



/* ====================================================================================================================
* BASE STYLES
* ====================================================================================================================*/

.flexslider {
	margin: 0;
	padding: 0;
}
.flexslider .slides > li {
	position: relative;
	height: 100%;
	display: none;
	-webkit-backface-visibility: hidden;
}
.flexslider .slides img {
	width: 100%;
	display: block;
}
.flexslider .slides div {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}
.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;
}



/* ====================================================================================================================
* DEFAULT THEME
* ====================================================================================================================*/

.flexslider {
	position: relative;
	height: 100%;
	background: #fff;
	zoom: 1;
}
.flexslider .slides {
	zoom: 1;
	height: 100%;
	pointer-events: none;
}
.flexslider .slides img {
	height: auto;
	-moz-user-select: none;
}
.flex-viewport {
	max-height: 2000px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}
.loading .flex-viewport {
	max-height: 300px;
}
.carousel li {
	margin-right: 5px;
}

.custom-navigation {
	position: absolute;
	/*top: calc(50% - 3.515625vw - 12px);*/
	/*top: calc(50% - 3.515625vw);*/
	top: 50%;
	transform: translateY(-50%);
	height: 38px;
	left: 0;
	right: 0;
	z-index: 3;
}
.custom-navigation a {
	position: absolute;
	top: 0;
	width: 38px;
	height: 38px;
	cursor: pointer;
	transition: opacity 0.5s;
	border-radius: 19px;
	border: 2px solid #fff;
	padding-top: 11px;
}
.custom-navigation .flex-prev {
	left: 15px;
	opacity: 0;
	padding-left: 13px;
}
.custom-navigation .flex-next {
	right: 15px;
	opacity: 0;
	padding-right: 13px;
}
body.mobile .custom-navigation .flex-prev,
body.mobile .custom-navigation .flex-next {
	opacity: 1;
}

.custom-navigation .arr {
	width: 12px;
	height: 12px;
}
.gallery-block:hover .arr:before,
body.mobile .gallery-block .arr:before {
	right: 0;
	width: 12px;
}
.gallery-block:hover .arr:after,
body.mobile .gallery-block .arr:after {
	left: 0;
	bottom: 0;
	height: 12px;
}

.custom-navigation a .arr-left {
	margin-right: auto;
	margin-left: 0;
}
.custom-navigation a .arr-right {
	margin-left: auto;
	margin-right: 0;
}

@media all and (min-width: 540px) {

	.custom-navigation {
		height: 64px;
	}

	.custom-navigation a {
		width: 64px;
		height: 64px;
		border-radius: 32px;
		padding-top: 20px;
	}

	.custom-navigation .flex-prev {
		left: 30px;
		padding-left: 23px;
	}
	.custom-navigation .flex-next {
		right: 30px;
		padding-right: 23px;
	}

	.custom-navigation .arr {
		width: 20px;
		height: 20px;
	}
	.gallery-block:hover .arr:before {
		width: 20px;
	}
	.gallery-block:hover .arr:after {
		height: 20px;
	}

}

.gallery-block:hover .custom-navigation .flex-prev {
	opacity: 0.5;
}
.gallery-block:hover .custom-navigation .flex-next {
	opacity: 0.5;
}
.gallery-block .custom-navigation .flex-prev:hover {
	opacity: 1;
}
.gallery-block .custom-navigation .flex-next:hover {
	opacity: 1;
}
.custom-navigation .flex-disabled {
	opacity: 0!important;
	filter: alpha(opacity=0);
	cursor: default;
	z-index: -1;
}


.flex-control-nav {
	width: 100%;
	position: absolute;
	text-align: center;
	height: calc(7.013125vw + 12px);
	transition: bottom 0.5s;
}
.flex-control-nav {
	bottom: calc(-7.013125vw - 12px);
}
.flex-control-nav.active {
	bottom: 0;
}
.flex-control-nav li {
	margin: 0 6px;
	display: inline-block;
	zoom: 1;
}
.flex-control-thumbs {
	overflow: hidden;
}
.flex-control-thumbs li {
	width: 12.5%;
	height: 7.013125vw;
	overflow: hidden;
	float: left;
	margin: 0;
}
.flex-control-thumbs img {
	width: 100%;
	height: auto;
	display: block;
	cursor: pointer;
	-moz-user-select: none;
	-webkit-transition: transform 0.5s ease;
	-moz-transition: transform 0.5s ease;
	-ms-transition: transform 0.5s ease;
	-o-transition: transform 0.5s ease;
	transition: transform 0.5s ease;
}
.flex-control-thumbs img:hover {
	transform: scale(1.1);
}
.flex-control-thumbs .flex-active {
	cursor: default;
}



/* ====================================================================================================================
* RESPONSIVE
* ====================================================================================================================*/