.bx-wrapper {
  position: relative;
}
.bx-wrapper .bx-pager {
  position: absolute;
  width: 100%;
  bottom: -40px;
  z-index: 100;
  line-height: 1;
  text-align: center;
}
.bx-wrapper .bx-pager-item {
  display: inline-block;
  width: 20px;
  margin: 0 10px 10px;
  vertical-align: middle;
}
.bx-wrapper .bx-pager-item a {
  display: block;
  width: 100%;
  height: 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
  border-radius: 50%;
  text-indent: -9999px;
  opacity: 1;
}
.bx-wrapper .bx-pager-item a.active {
  background: #fff;
}
.bx-wrapper .bx-pager-item a:hover {
  background: #fff;
}
.bx-wrapper .bx-controls {
  width: 100%;
  margin: 0 auto 0;
  text-align: center;
  z-index: 100;
}
.bx-wrapper .bx-controls .bx-controls-direction {
  position: absolute;
  top: 50%;
  width: 100%;
}
.bx-wrapper .bx-controls .bx-prev,
.bx-wrapper .bx-controls .bx-next {
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 40px;
  margin-top: -20px;
  background: url(../img/icon-slide.svg) no-repeat;
  background-size: 100%;
  text-indent: -9999px;
  z-index: 100;
  -webkit-transition: all ease 0.2s;
  -moz-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  transition: all ease 0.2s;
}
.bx-wrapper .bx-controls .bx-prev:hover,
.bx-wrapper .bx-controls .bx-next:hover {
  opacity: 1;
}
.bx-wrapper .bx-controls .bx-prev {
  left: 0;
  transform: scale(-1, 1);
}
.bx-wrapper .bx-controls .bx-prev:hover {
  transform: scale(-1, 1) translateX(-2px);
}
.bx-wrapper .bx-controls .bx-next {
  right: 0;
}
.bx-wrapper .bx-controls .bx-next:hover {
  transform: translateX(2px);
}

.bx-custom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  width: 260px;
  max-width: 100%;
  margin: auto;
}
.bx-custom .bx-prev,
.bx-custom .bx-next {
  position: relative;
  top: 0;
  display: inline-block;
  width: 20px;
  height: 40px;
  margin-top: -20px;
  background: url(../img/icon-slide.svg) no-repeat;
  background-size: 100%;
  text-indent: -9999px;
  z-index: 100;
  -webkit-transition: all ease 0.2s;
  -moz-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  transition: all ease 0.2s;
}
.bx-custom .bx-prev:hover,
.bx-custom .bx-next:hover {
  opacity: 1;
}
.bx-custom .bx-prev {
  float: left;
}
.bx-custom .bx-prev:hover {
  transform: scale(-1, 1) translateX(-2px);
}
.bx-custom .bx-next {
  float: right;
}
.bx-custom .bx-next:hover {
  transform: translateX(2px);
}

@media screen and (max-width: 768px) {
  .bx-wrapper {
    margin: 0 auto;
    width: 100%;
  }
  .bx-wrapper .bx-pager {
    bottom: -35px;
  }
  .bx-wrapper .bx-pager-item {
    margin: 0 3px 6px;
  }
  .bx-wrapper .bx-controls .bx-prev, .bx-wrapper .bx-controls .bx-next {
    width: 22px;
    height: 25px;
    margin-top: -12px;
  }
  .bx-wrapper .bx-controls .bx-prev {
    left: -4%;
  }
  .bx-wrapper .bx-controls .bx-next {
    right: -4%;
  }
}
