﻿/*reset.css用来存储清除浏览器的样式 ,后面添加了一部分通用样式*/

a {
    background-color: transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
    outline: none;
    text-decoration: none;
}

a,
a:hover,
a:active,
a:visited,
a:link,
a:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-modify: read-only;
    cursor: pointer;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td,
a,
img {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var,
optgroup {
    font-style: inherit;
    font-weight: inherit;
}

del,
ins {
    text-decoration: none;
}

li {
    list-style: none;
}

caption,
th {
    text-align: left;
}

q:before,
q:after {
    content: "";
}

abbr,
acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: baseline;
}

sub {
    vertical-align: baseline;
}


/*because legend doesn't inherit in IE */

legend {
    color: #000;
}

input,
button,
textarea,
select,
optgroup,
option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}


/*@purpose To enable resizing for IE */


/*@branch For IE6-Win, IE7-Win */

input,
button,
textarea,
select {
    *font-size: 100%;
    outline: none;
}


/*select*/

select {
    /*复写Chrome和Firefox里面的边框*/
    border: 1px solid green;
    /*清除默认样式*/
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    /*在选择框的最右侧中间显示小箭头图片*/
    /*background: url(../img/icon/icon_select.png) no-repeat scroll right center transparent;*/
    /*为下拉小箭头留出一点位置，避免被文字覆盖*/
    padding-right: 14px;
}


/*清除ie的默认选择框样式清除，隐藏下拉箭头*/

select::-ms-expand {
    display: none;
}

.df {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex {
    flex: 1;
}

.align-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.white-nowrap {
    white-space: nowrap;
}

.justify-start {
    justify-content: start;
}

.scroll-bar::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 4px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

.scroll-bar::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.scroll-bar::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.c-pointer {
    cursor: pointer;
}
html{
    height: 100%;
}
body {
    background-color: rgba(61, 62, 69, 1);
    margin: 0 !important;
    line-height: 1.4 !important;
}

body.turn-page {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.WebReader {
    position: relative;
    margin: 0 auto;
    max-width: 820px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 2px 80px 10px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}
.reader-to-vip p, .reader-to-vip div, .reader-to-vip em, .reader-to-vip i, .reader-to-vip font, .reader-to-vip strong, 
.readertop p, .readertop div, .readertop em, .readertop i, .readertop font, .readertop strong,
.readermenu p, .readermenu div, .readermenu em, .readermenu i, .readermenu font, .readermenu strong,
.top-title-about p , .top-title-about div, .top-title-about em , .top-title-about i, .top-title-about font, .top-title-about strong,
.size-font, .icon-page{
    margin: 0;
    padding: 0;
    text-decoration: none !important;
    font-style: normal;
    text-indent: 0 !important;
}

.readertop {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 820px;
    box-sizing: border-box;
    transform: translate3d(-50%, 0, 0);
    display: none;
}

.readertop .top-bottom {
    font-size: 12px;
    color: rgba(51, 51, 51, 1);
}

.readertop .top-bottom .top-bottom-inner {
    margin: 0 auto;
    max-width: 780px;
    box-sizing: border-box;
    padding: 0 10px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.readertop .wd-same {
    width: 20%;
}


/* .readertop .reader-setting .l-gray {
  color: rgba(255, 255, 255, 0.4);
} */


/* .readertop img {
  width: 24px;
  height: 24px;
} */

.readertop .img-pic {
    width: 24px;
    height: 24px;
}

.readertop .reader-setting {
    /* width: 100%; */
    position: relative;
    max-width: 560px;
    margin: 0 auto 10px;
    padding: 10px 20px 10px 20px;
    box-sizing: border-box;
    color: rgba(51, 51, 51, 1);
    font-size: 14px;
}

.readertop .reader-setting .font-line {
    padding: 6px 0;
}

.readertop .reader-setting .bg-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-sizing: border-box;
}

.readertop .reader-setting .default-color {
    color: #999999;
    display: flex;
    justify-content: center;
}

.readertop .reader-setting .default-color:hover {
    color: #666666;
}

.readertop .reader-setting .on-active-setting {
    color: rgba(51, 51, 51, 1);
}

body.active-2 .readertop .reader-setting .default-color {
    color: #666666;
}

body.active-2 .readertop .reader-setting .default-color:hover {
    color: #cccccc;
}

body.active-2 .readertop .reader-setting .on-active-setting {
    color: #cccccc;
}

.readertop .reader-setting .orange {
    background-color: #fdefcc;
}

.readertop .reader-setting .green {
    background-color: #97dd97;
}

.readertop .reader-setting .night {
    background-color: #000000;
}

.readertop .reader-setting .day {
    background-color: #ffffff;
}

.readermenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #666666;
    display: none;
    z-index: 10;
}

.readermenu a {
    color: #666666;
}

#tocmenulinks {
    /* width: 73%; */
    margin: 0 auto;
    max-width: 820px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

#tocmenulinks .menu-inner {
    padding: 8px 20px;
    width: 73%;
    height: 100%;
    background-color: #fff;
    overflow: auto;
    font-size: 14px;
}

