/* ====================================================================================================================
 * 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;
      position: relative;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
}
.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;
  position: relative;
  zoom: 1;
}
.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;
}
.site-header .flex-direction-nav {
  display: none;
}

.flex-direction-nav{position: absolute; top:-52px; right:0;}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 20px;
  height: 20px;
  margin:0;
  position: absolute;
  top: 0;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  font-size:0;
  -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;
}
.flex-direction-nav .flex-prev {
  right:27px; background:url(../images/flex-prev.png) no-repeat;
}
.flex-direction-nav .flex-prev:hover {
  background:url(../images/flex-prev2.png) no-repeat;
}
.flex-direction-nav .flex-next {
  right:0;
  background:url(../images/flex-next.png) no-repeat;
}
.flex-direction-nav .flex-next:hover {
  right:0;
  background:url(../images/flex-next2.png) no-repeat;
}
.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-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
	width: 1000px;
    bottom: 0px;
	margin:-70px auto 0 auto;
    text-align: right;
}
.flexslider2{position:relative;}
.flexslider2 .flex-viewport{height:165px !important}
.flexslider2 .flex-control-nav {display:none;}

.flexslider2  ul.slides{}
.flexslider .caption{
	width: 100%;
	position: absolute;
	margin:0;
	bottom:0px;
	text-align: center;
	height: 70px;
	z-index:99;
	background: rgba(0, 0, 0, 0.50) /* url(../images/bg-boder.png) repeat-x left bottom */;
}
.flexslider .caption ul{padding:0; margin:0;}
.flexslider .caption ul li{
	font-size:32px;
	font-weight:bold;
	color:#CCC;
	line-height:70px;
	display:inline-block;
	padding: 0 0 0 40px;
    margin: 0 20px 0 0;
	background:url(../images/bg-caption.png) no-repeat left center;
	text-transform: uppercase;
}
.flexslider .caption ul li.first{background:none;}
.flexslider .caption ul li:first-child{background:none;}

.flex-control-nav li {
  margin: 0 3px;
  display: inline-block;
  font-size:0;
  z-index: 99;
  position: relative;
}
.flex-control-paging li a {
  width: 14px;
  height: 14px;
  display: block;
  background: #c5c0ba;
  cursor: pointer;
  border-radius: 50%;
  border:solid 2px #c5c0ba;
  margin:28px 0;
}
.flex-control-paging li a:hover {
  background: none;
  border:solid 2px #fff;
}
.flex-control-paging li a.flex-active {
  background: none;
  border:solid 2px #fff;
}
.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;
}
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 1023px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: inherit;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 0;
  }
  .flexslider .caption ul li{font-size:24px;}
  .flex-control-nav{width:730px;}
  .flexslider .slides > li {overflow: hidden;}
}
@media screen and (max-width: 767px) {
.flexslider .caption ul li{font-size:20px;}
.flex-control-nav{width:620px;}
.flexslider2 .flex-viewport{height:115px !important;}
}
@media screen and (max-width: 639px) {
.flexslider .caption ul li{font-size:16px;}
.flex-control-nav{width:450px;}
.flexslider .caption{text-align:left;}
.flexslider .caption ul li{padding:0 0 0 25px; margin:0 10px 0 0;}
.flexslider{margin:120px 0 0 0;}
.flex-control-nav{display:none;}
.flexslider .caption ul li{line-height:40px;}
.flexslider .caption{height:40px;}
.flexslider2 .flex-viewport{height:180px !important;}
}
@media screen and (max-width: 479px) {
.flexslider .caption ul li{font-size:14px;}
.flexslider{margin: 108px 0 0 0;}
.flexslider2 .flex-viewport{height:200px !important;}
}
@media screen and (max-width: 380px) {
.flexslider2 .flex-viewport{height:215px !important;}
}
@media screen and (max-width: 350px) {
.flexslider2 .flex-viewport{height:207px !important;}
}


