html {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', STHeiti, 'Microsoft YaHei', 'Microsoft JhengHei', 'Source Han Sans SC', 'Noto Sans CJK SC', 'Source Han Sans CN', 'Noto Sans SC', 'Source Han Sans TC', 'Noto Sans CJK TC', SimSun, sans-serif;
  -moz-osx-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
}

#rgtIcn {
  position: fixed;
  top: 280px;
  right: 10px;
  z-index: 9 !important;
}

.savebtn {
  pointer-events: none;
}

.close,
.clean,
.class-show,
a,
button,
li {
  cursor: pointer;
}

#about {
  z-index: 999;
}

.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dialog div canvas,
.book-list img,
.dialog div img {
  width: 100%;
}


.btn {
  font-weight: 400;
  background: #D12F2F !important;
  border: 0 none;
  color: #fff;
}


.btn--middle {
  background: #D12F2F;
}

.btn--def {
  background: #fff !important;
  color: #6A7484;
}

#logo {
  display: block !important;

}

.dailog-container .logo img {
  border-radius: 50%;
}

.dialog {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.56);
  z-index: 99;
  overflow: hidden;
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
}

.dialog.has {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.dailog-container {
  position: absolute;
  bottom: 0;
  height: 80%;
  width: 100%;
  background-image: url('./assets/meta-top.png');
  background-color: #fff;
  background-position: top;
  background-size: 100%;
  background-repeat: no-repeat;
  transition: all .3s;
  transform: translate3d(0, 100%, 0);

}

.dialog.has .dailog-container {
  transform: translate3d(0, 0, 0);

}

.dailog-container .logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 5em;
  width: 23.2vw;
  margin: auto;
  transform: translateY(-30%);
  background: #fff;
  border-radius: 50%;
  border: 5px solid #fff;

}

.dailog-container .logo img {
  width: 100%;
}

.dialog .tit {
  color: #09172F;
  width: 60%;
  margin: auto;
  text-align: center;
  font-weight: 600;
  overflow: hidden;


}

.dialog-text {
  overflow: auto;
  background-color: #F6F6F6;
  background-image: url("./assets/before.png");

  background-repeat: no-repeat;
  color: #6A7484;
  box-sizing: border-box;

}

.dialog-text img {
  max-width: 100%;
}

#book .dailog-container::before {
  position: absolute;
  content: "";
  display: block;
  width: 20.2667vw;
  height: .8vw;
  left: 0;
  right: 0;
  margin: 2.6667vw auto;
  background: #CBCBCB;
  border-radius: 4px;

}

.book_top {
  display: flex;
  color: #979EA9;

}

.book_img {
  flex: none;
  display: inline-flex;
  background-color: #979EA9;
  background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(255, 255, 255, 0.00) 89%, rgba(194, 194, 194, 0.22) 93%, rgba(249, 249, 249, 0.28) 96%, rgba(0, 0, 0, 0.09) 100%);
  border: 1px solid #E4E8EB;
  align-items: center;
  overflow: hidden;

}


.book_about p span::before {
  content: "：";
}

.book_tit {
  overflow: hidden;
  color: #09172F;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.book_main {
  overflow: auto;
}


.items {
  box-sizing: border-box;
}

.items li {
  display: flex;
}

.items_box {
  flex: none;
  box-sizing: border-box;
}

.items_box p {
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.items_tit {
  font-weight: 600;
  color: #09172F;

}

.items_a {
  color: #979EA9;

}

.items_state {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.items_state_color {
  color: #F5C265;
}

.items_img {
  flex: none;
  background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(255, 255, 255, 0.00) 89%, rgba(194, 194, 194, 0.22) 93%, rgba(249, 249, 249, 0.28) 96%, rgba(0, 0, 0, 0.09) 100%);
  background-color: #979EA9;
  border: 1px solid #E4E8EB;
  box-sizing: border-box;
}




.footer {
  width: 100%;
  text-align: center;
}

#bookState:disabled {
  background: #C5CEDE !important;
}

.qr {
  margin: 0 auto;
  background: #F6F6F6;
}


.qr-text {
  font-weight: 400;
  color: #6A7484;
  margin: 0 auto;
}

#qrcode img:first-of-type {
  width: 100%;
  height: 100%;
  /* display: none !important; */
}

#qrcode canvas {
  display: none !important;
}

