/* =================================================================== */
/* Flexslider
====================================================================== */

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


/* Necessary Styles
====================================*/
.flexslider {margin: 0; padding: 0; min-height: 400px; background: url(../images/preloader.gif) no-repeat center; background-size: 32px;}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li {position: relative;  zoom: 1; display: none; -webkit-backface-visibility: hidden; margin: 0;}
.flexslider .slides img {width: 100%; display: block;position: relative;}
.flex-pauseplay span {text-transform: capitalize;}

/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flexslider {position: relative;  zoom: 1; /*z-index: 50;*/}

/* Clearfix for the .slides element */
.slides:after {content: "."; 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;}


/* Default Styles
====================================*/
.flexslider {
	zoom: 1;
}
section.slider {
    margin: 0 10px;
}

.ie7 .flexslider {margin-bottom: -30px;}

.flex-viewport {max-height: 2000px;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}


/* Direction Nav
====================================*/

.flex-direction-nav a {
	width: 35px;
	height: 35px;
	display: block;
	background-color: #000;
	bottom: 0;
	right: 0;
	float: none;
	position: absolute;
	cursor: pointer;
	text-indent: -9999px;
	background-color: #222;
	background: rgba(0, 0, 0, 0.45);
	*bottom: 50px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.flex-direction-nav a.flex-next {
	background-image: url(../images/slider-control-right.png);
	background-repeat: no-repeat;
	background-position: -22px center;
    background-size: auto 15px;
}

.flex-direction-nav a.flex-prev {
	margin-right: 40px;
	background-image: url(../images/slider-control-left.png);
	background-repeat: no-repeat;
	background-position: 11px center;
    background-size: auto 15px;
	left: 0;
	right: auto;
}

.flex-direction-nav a:hover.flex-next {
	background-position: 11px center;
}

.flex-direction-nav a:hover.flex-prev {
	background-position: -22px center;
}

.flex-direction-nav .flex-prev:hover,
.flex-direction-nav .flex-next:hover {
	background-color: rgba(0, 0, 0, 0.65);
	opacity: 1;
}

.subpage .flex-direction-nav a {bottom: 0px; right: 0px; *bottom: 30px;}
.slider {
    margin-bottom: 20px;
}

/* Control Nav
====================================*/
.flex-control-nav {
	position: absolute;	
	text-align: center;
	bottom: 91px;
    left: 28px;
}
	
.flex-control-nav li {
	margin: 0 0 0 5px;
	display: inline-block;
	zoom: 1;
	*display: inline;
}
	
.flex-control-paging li a {
	width: 13px;
	height: 13px;
	display: block;
	background: none;
	cursor: pointer;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
	border: 2px solid #fff;
}
	
.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active {
	background: #fff;
}
	
.flex-control-paging li a.flex-active {
	cursor: default;
}


/* Caption
====================================*/

.caption-centre {
    width: 70%;
    margin: 0 auto;
    position: relative;
    top: 0;
}
.slide-caption {
	position: absolute;
	display: block;
	left: 20px;
	top: 20px;
  	background: #000; /* IE Fix */
	background: rgba(228, 191, 175, 0.65);
	width: 90%;
	padding: 0px 5%;
}
	
.slide-caption h3 {
	color: white !important;
	font-size: 20px;
    margin: 0;
	line-height: 35px;
	text-align: center;
    font-weight: normal;
}

.slide-caption h3 span {
	color: #72B626;
}
	
.slide-caption p {
	margin:0;
	line-height: 19px;
	color: #bbb;
}

.slide-caption {
    margin: 0 0 20px 20px;
    padding: 30px 20px;
    width: 290px;
}
.slide-caption h3 {
    font-size: 30px;
    line-height: 32px;
    text-align: left;
}



@media only screen and (max-width: 1279px) {
.flex-control-nav { bottom: 70px;}
}
/* Above Mobile Sizes (devices and browser) ============================= */
@media only screen and (min-width: 768px) {

.flex-direction-nav a {
    height: 100px;
    top: 40%;
    bottom: auto;
    opacity: 0.6;
}

}

@media only screen and (max-width: 959px){
	.flex-control-nav {bottom: 30px; left: 10px;}
    .flex-control-paging li a{height:12px; width: 12px;}
    .slide-caption {
        margin-left: 40px;
        padding: 10px 20px;
        width: 220px;
    }
    .slide-caption h3 {
       font-size: 25px;
       line-height: 38px;
    }
}

/* Tablet Portrait size to standard 960 (devices and browsers) ========== */
@media only screen and (min-width: 768px) and (max-width: 959px) { 
    .flex-control-nav { bottom: 50px;}
   
}

@media only screen and (max-width: 767px) {
 .slide-caption{ width: 70%;right: 0; left:0; margin: 0 auto;}
    .slider { margin-bottom: 290px !important;}
    .slide-caption h3 { font-size: 24px; line-height: 26px;}
    
}

@media screen and (max-width:640px){
    .slide-caption h3{  line-height: 23px;}
}
@media only screen and (max-width: 479px) {
	 .slider { margin-bottom:319px!important;}
    .slide-caption h3 { font-size: 17px;  line-height: 17px;}
}
/* ===== More Internet Explorer Fixes ===== */

.ie7 .flex-direction-nav a.flex-next, .ie8 .flex-direction-nav a.flex-next {
	background-image: url(../images/ie-slider-control-right.png);
	background-repeat: no-repeat;
	background-position: -24px center !important;
    background-size: auto;
}
.ie7 .flex-direction-nav a.flex-prev, .ie8 .flex-direction-nav a.flex-prev {
	background-image: url(../images/ie-slider-control-left.png);
	background-repeat: no-repeat;
	background-position: 11px center !important;
    background-size: auto;
}