@charset "UTF-8";

.pcMain {
    background-color: #FFF5F5;
}

    /* 主体内容 */
    .pcMain .contentBar {
        padding-top: 25px;
        width: 1020px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        height: calc(100vh - 296px - 70px - 25px);
    }
    /* 侧边栏 */
    .pcMain .sliderList {
        width: 76px;
        /* background-color: #fff; */
        border-radius: 4px;
    }

    .pcMain .layui-tab {
        margin: 8px 0;
    }

    .pcMain .layui-unselect {
        display: none;
    }

    .pcMain .layui-tab-more {
        width: 100%;
        padding-right: 0;
    }

    .pcMain .layui-tab .layui-tab-title li {
        height: 60px;
        font-size: 14px;
        width: 100%;
        padding-left: 0;
        text-align: left;
        color: #1a1a1a;
        line-height: 60px;
        transition: 0.3s;
    }

        .pcMain .layui-tab .layui-tab-title li:hover {
            color: #F81F52;
        }

    .pcMain .layui-tab-more li.layui-this {
        font-weight: bold;
    }

        .pcMain .layui-tab-more li.layui-this:after {
            height: 18px;
            border-bottom: 0;
            border-right: 4px solid #F81F52;
            top: 50% !important;
            transform: translateY(-50%);
        }

    .pcMain .layui-tab-brief > .layui-tab-title .layui-this {
        color: #1a1a1a;
    }

    .pcMain .layui-tab .layui-tab-title {
        border-bottom: 0;
    }
    /* 主列表 */
    .pcMain .mainList {
        /* height: 100%; */
        /* overflow-y: scroll; */
        width: 900px;
        padding: 0 30px 20px;
        background-color: #fff;
        border-radius: 4px;
    }
    /* .pcMain .mainList::-webkit-scrollbar-track {
    background-color: transparent!important;
}
.pcMain .mainList::-webkit-scrollbar-thumb {
    background-color: transparent!important;
    border-radius: 2px!important;
}
.pcMain .mainList:hover::-webkit-scrollbar-thumb {
    background-color: #999!important;
}
.pcMain .mainList::-webkit-scrollbar {
    width: 4px!important;
} */

    .pcMain .topBarInfo {
        display: none;
    }

        .pcMain .topBarInfo.show {
            display: flex;
            justify-content: space-between;
            align-items: end;
            padding: 27px 0;
            border-bottom: 1px solid #e9e9e9;
            position: relative;
        }

    .pcMain .topTitle {
        font-size: 22px;
        color: #1a1a1a;
        font-weight: bold;
        line-height: 1;
    }

    .pcMain .topToConfig {
        position: relative;
        top: 8px;
        font-size: 14px;
        line-height: 1;
        color: #666;
        transition: 0.3s;
        cursor: pointer;
    }

        .pcMain .topToConfig:hover {
            color: #FB4E4E;
        }

    .pcMain .topBarConfig {
        display: none;
    }

        .pcMain .topBarConfig.show {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 21px 0;
            border-bottom: 1px solid #e9e9e9;
        }

        .pcMain .topBarConfig .layui-btn {
            padding: 0 22px;
            height: 34px;
            line-height: 34px;
        }

    .pcMain .topCheckBox {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    /* 全选/全不选 */
    .pcMain .checkAll {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        line-height: 18px;
        color: #aaa;
        transition: all 0.3s;
    }

    .pcMain .checkAllIcon {
        width: 18px;
        height: 18px;
        border: 1px solid #aaa;
        border-radius: 50%;
        background-color: #fff;
        margin-right: 8px;
        transition: all 0.3s ease-out;
    }

    .pcMain .checkAll:hover {
        color: #FB4E4E;
    }

        .pcMain .checkAll:hover .checkAllIcon {
            border: 1px solid #FB4E4E;
        }

    .pcMain .checkAll.check {
        color: #FB4E4E;
    }

        .pcMain .checkAll.check .checkAllIcon {
            position: relative;
            background-color: #FB4E4E;
            border: 1px solid #FB4E4E;
        }

            .pcMain .checkAll.check .checkAllIcon:before {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
                width: 14px;
                height: 14px;
                background-size: 100%;
                background-image: url(../image/h5/icon-yes.png);
            }
    /* 书籍列表 */
    .pcMain .bookList {
        /* height: 100px; */
        /* background-color: #1a1a1a; */
        display: none;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-top: 18px;
        height: calc(100vh - 536px + 175px);
        overflow-y: scroll;
        margin-right: -4px;
    }

        .pcMain .bookList::-webkit-scrollbar-track {
            background-color: transparent !important;
        }

        .pcMain .bookList::-webkit-scrollbar-thumb {
            background-color: transparent !important;
            border-radius: 2px !important;
        }

        .pcMain .bookList:hover::-webkit-scrollbar-thumb {
            background-color: #999 !important;
        }

        .pcMain .bookList::-webkit-scrollbar {
            width: 4px !important;
        }

    .pcMain .bookItem {
        margin-left: 42px;
        width: 134px;
        margin-bottom: 30px;
        cursor: pointer;
        position: relative;
    }

        .pcMain .bookItem.bookItem:nth-child(5n+1) {
            margin-left: 0;
        }

    .pcMain .bookImage {
        border-radius: 6px;
        border: 1px solid #E9E9E9;
        overflow: hidden;
        height: 178px;
    }

        .pcMain .bookImage img {
            width: 100%;
            height: 100%;
            transition: transform .3s ease-out;
        }

            .pcMain .bookImage img:hover {
                transform: scale(1.05);
            }

    .pcMain .bookTitle {
        margin-top: 15px;
        line-height: 1;
        font-size: 16px;
        color: #1a1a1a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: all .3s ease-out;
    }

        .pcMain .bookTitle:hover {
            color: #FB4E4E;
        }

    .pcMain .bookDesc {
        margin-top: 10px;
        line-height: 1;
        font-size: 14px;
        color: #909394;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 书籍列表复选框 */
    .pcMain .bookCheckbox {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0);
    }

    .pcMain .bookList .bookCheckbox {
        display: none;
    }

    .pcMain .bookList.show {
        display: flex;
    }

    .pcMain .bookList.isConfig .bookCheckbox {
        display: block;
    }

    .pcMain .checkbox {
        position: absolute;
        right: 10px;
        top: 150px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        line-height: 18px;
        color: #aaa;
        transition: all 0.3s;
    }

    .pcMain .checkboxIcon {
        width: 18px;
        height: 18px;
        border: 1px solid #aaa;
        border-radius: 50%;
        background-color: rgba(0,0,0,.5);
        transition: all 0.3s ease-out;
    }

    .pcMain .bookCheckbox:hover .checkbox {
        color: #FB4E4E;
    }

        .pcMain .bookCheckbox:hover .checkbox .checkboxIcon {
            border: 1px solid #FB4E4E;
        }

    .pcMain .bookCheckbox.check .checkbox {
        color: #FB4E4E;
    }

        .pcMain .bookCheckbox.check .checkbox .checkboxIcon {
            position: relative;
            background-color: #FB4E4E;
            border: 1px solid #FB4E4E;
        }

            .pcMain .bookCheckbox.check .checkbox .checkboxIcon:before {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
                width: 14px;
                height: 14px;
                background-image: url(../image/h5/icon-yes.png);
                background-size: 100%;
            }

    .pcMain .dataNull {
        width: 100%;
        height: 100%;
        text-align: center;
        padding-bottom: 250px;
        display: none;
    }

        .pcMain .dataNull img {
            width: 236px;
            margin-top: 160px;
        }

    .pcMain .null_text {
        margin-top: 21px;
        font-size: 14px;
        color: #A5A5A5;
    }

    .pcMain .dataNull.show {
        display: block;
    }