#tocmenulinks .menu-inner .menubottom {
    height: 20px;
}

#tocmenulinks .menutop {
    margin-bottom: 10px;
    font-size: 16px;
}

#tocmenulinks .menu-inner div {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
}

#tocmenulinks .menu-inner div a {
    display: inline-block;
    padding: 6px 2px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 1px;
}

#tocmenulinks .menu-inner div a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#tocmenulinks .menu-inner .on-link {
    background-color: rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.active-2 #tocmenulinks .menu-inner div a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.active-2 #tocmenulinks .menu-inner .on-link {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.readercontent {
    padding: 40px 20px 120px 20px;
    line-height: 1.8;
    color: #666666;
    font-size: 16px;
    box-sizing: border-box;
}

.readercontent,
.readercontent div,
.readercontent p,
.readercontent span,
.readercontent i,
.readercontent font,
.readercontent em,
.readercontent label {
    color: #666666 !important;
    line-height: 1.8 !important;
}

.reader-to-vip {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 820px;
    padding: 0 10px;
    transform: translate3d(-50%, 0, 0);
    background-color: rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
    color: #ffffff;
}

.reader-to-vip .vip-inner {
    height: 88px;
}

.reader-to-vip .vip-inner .about em {
    font-size: 16px;
}

.reader-to-vip .vip-inner .about {
    margin-left: 14px;
    letter-spacing: 2px;
}

.reader-to-vip .vip-inner .about p {
    margin-bottom: 0px;
    font-size: 22px;
}

.reader-to-vip .vip-inner .to-vip {
    position: relative;
    width: 120px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    color: #000;
    text-align: center;
    font-size: 22px;
    line-height: 48px;
}

.reader-to-vip .vip-inner .to-vip:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.reader-to-vip .to-vip img {
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    top: -12px;
}

.top-title-about {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 820px;
    padding: 16px 10px;
    transform: translate3d(-50%, 0, 0);
    box-sizing: border-box;
    color: rgba(51, 51, 51, 1);
    font-size: 18px;
    font-weight: 600;
    display: none;
}

.top-title-about .inner-about {
    position: relative;
    max-width: 820px;
    padding: 0 10px;
    margin: 0 auto;
}

.reader-to-vip .vip-inner {
    margin: 0 auto;
    max-width: 820px;
    padding: 0 10px;
}

.top-title-about .inner-about .app-read {
    position: absolute;
    right: 0;
    top: 50%;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    color: #000;
    transform: translate3d(0, -50%, 0);
    font-size: 14px;
    font-weight: normal;
}

.top-title-about .inner-about .app-read:hover {
    background-color: rgba(0, 0, 0, 0.12);
}

.has-size {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 10px 30px;
    transform: translate3d(-50%, -50%, 0);
    background-color: rgba(30, 30, 30, 0.75);
    border-radius: 6px;
    color: rgba(44, 76, 60, 1);
    font-size: 14px;
    display: none;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.2);
}

.active {
    border: 2px solid #007aff;
}

.reader-setting .font-size {
    align-items: center;
}

.reader-setting .font-size .size-same:hover {
    color: #333333;
}

.reader-setting .font-size .img-pic {
    padding: 4px;
    border-radius: 50%;
    background-position: center center;
}

.reader-setting .font-size .img-pic:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.menu-move {
    animation: mymove 0.6s;
    -webkit-animation: mymove 0.6s;
    /*Safari and Chrome*/
}

.top-title-about .title-name {
    max-width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.WebReader, .readercontent, .readercontent-inner{
}

body .top-title-about,
body .top-bottom,
body .readertop .reader-setting {
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.2);
}

body.active-3 .WebReader,
body.active-3 .WebReader #tocmenulinks .menu-inner {
    background-color: rgb(255, 255, 255);
}

body.active-3 .top-title-about,
body.active-3 .top-bottom,
body.active-3 .readertop .reader-setting {
    background-color: #ffffff;
}

body.active-3 .reader-setting .font-size .img-pic:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

body.active-3 .size-font {
    background-color: #f3f3f5;
    color: #666;
}

