* {
  box-sizing: border-box;
}

ul{
  list-style: none;
}

.flex {
    display: flex;
}
.flex-content-end {
    justify-content: end;
}
.flex-content-between {
  justify-content: space-between;
}
a {
  text-decoration: none;
}
.color-white {
  color: #ffffff;
}
.color-black {
  color: #000000;
}
@font-face {
  font-family: 'substitus';
  font-display: block;
  src:
    url("http://qiniu.substitus-design.com/font/Substitus/Substitus.woff") format("woff"),
    url("http://qiniu.substitus-design.com/font/Substitus/Substitus.woff2") format("woff2"),
    url("http://qiniu.substitus-design.com/font/Substitus/Substitus-Regular.ttf") format("opentype");
}
.fadeOut {
  animation: fadeOut 1s forwards; /* 应用动画 */
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    display: none;
  }
}
.substitus {
  font-family: 'substitus', FangZhengHeiTi, serif;
}

@font-face {
  font-family: 'substituSerif';
  font-display: block;
  src: url("http://qiniu.substitus-design.com/font/SubstituSerif/SubstituSerif.woff") format("woff"),
  url("http://qiniu.substitus-design.com/font/SubstituSerif/SubstituSerif.woff2") format("woff2"),
  url("http://qiniu.substitus-design.com/font/SubstituSerif/SubstituSerif-Medium.ttf") format("opentype");
}

.substituSerif {
  font-family: 'SubstituSerif', FangZhengHeiTi, serif;
}

@font-face {
  font-family: 'new';
  font-display: block;
  src: url("./../font/NewFont-Regular.woff2") format("woff"),
  url("./../font/NewFont-Regular.woff2") format("woff2"),
  url("./../font/NewFont-Regular.ttf") format("opentype");
}
.new {
  font-family: 'new', FangZhengHeiTi, serif;
  font-size: 50px !important;
  z-index: 99999999999999 !important;
}
@font-face {
  font-family: 'FangZhengHeiTi';
  src: url("http://qiniu.substitus-design.com/font/FangZhengHeiTi-GBK-1.woff") format("woff"),
  url("http://qiniu.substitus-design.com/font/FangZhengHeiTi-GBK-1.ttf") format("opentype");
}
body {
  font-family: 'substitus', FangZhengHeiTi, serif;
  min-width: 375px !important;
  position: relative;
  line-height: 1.3;
  overflow-x: hidden;
}
.pin-spacer {
  overflow-x: clip  !important;
}

.signature {
  width: 81.25%;
  margin: 14.815vh  /* 160/10.8 */ auto 3.704vh;
  padding-bottom: 3.7vh;
}

.viewer {
  background-color: #ffffff;
}
.viewer .viewer-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 81.25%;
  margin: 0 auto;
  height: 100%;
}

.viewer .viewer-canvas > img {
  margin: 0 auto !important;
  max-width: 100% !important; max-height: 90% !important; height: auto !important; width: auto !important;
}

.pre {
  width: 35px;
  position: fixed;
  left: 1%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999999999999;
  cursor: pointer;
}
.next {
  width: 35px;
  position: fixed;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999999999999;
  cursor: pointer;
}

.close {
  width: 35px;
  position: fixed;
  right: 1%;
  top: 5vh;
  z-index: 99999999999999;
  cursor: pointer;
}

.m-next {
  width: 35px;
  position: fixed;
  right: 5%;
  bottom: 5vh;
  z-index: 99999999999999;
}

.to-top {
  width: 81.25%;
  margin: 20.37vh  /* 220/10.8 */ auto 7.13vh  /* 77/10.8 */;
}

.to-top > p {
  text-align: right;
  font-size: 0.0651171875rem  /* 16.67/256 */
}

.to-top > hr {
  width: 100%;
  border-color: #cfcfcf40;
  margin-top: 5px
}
.overlay {
  position: fixed;
  left: 0;
  top: 0;
  background: #ffffff;
  width: 100%;
  height: 100%
}
.none {
  display: none;
}
.swiper {
  --swiper-preloader-color: #2c2c2c;/* 单独设置预加载圆圈的颜色 */
}
.swiper-slide {
  background-color: #ffffff;
  text-align: center;
}
.swiper {
  width: 81.25%;
  height: calc(100vh - 70px);
  position: fixed;
  top: 70px;
  z-index: 99;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  overflow: visible;
}
.swiper-wrapper img {
  width: calc(100% - 2px);
  height: 100%;
  object-fit: contain;
}
#close {
  right: -30px;
  top: 0;
  position:absolute;
  width: 30px;
  z-index: 100;
  cursor: pointer;
}
.swiper-button-prev {
  width: 50px;
  left: -50px;
}

.swiper-button-next {
  width: 50px;
  right: -50px;
}

#table {
  width: calc(100% + 80px);border-spacing: 40px;border: 0;margin: -40px;
}

#table img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
table, tbody {
  vertical-align: top !important;
}

.font30 {
  font-size: 0.15625rem  /* 40/256 */;
}
.font20 {
  font-size: 0.109375rem  /* 28/256 */;
}
.font25 {
  font-size: 0.1301953125rem  /* 33.33/256 */;
}
.font35 {
  font-size: 0.1823046875rem  /* 46.67/256 */;
}
.font57 {
  font-size: 0.2994921875rem  /* 76.67/256 */;
}
.font95 {
  font-size: 0.4948046875rem  /* 126.67/256 */;
}
.pnone {
  display: none;
}

footer {
  width: 81.25%;
  position: relative;
  margin: 0 auto;
}

.main {
  width: 81.25%;
  margin: 0 auto;
  position: relative;
}

.text-justify {
  text-align: justify;
}

.viewer-container {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  z-index: 9999 !important;
}

.viewer-loading::after {
  border: 4px solid rgba(0, 0, 0, 0.82);
  border-left-color: rgb(255, 255, 255);
}

.text-underline {
  text-decoration: underline;
}
#xxxx {
  transition: all .3s ease-out 0s;
}
.translateY150 {
  transform: translateY(-150%);
}
.translateY0 {
  transform: translateY(0);
}

@media screen and (max-width: 1024px){
  .signature {
    width: 81.25%;
  }
  .pre, .next {
    display: none;
  }
  .close {
    right: calc(9% - 35px);
  }
}


@media screen and (max-width: 767px) {
  .mnone {
    display: none !important;
  }

  .pnone {
    display: block !important;
  }

  .signature {
    width: 90%;
  }

  .main {
    width: 90%;
  }

  .swiper {
    width: 90%;
  }

  .swiper-button-prev, .swiper-button-next {
    display: none;
  }

  .close {
    right: 5%;
  }

  html {
    font-size: 120px !important;
  }

  footer {
    width: 90%;
  }

  .to-top {
    width: 90%;
  }

  .viewer .viewer-canvas > img {
    margin-top: 0 !important;
  }

  .close {
    top: 5vh;
  }

  .viewer .viewer-canvas {
    width: 90%;
  }
}

