html,
body{
    height: 100%;
    overflow: auto;
}
.libraryNav ul li:nth-child(1) a{
    background: #f9f9f9;
    color: #004898;
}
/*轮播图*/
.layui-carousel{
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.layui-carousel > [carousel-item]{
    width: 1200px;
    margin: 0 auto;
}
.layui-carousel > [carousel-item] > div{
    background-color: transparent;
}
.layui-carousel > [carousel-item] > div img{
    width: 100%;
    height: auto;
    min-height: 100%;
}
.layui-carousel > [carousel-item]:before{
    display: none;
}
.layui-carousel .carousel-item-left{
    padding-top: 50px;
}
.layui-carousel .carousel-item-left h2{
    color: #585F69;
    line-height: 36px;
    padding: 0 0 40px 0;
    font-size: 26px;
    text-transform: uppercase;
}
.layui-carousel .carousel-item-left p{
    font-size: 14px;
    line-height: 26px;
    color: #585F69;
    white-space: break-spaces;
}

/*新闻资讯*/
.newsContent{
    position: fixed;
    bottom: 145px;
    right: 15px;
    color: #fff;
    z-index: 998;
}
.newsContent .newsItem{
    display: inline-block;
    height: 34px;
    background-color: #3e83cf;
    border-radius: 17px;
    padding: 3px 5px 3px 3px;
    margin-bottom: 8px;
    overflow: hidden;
    box-sizing: border-box;
    cursor: pointer;
}
.newsContent .newsItem .newsIndex{
    float: left;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background-color: #004898;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    font-size: 18px;
    overflow: hidden;
}
.newsContent .newsItem .newsTitle{
    float: left;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    margin: 0 5px;
    line-height: 28px;
}
.newsContent .newsTool{
    overflow: hidden;
}
.newsContent .newsTool > div{
    float: left;
    cursor: pointer;
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
    border-radius: 13px;
    background-color: #3e83cf;
}
.newsContent .newsTool > div + div{
    margin-left: 8px;
}

/*图书卡片*/
.bookBox{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bookClassiyBox .layui-tab{
    margin: 0;
}
.bookCard .box-msg .bookBottom > div{
    font-size: 14px;
}

/*合作伙伴*/
.partnersBox{
    height: 100px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.partnersBox *{
    -webkit-user-drag: none;
    -webkit-user-select: none;
}
.partnersBox .innerPartnersBox{
    white-space: nowrap;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
}
.partnersBox .partnersItem{
    width: 165px;
    height: 100px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #f6f4f5;
}
.partnersBox .partnersItem + .partnersItem{
    margin-left: 10px;
}
.partnersBox .partnersItem img{
    max-width: 80%;
    max-height: 80%;
}

/*悬浮通知*/
.floatMessageBox{
    position: fixed;
    top: 0;
    left: 0;
    min-width: 160px;
    max-width: 200px;
    min-height: 120px;
    background-image: linear-gradient(to right, #FDE5AA,#EE4F22);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 16px;
    padding: 20px 15px;
    word-break: break-all;
    cursor: pointer;
}
.floatMessageBox .layui-icon{
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
}

@media screen and (max-width: 1366px) {
    .layui-carousel > [carousel-item]{
        width: 1000px;
    }
}

@media screen and (max-width: 768px) {
    .layui-carousel{
        height: 230px!important;
        background-position: center;
    }
    .layui-carousel .carousel-item-left{
        padding-top: 30px;
    }
    .layui-carousel .carousel-item-left h2{
        font-size: 18px;
        line-height: 28px;
        padding: 0 0 10px 0;
    }
    .layui-carousel .carousel-item-left p{
        font-size: 12px;
        line-height: 22px;
    }
    .newsContent .newsItem .newsTitle{
        font-size: 14px;
        max-width: 160px;
    }
}