body.active-0 .WebReader,
body.active-0 .WebReader #tocmenulinks .menu-inner,
body.active-0 .modal dl{
    background-color: rgb(248, 240, 217);
    color: #604E36;
}

body.active-0 .top-title-about,
body.active-0 .top-bottom,
body.active-0 .readertop .reader-setting {
    background-color: #F8F0D9;
}

body.active-0 .size-font {
    background-color: #ede5d1;
    color: #604E36;
}

body.active-0 .readercontent,
body.active-0 .readercontent div,
body.active-0 .readercontent p,
body.active-0 .readercontent span,
body.active-0 .readercontent i,
body.active-0 .readercontent font,
body.active-0 .readercontent em,
body.active-0 .readercontent label {
    color: #604E36 !important;
}

body.active-0 .has-size,
body.active-0 .readermenu a {
    color: #604E36;
}

body.active-1 .WebReader,
body.active-1 .WebReader #tocmenulinks .menu-inner,
body.active-1 .modal dl{
    background-color: #d0e9da;
    color: #2C4C3C;
}

body.active-1 .top-title-about,
body.active-1 .top-bottom,
body.active-1 .readertop .reader-setting {
    background-color: #D0E9D8;
}

body.active-1 .size-font {
    background-color: #d0e7d9;
    color: #D0E9D8;
}

body.active-1 .readercontent,
body.active-1 .readercontent div,
body.active-1 .readercontent p,
body.active-1 .readercontent span,
body.active-1 .readercontent i,
body.active-1 .readercontent font,
body.active-1 .readercontent em,
body.active-1 .readercontent label {
    color: #2C4C3C !important;
}

body.active-1 .has-size,
body.active-1 .readermenu a {
    color: #2C4C3C;
}

body.active-2 .WebReader,
body.active-2 .WebReader #tocmenulinks .menu-inner,
body.active-2 .modal dl
{
    background-color: #000002;
}


/* body.active-2 .WebReader #tocmenulinks .menu-inner div:hover {
    background-color: rgba(255, 255, 255, 0.1);
} */

body.active-2 .readertop .plus .img-pic {
    background-image: url(/books/mobile/images3/plus-1.png) !important;
}

body.active-2 .readertop .subtract .img-pic {
    background-image: url(/books/mobile/images3/subtract-1.png) !important;
}

body.active-2 .readertop .toc {
    background-image: url(/books/mobile/images3/menu-1.png) !important;
}

body.active-2 .readertop #prev {
    background-image: url(/books/mobile/images3/pre-1.png) !important;
}

body.active-2 .readertop #next {
    background-image: url(/books/mobile/images3/next-1.png) !important;
}

body.active-2 .readertop .reader {
    background-image: url(/books/mobile/images3/reader-1.png) !important;
}

body.active-2 .top-title-about,
body.active-2 .top-bottom,
body.active-2 .readertop .reader-setting {
    background-color: #121212;
    color: rgba(204, 204, 204, 1);
}

body.active-2 .reader-setting .font-size .img-pic:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

body.active-2 .top-title-about .inner-about .app-read {
    background-color: rgba(255, 255, 255, 0.16);
    color: #cccccc;
}

body.active-2 .top-title-about .inner-about .app-read:hover {
    background-color: rgba(255, 255, 255, 0.22);
}

body.active-2 .size-font {
    background-color: #111113;
    color: #666;
}

.reader-to-vip .vip-inner.not-vip .logo {
    width: 40px;
}

.reader-to-vip .vip-inner.not-vip .to-vip {
    width: 90px;
    height: 40px;
    font-size: 14px;
    line-height: 42px;
}

.reader-to-vip .vip-inner.not-vip .about p {
    font-size: 14px;
}

.reader-to-vip .vip-inner.not-vip .about em {
    font-size: 12px;
}

.reader-to-vip .vip-inner.not-vip .about {
    margin-left: 4px;
}

.icon-page {
    position: absolute;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #F8F0D9;
    opacity: 0.3;
    cursor: pointer;
    border-radius: 50%;
    display: none;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
}

.pre-page {
    left: 15px;
    background-image: url(/books/mobile/images3/pre.png);
}

.next-page {
    right: 15px;
    background-image: url(/books/mobile/images3/next.png);
}

.pre-page:hover {
    opacity: 1;
}

.next-page:hover {
    opacity: 1;
}

body.turn-page .readercontent {
    margin-left: 20px;
    padding: 40px 0 0 0;
    overflow: hidden;
}

.readercontent {
    display: block;
    /* padding: 40px 0 0 20px; */
}

body.turn-page .readercontent .readercontent-inner {
    column-gap: 20px;
}

