﻿html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
acronym,
address,
cite,
code,
del,
dfn,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
caption,
tbody,
tfoot,
thead,
figure {
    border: 0;
    font-size: 14px;
    font-style: inherit;
    font-weight: inherit;
    outline: 0;
    padding: 0;
    margin: 0;
    vertical-align: baseline;
}

body {
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif, '宋体';
    background-color: #f5f5f5;
}

ul,
li,
ol {
    list-style: none;
    background: transparent;
    margin-bottom: 0;
}

b,
strong {
    font-weight: bold;
}

.btn-success {
    color: #fff;
    background-color: #008000;
    border-color: #398439;
}

.btn-info {
    color: #fff;
    background-color: #337ab7;
    border-color: #46b8da;
}

a {
    color: #008000;
    text-decoration: none;
}

a:focus {
    color: #008000;
    text-decoration: none;
}

a:hover {
    color: #ff8f00;
    text-decoration: none;
}

@media (hover: hover) {
    a:hover {
        color: #ff8f00;
        text-decoration: none;
    }
}

a,
button,
input {
    outline: none;
}

img {
    max-width: 100%;
    /* height: auto; */
    vertical-align: top;
    -ms-interpolation-mode: bicubic;
    border: 0;
}

textarea {
    resize: vertical;
}

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.625em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.625em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#header {
    position: relative;
}

.header-logo {
    max-height: 50px;
    width: auto;
    padding-top: 2px;
}

.header-logo>h1>a {
    font-size: 24px;
    color: #008000;
    font-weight: bold;
}

.search-box .text {
    float: left;
    width: 250px;
    height: 34px;
    padding: 0 10px 0 18px;
    border: 2px solid #008000;
    border-right: none;
    border-radius: 100px 0 0 100px;
    background: 0 0;
}

.search-box {
    margin-left: 20px;
    line-height: 2;
    position: relative;
}

.search-box .btn-search {
    float: left;
    width: 44px;
    height: 34px;
    border: 2px solid #008000;
    border-left: none;
    border-radius: 0 100px 100px 0;
    background: 0 0;
}

.search-box .btn-search i {
    font-size: 18px;
    display: block;
    width: 18px;
    margin: 0 auto;
    color: #008000;
    -webkit-text-stroke-width: .4px;
}

.search-box.pull-right {
    width: auto;
    margin-top: 0;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .search-box.pull-right {
        width: 100%;
        margin-top: 10px;
    }
}


.header-menu {
    position: relative;
    z-index: 20;
    background: #008000;
}

.header-menu ul li {
    font-size: 16px;
    line-height: 50px;
    position: relative;
    z-index: 1;
    float: left;
    height: 47px;
    margin-right: 23px;
    cursor: pointer;
    transition: border-bottom .3s;
    border-bottom: 3px solid #008000;
}

.header-menu li.active {
    border-bottom: 3px solid #fff;
}

.header-menu ul li:hover {
    height: 47px;
    border-bottom: 3px solid #fff;
}

.header-menu ul li.right {
    float: right;
}

.header-menu ul li a {
    display: block;
    color: #fff;
}

.inner {
    padding: 20px;
    border-radius: 6px;
    background: #fff;
}

