﻿/* Set padding to keep content from hitting the edges */
.body-content {
    padding: 15px 15px;
}

.navbar {
    margin-bottom: 0;
}

a {
    outline: 0;
    transition: color .3s, background-color .3s;
}

.select {
    vertical-align: middle;
    padding: 5px 5px;
    border-radius: 3px 3px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/*默认字体粗细*/
.fs-normal {
    font-weight: normal;
}

/*清除浮动*/
.clear {
    display: block;
    clear: both;
}

/*文字颜色*/
.text-purple {
    color: purple;
}

.text-red {
    color: red;
}

.text-gray {
    color: gray;
}

.text-black {
    color: #333333;
}

.text-yellow {
    color: #ffce00;
}

/*外边距*/
.mg0 {
    margin: 0;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.ml10 {
    margin-left: 10px;
}

.ml20 {
    margin-left: 20px;
}

.mr10 {
    margin-right: 20px;
}

.mr20 {
    margin-right: 20px;
}

/*内边距*/
.pl10 {
    padding-left: 10px;
}

.pl20 {
    padding-left: 20px;
}

.pr10 {
    padding-right: 10px;
}

.pr20 {
    padding-right: 20px;
}

.pt10 {
    padding-top: 10px;
}

.pt20 {
    padding-top: 20px;
}

.pb10 {
    padding-bottom: 10px;
}

.pb20 {
    padding-bottom: 20px;
}

/*文字大小*/
.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-22 {
    font-size: 22px;
}

/*文章间距*/
.lh-lg {
    line-height: 180%;
}

/*返回顶部*/
.back-to-top {
    position: fixed;
    right: 10%;
    bottom: 20%;
    width: 46px;
    height: 44px;
    background: rgba(50, 50, 50, 0.5);
    cursor: pointer;
    font-size: 32px;
    text-align: center;
    line-height: 36px;
    color: #f4f4f4;
    border-radius: 3px 3px;
    display: none;
}

.back-to-top:hover {
    background: #c5c5c5;
    color: #ffffff;
}

/*重置pagination*/
.pagination {
    margin: 0;
}

a.thumbnail {
    text-decoration: none;
    margin-bottom: 0;
}

.body-content img {
    max-width: 100%;
}

/*Logo*/
.logo {
    width: 150px;
    height: 50px;
    overflow: hidden;
}

/*排行列表*/
.list-top {
}

.list-top i.topNum {
    display: inline-block;
    margin-right: 5px;
    background: #c3c3c3;
    color: #ffffff;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 2px 2px;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
}

.list-top li:nth-child(1) i.topNum, .list-top li:nth-child(2) i.topNum, .list-top li:nth-child(3) i.topNum {
    background: #ffce00;
}

.panel-friendlink a {
    margin-right: 10px;
    display: inline-block;
}

.breadcrumb {
    margin-bottom: 10px;
}

.bookTitle {
    font-size: 24px;
    margin-top: 0;
}

.bookTitle em {
    font-style: normal;
    margin-right: 15px;
}

#bookIntro {
    overflow: hidden;
    position: relative;
    transition: all 1s ease-in-out;
    padding-right: 20px;
}

#bookIntroMore {
    position: absolute;
    right: 0px;
    top: 5px;
}

.booktag {
    margin-bottom: 5px;
}

.booktag a, .booktag span {
    font: 12px/22px PingFangSC-Regular, '-apple-system', Simsun;
    display: inline-block;
    overflow: hidden;
    height: 22px;
    margin-right: 10px;
    margin-bottom: 5px;
    padding: 0 10px;
    text-align: center;
    vertical-align: middle;
    border-width: 1px;
    border-style: solid;
    border-radius: 15px;
}

.booktag a.blue, .booktag span.blue {
    color: #3f5a93;
    border-color: #89d4ff;
}

.booktag a.red, .booktag span.red {
    transition: border .3s;
    color: #bf2c24;
    border-color: #ffb0b4;
}

.booktag a.red:hover {
    border-color: #ed4259
}

.panel-chapterlist {
    margin-bottom: 0;
    padding-top: 0;
}

.pages {
    display: flex;
    justify-content: space-between;
    padding: 15px 10px;
    background: #fff;
}

.pages a {
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #cecece;
    color: #fff;
    border-radius: 3px;
    flex: 1;
}

.pages .onclick {
    background: #05a7ff;
}

.pages select {
    flex: 2;
    border: none;
    color: #999;
    font-style: normal;
    height: 36px;
    line-height: 36px;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
    margin: 0 10px;
    background: #eee;
}

.panel-chapterlist dt, .panel-chapterlist dd {
    border-bottom: 1px dotted #e5e5e5;
    height: 38px;
    overflow: hidden;
    line-height: 38px;
    padding: 0;
}

.panel-chapterlist a:visited {
    color: #999999;
}

.page-header {
    margin: 0 0;
    margin-bottom: 15px;
}

hr {
    margin: 15px 0;
}

#htmlContent {
    font-family: 方正启体简体,"Microsoft YaHei", 微软雅黑, 宋体;
    font-size: 24px;
    letter-spacing: 0.2em;
    line-height: 180%;
    padding: 0 15px;
}

#htmlContent p,#htmlContent div,#htmlContent span {
    margin-bottom: 40px;
    text-indent: 2.5em;
}

.panel-readcontent {
    background-color: rgb(233, 250, 255);
}

.readTitle {
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
}

.body-content .thumbnail .caption {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*书籍封面推荐排行*/
.book-coverlist {
}

.book-coverlist h4 {
    margin: 5px 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}

.book-coverlist .thumbnail {
    margin-bottom: 10px;
    height: 150px;
}

@media (max-width: 992px) {
    .book-coverlist h4 {
        font-size: 12px;
    }

    .book-coverlist p {
        max-height: 70px;
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .book-coverlist p {
        max-height: 70px;
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    .navbar-inverse {
        margin: 0;
    }

    .body-content {
        padding: 10px 10px;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .breadcrumb {
        margin-bottom: 10px;
    }

    hr {
        margin: 10px 0;
    }

    .ReadStyleOption select {
        padding: 5px 10px;
        border-radius: 3px 3px;
    }

    #htmlContent {
        font-size: 20px;
        word-break: break-all;
        letter-spacing: 0;
    }

    .panel-readcontent {
        background-color: rgb(233, 250, 255);
    }

    .readTitle {
        font-size: 20px;
        margin-top: 10px;
    }

    .page-header {
        margin-bottom: 0;
        border-bottom: 0;
        padding-bottom: 0;
    }

    .kongwen {
        clear: both;
        float: left;
        width: 1px;
        height: 150rem;
        display: block;
    }

    .middlead {
        float: left;
        width: 100%;
    }

    .mt5 {
        margin-top: 5px;
    }

    .panel-chapterlist dt:empty, .panel-chapterlist dd:empty {
        display: none;
    }


    p {
        margin-bottom: 5px;
    }

    .panel {
        margin-bottom: 10px;
    }

    .list-group {
        margin-bottom: 10px;
    }
}