.tip_btn {
  position: absolute;
  left: 4.2667vw;
  top: 9.0667vw;
  width: 27.4667vw;
  height: 8.5333vw;
  background-color: rgba(0, 0, 0, 0.40);
  background-image: url('./assets/icon.png');
  background-size: 5.0667vw;
  background-position: 3.2vw center;
  background-repeat: no-repeat;
  border-radius: 32px;
  z-index: 999999;
  text-indent: 8.8667vw;
  line-height: 8.5333vw;
  font-size: 3.4667vw;
  display: none;
}

.tip_con {
  padding-top: 17.3333vw;
  margin-left: 13.8667vw;
  margin-top: 13.8667vw;
  background-image: url(./assets/tip.png);
  background-position: 17.8667vw top;
  background-size: 15.2vw;
  background-repeat: no-repeat;
}

.tip_text {
  width: 74.6667vw;
  height: 24.2667vw;
  font-size: 4.2667vw;
  background-color: rgba(0, 0, 0, 0.40);
  border: dashed 0.5px #fff;
  padding: 5.4vw 6.4vw;
  box-sizing: border-box;
  border-radius: 5px;
}

.tip_ok {
  position: absolute;
  left: 27.8667vw;
  bottom: 30.4vw;
  width: 44.1947vw !important;
  height: 12vw !important;
  background: rgba(0, 0, 0, 0.40);
  border-radius: 1.8667vw !important;
}

#alertCon {
  height: 60px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.task {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 84vw;
  height: 54.1333vw;
  background: #FFFFFF;

  padding: 7.4667vw 6.1333vw;
  box-sizing: border-box;
  color: #333333;
}

.task .btn {
  display: block;
  margin: 0 auto;
  margin-top: 8.8vw;
}

#com [rull='text'] {
  height: 22vw;
  display: flex;
  align-items: center;
  justify-content: center;
}


#com .task .btn {
  margin-top: 1vw;
  font-size: 4.2667vw;
}

#com [rull-text] {
  text-align: center;
}

.book-list {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  transition: all .3s linear;
  pointer-events: none;
  z-index: 99;
}

.book-list.has {
  opacity: 1;
  pointer-events: auto;

}


.book-list nav {
  display: flex;
  width: 100%;
  height: 52px;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  box-sizing: border-box;
  border: 1px solid #E4E8EB;
  background: #fff;
}

.book-list nav a {
  display: inline-block;
}

.book-list nav a:last-of-type {
  background-image: url(./assets/back.png);
  background-size: 15px;
  background-position: center right;
  background-repeat: no-repeat;
  padding-right: 15px;

}

.book-list .search {
  position: relative;
  display: flex;
  box-sizing: border-box;

}

.book-list .search input {
  outline: 0;
}

.clean {
  display: none;
  position: absolute;
  right: 18%;
  top: 0;
  bottom: 0;
  margin: auto;
  color: #999;
  height: 20px;
  width: 20px;
  line-height: 22px;

  text-align: center;
  border-radius: 50%;
  pointer-events: none;
  font-size: 12px;
}

.disabled .clean {
  display: block;
  pointer-events: auto;

}

.disabled .class-show {
  opacity: 0.2;
  pointer-events: none;
}

.class {
  background: #fff;
}

.class ul {
  padding: 0 15px;
  padding-bottom: 2.1333vw;
  opacity: 0;
  display: none;
  box-sizing: border-box;
}

.class ul {
  opacity: 1;
}

.class li {
  display: inline-block;
  height: 6.9333vw;
  line-height: 6.9333vw;
  font-size: 3.7333vw;
  color: #333333;
  padding-left: 3.7333vw;
  padding-right: 3.7333vw;
  margin-top: 2.1333vw;

}

.class li.click {
  background: #D12F2F;
  border-radius: 26px;
  color: #fff;
}

.books-w {
  overflow: auto;

}

.books:empty::before {
  display: block;
  padding: 10vw 0;
  width: 100%;
  text-align: center;
  color: #999;
  content: "\6b64\5206\7c7b\6682\65e0\56fe\4e66";
}

.disabled~.books-w .books:empty::before {
  content: "\672a\641c\7d22\5230\76f8\5173\4e66\7c4d\ff0c\6362\4e2a\5173\952e\8bcd\8bd5\8bd5\5427";
}


.books li {
  display: flex;
  margin-top: 5.3333vw;
}

