﻿.mianSwiper {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 20px;
  max-height: 550px;
  height: 550px;
}
.mianSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.mianSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mianSwiper .swiper-button-next,
.mianSwiper .swiper-button-prev {
  margin-top: -24px;
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  z-index: 100;
  outline: none;
  cursor: pointer;
  transition: 0.2s;
  display: none;
}
.mianSwiper .swiper-button-prev {
  background: url(../image/arrow_prev.png) no-repeat center;
  background-size: 28px;
  border: none;
  text-indent: -9999px;
  left: 5px;
  opacity: 0.7;
}
.mianSwiper .swiper-button-next {
  background: url(../image/arrow_next.png) no-repeat center;
  background-size: 28px;
  border: none;
  text-indent: -9999px;
  right: 5px;
  opacity: 0.7;
}
.mianSwiper:hover .swiper-button-next,
.mianSwiper:hover .swiper-button-prev {
  display: block;
}
.thumbsSwiper {
  overflow: hidden;
}
.thumbsSwiper .swiper-wrapper {
  -ms-display: flex;
  -webkit-display: flex;
  display: flex;
  -ms-flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.thumbsSwiper .swiper-wrapper .swiper-slide {
  border: 1px solid #f5f5f5;
  cursor: pointer;
  display: table-cell;
  aspect-ratio: 1 / 1;
}
.thumbsSwiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: middle;
  transition: 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.thumbsSwiper .swiper-wrapper .swiper-slide-thumb-active {
  border: 2px solid red;
}
@media screen and (max-width: 900px) {
  .mianSwiper {
    height: auto;
  }
}
