@charset "UTF-8";

.pcMain {
    background-color: #FFF5F5;
}
    /* 主体内容 */
    .pcMain .contentBar {
        width: 1020px;
        padding: 16px 0;
        margin: 0 auto;
    }

    .pcMain .cardBar {
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 6px;
        background-color: #fff;
    }
    /* 顶部书籍信息 */
    .pcMain .bookInfo {
        display: flex;
        justify-content: flex-start;
    }

    .pcMain .bookImage {
        min-width: 180px;
        width: 180px;
        height: 240px;
        margin-right: 20px;
        overflow: hidden;
        box-shadow: 0 1px 6px rgba(0,0,0,.3), 0 0 5px #f9f2e9 inset;
    }

        .pcMain .bookImage img {
            width: 100%;
            height: 100%;
            transition: transform .3s ease-out;
        }

            .pcMain .bookImage img:hover {
                width: 100%;
                height: 100%;
                -webkit-transform: scale(1.05);
                -moz-transform: scale(1.05);
                -o-transform: scale(1.05);
                transform: scale(1.05);
            }

    .pcMain .bookTextInfo {
        width: calc(100% - 200px);
    }

    .pcMain .bookTitle {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: end;
        margin-bottom: 14px;
    }

    .pcMain .bookName {
        font-size: 28px;
        line-height: 1;
        color: #1a1a1a;
        max-width: 50%;
        margin-right: 22px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pcMain .bookTitleDesc {
        max-width: calc(50% - 22px);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        font-size: 14px;
        color: #1a1a1a;
    }

    .pcMain .bookAuthor {
        max-width: calc(100% - 200px - 18px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pcMain .bookRenewTime {
        margin-left: 18px;
        width: 200px;
    }

    .pcMain .bookTags {
        display: flex;
        justify-content: flex-start;
        font-size: 12px;
        line-height: 1;
        color: #a6a6a6;
        margin-bottom: 12px;
    }

        .pcMain .bookTags .tag {
            padding: 3px 5px;
            border-width: 1px;
            border-style: solid;
            margin-right: 4px;
            border-radius: 2px;
        }

        .pcMain .bookTags .tag-1 {
            border-color: #4081EB;
            color: #4081EB;
        }

        .pcMain .bookTags .tag-2 {
            border-color: #FF3955;
            color: #FF3955;
        }

    .pcMain .bookDesc {
        position: relative;
    }

    .pcMain .bookDescText {
        font-size: 14px;
        line-height: 24px;
        color: #1a1a1a;
        height: 96px;
        min-height: 96px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        word-break: break-all;
        -webkit-box-orient: vertical;
    }

    .pcMain .bookDesc.show .bookDescText {
        height: auto;
        overflow: visible;
        text-overflow: unset;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .pcMain .showAllBtn {
        /* display: none; */
        position: absolute;
        bottom: 0;
        right: 0;
        font-size: 12px;
        color: #2972CC;
        line-height: 20px;
        padding: 0 8px 0 30px;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #FFFFFF 30%, #FFFFFF 100%);
        box-shadow: 0 0 16px rgba(255,255,255,.8);
        cursor: pointer;
    }

    .pcMain .bookDesc:hover .showAllBtn {
        /* display: block; */
    }

    .pcMain .bookDesc .showAllIcon {
        transform: rotate(0);
        transition: all 0.5s ease-out;
        display: inline-block;
        margin-right: 6px;
    }

    .pcMain .bookDesc.show .showAllIcon {
        transform: rotate(180deg);
    }

    .pcMain .bookButtons {
        margin-top: 26px;
    }

        .pcMain .bookButtons .layui-btn-disabled, .pcMain .bookButtons .layui-btn-disabled:active, .pcMain .bookButtons .layui-btn-disabled:hover {
            border-color: #a6a6a6 !important;
            background-color: #ffffff !important;
            color: #a6a6a6 !important;
        }
    /* 章节信息 */
    .pcMain .chapterTitle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0 24px;
    }

    .pcMain .chapterTotal {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

        .pcMain .chapterTotal h3 {
            font-size: 22px;
            color: #000;
            line-height: 1;
        }

        .pcMain .chapterTotal span {
            font-size: 16px;
            color: #1a1a1a;
        }

    .pcMain .chapterSort {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        font-size: 12px;
        color: #2972cc;
        cursor: pointer;
    }

        .pcMain .chapterSort img {
            width: 16px;
            height: 15px;
            margin-right: 6px;
        }

    .pcMain .chapterList {
        margin-top: 14px;
        border-top: 1px solid #e9e9e9;
    }

        .pcMain .chapterList ul {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            flex-wrap: wrap;
        }

        .pcMain .chapterList li {
            position: relative;
            width: calc(33% - 10px);
            margin-right: 15px;
        }

            .pcMain .chapterList li:nth-child(3n) {
                margin-right: 0;
            }

            .pcMain .chapterList li:nth-child(3n+1):before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 980px;
                height: 1px;
                background-color: #e8e8e8;
            }

            .pcMain .chapterList li:first-child:before {
                background-color: transparent;
            }

            .pcMain .chapterList li a {
                font-size: 14px;
                line-height: 1;
                color: #262626;
                display: inline-flex;
                padding: 13px 0;
                transition: 0.3s;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                width: 100%;
                position: relative;
                align-items: center;
                cursor: pointer;
            }

                .pcMain .chapterList li a svg {
                    position: absolute;
                    right: 40px;
                }


                .pcMain .chapterList li a:hover {
                    color: #FF3955;
                }
/* 加入书架 */
#addBook, #addedBook {
    display: none;
}

    #addBook.show, #addedBook.show {
        display: inline-block;
        margin-left: 0;
    }


/* 滚动到顶部 */
.pcMain .scrollTop {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 126px;
    width: auto;
    height: auto;
    margin-left: 520px;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

    .pcMain .scrollTop.show {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pcMain .scrollTop:hover {
        background-color: #FDFCF6;
    }

    .pcMain .scrollTop span {
        width: 15px;
        height: 12.5px;
        background-image: url(../image/pc/top@2x.png);
        background-size: cover;
        transition: all 0.3s ease-out;
    }

    .pcMain .scrollTop:hover span {
        background-image: url(../image/pc/top@2x-a.png);
    }