.books_img {
  width: 18.6667vw;
  height: 26.6667vw;
  border: 1px solid #E4E8EB;
  border-radius: 8px;
}

.books_box {
  box-sizing: border-box;
}

.books_tit {
  height: 9.8667vw;
  font-weight: 500;
  font-size: 3.7333vw;
  color: #09172F;
  margin-bottom: 1.3333vw;

}

.books_a {
  margin-bottom: 1.3333vw;
}

.books_t,
.books_a {
  font-size: 3.2vw;
  color: #6A7484;
}


@media screen and (max-width: 750px) {

  .btn {
    font-size: 3.4667vw;
    width: 20.5333vw;
    height: 6.4vw;
    border-radius: 5.0667vw;
  }

  .btn--big {
    width: 91.4667vw;
    height: 10.6667vw;
    font-size: 4.2667vw;

  }


  .btn--middle {
    width: 69.3333vw;
    height: 10.4vw;
    border-radius: 6.1333vw;
  }

  .dailog-container {
    border-radius: 22px 22px 0 0;
    min-height: 124vw;

  }

  .dailog-container .btn-close {
    display: none;
  }

  .book-list .fixed {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    /* height: 100%; */
    background: none;
  }

  .book-list .fixed nav {
    font-size: 14px;
  }

  .book-list .fixed.has {
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
  }

  .book-list .search {
    height: 12.5333vw;
    padding: 1.6vw 0;
    padding-left: 4vw;
    background: #fff;

  }

  .class-show {
    display: flex;
    height: 9.3333vw;
    text-align: center;
    font-size: 3.7333vw;
    color: #09172F;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.07);
  }


  .class-show::after {
    content: "";
    display: block;
    border: solid #333333 6px;
    border-bottom: 0;
    border-right-color: transparent;
    border-left-color: transparent;
    box-sizing: border-box;
    margin-left: 10px;

  }



  .book-list .search input {
    flex: 1;
    height: 9.3333vw;
    background: #F6F6F6;
    border-radius: 3.2vw;
    background-image: url(./assets/nav_search_nor.png);
    background-position: 3.4667vw center;
    background-repeat: no-repeat;
    background-size: 3.7333vw;
    font-size: 3.7333vw;
    border: 0 none;
    padding-left: 9.6vw;
    align-items: center;
    padding-right: 10px;

  }

  .book-list .search button {
    background: none;
    border: 0 none;
    color: #09172F;
    width: 14.9333vw;
    height: 9.3333vw;
    overflow: hidden;

  }

  .books-w {
    padding-top: 35vw;
    height: calc(100vh - 35vw);
    padding-left: 4.2667vw;
    padding-right: 4.2667vw;
  }

  .books {
    padding-bottom: 5.3333vw;

  }

  .books li {
    display: flex;
    margin-top: 5.3333vw;
  }



  .books_box {
    width: calc(100% - 18.6667vw);
    box-sizing: border-box;
    padding-left: 2.6667vw;
  }

  .books_tit {
    width: 70.1333vw;
    height: 9.8667vw;
    font-weight: 500;
    font-size: 3.7333vw;
    margin-bottom: 1.3333vw;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

  }

  .books_a {
    margin-bottom: 1.3333vw;
  }

  .books_t,
  .books_a {
    font-size: 3.2vw;
    color: #6A7484;
  }

  .book_top {
    padding-top: 9.6vw;
    padding-left: 6.4vw;
    padding-right: 6.4vw;
    font-size: 3.4667vw;
    margin-bottom: 9.3333vw;
  }

  .book_img {
    width: 25.6vw;
    height: 36.2667vw;
  }

  .book_about {
    padding-left: 5.0667vw;
    flex: 1;
    width: 56.5333vw;
  }

  .book_about p {
    margin-bottom: 1.0667vw;
  }

  .book_tit {
    font-size: 4.2667vw;
    line-height: 1.3;
    height: 2.53em;
    margin-bottom: 1.0667vw;
  }

  .dailog-container .logo {
    width: 5em;
    width: 23.2vw;
  }

  .dialog .tit {
    padding-top: 20.2667vw;
    margin-bottom: 7.7333vw;
    font-size: 4.8vw;
  }

  .dialog-text {
    display: block !important;
    height: 50vh;
    font-size: 3.7333vw;
    margin: 0 6.4vw;
    padding: 4.8vw;
    padding-top: 5.3333vw;
    border-radius: 1.4667vw;
    background-size: 5.8667vw;
    background-position: 7.0667vw top;
  }

  .book_main {
    height: 36vh;
    /* padding-bottom: 35vw; */
    /* box-sizing: border-box; */
  }

  .book_main.plus {
    height: 46vh;
    /* padding-bottom: 35vw; */
    /* box-sizing: border-box; */
  }

  .book_main nav {
    display: none !important;
  }

  #book .dialog-text {
    height: auto
  }

  .items {
    padding-left: 6.4vw;
    padding-right: 6.4vw;
  }


  .items li {
    margin-bottom: 6.6667vw;
  }


  .items_tit {
    font-size: 4.2667vw;
    margin-bottom: 2.6667vw;
  }

  .items_a {
    font-size: 3.4667vw;
    margin-bottom: 7.2vw;
  }

  .items_state_color {
    font-size: 3.4667vw;
  }

  .items_box {
    width: calc(100% - 18.6667vw);
  }

  .items_img {
    width: 18.6667vw;
    height: 26.6667vw;
    border-radius: 1.0667vw;
    margin-right: 2.4vw;

  }



  .qr {
    width: 50.1333vw;
    height: 50.1333vw;
    border-radius: 2.9333vw;
    margin-bottom: 6.6667vw;
  }



  .qr-text {
    width: 77.6vw;
    height: 14.6667vw;
    font-size: 3.7333vw;
  }

  #download .dailog-container {
    height: 70%;
  }



  /* .qr-text::before {
    content: "下载党建云书馆APP，注册登录本图书馆，即可免费借阅正版电子图书。 ";
  } */

  #client::before {
    content: "\70b9\51fb\7acb\5373\4e0b\8f7d";
  }

  .task {
    width: 84vw;
    height: 54.1333vw;
    padding: 7.4667vw 6.1333vw;
    border-radius: 2.1333vw;
  }

  .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 13.2vw;
    padding-top: 1.8667vw;
    box-shadow: 0 -4px 8px 0 rgba(0, 0, 0, 0.10);
    background: #fff;

  }
}

