/*
 * jQuery FlexSlider v2.6.0
 * 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)
 *
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/

/* ====================================================================================================================
 * 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;
}


.flex-caption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding-left:10px;
	padding-right:10px;
	box-sizing:border-box;
	
	
	 top: 50%;
	  top: 55%;
  	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	
}

.imageposition-top .flex-caption ,
.imageposition-left .flex-caption ,
.imageposition-right .flex-caption ,
.fframe.no_image .flex-caption {
	position: relative;
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	transform: none;
	top: 0;
}


.imageposition-top .slides img {
	margin-left:auto;
	margin-right:auto;
	margin-bottom:20px;
	
}

/*.imageposition-background .slides img {
	width: 100%;
}

.imageposition-background .slides table img {
	height:auto;
	max-width: 100%;
}*/

.imageposition-background .slides table img {
	max-width: 100%;
}

/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
  
  
  

}
.flexslider.loading{
	
}

.flexslider .slides {
	    display: table;

}

/*.flexslider.loading .slides > li {
	display:none;
}
*/
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
	position: relative;
	/* overflow:hidden;*/
	background-position: center center;
	background-size:cover;
}

.flexslider ul li:before {
	content:'' !important;
	float: none  !important;
	 display: none  !important;

}
.flexslider ul li {
	margin-bottom: 0 !important;
}


.flexslider .slides img {
/*  width: 100%;*/
  display: block;
}
.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 {
  margin: 0;

  border: 0;
  position: relative;
  zoom: 1;
    margin-bottom:30px;
  
}

/*add margin to fullscreen slider*/
.flexslider[data-controlnav="1"] {
	margin-bottom:60px;
}



.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
 /* height: auto;*/
  -moz-user-select: none;
  
 	height: auto;
	max-width: 100%;
  
  
}


.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;
}
.flex-direction-nav {
  height: 0;
}




.flex-direction-nav a {
	text-decoration: none;
	display: block;
	width: 30px;
	height: 60px;
	margin: -30px 0 0;
	position: absolute;
	top: 50%;
	z-index: 10;
	overflow: hidden;
	cursor: pointer;
	color: rgba(0, 0, 0, 0.8);
	background-image: url(../img/prevnext.png);
	background-image: url(../img/prevnext.svg);
	
	background-repeat: no-repeat;
	/*background-color: red;*/

	
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	
}

.prevnextnav-off .flex-direction-nav a {
		  opacity: 0;
}

.prevnextsize-large .flex-direction-nav a {
	width: 46px;
	height: 100px;
}


/*.flex-direction-nav a:before {
 
	 content: "\f104";
	font: normal normal normal 14px/1 FontAwesome;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
 
 
  font-size: 40px;
  display: inline-block;
  color: #FFF;
}*/
/*.flex-direction-nav a.flex-next:before {
  content: '\f105';
}*/
.flex-direction-nav .flex-prev {
   left: -40px;
   background-position: left center;
}
.prevnextsize-large .flex-direction-nav .flex-prev {
	 left: -56px;
}

.flex-direction-nav .flex-next {
	right: -40px;
	background-position: right center;
}

.prevnextsize-large .flex-direction-nav .flex-next {
	 right: -56px;
}


.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 0.5;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 0.5;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}
.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: normal normal normal 14px/1 FontAwesome;
  font-size: 20px;
  display: inline-block;
  content: '\f28c';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f144';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  /**display: inline;*/
}
.flex-control-paging li a {
	width: 11px;
	height: 11px;
	width: 2.5vw;
	height: 2.5vw;
	
	max-width: 11px;
	max-height: 11px;
	
	display: block;
	background: #fff;
	cursor: pointer;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	border: 1px solid #bab5b3;
}
.flex-control-paging li a:hover {
   background: #ffa93c;
}
.flex-control-paging li a.flex-active {
  background: #ffa93c;

  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%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;

}





.ma-flexslider-thumbs img {display: block; opacity: .7; cursor: pointer;}
.ma-flexslider-thumbs img:hover {opacity: 1;}
.ma-flexslider-thumbs .flex-active-slide img {opacity: 1; cursor: default;}


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

@media only screen and (device-width: 720px),
       only screen and (max-width: 720px) {

	
	.imageposition-background .flex-caption {
		    font-size: 2.0vw;
			font-size: 1.4vw;

	}
	
	.flex-direction-nav a {
		width: 20px;
		height: 40px;
		margin: -20px 0 0;
	}
	.flex-direction-nav .flex-prev {
		left: -30px;
	}
	.flex-direction-nav .flex-next {
		right: -30px;
	}
	
	.flexslider .slides > li {
		min-height: calc(50 * 1vw) !important;
	}
}

@media (max-width: 480px) {
	.imageposition-background .flex-caption {
		    font-size: 1.6vw;
			}
} 
 
 
/*@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}
*/

/*@media (max-width: 780px) {
	.flex-caption {
		font-size:1.2vw;
	}

}*/