﻿.pcmenus {
    display: none;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #F5F5F5;
}

/* 针对移动设备的样式 */
@media only screen and (max-width: 767px) {
    .body-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /*首页Banner*/
    /*    .banners {
        height: 130px !important;
    }*/
    /*booklist*/
    .booktitles {
        display: grid;
    }
    /*ebook*/
    .ebooklist ul {
        display: flow-root !important;
    }

        .ebooklist ul li {
            width: 100% !important;
            margin: 24px 0 0 0 !important;
        }

            .ebooklist ul li > .ebook_imgbox {
                /*width: 50% !important;*/
            }

            .ebooklist ul li > .ebook_titlebox {
            }

    .curbooklist ul li .imgbox2 img {
        height: 115px;
    }

    .curbooklist ul li .imgbox3 {
        max-width: 110px !important;
        max-height: 170px !important;
    }

    .curbooklist ul li .imgbox1 {
        max-width: 110px !important;
        max-height: 110px !important;
    }

        .curbooklist ul li .imgbox1 img {
            width: 100% !important;
        }

    .curbooklist ul li .imgbox2 {
        /* width:100% !importan;
        height:auto !important;*/
        max-width: 110px;
        max-height: 110px;
    }
    /*Detail*/
    .pdfbox {
        background-color: white !important;
    }

    /*Medil*/
    .quarters {
        height: 50px !important;
        line-height: 50px !important;
        padding: 5px !important;
    }

        .quarters span {
            color: #222;
            height: 40px;
            line-height: 40px;
        }

    .seachbox ul li {
        /*width: calc(50% - 6px) !important;*/
        max-width: 50% !important;
    }


    .playerbox {
        min-width: 100% !important;
        min-height: 240px !important;
        background-color: #000000;
    }
}

/* 针对平板设备的样式 */
@media only screen and (min-width: 768px) and (max-width: 1130px) {
    .curbooklist ul li img {
        max-height: 220px !important;
    }

    .body-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /*首页BookList*/
    .booknavs {
        min-height: 55vh;
    }

        .booknavs .booklist {
            width: 40%;
            height: 350px;
            float: left;
        }

        .booknavs .booktitles {
            width: 58%;
            float: right;
        }
    /*ebook*/
    .ebooklist ul li {
        width: 100% !important;
        margin: 24px 0 0 0 !important;
    }

        .ebooklist ul li > .ebook_imgbox {
            width: 30% !important;
        }

        .ebooklist ul li > .ebook_titlebox {
            width: 70% !important;
        }

    /*列表页*/
    .seachbox ul li {
        /*width: calc(20% - 10px) !important;*/
        margin: 0 5px !important;
    }

    .curbooklist ul li {
        width: calc(25% - 32px) !important;
        margin-right: 40px !important;
    }

    .curbooklist li:nth-of-type(4n) {
        margin-right: 0 !important;
    }

    .curbooklist ul li .imgbox {
        width: 130px !important;
        height: 200px !important;
    }


    /*列表页*/
    .booklistbox, .detailbox {
        width: 95%;
        height: auto !important;
        min-height: 700px;
        padding: 24px 40px;
        box-sizing: border-box;
        margin: 24px auto;
        background: #fff;
    }
    /*搜索页*/
    .searchbody {
        width: 95%;
        height: auto !important;
        min-height: 700px;
        padding: 24px 40px;
        box-sizing: border-box;
        margin: 24px auto;
        background: #fff;
    }
    /*Medil*/
    .quarters {
        height: 40px !important;
        line-height: 40px !important;
        padding: 5px !important;
    }

        .quarters span {
            height: 30px;
            line-height: 30px;
        }
}

/* 针对桌面设备的样式 */
@media only screen and (min-width: 1131px) {
    .head_menus .weblogo img {
        min-width: 140px !important;
    }
    /*头部*/
    .head_menus {
        height: 10vh !important;
        margin: 0 auto;
        margin-bottom: 1rem;
    }
        /*头部Logo*/
        .head_menus .weblogo img {
            height: 8vh !important;
        }
    /*导航栏*/
    .pcmenus {
        display: block !important;
    }

    .searchbox {
        display: inline-block !important;
    }

    .body-content {
        padding-top: 10vh !important;
    }

    .webmenu-overlay, .webmenu, .webmenus {
        display: none !important;
    }

    /*首页BookList*/
    .booknavs .booklist {
        width: 40%;
        height: 350px;
        float: left;
    }

    .booknavs .booktitles {
        width: 58%;
        float: right;
    }

    /*列表页*/
    .booklistbox, .detailbox {
        width: 95%;
        height: auto !important;
        min-height: 700px;
        padding: 24px 40px;
        box-sizing: border-box;
        margin: 24px auto;
        background: #fff;
    }

    .seachbox ul li {
        /*width: 100% !important;*/
        margin: 0 5px !important;
    }

    .curbooklist ul li {
        width: calc(14% - 16px) !important;
        margin-right: 16px !important;
    }

    .curbooklist li:nth-of-type(5n) {
        /*margin-right: 0 !important;*/
    }

    .curbooklist ul li .imgbox {
        width: 140px !important;
        height: 200px !important;
    }

    /*视频播放页*/
    .playerbox {
        min-width: 65% !important;
        min-height: 420px !important;
        background-color: #000000;
        width: 65% !important;
        float: left !important;
        margin-left: 0 !important;
    }

    .videointroduction {
        background-color: white !important;
        padding: 2rem !important;
    }

    .selectedpc {
        display: block !important;
    }

    .selectedwr {
        display: none !important;
    }

    /*搜索页*/
    .searchbody {
        width: 95%;
        height: auto !important;
        min-height: 700px;
        padding: 24px 40px;
        box-sizing: border-box;
        margin: 24px auto;
        background: #fff;
    }
}
