.main-banner {
  position: relative;
  background: #fbfbfb;
}
.main-banner .banner-inner {
  position: relative;
  z-index: 1;
}
.main-banner .banner-inner a {
  display: block;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.main-banner .banner-inner a.active {
  visibility: visible;
  opacity: 1;
}
.main-banner .banner-inner .golden-middle {
  display: block;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  max-width: 1920px;
  position: relative;
  z-index: 2;
}
.main-banner .banner-inner.big {
  height: 820px;
}
.main-banner .banner-inner.medium {
  height: 82.75vw;
}
.main-banner .banner-inner.small {
  height: 164vw;
}
.main-banner .controls-wrapper {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: calc(50% - 585px);
  right: calc(50% - 585px);
}
.main-banner .cms-block {
  position: absolute;
  width: 585px;
  max-width: calc(100% - 230px);
  bottom: 0;
  left: 0;
  border-left: 8px solid #000;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 35px 60px 45px;
}
.main-banner .cms-block h2 {
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 1.27;
}
.main-banner .cms-block p {
  font-size: 20px;
  line-height: 1.6;
}
.main-banner .controls {
  position: absolute;
  bottom: 30px;
  right: 0;
  color: #000;
  background: rgba(200, 200, 200, 0.7);
  padding: 0 20px;
  border-radius: 15px;
  line-height: 30px;
  height: 30px;
}
.main-banner .controls > * {
  float: left;
}
.main-banner .controls .count {
  font-weight: 500;
}
.main-banner .controls .progress-bar {
  width: 35px;
  height: 5px;
  overflow: hidden;
  background: #d0d0d0;
  border-radius: 1px;
  position: relative;
  margin: 12px 11px 0;
}
.main-banner .controls .progress-bar .progress {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  width: 0;
}
.main-banner .controls .control {
  width: 15px;
  height: 30px;
  position: relative;
  cursor: pointer;
}
.main-banner .controls .control:before {
  position: absolute;
  content: '';
  height: 6px;
  width: 6px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  top: 11px;
}
.main-banner .controls .control.prev {
  margin: 0 0 0 10px;
}
.main-banner .controls .control.prev:before {
  transform: rotate(45deg);
  left: 6px;
}
.main-banner .controls .control.next:before {
  transform: rotate(-135deg);
  left: 2px;
}
.main-banner:after {
  display: block;
  content: '';
  clear: both;
}
@media screen and (max-width: 1230px) {
  .main-banner .controls-wrapper {
    left: 0;
    right: 0;
  }
  .main-banner .cms-block {
    padding: 25px 40px 30px;
  }
  .main-banner .cms-block h2 {
    font-size: 32px;
  }
  .main-banner .cms-block p {
    font-size: 16px;
  }
  .main-banner .controls {
    right: 30px;
    color: #000;
  }
}
@media screen and (min-width: 992px) and (max-width: 1230px) {
  .main-banner .banner-inner.big {
    height: 66.67vw;
  }
}
@media screen and (max-width: 767px) {
  .main-banner .cms-block {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 15px 20px 20px;
  }
  .main-banner .cms-block h2 {
    font-size: 24px;
    margin: 0 0 12px;
  }
  .main-banner .cms-block p {
    font-size: 13px;
  }
  .main-banner .controls {
    position: absolute;
    right: 20px;
    bottom: calc(100% + 20px);
    padding: 0 15px;
    border-radius: 12px;
    line-height: 24px;
    height: 24px;
  }
  .main-banner .controls .count {
    font-size: 12px;
  }
  .main-banner .controls .progress-bar {
    margin: 10px 9px 0;
  }
  .main-banner .controls .control {
    display: none !important;
  }
}
