/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-imagepreview {
  width: 100%;
  height: 100%;
}
.nut-imagepreview-swiper {
  height: 100%;
  width: 100vw;
  background-color: transparent;
}
.nut-imagepreview-index {
  position: fixed;
  z-index: 2002;
  top: scale-px(50px);
  text-align: center;
  left: 0;
  right: 0;
  background: transparent;
  color: #ffffff;
}
.nut-imagepreview-index .arrow {
  position: absolute;
  left: scale-px(15px);
  transform: rotateZ(180deg);
}
.nut-imagepreview-close {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2002;
  background: transparent;
  color: #ffffff;
}
.nut-imagepreview-close .nut-icon {
  color: #ffffff;
}
.nut-imagepreview-close.top-right {
  top: scale-px(50px);
  right: scale-px(20px);
}
.nut-imagepreview-close.top-left {
  top: scale-px(50px);
  left: scale-px(20px);
}
.nut-imagepreview-close.bottom {
  bottom: scale-px(50px);
  left: 0;
  right: 0;
  text-align: center;
}
.nut-imagepreview-pop {
  width: 100%;
  height: 100%;
  max-width: 100% !important;
  background: transparent !important;
  display: flex;
  align-items: center;
}
.nut-imagepreview-swiper .nut-imagepreview-swiper-item,
.nut-imagepreview-swiper .nut-swiper-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.nut-imagepreview-swiper .nut-imagepreview-swiper-item .nut-image,
.nut-imagepreview-swiper .nut-imagepreview-swiper-item .nut-video,
.nut-imagepreview-swiper .nut-swiper-item .nut-image,
.nut-imagepreview-swiper .nut-swiper-item .nut-video {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nut-imagepreview-swiper .nut-imagepreview-swiper-item .nut-image-preview-box,
.nut-imagepreview-swiper .nut-swiper-item .nut-image-preview-box {
  width: 100%;
}
.nut-imagepreview-swiper .nut-imagepreview-swiper-item .nut-video video,
.nut-imagepreview-swiper .nut-swiper-item .nut-video video {
  object-fit: contain;
}

[dir=rtl] .nut-imagepreview-index .arrow,
.nut-rtl .nut-imagepreview-index .arrow {
  left: auto;
  right: scale-px(15px);
  transform: rotateZ(-180deg);
}
[dir=rtl] .nut-imagepreview-close.top-right,
.nut-rtl .nut-imagepreview-close.top-right {
  right: auto;
  left: scale-px(20px);
}
[dir=rtl] .nut-imagepreview-close.top-left,
.nut-rtl .nut-imagepreview-close.top-left {
  left: auto;
  right: scale-px(20px);
}