@charset "UTF-8";
@keyframes slide {
  0% {
    transform: translateZ(0) translateX(0);
  }
  100% {
    transform: translateZ(0) translateX(-50%);
  }
}
@keyframes circle {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
body {
  overflow-x: hidden;
}

.header {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}
.header .top-bar {
  background-color: #716053;
  min-height: 45px;
}

.footer {
  background-color: #716053;
  margin-top: 0 !important;
}
.footer .link {
  border-bottom: 0;
}

.wytx-bg-swiper {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  margin-top: 45px;
  height: calc(280px + 100vh);
  font-size: 0;
}
.wytx-bg-swiper .bg-slide {
  position: absolute;
  animation: slide 1000s linear 1s infinite;
  font-size: 0;
  *zoom: 1;
  height: 100%;
  width: calc(1.4651851852 * (280px + 100vh) * 30);
  backface-visibility: hidden;
  perspective: 1000;
}
.wytx-bg-swiper .bg-slide:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}
.wytx-bg-swiper .bg-slide img {
  display: block;
  float: left;
  height: 100%;
  font-size: 0;
  backface-visibility: hidden;
  perspective: 1000;
}

.book-container {
  height: calc(280px + 100vh);
  overflow: hidden;
}
.book-container .book-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: auto;
}
.book-container .book-wrapper .wytx-book {
  z-index: 998;
  transition: margin-left, left, top 0.3s;
  cursor: grab;
}
.book-container .book-wrapper .wytx-book .shadow {
  box-shadow: 0.5px 1.9px 30px 0 rgba(0, 0, 0, 0.15);
}
.book-container .book-wrapper .wytx-book .gradient {
  background-color: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
}
.book-container .book-wrapper .wytx-book .loader {
  position: absolute;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-top-color: rgba(0, 0, 0, 0.2);
  border-right-color: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(0, 0, 0, 0.2);
  border-radius: 100%;
  animation: circle infinite 0.75s linear;
}
.book-container .book-wrapper .bookmark {
  transform-origin: top left;
  z-index: 997;
}
.book-container .book-wrapper .bookmark.left {
  transition: none;
}
.book-container .book-wrapper .bookmark.left a {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.book-container .book-wrapper .bookmark.left a:hover {
  width: 40px;
}
.book-container .book-wrapper .bookmark.left a:hover:nth-child(1), .book-container .book-wrapper .bookmark.left a:hover:nth-child(2) {
  width: 40px;
}
.book-container .book-wrapper .bookmark.left a:hover span:nth-child(2) {
  display: none;
}
.book-container .book-wrapper .bookmark a {
  display: block;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0.5px 1.9px 8px 0 rgba(0, 0, 0, 0.45);
  padding: 10px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  margin-bottom: 5px;
  width: 40px;
}
.book-container .book-wrapper .bookmark a span {
  display: inline-block;
  color: #fff;
  font-size: 18px;
}
.book-container .book-wrapper .bookmark a span:nth-child(2) {
  display: none;
}
.book-container .book-wrapper .bookmark a:hover, .book-container .book-wrapper .bookmark a.active {
  width: 140px;
}
.book-container .book-wrapper .bookmark a:hover:nth-child(1), .book-container .book-wrapper .bookmark a:hover:nth-child(2), .book-container .book-wrapper .bookmark a.active:nth-child(1), .book-container .book-wrapper .bookmark a.active:nth-child(2) {
  width: 40px;
}
.book-container .book-wrapper .bookmark a:hover span, .book-container .book-wrapper .bookmark a.active span {
  display: inline-block;
  color: #fff;
  font-size: 18px;
}
.book-container .book-wrapper .bookmark a:hover span:nth-child(2), .book-container .book-wrapper .bookmark a.active span:nth-child(2) {
  display: inline-block;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}
.book-container .book-wrapper .bookmark a:nth-child(1) {
  background-color: #7b4424;
}
.book-container .book-wrapper .bookmark a:nth-child(2) {
  background-color: #d64d42;
}
.book-container .book-wrapper .bookmark a:nth-child(3) {
  background-color: #5e898b;
}
.book-container .book-wrapper .bookmark a:nth-child(4) {
  background-color: #747570;
}
.book-container .book-wrapper .bookmark a:nth-child(5) {
  background-color: #b7998d;
}
.book-container .book-wrapper .bookmark a:nth-child(6) {
  background-color: #ae5e52;
}
.book-container .book-wrapper .bookmark a:nth-child(7) {
  background-color: #c77b3a;
}
.book-container .book-wrapper .bookmark a:nth-child(8) {
  background-color: #6395b0;
}
.book-container .book-wrapper .bookmark a:nth-child(9) {
  background-color: #586a84;
}
.book-container .book-wrapper .bookmark a:nth-child(10) {
  background-color: #5e8489;
}
.book-container .book-wrapper .bookmark a:nth-child(11) {
  background-color: #3e5e95;
}
.book-container .book-wrapper .bookmark a:nth-child(12) {
  background-color: #667472;
}
.book-container .book-wrapper .book-prev {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 998;
  cursor: pointer;
  transform-origin: top left;
}
.book-container .book-wrapper .book-next {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 998;
  cursor: pointer;
  transform-origin: top right;
}

.book-toolbar-container {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: calc(280px + 100vh);
}
.book-toolbar-container .placeholder {
  height: calc(280px + 100vh - 88px);
}
.book-toolbar-container .book-toolbar-wrapper {
  position: sticky;
  bottom: 0;
  z-index: 999;
}
.book-toolbar-container .book-toolbar {
  width: 516.5px;
  height: 88px;
  margin: 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 999;
  background-image: url(../images/yj-wx-book-img-toolbar-bg.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
  text-align: center;
}
.book-toolbar-container .book-toolbar img {
  width: 46px;
  cursor: pointer;
}
.book-toolbar-container .book-toolbar img + img,
.book-toolbar-container .book-toolbar a + img {
  margin-left: 5px;
}
.book-toolbar-container .book-toolbar #arrow-right {
  transform: rotateY(180deg);
}
.book-toolbar-container .book-toolbar::after {
  content: "唐文龙版权所有，未经作者书面授权严禁以任何形式下载和连篇转载！";
  font-size: 12px;
  color: #fff;
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  word-break: keep-all;
  width: 100%;
}

#thumb-container {
  position: fixed;
  top: 50%;
  left: 5000px;
  transform: translateY(-50%);
  height: 300px;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  width: 100%;
  padding: 20px;
  box-shadow: 0px 4px 52px rgba(0, 0, 0, 0.8);
}
#thumb-container.show {
  left: 0;
}
#thumb-container .swiper-slide {
  width: auto;
}
#thumb-container .swiper-slide img {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