@media screen and (min-width: 751px) {
  .btn {
    font-size: 16px;
    width: 328px;
    height: 44px;
    border-radius: 6px;
  }

  .btn--big {
    width: 328px;
    height: 44px;
  }

  .btn--middle {
    width: 260px;
    height: 44px;
  }

  .book-list {
    background: rgba(0, 0, 0, 0.56);
  }

  .book-list-container,
  .dailog-container {
    width: 650px;
    height: 650px;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    border-radius: 17px;
  }

  .book-list-container {
    position: absolute;
    background-image: url('./assets/meta-top.png');
    background-color: #fff;
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: all .3s;
    transform: translate3d(0, 100%, 0);
    padding-top: 24px;
  }

  .book-list-container nav {
    display: none !important;
  }

  .has .book-list-container {
    transform: translate3d(0, 0, 0);

  }


  .book-list .search {
    width: 590px;
    height: 40px;
    background: #FFFFFF;
    border: 2px solid #D12E2E;
    border-radius: 4px;
    margin: 0 auto;
    overflow: hidden;

  }

  .search-w {
    width: 100%;
    padding: 24px 0;
    margin-bottom: 10px;
    box-shadow: 0 6px 12px -3px rgba(20, 20, 28, 0.18);
  }

  .book-list .search input {
    flex: 1;
    padding-left: 20px;
    padding-right: 10px;
  }

  .book-list .search button {
    flex: none;
    height: 38px;
    width: 60px;
    background-image: url(./assets/serach.png);
    border: 0 none;
    background-color: #D12E2E;
    background-position: center center;
    background-repeat: no-repeat;
    font-size: 0;
    box-sizing: border-box;
    border-radius: 0;

  }

  .book-list .close,
  .dailog-container .btn-close {
    position: absolute;
    right: 26px;
    top: 26px;
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background-image: url(./assets/close.png);
    background-size: 16px;

  }

  .class-show {
    display: flex;
    height: 40px;
    font-weight: 500;
    font-size: 18px;
    color: #09172F;
    align-items: center;
    padding-left: 30px;
  }


  .class-show::after {
    content: "";
    display: block;
    border: solid #333333 6px;
    border-bottom: 0;
    border-right-color: transparent;
    border-left-color: transparent;
    box-sizing: border-box;
    margin-left: 10px;

  }

  .class {
    position: relative;
  }

  .class ul {
    position: absolute;
    top: 40px;
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
  }

  .class li {
    font-size: 16px;
    height: 25px;
    line-height: 25px;
    padding: 0 15px;
    cursor: pointer;

  }

  .books-w {
    height: 450px;

  }

  .books {
    display: flex;
    flex-wrap: wrap;
    padding-right: 20px;
  }

  .books li {
    width: 50%;
    padding-left: 20px;
    box-sizing: border-box;
    margin-top: 40px;
    cursor: pointer;
  }

  .books-title {
    font-weight: 500;
    font-size: 18px;
    color: #09172F;
    height: 24px;
    text-align: center;
  }

  .books_img {
    width: 70px;
    height: 100px;
  }

  .books_box {
    width: calc(100% - 70px);
    box-sizing: border-box;
    padding-left: 20px;
  }

  .books_tit {
    height: 20px;
    font-size: 16px;
    margin-bottom: 9px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .books_a {
    margin-bottom: 9px;
  }


  .books_t,
  .books_a {
    font-size: 12px;
  }


  .book_top {
    padding-top: 48px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 13px;
    margin-bottom: 21px;

  }

  .book_img {
    width: 96px;
    height: 136px;
    border-radius: 4px;
  }

  .book_about {
    padding-left: 15px;
  }

  .book_about p {
    margin-bottom: 6px;
  }

  .book_tit {
    font-size: 16px;
    height: 46px
  }




  .dailog-container .logo {
    width: 87px;
    height: 87px;
    padding: 2px;
    border-radius: 50%;

  }

  .dialog .tit {
    padding-top: 100px;
    width: 212px;
    font-size: 18px;
    height: 50px;
    margin-bottom: 20px;

  }

  .dialog-text {
    height: 330px;
    font-size: 14px;
    margin: 0 30px;
    padding: 28px;
    padding-top: 20px;
    border-radius: 11px;
    background-size: 22px;
    background-position: 37px top;
    line-height: 25px;

  }

  #book .dailog-container::before {
    display: none;
  }

  .book_main nav {
    display: none;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 16px;
    color: #09172F;
  }

  .book_main nav.show {
    display: block;
  }

  .book_main nav.show~.dialog-text {
    display: none;
    height: 250px;
  }

  .book_main nav:not(.show)~.dialog-text {
    display: block !important;
  }

  .book_main nav a {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    height: 25px;
    cursor: pointer;
  }

  .book_main nav a.click {
    color: #D12F2F;
  }

  .book_main nav a.click::before {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 3px;
    background: #D12F2F;
    border-radius: 1.5px;

  }

  .items {
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
    padding-right: 20px;
    max-height: 250px;
    overflow: auto;
  }

  .items:empty {
    min-height: 250px;
  }

  .book_main.plus .items {
    max-height: 360px;
  }

  .items li {
    width: 50%;
    margin-bottom: 30px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .items_box {
    width: calc(100% - 70px);
  }

  .items_tit {
    margin-bottom: 10px;
  }

  .items_a {
    font-size: 13px;
    height: 38px;
  }

  .items_state_color {
    font-size: 13px;
  }

  .items_img {
    width: 70px;
    height: 100px;
    border-radius: 4px;
    margin-right: 9px;

  }

  .btn-li {
    width: 100px;
    height: 30px;
  }

  #download .tit {
    padding-top: 60px;
  }

  #download .dailog-container {
    width: 400px;
    height: 504px;
  }

  #client {
    pointer-events: none;
  }

  #client::before {
    content: "\6211\77e5\9053\4e86";
  }

  .qr {
    width: 207px;
    height: 207px;
    border-radius: 11px;
    margin-bottom: 15px;
    margin-top: 50px;
  }

  .qr-text {
    width: 319px;
    font-size: 14px;
  }

  /* .qr-text::before {
    content: "党建云书馆是为各级党组织及广大党员服务的移动数字图书馆。下载党建云书馆APP后，选择图书馆并注册登录后，即可免费借阅正版电子图书。 ";
  } */

  .task {
    width: 315px;
    height: 203px;
    padding: 20px;
    border-radius: 10px;
  }

  .task .btn {
    margin-top: 33px;
  }

  #com [rull='text'] {
    height: 60px;
  }

  #com .task .btn {
    font-size: 18px;
  }

  .footer {
    margin-top: 45px;
  }
}