.inner h1 {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.inner h2 {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.inner h3 {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 6px;
}

.inner h4 {
    font-size: 14px;
    font-weight: 550;
    padding-bottom: 3px;
}

.section1 ul {
    overflow: hidden;
}

.section1 ul li {
    width: 100%;
    float: left;
    padding: 14px 1%;
    border-bottom: 1px solid #d8d8d8;
}

.book-img {
    float: left;
    margin-right: 6px;
    border: 1px solid #e6e6e6;
}

.section1 .book-img img {
    max-height: 100px;
    max-width: 80px;
    overflow: hidden;
}

.section2 .book-img img {
    max-height: 100px;
    max-width: 80px;
    overflow: hidden;
}

/* .book-info {
    overflow: hidden;
} */

.book-info h2 a {
    display: block;
    overflow: hidden;
    font-size: 16px;
    line-height: 21px;
    height: 21px;
    margin-top: -3px;
    margin-bottom: 8px;
}

.book-info p {
    font-size: 12px;
    overflow: hidden;
    height: 50px;
    color: #333;
}

.book-detail-info p {
    font-size: 14px;
    overflow: hidden;
    height: 24px;
    color: #333;
}

.book-info .type {
    overflow: hidden;
    height: 18px;
    padding: 0 3px;
    text-align: center;
    color: #a6a6a6;
    border-radius: 1px;
}

.book-info .author {
    overflow: hidden;
    height: 20px;
    margin: 1px;
    white-space: nowrap;
    color: #333;
    font-size: 14px;
}

.book-info .author i {
    margin-right: 5px;
}

.section2 {
    overflow: hidden;
}

.section2 div.type {
    width: 25%;
    float: left;
    padding: 0 1% 24px;
}

.section2 .top .book-info h2 a {
    display: block;
    overflow: hidden;
    font-size: 16px;
    line-height: 21px;
    height: 21px;
    margin-top: -3px;
    margin-bottom: 8px;
}

.section2 ul li {
    overflow: hidden;
}

.section2 ul li.top {
    margin-top: 15px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
}

.section2 ul li.btm {
    height: 30px;
    line-height: 30px;
}

.section3 table tr td {
    height: 32px;
    line-height: 32px;
    padding: 2px;
}

#footer {
    background: #fff;
    padding: 20px 0;
}

.friend-link a,
.friend-link em {
    font-size: 12px;
    display: inline-block;
}

.friend-link a,
.footer-menu ul li a {
    font-size: 12px;
    line-height: 18px;
    margin-right: 16px;
    margin-bottom: 10px;
    color: #1a1a1a;
    display: inline-block;
}

.footer-menu ul li {
    display: inline-block;
}

.footer-menu ul li a {
    color: #666;
}

.friend-link em {
    color: #1a1a1a;
    margin-right: 16px;
}

.copy-right p {
    overflow: hidden;
    line-height: 1.8;
    color: #666;
}

.wechat {
    max-width: 150px;
    margin: auto;
}

.book-main {
    overflow: hidden;
}

.book-main .book-img {
    float: left;
    border: none;
}

.book-main .book-info h1 {
    font-size: 28px;
    line-height: 38px;
    font-weight: 800;
    overflow: hidden;
    height: 38px;
    margin-bottom: 8px;
}

.book-main .book-info h1 em {
    font-weight: 400;
    line-height: 38px;
    margin-left: 3px;
}

.tag-box a {
    border: 1px solid #008000;
    display: inline-block;
    padding: 0px 2px;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 2px;
}

.book-main .book-info .total {
    margin-bottom: 5px;
}

.total span {
    font: 16px/18px Arial;
    margin-top: -2px;
    margin-right: 5px;
    color: #1a1a1a;
}

.total em {
    font: 12px/20px PingFangSC-Regular, '-apple-system', Simsun;
}

.total i {
    font-size: 16px;
    margin: -3px 10px 0;
    color: #a6a6a6;
    font-style: normal;
}

.intro {
    /* overflow: hidden;
    height: 72px; */
    /* margin-bottom: 20px; */
    font: 14px/24px PingFangSC-Regular, '-apple-system', Simsun;
}

.green-btn {
    font: 14px/34px PingFangSC-Regular, '-apple-system', Simsun;
    display: inline-block;
    width: 120px;
    height: 34px;
    margin-right: 20px;
    text-align: center;
    vertical-align: middle;
    border-width: 1px;
    border-style: solid;
    color: #fff;
    border-radius: 100px !important;
    background: #008000;
}

.green-btn:hover {
    background: #489f38;
    color: #fff;
}

.book-nav {
    overflow: hidden;
    padding-left: 8px;
}

.book-nav ul li {
    line-height: 48px;
    float: left;
    overflow: hidden;
    height: 47px;
    text-align: center;
}

.book-nav ul li.act {
    margin-bottom: -1px;
    border-bottom: 2px solid #008000;
}

.book-nav ul li a {
    font-size: 18px;
    display: block;
    overflow: hidden;
    padding: 0 20px;
}

.book-catalog {
    overflow: hidden;
}

.book-catalog h3 {
    border-bottom: 1px solid #e6e6e6;
}

.book-catalog ul li {
    float: left;
    width: 33.33%;
    float: left;
    overflow: hidden;
    line-height: 40px;
    height: 40px;
    padding-right: 60px;
    border-bottom: 1px solid #ebebeb;
}

/* .singe-bg {
    background: #ede7da url(images/bg.png) repeat;
} */

.content article {
    padding: 60px;
    min-height: 600px;
    margin-bottom: 24px;
    margin-top: 24px;
    border: 1px solid #d8d8d8;
    /* background: url(images/basic_bg.edf95.png) repeat; */
}

.single-header {
    position: relative;
    z-index: 5;
    margin-bottom: 20px;
}

.single-header h1 {
    font: 24px/32px PingFangSC-Regular, HelveticaNeue-Light, 'Helvetica Neue Light', 'Microsoft YaHei', sans-serif;
    overflow: hidden;
    height: 32px;
    margin-bottom: 12px;
}

.single-meta span {
    font-family: PingFangSC-Regular, HelveticaNeue-Light, 'Helvetica Neue Light', 'Microsoft YaHei', sans-serif;
    margin-right: 16px;
    color: #777;
    font-size: 12px;
}

.entry-content p {
    font-size: 18px;
    line-height: 1.8;
    overflow: hidden;
    margin: .8em 0;
    text-indent: 2rem;
}

.nav-single {
    height: 70px;
    margin-bottom: 24px;
    border: 1px solid #d8d8d8;
    /* background: url(images/basic_bg.edf95.png) repeat; */
}

.nav-single a {
    text-align: center;
    font: 18px/70px PingFangSC-Regular, HelveticaNeue-Light, 'Helvetica Neue Light', 'Microsoft YaHei', sans-serif;
    width: 30%;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: normal;
    word-spacing: normal;
}

.nav-single a:hover {
    background: #ede9e1;
    background: rgba(0, 0, 0, .03);
}

.nav-single a.none {
    cursor: default;
    color: #ccc;
    background: 0 0;
}

.page-nav {
    text-align: center;
    line-height: 28px;
}

.page-nav a,
.page-nav span {
    display: inline-block;
    height: 28px;
    border: 1px solid #008000;
    padding: 0 10px;
    font-size: 14px;
    color: #595959;
    margin: 0 1px;
    vertical-align: top;
}

.page-nav .current {
    background: #008000;
    color: #fff;
    text-decoration: none;
    height: 28px;
    line-height: 28px;
    border: 1px solid #008000;
}

.page-content p {
    margin: 0 0 10px;
    line-height: 1.75;
}

.page-content p strong {
    margin: 0 0 10px;
    line-height: 1.75;
}

.page-content h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0px 15px;
}

