/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* 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;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@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;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
  width: 100%;
  display: block;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.flex-pauseplay span {text-transform: capitalize;}

/* 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;}


/* custom flexslider styles */
.flexslider {
  margin-bottom: 20px;
  position: relative;
  zoom: 1;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.flexslider .slides {
  zoom: 1;
}
.flex-direction-nav a {
  color: #555;
}
.flex-direction-nav a:before {
  font-family: "icomoon";
  line-height: 1;
  display: inline-block;
}
/* slider */
#slider {
  height: 450px;
  overflow: hidden;
}
/*#slider .flex-direction-nav a {*/
  /*display: block;*/
  /*width: 80px;*/
  /*height: 80px;*/
  /*margin: -40px 0 0;*/
  /*position: absolute;*/
  /*top: 50%;*/
  /*z-index: 10;*/
  /*overflow: hidden;*/
  /*cursor: pointer;*/
  /*background-color: #fff;*/
  /*background-color: hsla(0, 100%, 100%, .8);*/
  /*padding-top: 10px;*/
/*}*/
/*#slider .flex-direction-nav a:before {*/
  /*font-size: 60px;*/
/*}*/
/*#slider .flex-direction-nav .flex-prev {*/
  /*left: 0;*/
  /*padding-left: 28px;*/
/*}*/
/*#slider .flex-direction-nav .flex-next {*/
  /*right: 0;*/
  /*text-align: right;*/
  /*padding-right: 28px;*/

/*}*/
#slider .slides > li {
  height: 100%;
  background: #fff;
  box-sizing: border-box;
}
#slider .flex-viewport {
  height: 100%;
}
#slider .slides {
  height: 100%;
}

#slider .flex-direction-nav a {
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
  outline: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 50px;
  display: block;
  text-indent: -9999999px;
  background: #fff;
}

#slider .flex-direction-nav a.flex-prev {
  left: 0;
}
#slider .flex-direction-nav a.flex-next {
  right: 0;
}



#slider .flex-direction-nav a.flex-prev:before  {
  position: absolute;
  content: '';
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  /*width: 100%;*/
  /*height: 100%;*/
  /*background: url("../img/str_left.png") no-repeat 50% 50% / 70% auto;*/
  /*display: block;*/
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-right: 10px solid grey;
  border-bottom: 15px solid transparent;
}
#slider .flex-direction-nav a.flex-prev:after {
  position: absolute;
  content: '';
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  /*width: 100%;*/
  /*height: 100%;*/
  /*display: block;*/
  /*background: url("../img/str_left_hover.png") no-repeat 50% 50% / 70% auto;*/
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-right: 8px solid white;
  border-bottom: 13px solid transparent;
}
#slider .flex-direction-nav a.flex-next:before {
  position: absolute;
  content: '';
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  /*width: 100%;*/
  /*height: 100%;*/
  /*background: url("../img/str_right.png") no-repeat 50% 50% / 70% auto;*/
  /*display: block;*/
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-left: 10px solid grey;
  border-bottom: 15px solid transparent;
}
#slider .flex-direction-nav a.flex-next:after {
  position: absolute;
  content: '';
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  /*width: 100%;*/
  /*height: 100%;*/
  /*background: url("../img/str_right.png") no-repeat 50% 50% / 70% auto;*/
  /*display: block;*/
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-left: 8px solid white;
  border-bottom: 13px solid transparent;
}
#slider .flex-direction-nav a.flex-next:hover:after {
  border-left-color: #dc281e;
}
#slider .flex-direction-nav a.flex-prev:hover:after {
  border-right-color: #dc281e;
}
#slider .flex-direction-nav a.flex-next:hover:before {
  border-left-color: #fff;
}
#slider .flex-direction-nav a.flex-prev:hover:before {
  border-right-color: #fff;
}
#slider .flex-direction-nav a:hover {
  background: #dc281e;
}



























/* please ignore my missing custom icon fonts */
#slider .flex-direction-nav a.flex-prev:before  { content: '\e603'; }
#slider .flex-direction-nav a.flex-next:before  { content: '\e604'; }
@media screen and (min-width: 1400px) {
  #slider {
    height: 500px;
  }
}
/* carousel */
#carousel ul li {
  float: none !important;
  opacity: 1 !important;
}
#carousel .flex-direction-nav a {
  display: none;
  width: 100%;
  height: 30px;
  line-height: 30px;
  position: absolute;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  background-color: #fff;
  background-color: hsla(0, 100%, 100%, .8);
  text-align: center;
}
#carousel .flex-direction-nav a:before {
  font-size: 40px;
  line-height: 30px;
}
#carousel .flex-direction-nav .flex-prev {
  top: 0;
}
#carousel .flex-direction-nav .flex-next {
  bottom: 0;
}
/* please ignore my missing custom icon fonts */
#carousel .flex-direction-nav a.flex-prev:before  { content: '\e606'; }
#carousel .flex-direction-nav a.flex-next:before  { content: '\e602'; }
#carousel img {
  display: block;
  opacity: .5;
  cursor: pointer;
  transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
}
#carousel .flex-active-slide img {
  opacity: 1;
  cursor: default;
}
#carousel img:hover {
  opacity: 1;
}