.swiper-container {
  width: 100%;
  max-width: 800px;
  height: 300px;
  max-height: 550px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.gallery-top {
  height: 80%;
  width: 100%;
}

.gallery-thumbs {
  padding: 10px 0;
  height: 130px;
  box-sizing: border-box;
}

.gallery-thumbs .swiper-slide {
  height: 100%;
  opacity: 0.4;
}

.gallery-thumbs .swiper-slide-thumb-active {
  height: 100%;
  opacity: 1;
}

.detail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 40px 0;
  width: 100%;
  max-width: 1000px;
}

.detail__button {
  position: relative;
  width: 100%;
}

.detail__button-next,.detail__button-prev {
  top: 40px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(188, 42, 41, 0.5);
  border-radius: 50%;
  background-size: 15px auto;
}

.detail__button-next:after,.detail__button-prev:after {
  content: '';
  position: absolute;
  top: -7px;
  left: -7px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

.detail__button-next:focus,.detail__button-prev:focus {
  outline: none;
}

.detail__button-next {
  background-image: url(/assets/svg/slider-arrow.svg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.detail__button-prev {
  background-image: url(/assets/svg/slider-arrow.svg);
}

@media only screen and (min-width: 920px) {
  .detail__button {
    top: -260px;
  }

  .detail__button-next {
    right: -60px;
  }

  .detail__button-prev {
    left: -60px;
  }
}

@media only screen and (max-width: 919px) {
  .gallery-thumbs {
    display: none;
  }
}