.page-content h2:first-child {
    margin: 0px 0px 15px;
}

.page-content h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0px 15px;
}

.page-content h3:first-child {
    margin: 0px 0px 15px;
}

.page-content a {
    color: #ED5565;
    text-decoration: none;
}

.page-content ul {
    list-style: disc;
    margin-bottom: 1rem;
    margin: 0 0 15px 40px;
}

.page-content ul li {
    list-style: disc;
    color: #31424e;
    font-size: 16px;
    line-height: 1.6;
}

.page-content ol {
    list-style: disc;
    margin-bottom: 1rem;
    margin: 0 0 15px 40px;
}

.page-content ol li {
    list-style: disc;
    color: #31424e;
    font-size: 16px;
    line-height: 1.6;
}

.page-content blockquote {
    border-left: 5px solid #eee;
    margin: 20px;
    padding: 5px 10px;
    clear: both;
}

p.wp-caption-text {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

#header .button {
    position: absolute;
    padding: 10px;
    right: 15px;
    top: 20%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.button .menu-toggle {
    width: 18px;
    height: 14px;
    display: block;
    position: relative;
}

.button .menu-toggle span {
    position: absolute;
    top: 50%;
    margin-top: -1px;
    width: 100%;
    height: 2px;
    background-color: #4c5462;
    transition: -webkit-transform 0.14s ease;
    transition: transform 0.14s ease;
    transition: transform 0.14s ease, -webkit-transform 0.14s ease;
}

.button .menu-toggle span:after,
.button .menu-toggle span:before {
    content: '';
    width: 18px;
    height: 2px;
    background-color: #4c5462;
    border-radius: 0px;
    position: absolute;
}

.button .menu-toggle span:before {
    top: -6px;
}

.button .menu-toggle span:after {
    bottom: -6px;
}

.button .menu-toggle span:before {
    transition: top 0.14s ease 0.14s;
}

.button .menu-toggle span:after {
    transition: bottom 0.14s ease 0.14s, -webkit-transform 0.14s ease;
    transition: transform 0.14s ease, bottom 0.14s ease 0.14s;
    transition: transform 0.14s ease, bottom 0.14s ease 0.14s, -webkit-transform 0.14s ease;
}

.button.active .menu-toggle span {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: -webkit-transform 0.14s ease 0.14s;
    transition: transform 0.14s ease 0.14s;
    transition: transform 0.14s ease 0.14s, -webkit-transform 0.14s ease 0.14s;
}

.button.active .menu-toggle span:after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transition: bottom 0.14s ease, -webkit-transform 0.14s ease 0.14s;
    transition: bottom 0.14s ease, transform 0.14s ease 0.14s;
    transition: bottom 0.14s ease, transform 0.14s ease 0.14s, -webkit-transform 0.14s ease 0.14s;
}

