.flex-container{position: relative;margin: 0 auto;}
.flex-direction-nav {
display: none;
}
/* 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;
}



/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}


/* Clearfix for the .slides element */


html[xmlns] .slides { display: block; }
* html .slides { height: 1%; }



/* Theme Styles */
.flexslider {
	position: relative;
	zoom: 1;
	background: #ffffff;
/*	height:425px;*/
}

/* Edit it if you want */
.flex-viewport {
        border: 0;
}

.flexslider .slides { zoom: 1; }

.flexslider .slides li {height:400px;}

/* Direction Nav */
.flex-direction-nav a {
	display: block;
	position: absolute;
	margin: -17px 0 0 0;
	width: 35px;
	height: 35px;
	top: 50%;
	cursor: pointer;
	text-indent: -9999px;
	z-index: 9999;

	background-color: #82d344;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#82d344), to(#51af34));
	background-image: -webkit-linear-gradient(top, #82d344, #51af34);
	background-image: -moz-linear-gradient(top, #82d344, #51af34);
	background-image: -o-linear-gradient(top, #82d344, #51af34);
	background-image: linear-gradient(to bottom, #82d344, #51af34);
}

.flex-direction-nav a:before {
	display: block;
	position: absolute;
	content: '';
	width: 9px;
	height: 13px;
	top: 11px;
	left: 11px;
	background: url(../img/arrows.png) no-repeat;
}

.flex-direction-nav a:after {
	display: block;
	position: absolute;
	content: '';
	width: 0;
	height: 0;
	top: 35px;
}

.flex-direction-nav .flex-next {
	right: -5px;

	-webkit-border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 3px;
}

.flex-direction-nav .flex-prev {
	left: -5px;

	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
}

.flex-direction-nav .flex-next:before { background-position: -9px 0; left: 15px; }
.flex-direction-nav .flex-prev:before { background-position: 0 0; }

.flex-direction-nav .flex-next:after {
	right: 0;
	border-bottom: 5px solid transparent;
	border-left: 5px solid #31611e;
}

.flex-direction-nav .flex-prev:after {
	left: 0;
	border-bottom: 5px solid transparent;
	border-right: 5px solid #31611e;
}



/* Control Nav */
.flexslider .flex-control-nav {
	position: relative;
	width: 100%;
    padding: 5px 0px;
	text-align: center;
}

.flex-control-nav {
  bottom: -365px;
  position: absolute;
  right: 20px;
  text-align: center;
  width: auto;
  z-index: 1000;
}

.flex-control-nav li {
	display: inline-block;
	zoom: 1;
}

.flex-control-paging li a {
	display: block;
	cursor: pointer;
	text-indent: -9999px;
	width: 12px;
	height: 12px;
	margin: 0 3px;
	background-color: #b6b6b6 \9;

	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;

	-webkit-box-shadow: inset 0 0 0 2px #b6b6b6;
	-moz-box-shadow: inset 0 0 0 2px #b6b6b6;
	box-shadow: inset 0 0 0 2px #b6b6b6;
}

.flex-control-paging li a.flex-active {
	background-color: #11175E;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#11175E), to(#11175E));
	background-image: -webkit-linear-gradient(top, #11175E, #11175E);
	background-image: -moz-linear-gradient(top, #11175E, #11175E);
	background-image: -o-linear-gradient(top, #11175E, #11175E);
	background-image: linear-gradient(to bottom, #11175E, #11175E);

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}



/* Captions 
.flexslider .slides p {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 0 5px;
	margin: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 20px;
	color: white;
	background-color: #222222;
	background: rgba(0,0,0, .9);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
} */

 .sliderText {
    margin: 0 !important;
    padding: 8% 5% 2% 38%;
    text-align: right;
    width: 91%;
    float:right;
	color:white;
    font-size:1.85vw;
	z-index: 100;
	white-space: normal;
	line-height: 34px;
	font-weight: 400;
	font-family: AvenirNext-Regular;	
 }

#slide1 .sliderText {
	color:#00000;
}


@media only screen and (max-width: 1024px){
    .sliderText {
		font-size: 3vw;
    }
}

@media only screen and (max-width: 768px){
    .sliderText {
        font-size: 2.75vw;
    }
}

@media only screen and (max-width: 625px){
    .sliderText {
        font-size: 4.0vw;
    }
}


@media only screen and (max-width: 550px){
    .sliderText {
        font-size: 4.5vw;
    }
}


@media only screen and (max-width: 411px){
    .sliderText {
		font-size: 5.3vw;
    }
}

@media only screen and (max-width: 375px){
    .sliderText {
		font-size: 5.3vw;
    }
}

@media only screen and (max-width: 360px){
    .sliderText {
		font-size: 5.3vw;
    }
}

@media only screen and (max-width: 320px){
    .sliderText {
		font-size: 5.3vw;
    }
}

	
mark { 
	border-radius: 5px;
	background-color: rgb(17, 23, 94);
    color: white;
    font-size:2rem;
}	

/* SLIDER button styling */

.flex-control-paging li a.flex-active {
background: #ffffff !important;
}

.flex-control-paging li a:hover {
background: #ffffff !important;
}

