/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}

.flexslider .slides>li {
  display: none;
  -webkit-backface-visibility: hidden;
  position: relative;
}

.banner-text {
  position: absolute;
  z-index: 3;
  top: 35%;
  left: 15%;
  color: #fff;
}

.banner-text h2 {
  font-size: 48px;
  line-height: 64px;
}

.flexslider .slides img {
  width: 100%;
  display: block;
}

.flexslider .slides:after {
  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 {
  background: #ffffff;
  position: relative;
  zoom: 1;
}

.flexslider .slides {
  zoom: 1;
}

.flexslider .slides img {
  height: auto;
}

.flex-viewport {
  max-height: 2000px;
  transition: all 1s ease;
}

.loading .flex-viewport {
  max-height: 300px;
}

.carousel li {
  margin-right: 5px;
}

.flex-direction-nav {
  height: 0;
}

.flex-direction-nav li {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 45%;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.flex-direction-nav .flex-nav-prev {
  left: -56px;
}

.flex-direction-nav .flex-nav-next {
  right: -56px;
}

.flex-direction-nav a {
  display: block;
  width: 56px;
  height: 56px;
  color: rgba(0, 0, 0, 0);
}

.flex-direction-nav a:after {
  width: 56px;
  height: 56px;
  content: "";
  display: block;
}

.flex-direction-nav a.flex-prev:after {
  background: url(image/banner-arrow-left.svg) left top no-repeat;
}

.flex-direction-nav a.flex-next:after {
  background: url(image/banner-arrow-right.svg) left top no-repeat;
}


.flexslider:hover .flex-direction-nav .flex-nav-prev {
  opacity: 0.7;
  left: 24px;
}

.flexslider:hover .flex-direction-nav .flex-nav-prev:hover {
  opacity: 1;
}

.flexslider:hover .flex-direction-nav .flex-nav-next {
  opacity: 0.7;
  right: 24px;
}

.flexslider:hover .flex-direction-nav .flex-nav-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:hover {
  opacity: 1;
}



.flex-control-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 64px;
}

.flex-control-nav li {
  cursor: pointer;
  margin: 0 8px;
}

.flex-control-paging li a {
  width: 10px;
  height: 10px;
  display: block;
  background: rgba(0, 0, 0, 0.5);
  text-indent: -9999em;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.flex-control-paging li a:hover {
  border: 2px solid rgba(255, 255, 255, 1);
}

.flex-control-paging li a.flex-active {
  border: 2px solid rgb(0, 188, 86);
}

.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: 768px) {

  .flexslider {
    background: #ffffff;
    position: relative;
    zoom: 1;
    /* height: 480px; */
  }

  .banner-text {
    position: absolute;
    z-index: 3;
    bottom: 20%;
    top:auto;
    left: 10%;
    color: #fff;
  }

  .banner-text h1 {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 16px;
  }

  .banner-text p {
    font-size: 17px;
    line-height: 32px;
    font-weight: 400;
  }

  .flex-direction-nav li {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 45%;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }

  .flex-control-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 32px;
  }

  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }

  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}