.button.active .menu-toggle span:before {
    top: 0;
    transition: top 0.14s ease;
}

.collect-btn {
    position: fixed;
    bottom: 500px;
    z-index: 1000;
    font-size: 24px;
    color: red !important;
    background: transparent !important;
    border: none !important;
    opacity: 0.9;
    transition: all 0.3s;
}

.collect-btn.collected {
    color: #ff4444 !important;
}

.collect-btn.collected>.fa {
    display: inline-block;
    animation: heartBeat 0.6s;
}

.collect-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.spinning {
    animation: spin 1s infinite linear;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 移动端适配 */
@media (max-width: 767px) {
    .collect-btn {
        right: 5px;
        bottom: 200px;
        font-size: 20px;
    }
}

.error-page {
    text-align: center;
    padding: 100px 20px;
}

.error-code {
    font-size: 150px;
    color: #e74c3c;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.error-title {
    color: #2c3e50;
    margin: 20px 0;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.filter {
    padding: 20px;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 10px;
}

.filter>ul {
    margin-bottom: 6px;
}

.filter>ul>li {
    float: left;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 5px 8px;
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
    color: #fff;
    background-color: #008000;
    font-size: 12px;
}

.title {
    font: 24px/32px PingFangSC-Regular, HelveticaNeue-Light, 'Helvetica Neue Light', 'Microsoft YaHei', sans-serif;
    overflow: hidden;
    height: 32px;
    margin-bottom: 12px;
}

.list-inline {
    display: flex;
    flex-wrap: wrap;
}

.list-inline a {
    display: block;
    padding-top: 12px;
    padding-left: 2px;
    text-decoration: none;
}

.book-img {
    border-radius: 3px;
}

.book-img img {
    border-radius: 3px;
}

.glyphicon {
    padding-right: 5px;
}

.a-login {
    color: #fff;
    background-color: #5cb85c;
}

.a-register {
    color: #fff;
    background-color: #5cb85c;
}

/* 全站通知容器 */
.site-notice {

    width: auto;
}

/* 滚动动画 */
.marquee {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.marquee-content {
    color: orange;
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.chapter-many {
    float: right;
    padding-top: 8px;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: 15%;
    right: 20px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s;
    z-index: 999;
    display: none;
}

.back-to-top:hover {
    background: rgba(0, 0, 0, 0.8);
}

.back-to-top::after {
    content: "↑";
    font-size: 24px;
    line-height: 30px;
}

@media (min-width: 768px) {
    .back-to-top {
        right: calc((100% - 1170px)/2 + 20px);
    }
}

.reading-controls {
    padding: 10px 0;

}

/* 字号控制 */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    transition: all 0.3s ease;
    color: #333;
}

.entry-content.font-smaller,
.entry-content.font-smaller p {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.entry-content.font-default,
.entry-content.font-default p {
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.entry-content.font-bigger,
.entry-content.font-bigger p {
    font-size: 20px !important;
    line-height: 2.0 !important;
}

.font-default {
    font-size: 16px !important;
}

.font-bigger {
    font-size: 20px !important;
}

body.eye-protection-mode {
    background-color: #1E1E1E !important;
}

body.eye-protection-mode .singe-bg {
    background: #333 !important;
    background-image: none !important;
}

body.eye-protection-mode .nav-single {
    background: #1E1E1E !important;
    background-image: none !important;
}

body.eye-protection-mode #header,
body.eye-protection-mode #footer,
body.eye-protection-mode .site-notice {
    background-color: #1E1E1E !important;
}

body.eye-protection-mode .entry-content {
    color: #ccc !important;
}

body.eye-protection-mode .single-header .title {
    color: #ccc !important;
}

.eye-protection-btn.active {
    background-color: #1E1E1E !important;
    /* border-color: #8AB08A !important; */
    color: #2B580C !important;
}

body.eye-protection-mode .content article {
    background: #1E1E1E !important;
    background-image: none !important;
    /* border-color: #B3D9B5 !important; */
}

body.eye-protection-mode .btn-group .btn {
    background-color: #1E1E1E !important;
    /* border-color: #B3D9B5 !important; */
    color: #2B580C !important;
}

body.eye-protection-mode .btn-group .btn.active {
    background-color: #ccc !important;
    /* border-color: #8AB08A !important; */
}

@media (max-width: 767px) {
    .reading-controls .btn-group {

        margin-right: 10px;
    }

    .btn-group .btn {
        padding: 5px 10px;
    }
}