@media screen and (max-width: 992px) {
  .header .top .fr a.btn {
    margin-right: 0px;
    padding: 0 4px;
  }
  .wytx-bg-swiper {
    margin-top: 45px;
    height: calc(200px + 100vh);
  }
  .wytx-bg-swiper .bg-slide {
    width: calc(1.4651851852 * (200px + 100vh) * 30);
  }
  .book-container {
    height: calc(200px + 100vh);
  }
  .book-container .book-wrapper .bookmark.left a {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
  }
  .book-container .book-wrapper .bookmark.left a:hover {
    width: 20px;
  }
  .book-container .book-wrapper .bookmark.left a:hover:nth-child(1), .book-container .book-wrapper .bookmark.left a:hover:nth-child(2) {
    width: 20px;
  }
  .book-container .book-wrapper .bookmark.left a:hover span:nth-child(2) {
    display: none;
  }
  .book-container .book-wrapper .bookmark a {
    padding: 4px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    margin-bottom: 2px;
    width: 20px;
    text-align: center;
  }
  .book-container .book-wrapper .bookmark a span {
    display: inline-block;
    color: #fff;
    font-size: 7.2px;
  }
  .book-container .book-wrapper .bookmark a span:nth-child(2) {
    display: none;
  }
  .book-container .book-wrapper .bookmark a:hover {
    width: 20px;
  }
  .book-container .book-wrapper .bookmark a:hover:nth-child(1), .book-container .book-wrapper .bookmark a:hover:nth-child(2) {
    width: 20px;
  }
  .book-container .book-wrapper .bookmark a:hover span {
    font-size: 7.2px;
  }
  .book-container .book-wrapper .bookmark a:hover span:nth-child(2) {
    display: none;
  }
  .book-container .book-wrapper .book-prev,
  .book-container .book-wrapper .book-next {
    width: 52px;
  }
  .book-toolbar-container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: calc(200px + 100vh);
  }
  .book-toolbar-container .placeholder {
    height: calc(200px + 100vh - 60px);
  }
  .book-toolbar-container .book-toolbar {
    width: 320px;
    height: 60px;
  }
  .book-toolbar-container .book-toolbar img {
    width: 35px;
    cursor: pointer;
  }
  .book-toolbar-container .book-toolbar img + img,
  .book-toolbar-container .book-toolbar a + img {
    margin-left: 2px;
  }
  .book-toolbar-container .book-toolbar::after {
    bottom: auto;
    top: -35px;
  }
}