@charset "UTF-8";

.pcMain {
    background-color: #FFF5F5;
}

    .pcMain .cardBox {
        width: 1020px;
        margin: 20px auto 0;
        padding: 20px;
        background-color: #fff;
        border-radius: 4px;
    }

        .pcMain .cardBox h2 {
            font-size: 18px;
            line-height: 22px;
            color: #000;
        }

        .pcMain .cardBox h3 {
            font-size: 20px;
            line-height: 22px;
            color: #1a1a1a;
            font-weight: bold;
        }

            .pcMain .cardBox h3 a {
                opacity: 0;
                font-size: 12px;
                float: right;
                color: #4284ED;
                transition: .3s;
            }

                .pcMain .cardBox h3 a .layui-icon {
                    font-size: 12px;
                }

            .pcMain .cardBox h3:hover a {
                opacity: 1;
            }

        .pcMain .cardBox:first-child {
            margin-top: 0;
        }
    /* 热门推荐 */
    .pcMain .fullLine {
        margin-top: 10px;
        margin-bottom: 0;
        border-bottom: 1px solid #1a1a1a;
    }

    .pcMain .hotBook {
        display: flex;
        justify-content: space-between;
    }

    .pcMain .swiper {
        width: 750px;
        height: 252px;
        margin: 0;
    }

        .pcMain .swiper img {
            width: 750px;
            height: 252px;
        }

    .pcMain .swiperTabBar {
        width: 206px;
        margin-top: 4px;
    }

        .pcMain .swiperTabBar ul {
            font-size: 14px;
            color: #262626;
            height: 215px;
            overflow-y: scroll;
        }

            .pcMain .swiperTabBar ul::-webkit-scrollbar-track {
                background-color: transparent !important;
            }

            .pcMain .swiperTabBar ul::-webkit-scrollbar-thumb {
                background-color: transparent !important;
                border-radius: 2px !important;
            }

            .pcMain .swiperTabBar ul::-webkit-scrollbar {
                width: 0px !important;
            }

        .pcMain .swiperTabBar li {
            line-height: 35px;
            border-bottom: 1px solid #E9E9E9;
        }

            .pcMain .swiperTabBar li:last-child {
                border-bottom: 0;
            }

            .pcMain .swiperTabBar li a {
                display: block;
                width: 100%;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                transition: 0.3s;
                color: #262626;
            }

            .pcMain .swiperTabBar li.active a {
                color: #FF3955;
            }

            .pcMain .swiperTabBar li a:hover {
                color: #FF3955;
            }

    /* 列表样式 */
    .pcMain .bookList {
        overflow: hidden;
    }

        .pcMain .bookList ul {
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            margin-right: -24px;
            margin-bottom: -24px;
        }

    .pcMain li.listItem {
        width: 25%;
        padding: 24px 24px 24px 0;
    }

        .pcMain li.listItem:nth-child(4n+1) {
            position: relative;
        }

            .pcMain li.listItem:nth-child(4n+1)::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                border-top: 1px solid #d1d1d1;
                width: 980px;
            }

        .pcMain li.listItem:nth-child(1)::before {
            border-top: 0;
        }
        /* .pcMain li.listItem:nth-child(n+5){
  border-top: 1px solid #f00;
} */
        .pcMain li.listItem a {
            display: flex;
            justify-content: space-between;
        }

    .pcMain .imgItem {
        width: 72px;
        height: 96px;
        margin-right: 13px;
        box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
        overflow: hidden;
        border: 1px solid #E9E9E9;
    }

        .pcMain .imgItem img {
            width: 72px;
            height: 96px;
            transition: transform .3s ease-out;
        }

    .pcMain .listItem img:hover {
        transform: scale(1.05);
    }

    .pcMain .infoItem {
        width: calc(100% - 72px - 13px);
    }

        .pcMain .infoItem h4 {
            overflow: hidden;
            font-size: 16px;
            line-height: 25px;
            margin-bottom: 8px;
            color: #1a1a1a;
            transition: .3s;
            height: 25px;
        }

    .pcMain .listItem h4:hover {
        color: #FF3955;
    }

    .pcMain .infoItem p {
        height: 36px;
        overflow: hidden;
        display: -webkit-box;
        font-size: 12px;
        line-height: 1.5;
        color: #666;
    }

    .pcMain .infoBottom {
        margin-top: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #a6a6a6;
    }

    .pcMain .infoAuthor {
        font-size: 12px;
        line-height: 1.5;
        max-width: 70px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
    }

        .pcMain .infoAuthor svg {
            margin-right: 4px;
            flex-shrink: 0;
        }

    .pcMain .InfoTag {
        font-size: 12px;
        line-height: 1;
        padding: 3px 4px;
        border: 1px solid #E7E7E7;
        max-width: 60px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* 排行榜列表样式 */
    .pcMain .rankingBox {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .pcMain .rankingList {
        width: calc(25% - 15px);
        margin-left: 20px;
    }

        .pcMain .rankingList:first-child {
            margin-left: 0;
        }

        .pcMain .rankingList li {
            min-height: 32px;
        }

            .pcMain .rankingList li > a {
                display: flex;
                justify-content: flex-start;
                min-height: 32px;
                align-items: center;
            }

            .pcMain .rankingList li:first-child > a {
                align-items: start;
            }

    .pcMain .rankingNumber {
        background-color: #ededed;
        color: #666;
        font-size: 14px;
        height: 16px;
        width: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        margin-top: -1px;
    }

    .pcMain .rankingList li:nth-child(1) .rankingNumber {
        background-color: #ff3854;
        color: #fff;
        width: auto;
        display: inline-block;
        line-height: 15px;
        padding: 1px 2px;
        margin-bottom: 6px;
    }

        .pcMain .rankingList li:nth-child(1) .rankingNumber::before {
            content: "NO.";
        }

    .pcMain .rankingList li:nth-child(2) .rankingNumber {
        background: #1ABAFF;
        color: #fff;
    }

    .pcMain .rankingList li:nth-child(3) .rankingNumber {
        background: #10EE9F;
        color: #fff;
    }

    .pcMain .bookName {
        font-size: 14px;
        line-height: 35px;
        /* padding: 11px 0; */
        color: #333;
        overflow: hidden;
        width: 100%;
        display: block;
        border-bottom: 1px solid #D6D6D6;
        transition: 0.3s;
        height: 35px;
    }

        .pcMain .bookName:hover {
            color: #ff3854;
        }

    .pcMain .rankingList ul {
        font-size: 0;
    }

    .pcMain .rankingList li:first-child .bookName {
        height: auto;
        line-height: 23px;
        padding: 0;
        height: 50px;
    }

    .pcMain .rankingList li:first-child .bookName, .pcMain .rankingList li:last-child .bookName {
        border-bottom: 0;
    }

    .pcMain .rankingAuthor {
        margin-top: 9px;
        font-size: 12px;
        color: #a6a6a6;
        display: inline-flex;
        align-items: center;
    }

        .pcMain .rankingAuthor svg {
            margin-right: 4px;
        }

    .pcMain .rankingL {
        margin-right: 14px;
    }

    .pcMain .rankingList li:first-child {
        margin-bottom: 25px;
        margin-top: 12px;
    }

        .pcMain .rankingList li:first-child .rankingL {
            margin-right: 15px;
            width: calc(100% - 99px);
        }

    .pcMain .rankingR img {
        width: 72px;
        height: 96px;
        border: 1px solid #E9E9E9;
        box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
    }

    .pcMain .rankingR {
        width: calc(100% - 30px);
    }
