/**
 *
 * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). 
 * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc..  
 * 
 * This source code is licensed under the Apache license.
 * See LICENSE file in the project root for license information.
 *
 */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/* ------------- new ------------- */
.auxo-sp-img-preview.img-preview-wrap {
  position: fixed;
  overflow: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  display: flex;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-fade-leave {
  opacity: 0;
  transition: opacity 0.3s;
}
.auxo-sp-img-preview.img-preview-wrap:hover .img-preview-fade-leave {
  opacity: 1;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-tips {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
  color: #fff;
  font-size: 14px;
  padding: 24px;
  line-height: 20px;
  z-index: 1;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-tips-separator {
  padding: 0 12px;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-body .img-preview-wrapper {
  text-align: center;
  user-select: none;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-body .img-preview-wrapper .img-preview-img-content {
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-body .img-preview-wrapper .img-preview-img-content .img-preview-loading-icon {
  position: absolute;
  top: calc(50% - 16px);
  left: calc(50% - 16px);
  font-size: 32px;
  color: #fff;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-body .img-preview-wrapper .img-preview-img-content img {
  cursor: grab;
  user-select: none;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview {
  margin: auto;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-title {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  font-weight: bold;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator {
  width: 521px;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 3px;
  padding: 16px 32px 16px 24px;
  box-shadow: 0px 6px 32px rgba(31, 37, 51, 0.06);
  font-size: 24px;
  display: flex;
  justify-content: left;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator.show-part {
  width: 465px;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-page,
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-scale,
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-rotate,
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-recover,
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-download {
  display: flex;
  line-height: 24px;
  height: 24px;
  vertical-align: top;
  position: relative;
  color: #252931;
  margin: 0 0;
  align-items: center;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-page {
  display: flex;
  font-size: 16px;
  flex: 0 0 144px;
  justify-content: space-between;
  padding-right: 24px;
  margin-right: 32px;
  border-right: 1px solid #eeeff0;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-left {
  display: inline-block;
  cursor: pointer;
  font-size: 24px;
  transform: rotate(180deg);
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-right {
  font-size: 24px;
  cursor: pointer;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-scale {
  flex: 0 0 125px;
  display: flex;
  justify-content: space-between;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-percent {
  font-size: 16px;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-zoom-out {
  cursor: pointer;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-zoom-in {
  margin-top: 2px;
  cursor: pointer;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-rotate,
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-recover,
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-download {
  flex: 1;
  justify-content: flex-end;
  cursor: pointer;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-operator-disabled {
  color: #dcdee1;
  cursor: not-allowed !important;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-close {
  width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 50%;
  box-shadow: 0px 6px 32px rgba(31, 37, 51, 0.06);
  top: 40px;
  right: 32px;
  position: fixed;
  cursor: pointer;
  border: 0;
  outline: none;
  color: #252931;
  z-index: 10;
  transition: all 0.3s;
  background-color: #fff;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-close:hover {
  color: #252931;
  background-color: #bcbdc0;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-header {
  padding: 13px 20px 14px;
  border-radius: 5px 5px 0 0;
  background: #fff;
  color: #666;
  border-bottom: 1px solid #e9e9e9;
}
.auxo-sp-img-preview.img-preview-wrap .img-preview-footer {
  border-top: 1px solid #e9e9e9;
  padding: 10px 20px;
  text-align: right;
  border-radius: 0 0 5px 5px;
}
.img-preview-mask {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  z-index: 1010;
}
.img-preview-mask.img-preview-mask-hidden {
  display: none;
}
