/*
 * jQuery FlexSlider v2.4.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
 * ====================================================================================================================*/
@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;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.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 {

}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  background: #ffffff;
  border:none;
  position: relative;
  zoom: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
}
.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-control-nav {
  width: 100%;
  position: absolute;
  bottom: 4px;
  text-align: center;
  z-index: 20;
}
.flex-control-nav li {
  margin: 0 2px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: transparent;
  cursor: pointer;
  text-indent: -9999px;
  border: solid 1px #999;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #D5A31A;
}
.flex-control-paging li a.flex-active {
  background: #d7d7d7;
  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;
  -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;
}

 .flex-direction-nav {
	 width: 100%;
	 padding: 0 5%;
	position: absolute; top: 0; bottom:0; left: 0; right:0; margin: auto; height: 50px;
	z-index: 9999;
	
 }
 .flex-direction-nav .flex-prev {
	 width: 50px; height: 50px;
	 background: url("../images/left_opt.png") no-repeat 50% 50%;
position: absolute;
    opacity: 1;
    right: 100px; top: 50%;
  }
  .flex-direction-nav .flex-next {
	   width: 50px; height: 50px;
	   background: url("../images/right_opt.png") no-repeat 50% 50%;
	 position: absolute;
    opacity: 1;
   right: 50px;top: 50%;
  }
  
 .flex-caption {
  width: 100%; 
  position: absolute;
  padding: 0 5%;
  height: 150px;
  font-family: 'legacy';
  color: #fff;
  font-size: 20px;
  line-height: 1.2em;
  overflow: hidden;
     font-family: 'Open Sans', sans-serif;
}
.flex-caption b {font-weight: 100 !important; background: #01a651; color: #fff; padding: 8px 12px; font-size: 14px;
  cursor: pointer; margin-top: 50px !important;
    transition: all 0.1s;
			-moz-transition: all 0.1s; /* Firefox 4 */
			-webkit-transition: all 0.1s; /* Safari and Chrome */
			-o-transition: all 0.1s; /* Opera */
}

.flex-caption b:hover {background: #fff; color: #3c526d;}
.cap1 {bottom: 17%; line-height: 1.8em;}



/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .cap1 {bottom: -25% !important; line-height: 2em; font-size: 14px;}
    .flex-caption b {padding:8px;}
}

@media screen and (max-width: 460px) {
  .cap1 {bottom: -55% !important;  font-size: 14px;}
}