/* -------------------------------------------------------------------
Flex Slider
------------------------------------------------------------------- */
.home-section {
  position: relative;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  z-index: 0;
  background-size: cover;
}

/* controls */
.flex-direction-nav a,
.flex-control-nav > li > a {
  transition: all 0.3s ease-in-out 0s;
}

.flex-direction-nav a {
  position: absolute;
  display: block;
  height: 100%;
  width: 50%;
  top: 0;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  margin: 0;
}

.flex-direction-nav .flex-prev {
  opacity: 0;
  left: 0;
  cursor: url(../images/prev-light.png), e-resize;
}

.flex-direction-nav .flex-next {
  opacity: 0;
  right: 0;
  cursor: url(../images/next-light.png), e-resize;
}

.flex-control-nav {
  display: none;
  position: absolute;
  width: auto;
  left: 50%;
  bottom: 20px;
  z-index: 11;
  text-align: center;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.flex-control-nav > li {
  display: inline-block;
  margin: 5px 3px;
}

.flex-control-nav > li > a {
  background: transparent;
  border: 1px solid #fff;
  display: block;
  height: 6px;
  width: 6px;
  border-radius: 6px;
}

.flex-control-nav > li > a:hover,
.flex-control-nav > li > a.flex-active {
  background: #fff;
}

/* slides */
.header-slider {
  margin: 0 !important;
}

.header-slider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}

.header-slider,
.header-slider .flex-viewport {
  height: 100% !important;
  width: 100%;
  padding: 0;
  margin: 0;
}

.header-slider .slides {
  height: 100% !important;
  transition-delay: 1s;
}

.header-slider .flex-direction-nav a {
  width: 15%;
}

.header-slider .slides li {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100% !important;
  width: 100%;
  padding: 0;
  margin: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

/* Caption */
.slider-caption {
  position: absolute;
  bottom: 15%;
  right: 20%;
  left: 20%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

.slider-caption-content h1 {
  display: none;
  font-size: 1.7rem;
  line-height: 95%;
  color: rgba(255, 255, 255, 1);
}

@media (min-width: 992px) {
  .slider-caption-content h1 {
    display: block;
    font-size: 2.5rem;
  }
}

@media (min-width: 1400px) {
  .slider-caption-content h1 {
    display: block;
    font-size: 3rem;
  }
}

/* header color layer */
.header-layer-dark {
  color: #fff;
}

.header-layer-dark {
  background: #111;
}

.header-layer-gradient::before {
  position: absolute;
  /* background: linear-gradient(to bottom, rgba(77, 78, 83, 0) 0, rgba(77, 78, 83, 0) 0%, #8e8e8e 100%); */
  content: " ";
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}