@charset "UTF-8";
/* 主列表 */
.h5Main .mainList {
    display: none;
    padding: 0 1rem;
    background-color: #fff;
    border-radius: 4px;
}

    .h5Main .mainList.show {
        display: block;
    }

.h5Main .topBarInfo {
    display: none;
}

    .h5Main .topBarInfo.show {
        display: flex;
        justify-content: space-between;
        align-items: end;
        position: relative;
    }

.h5Main .topToConfig {
    padding: 1rem 0;
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: #116BE7;
}

.h5Main .topBarConfig {
    display: none;
}

    .h5Main .topBarConfig.show {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.h5Main .topBtn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .h5Main .topBtn .iconBtn {
        position: relative;
        margin-left: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.125rem;
        padding: 1rem 0 1rem 1.25rem;
    }

        .h5Main .topBtn .iconBtn .layui-icon {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
        }

        .h5Main .topBtn .iconBtn:first-child {
            color: #FB4E4E;
        }

            .h5Main .topBtn .iconBtn:first-child .layui-icon {
                font-size: 1.25rem;
            }

        .h5Main .topBtn .iconBtn:last-child {
            color: #116BE7;
        }

            .h5Main .topBtn .iconBtn:last-child .layui-icon {
                font-size: 0.875rem;
            }

.h5Main .topCheckBox {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
/* 全选/全不选 */
.h5Main .checkAll {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: #878787;
    transition: all 0.3s;
}

.h5Main .checkAllIcon {
    width: 1.125rem;
    height: 1.125rem;
    border: 0.0625rem solid #d8d8d8;
    border-radius: 50%;
    background-color: #fff;
    margin-right: 0.5rem;
    transition: all 0.3s ease-out;
}

.h5Main .checkAll.check {
    color: #FB4E4E;
}

    .h5Main .checkAll.check .checkAllIcon {
        position: relative;
        background-color: #FB4E4E;
        border: 0.0625rem solid #FB4E4E;
    }

        .h5Main .checkAll.check .checkAllIcon:before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            width: 0.875rem;
            height: 0.875rem;
            background-image: url(../image/h5/icon-yes.png);
        }
/* 书籍列表 */
.h5Main .bookList {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.h5Main .bookItem {
    width: 33.33%;
    margin-bottom: 1.375rem;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
}

    .h5Main .bookItem.bookItem:nth-child(3n+1) {
        justify-content: flex-start;
    }

    .h5Main .bookItem.bookItem:nth-child(3n+2) {
        justify-content: center;
    }

    .h5Main .bookItem.bookItem:nth-child(3n) {
        justify-content: flex-end;
    }

    .h5Main .bookItem a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 6rem;
    }

.h5Main .bookImage {
    width: 6rem;
    border-radius: 0.375rem;
    border: 0.0625rem solid #E9E9E9;
    overflow: hidden;
    height: 8rem;
}

    .h5Main .bookImage img {
        width: 100%;
        height: 100%;
    }

.h5Main .bookInfo {
    width: 6rem;
}

.h5Main .bookTitle {
    width: 100%;
    margin-top: 0.6875rem;
    line-height: 1.125rem;
    font-size: 0.875rem;
    color: #303030;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h5Main .bookDesc {
    width: 100%;
    margin-top: 0.3125rem;
    line-height: 1.125rem;
    font-size: 0.75rem;
    color: #a6a6a6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 书籍列表复选框 */
.h5Main .bookCheckboxH5 {
    position: absolute;
    width: 6rem;
    height: 100%;
    background-color: rgba(0,0,0,0);
}

.h5Main .bookList .bookCheckboxH5 {
    display: none;
}

.h5Main .bookList.isConfig .bookCheckboxH5 {
    display: block;
}

.h5Main .checkbox {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 1.75rem;
    top: 6.25rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: #aaa;
    transition: all 0.3s;
}

.h5Main .checkboxIcon {
    width: 1.125rem;
    height: 1.125rem;
    border: 0.0625rem solid #fff;
    border-radius: 50%;
    background-color: rgba(0,0,0,.5);
}

.h5Main .bookCheckboxH5.check .checkbox {
    color: #FB4E4E;
}

    .h5Main .bookCheckboxH5.check .checkbox .checkboxIcon {
        position: relative;
        background-color: #FB4E4E;
        border: 0.0625rem solid #FB4E4E;
    }

        .h5Main .bookCheckboxH5.check .checkbox .checkboxIcon:before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            width: 0.875rem;
            height: 0.875rem;
            background-image: url(../image/h5/icon-yes.png);
            background-size: 100%;
        }


/* 无数据 */
.h5Main .dataNull {
    display: none;
    margin: 12.5rem auto 0;
    text-align: center;
}

    .h5Main .dataNull.show {
        display: block;
    }

    .h5Main .dataNull h6 {
        font-size: 1rem;
        line-height: 1.125rem;
        color: #393939;
    }

    .h5Main .dataNull p {
        margin-top: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.125rem;
        color: #a2a2a2;
    }

    .h5Main .dataNull a {
        display: inline-block;
        margin-top: 1.4375rem;
        padding: 0.5625rem 3.25rem;
        height: 2.5rem;
        font-size: 1rem;
        line-height: 1.5rem;
        background-color: #FB4E4E;
        color: #fff;
        border-radius: 1.25rem;
    }
