/* 全局变量 */
:root {
  --BackgroundColor: #fff;
  --NavFontColor: #1e2226;
  --SmallFontSize: 12px;
  --NormalFontSize: 14px;
  --BigFontSize: 16px;
  --BigerFontSize: 18px;
  --TitleFontSize: 24px;
  --BorderLineColorLight: #f7f7f7;
  --BorderLineColorDark: #ccc;
  --CurrentColor: #f05952;
  --TitleColor: #333;
  --LongTextColor: #666;
  --ShortTextColor: #999;
  --ButtonBackColor: #e6e6e6;
}

/* header */
.yc-header {
  background: #fff;
  margin-bottom: 20px;
  min-width: 1100px;
}

.yc-logo {
  position: relative;
  font-size: 0;
  height: 80px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-width: 1100px;
}

.yc-logo img {
  width: 167px;
  margin-right: 127px;
}

.yc-navs {
  font-size: var(--BigFontSize);
  color: var(--NavFontColor);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.yc-navs a {
  color: currentColor;
  width: 60px;
  text-align: center;
  display: inline-block;
  margin: 0 20px;
  position: relative;
}

.yc-navs a.cur {
  color: var(--CurrentColor);
}

.yc-navs a.cur::after {
  content: "";
  position: absolute;
  bottom: -90%;
  left: 0;
  width: 100%;
  height: 2px;
  background: red;
}

.yc-nav__search {
  width: 300px;
  height: 40px;
  border: 1px solid var(--BorderLineColorDark);
  border-radius: 2px;
  position: relative;
  pointer-events: none;
}

.yc-nav__search input {
  pointer-events: auto;
  outline: none;
  background: transparent;
  border: none;
  padding: 0 50px 0 15px;
  width: 100%;
  height: 100%;
  color: #b3b3b3;
  font-size: var(--NormalFontSize);
}

.yc-nav__search .icon-search {
  pointer-events: auto;
  position: absolute;
  width: 21px;
  height: 21px;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: url(//cdn-newyc.ycsd.cn/www/static/images/search.png) no-repeat
    center / contain;
  cursor: pointer;
}

.yc-nav__search input::-webkit-input-placeholder {
  color: #b3b3b3;
}

.yc-footer {
  background: var(--TitleColor);
  padding: 40px 0;
  margin-top: 20px;
}

.website-links h4 {
  color: #fff;
  font-size: var(--BigFontSize);
  margin-bottom: 12px;
}

.website-links .links-wrap {
  font-size: var(--SmallFontSize);
  color: #a2a2a2;
  padding-bottom: 30px;
}

.links-wrap .link-item {
  width: 8%;
  line-height: 2;
  float: left;
}

.footer-wrap {
  text-align: center;
  margin-top: 40px;
}

.seo-links {
  margin-bottom: 25px;
}

.seo-links a {
  font-size: var(--SmallFontSize);
  color: #a2a2a2;
  display: inline-block;
  width: 90px;
  text-align: center;
}

.seo-links span {
  color: #a2a2a2;
}

.footer-text {
  font-size: var(--SmallFontSize);
  color: #a2a2a2;
  margin-bottom: 12px;
}

.footer-text__block {
  margin-top: 8px;
}

.footer-text__block .footer-text {
  margin-bottom: 4px;
}

/* 通用操作栏 */
.yc-common-bar {
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.read-history__box {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.read-history__box .hitory-read {
  max-width: 350px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--SmallFontSize);
  color: var(--ShortTextColor);
  margin-right: 10px;
}

.read-history__box a {
  padding: 4px 12px;
  width: auto;
  height: auto;
  line-height: 1;
  font-size: var(--SmallFontSize);
}

.reader-operator__box {
  font-size: var(--NormalFontSize);
  color: var(--TitleColor);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.reader-operator__box a {
  margin-right: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.reader-operator__box .operator-item::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
}

.reader-operator__box .operator-item:nth-child(1)::before {
  background: url("//cdn-newyc.ycsd.cn/www/static/images/library.png") no-repeat
    center / contain;
}

.reader-operator__box .operator-item:nth-child(2)::before {
  background: url("//cdn-newyc.ycsd.cn/www/static/images/pm.png") no-repeat
    center / contain;
}

.reader-operator__box .operator-item:nth-child(3)::before {
  background: url("//cdn-newyc.ycsd.cn/www/static/images/author-admin.png")
    no-repeat center / contain;
}

.user-box img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

.user-box .user-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* 书籍相关 */
.book-info .book-name {
  font-size: var(--BigFontSize);
  color: var(--TitleColor);
  cursor: pointer;
}

.book-info .book-author {
  font-size: var(--SmallFontSize);
  color: var(--ShortTextColor);
  margin: 11px 0;
}

.book-info .book-intro {
  font-size: var(--NormalFontSize);
  color: var(--LongTextColor);
}

.book-info .book-category {
  font-size: var(--NormalFontSize);
  color: var(--LongTextColor);
}

.single-line__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
  cursor: pointer;
}

.multi-line__two,
.multi-text__two {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.multi-line__more {
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

/* 共用login模块 */

.login-wrap h3 {
  --BigerFontSize: 24px;
  width: 100%;
  background: #fcfcfc;
  font-size: var(--BigerFontSize);
  color: var(--TitleColor);
  font-weight: normal;
  text-align: center;
  line-height: 96px;
}

.login-wrap .form-wrap {
  background: var(--BackgroundColor);
  padding-top: 40px;
  padding-bottom: 50px;
}

.login-wrap .login-form {
  width: 400px;
  margin: 0 auto;
  text-align: center;
}

.login-wrap .form-item {
  width: 360px;
  margin: 0 auto;
  border: 1px solid #e6e6e6;
  margin-bottom: 20px;
}

.form-item input {
  border: none;
  outline: none;
  background: transparent;
  width: calc(100% - 26px);
  line-height: 44px;
  padding: 0 13px;
  font-size: var(--NormalFontSize);
  color: var(--ShortTextColor);
}

.form-item input::-webkit-input-placeholder {
  font-size: var(--NormalFontSize);
  color: var(--ShortTextColor);
}

.form-item__flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.form-item__flex input {
  flex: 1;
}

.form-item__flex img {
  width: 109px;
  height: 44px;
}

.login-wrap .submit-wrap {
  border: none;
  margin-bottom: 0;
}

.submit-wrap button {
  border: none;
  outline: none;
  width: 100%;
  height: 44px;
  background: var(--CurrentColor);
  color: #fff;
  font-size: var(--BigFontSize);
  margin-top: 20px;
}

.form-item__flex--between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 360px;
  margin: 15px auto 0;
  font-size: var(--SmallFontSize);
  color: var(--ShortTextColor);
}

.form-item__flex--between label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.form-item__flex--between input {
  margin-right: 10px;
}

.third-login__type {
  background: var(--BackgroundColor);
}

.third-login__type .title {
  padding-top: 20px;
  margin: 0 20px 29px;
  border-top: 1px solid #f7f7f7;
  text-align: center;
  font-size: var(--NormalFontSize);
  color: var(--ShortTextColor);
}

.third-login__type .third-login__list {
  width: 360px;
  margin: 0 auto;
  padding-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.third-login__type .third-login__item {
  font-size: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.third-login__type .third-login__item img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.third-login__type .third-login__item span {
  font-size: var(--NormalFontSize);
  color: var(--ShortTextColor);
}

.login-wrap__small {
  margin-bottom: 0;
}

.login-wrap__small h3 {
  font-size: 20px;
}

.login-wrap__small .form-wrap {
  padding: 20px 0;
}

.login-wrap__small .third-login__type .third-login__list {
  padding-bottom: 40px;
}
/* 页面左上角标题 */
.page-title {
  margin-bottom: 20px;
  color: var(--TitleColor);
  font-size: var(--TitleFontSize);
  font-weight: 400;
  line-height: 48px;
  display: flex;
  align-items: center;
}

.page-title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.page-title img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}
/* 切换动画 */
.tabs {
  display: flex;
  border-bottom: solid 1px var(--BorderLineColorLight);
}

.tab {
  display: inline-block;
  text-align: center;
  line-height: 25px;
  font-weight: bold;
  color: var(--ShortTextColor);
  font-size: var(--BigFontSize);
  padding: 18px 0;
  cursor: pointer;
}
.active {
  font-weight: bold;
  transition: 0.5s;
  text-align: center;
  font-size: var(--BigerFontSize) !important;
  color: var(--CurrentColor);
  position: relative;
}
/* .active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 30px;
  background-color: var(--CurrentColor);
  animation: myfirst 0.5s;
} */

.tables {
  left: 0;
  position: relative;
  transition: 0.5s;
}

@keyframes myfirst {
  0% {
    width: 0px;
  }
  25% {
    width: 30px;
  }
  50% {
    width: 0px;
  }
  100% {
    width: 30px;
  }
}

/* 通用表单 */
.common-table table {
  margin-top: 20px;
  width: 100%;
  text-align: left;
}

.common-table table tr:nth-child(odd) {
  background: var(--BorderLineColorLight);
}

.common-table table th,
.common-table table td {
  padding: 25px 15px;
  font-size: 12px;
  color: #666;
}

table .success {
  color: #39a4ff;
}

table .fail {
  color: #f05952;
}

table .dark {
  color: var(--LongTextColor);
}

/* 书库table */
.library-table table {
  width: 100%;
}

.library-table table td {
  padding: 20px 15px;
  vertical-align: middle;
  font-size: var(--SmallFontSize);
  color: var(--ShortTextColor);
}

.library-table table tr:nth-child(even) {
  background: var(--BorderLineColorLight);
}

.library-table table th {
  font-size: var(--NormalFontSize);
  color: var(--TitleColor);
  padding: 18px 15px;
  font-weight: normal;
  border-bottom: 1px solid var(--BorderLineColorLight);
}

/* 左右格式的布局 */
.wrap-aside {
  width: 230px;
  margin-right: 20px;
}

.wrap-aside__box {
  flex: 1;
}

.wrap-right {
  margin-right: 0;
}

.wrap-left {
  margin-right: 20px;
}

.wrap-part h3 {
  font-size: var(--BigerFontSize);
  color: var(--TitleColor);
  padding: 20px 0;
  border-bottom: 1px solid #f7f7f7;
  position: relative;
}

/* 面包屑 */
.web-crumbs {
  font-size: var(--NormalFontSize);
  color: var(--LongTextColor);
  margin-bottom: 20px;
}

/* 小标题图片 */
.part-title__recommend::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 22px;
  margin-right: 6px;
  background: url(//cdn-newyc.ycsd.cn/www/static/images/page-home/recommend.png)
    no-repeat center / contain;
}

.part-title__quality::before {
  background-image: url(//cdn-newyc.ycsd.cn/www/static/images/page-home/quality.png);
}

.part-title__dynamic::before {
  background-image: url(//cdn-newyc.ycsd.cn/www/static/images/page-home/dynamic.png);
}

.part-title__ip::before {
  background-image: url(//cdn-newyc.ycsd.cn/www/static/images/page-home/IP.png);
}

.part-title__free::before {
  background-image: url(//cdn-newyc.ycsd.cn/www/static/images/page-home/free.png);
}

.part-title__update::before {
  background-image: url(//cdn-newyc.ycsd.cn/www/static/images/page-home/update.png);
}

/* 通用分页 */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pagination li {
  /* padding: 6px 10px; */
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  color: var(--LongTextColor);
  font-size: var(--SmallFontSize);
  background: #fff;
  line-height: 1;
  cursor: pointer;
}

.pagination li span,
.pagination li a {
  display: block;
  padding: 6px 10px;
}

.pagination li:not(:last-child) {
  margin-right: 10px;
}

.pagination li.current {
  background: var(--CurrentColor);
  border-color: var(--CurrentColor);
  color: #fff;
}
