/*
 * jQuery FlexSlider v1.8
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/*Custom*/
.captionbg{ width:100%; height:140px; position: absolute; bottom:0; background:rgba(0,0,0,0.3); display: block;  }
.headerbottomimg{  width:100%; height:70px; background:url("../../img/header_bottomimg.png");  z-index: 1; position: absolute; bottom:0; left:0; display:none;  }
 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {width:100%;border-top: 180px solid black;height: 100%;overflow:hidden;margin: 0;padding: 0;box-sizing:border-box;position: relative;display:block;position:relative;}
.flexslider .slides > li {display: none;  display:block; box-sizing: border-box;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;  display:block; box-sizing: border-box;}
.flex-pauseplay span {text-transform: capitalize;  display:block; box-sizing: border-box;}

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


/* FlexSlider Default Theme
*********************************/
.flexslider {background: #fff;border:0;position: relative;zoom: 1;/* margin-top:80px; */}
.flexslider .slides {zoom: 1;width: 100%;height: 100%;}
.flexslider .slides > li {position: relative;width:100%;height: 795px;background:#DDD;}

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

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {width: 860px; position: relative; right:20%; top:30px;   color: #fff; font-size: 18px; line-height: 18px; box-sizing:border-box; font-weight:600; }
.flex-bigcaption {width: 860px; position: relative; left:50%; margin-left:-430px;  color: #fff; font-size: 34px; line-height: 34px; box-sizing:border-box; font-weight:200; display:table;  height:140px; }
.flex-bigcaption span.htext{   color: #fff; font-size: inherit; line-height: inherit; display:table-cell; vertical-align:middle; height:140px; cursor:pointer; padding-right:40px;}
.flex-bigcaption span.hbutton{ cursor:pointer; color:inherit;  font-size:18px; text-align:center;  position:absolute; right:-40;  bottom:50px; margin-top:25px; line-height:20px; width:100px; padding:5px 20px;  }
/* Direction Nav */
.flex-direction-nav li a {width: 52px; height: 52px; margin: -13px 0 0; display: block; background: url("theme/bg_direction_nav.png") no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li .next {background-position: -52px 0; right: 20px;}
.flex-direction-nav li .prev {left: 0px;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%;position: absolute;bottom: 10px;text-align: center;}
.flexslider-carousel .flex-control-nav{ bottom:25px; }
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 13px; height: 13px; display: block; background: url("theme/bg_control_nav.png") no-repeat 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(255,255,255, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  z-index: 999;
  border-radius: 50%;
  position: relative;
  box-shadow:0 0 10px 2px rgba(0,0,0,0.3);  
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(255,255,255, 1);
  cursor: default;
  border-radius:50%;
}



.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -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 a:before {
  font-family: "flexslider-icon";
  font-size: 40px;
  display: inline-block;
  content: '';
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
  content: '';
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
  background-position: -56px 0;
  content:'';
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
}
.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: '';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '';
}


@media only screen and (max-width:960px){
    .flex-caption {width: 70%; position: relative; right:10%; top:30px;   color: #fff; font-size: 18px; line-height: 18px; box-sizing:border-box; font-weight:600; }
    .flex-bigcaption {width: 70%; position: relative; left:50%; margin-left:-40%;  color: #fff; font-size: 24px; line-height: 24px; box-sizing:border-box; font-weight:200; display:table;  height:140px; }
    .flex-bigcaption span.htext{   color: #fff; font-size: inherit; line-height: inherit; display:table-cell; vertical-align:middle; height:140px; cursor:pointer; padding-right:40px;}
    .flex-bigcaption span.hbutton{ cursor:pointer; color:inherit;  font-size:18px; text-align:center;  position:absolute; right:-40;  bottom:50px; margin-top:25px; line-height:20px; width:100px; padding:5px 20px;  }


}

@media only screen and (max-width:768px){
  .flexslider {border-top: 0px solid black;height: 525px;}
  .flexslider .slides > li {
    position: relative;
    width: 100%;
    height: 480px;
    background: #DDD;
  }
  

}

@media only screen and (max-width:600px){
  .flexslider {border-top: 0px solid black;height: 480px;}

  

}