body .readercontent img {
    max-width: 99% !important;
}

@keyframes mymove {
    from {
        width: 0px;
    }
    to {
        width: 73%;
    }
}

@-webkit-keyframes mymove
/*Safari and Chrome*/

{
    from {
        width: 0px;
    }
    to {
        width: 73%;
    }
}

img {
    max-width: 99% !important;
}

.mobile-none {
    display: none;
}

.btn-hover:hover {
    filter: brightness(1.5);
}

.menutop {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.menu-inner ul {
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.menu-inner ul li {
    display: inline-block;
    width: 49%;
    background-color: rgba(255, 255, 255, 1);
    text-align: center;
    padding: 3px 0;
    color: rgba(0, 0, 0, 1);
    border-radius: 8px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
}

.menutop span {
    font-size: 20px;
    white-space: nowrap;
}


/* .add-cushion {
    animation: cushion 1s;
    -webkit-animation: cushion 1s;
}

@keyframes cushion

{
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
} */

.loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10;
    /* display: none; */
}

.loading img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
}

@media screen and (min-width: 768px) {
    .WebReader {
        padding: 0 30px;
    }
    body.turn-page .WebReader {
        padding: 0 10px;
    }
    .readercontent {
        padding: 40px 0 120px 0;
    }
    .mobile-none {
        display: flex;
    }
    .readertop .l-one {
        margin-left: 30px;
    }
    .readertop .reader-setting {
        margin: 0 auto 0;
        padding: 10px 40px 10px 40px;
    }
    .readertop .reader-setting .font-line .l-name {
        width: 32%;
    }
    .reader-to-vip {
        padding: 0 30px;
    }
    .readertop .reader-setting .font-line {
        padding: 12px 0;
    }
    .reader-to-vip .vip-inner .about p {
        margin-bottom: 2px;
        font-size: 24px;
    }
    .reader-to-vip .vip-inner .to-vip {
        width: 139px;
        height: 52px;
        font-size: 24px;
        line-height: 55px;
    }
    .reader-to-vip .vip-inner.not-vip .logo {
        width: 56px;
    }
    .reader-to-vip .vip-inner.not-vip .to-vip {
        width: 139px;
        height: 52px;
        font-size: 24px;
        line-height: 55px;
    }
    .reader-to-vip .vip-inner.not-vip .about p {
        font-size: 22px;
    }
    .reader-to-vip .vip-inner.not-vip .about em {
        font-size: 16px;
    }
    .reader-to-vip .vip-inner.not-vip .about {
        margin-left: 14px;
    }
    .top-title-about {
        padding: 16px 30px;
    }
    .top-title-about .title-name {
        max-width: 300px;
    }
    body.turn-page:hover .icon-page {
        display: block;
    }
    .top-title-about .inner-about {
        padding: 0 30px;
    }
    .reader-to-vip .vip-inner {
        padding: 0 30px;
    }
    .readertop .top-bottom {
        padding: 0 20px;
        transform: rotate(0);
    }
}

@media screen and (min-width: 1200px) {
    .mobile-none {
        display: flex;
    }
}

.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
}
.active-2 .modal{
    background-color: rgba(0, 0, 0, 0.4);
    color: #666;
}
.active-0 .modal, .active-1 .modal, .active-3 .modal{
    background-color: rgba(0, 0, 0, 0.6);
}
.active-3 .modal dl{
    background-color: #fff;
    color: #666;
}
.active-2 .modal dl{
    color: #666;
    background-color: #121212 !important;
}
.modal dt{
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.modal h2{
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
}
.modal p{
    margin-top: 16px;
    font-size: 16px;
    line-height: 22px;
    text-indent: 0;
    text-align: left;
}
.modal dd{
    font-size: 16px;
    height: 38px;
    text-align: right;
    padding-right: 8px;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.modal a{
    line-height: 22px;
    padding: 0 8px;
    border-radius:3px;
    color: inherit;
}
.active-0 .modal a:hover{
    background:rgba(96,78,54,0.3);
}
.active-1 .modal a:hover{
    background:rgba(44,76,60,0.3);
}
.active-2 .modal a:hover{
    background-color: #000;
}
.active-3 .modal a:hover{
    background-color: rgba(0, 0, 0, 0.1);
}
.modal dl{
    width: 414px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    box-shadow:0px 2px 20px 0px rgba(0,0,0,0.2);
    border-radius:8px;
}

@media screen and (max-width: 600px){
    .modal dl{
        width: 311px;
        
    }
    .modal h2, .modal p{
        text-align: center;
    }
    .modal dd{
        justify-content: center;
    }
}