body{
    background-color: #e9f7f0;
}
/* 轮播图 */
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-button-next,.swiper-button-prev{
    color: #4cb780;
}
.swiper-pagination{
    text-align: center;
    width: 260px!important;
    right: 0;
    left: auto!important;
}
/* 小圆点大小 */
.swiper-pagination-bullet{
    width: 10px!important;
    height: 10px!important;
}
/* 搜索部分 */
.searchNav{
    display: flex;
    justify-content: center;
    height: 26px;
    margin-top: -26px;
}
.searchNav li{
   height: 26px;
   line-height: 26px;
   background-color: rgba(240,240,240,0.7);
   z-index: 1;
   padding: 0 10px;
   margin-right: 8px;
   font-size: 14px;
   cursor: pointer;
}
.searchNav .current{
    color: #fff;
    background-color: #078143;
}
.searchBox{
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}
.searchBox1 {
    padding-top: 22px;
}
.searchBox1>iframe{
    height: 120px;
}
.searchInput{
    border: 1px solid #eaeaea;
    width: 500px;
    height: 44px;
    color: #666;
    padding: 0 10px;
    box-sizing: border-box;
}
.searchBtn{
    cursor: pointer;
    color: #fff;
    background-color: #078143;
    height: 44px;
    width: 86px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    border: none;
    letter-spacing: 5px;
    padding-left: 5px;
    box-sizing: border-box;
}
/* 咨询、动态栏部分 */
.resourseImgBox a>span{
    display: block;
    text-align: center;
}
.resourseImgBox li:nth-of-type(1),.resourseImgBox li:nth-of-type(6),.resourseImgBox li:nth-of-type(7){
    background-color: #aad049;
}
.resourseImgBox li:nth-of-type(2),.resourseImgBox li:nth-of-type(9){
    background-color: #c0b34b;
}
.resourseImgBox li:nth-of-type(3),.resourseImgBox li:nth-of-type(8){
    background-color: #4fb464;
}
.resourseImgBox li:nth-of-type(4){
    background-color: #5eaace;
}
.resourseImgBox li:nth-of-type(5){
    background-color: #4fb496;
}
.resourseImgBox li:nth-last-of-type(1),.resourseImgBox li:nth-last-of-type(2),.resourseImgBox li:nth-last-of-type(3){
    margin-bottom: 0;
}
.resourseConWrap .resourseImgBox{
    float: left;
}
.newsTextBox{
    overflow-y: auto;
    height: 256px;
    overflow: hidden;
}
.hidden{
    display: none;
}
.newsTextBox a{
    display: flex;
    justify-content: space-between;    
    height: 50px;
    line-height: 50px;
    border-bottom: 1px dotted #adadad;
}
.newsTextBox a span{
    width: 200px;
}
.newsTextBox a:hover{
    color: #078143;
    background-color: #e9fdf2;
}
.newsTextBox a>p{
    display: flex;
    align-items: center;
}
.newsTextBox a b{
    width: 4px;
    height: 4px;
    background-color: #4d4d4d;
    margin-right: 6px;
}
.newsMore:hover{
    text-decoration: underline;
    color: #078143;
}
/* 读者服务栏 */
.readerServiceWrap{
    background-color: #fff;
    box-sizing: border-box;
    margin: 30px auto 40px;
    border-radius: 8px;
    box-shadow: 0px 1px 5px 2px #dfece6;
}
.readerServiceTitle>i{
    margin-right: 4px;
}
.mainWrap{
    background-color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
}
.resourceTitleBox{
    display: flex;
    justify-content: space-between;
    color: #505050;
    border-bottom: 1px solid #cdcdcd;
    line-height: 28px;
}
.currentPositionBox{
    font-size: 12px;
}
.resourceTitleBox>p:nth-of-type(1){
    border-bottom: 1px solid #088145;
    margin-bottom: -1px;
}
.search_box{
    display: flex;
    align-items: center;
}
.search_box>input:nth-of-type(1){
    margin-right: 4px;
}
/* 2021.12.31新增电子资源图文模块 */
.hotresource::-webkit-scrollbar-thumb{
    box-shadow: none;
    background:#fff
}
.sourceImgBox>img{
    max-width: 100%;
    max-height: 100%;
}
.hotresource a span{
    width: 100%;
    line-height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 0;
    display: block;
}
.robotBox img{
    position: fixed;
    z-index: 222;
    cursor: pointer;
}
@media screen and (min-width: 1200px){
    .swiper {
        width: 1200px;
        height: 400px;
    }
    /* 咨询、动态栏部分 */
    .resourseImgBox{
        width: 430px;
        overflow: hidden;
    }
    .resourseImgBox li{
        overflow: hidden;
        width: 130px;
        height: 130px;
        display: inline-block;
    }
    .resourseImgBox a{
        float: left;
        width: 130px;
        height: 130px;
        color: #fff;
        margin: 0 10px 10px 0;
    }
    .resourseImgBox a>img{
        margin: 26px auto 14px;
        text-align: center;
        display: block;
        height: 53px;
    }
    .newsTextBox a>p span{
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 540px;
    }
    .resourseConWrap .newsWrap{
        float: right;
        width: 760px;
        height: 410px;
        box-shadow: 0px 1px 5px 2px #dfece6;
        border-radius: 8px;
        overflow: hidden;
        background-color: #fff;
    }
    .newsNavBox>span{
        display: inline-block;
        width: 130px;
        text-align: center;
        cursor: pointer;
    }
    .newsTextWrap{
        padding: 26px 30px;
        color: #4d4d4d;
        font-size: 14px;
    }
    .newsNavBox{
        background-color: #f0f0f0;
        height: 52px;
        line-height: 52px;
        border-bottom: 1px solid #cdcdcd;
    }
    .newsNavBox>span.currentNews{
        background-color: #fff;
        color: #078143;
        border-bottom: 2px solid #078143;
        line-height: 50px;
    }
    .hotresource a{
        width: 100px;
        border: none;
        flex-direction: column;
        height: max-content;
        float: left;
        margin: 15px 10px 0;
    }
    .sourceImgBox{
        width: 100px;
        height: 100px;
        border-radius: 10px;
        border: 1px solid #ccc;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        justify-content: center;
    }
    .hotresource a:nth-of-type(6n+1){
        margin-left: 0;
    }
    .hotresource a:nth-of-type(6n){
        margin-right: 0;
    }
    .hotresource a:nth-of-type(1),.hotresource a:nth-of-type(2),.hotresource a:nth-of-type(3),.hotresource a:nth-of-type(4),.hotresource a:nth-of-type(5),.hotresource a:nth-of-type(6){
        margin-top: 0;
    }
    .newsMore{
        line-height: 40px;
        display: block;
        text-align: right;
        margin-top: 14px;
    }
    .readerServiceBox{
        display: flex;
        justify-content: space-around;
        padding: 0 50px;
        box-sizing: border-box;
    }
    .readerServiceBox li a{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 30px;
    }
    .readerServiceBox li a span{
        font-size: 16px;
        line-height: 46px;
        color: #666;
    }
    .readerServiceTitle{
        color: #ca9e52;
        font-size: 18px;
        letter-spacing: 1px;
        border-bottom: 1px solid #ebebeb;
        padding: 16px 20px 10px;
    }
    .resourseConWrap{
        margin: 20px auto;
        overflow: hidden;
    }
    .searchWrap{
        background-color: #fff;
        border-radius: 0 0 8px 8px;
        box-shadow: 0px 1px 5px 2px #dfece6;
        height: 160px;
    }
    .searchBox3{
        padding-top: 12px;
    }
    .swiperText{
        position: absolute;
        right: 0;
        top: 0;
        width: 260px;
        height: 100%;
        padding: 46px 46px 46px 20px;
        box-sizing: border-box;
        background-color: rgba(51,51,51,0.7);
        color: #fff;
        font-size: 16px;
        line-height: 26px;
        text-align: justify;
    }
    .robotBox img{
        right: 30px;
        bottom: 116px;
        width: 180px;
    }
}
@media screen and (max-width: 1200px){
    .swiper {
        width: 100%;
        height: 56vw;
    }
    .readerServiceBox{
        display: flex;
        justify-content: space-around;
        padding: 5px 10px 10px;
        box-sizing: border-box;
        flex-wrap: wrap;
    }
    .readerServiceBox li a{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 10px 0;
    }
    .readerServiceBox li a img{
        width: 52px;
    }
    .readerServiceBox li a span{
        font-size: 14px;
        line-height: 36px;
        color: #666;
    }
    .searchBox{
        padding: 10px;
    }
    /* 咨询、动态栏部分 */
    .resourseImgBox{
        width: 86%;
        margin-left: 7%;
        overflow: hidden;
        margin-bottom: 16px;
    }
    .resourseImgBox li{
        overflow: hidden;
        width: 32%;
        height: 22vw;
        display: inline-block;
    }
    .resourseImgBox a{
        width: 100%;
        height: 100%;
        color: #fff;
        margin: 0 10px 10px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .resourseImgBox a>img{
        margin-bottom: 1vw;
        text-align: center;
        display: block;
        height: 6vw;
    }
    .resourseImgBox a>span{
        font-size: 15px;
    }
    .newsTextBox a>p span{
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: calc(100vw - 134px);
    }
    .resourseConWrap .newsWrap{
        width: calc(100% - 20px);
        height: 364px;
        box-shadow: 0px 1px 5px 2px #dfece6;
        border-radius: 8px;
        overflow: hidden;
        background-color: #fff;
        margin-left: 10px;
    }
    .newsNavBox>span{
        display: inline-block;
        width: calc(25% - 4px);
        text-align: center;
        cursor: pointer;
    }
    .newsTextWrap{
        padding: 16px;
        color: #4d4d4d;
        font-size: 14px;
    }
    .newsTextBox{
        font-size: 12px;
    }
    .newsNavBox{
        background-color: #f0f0f0;
        height: 38px;
        line-height: 38px;
        border-bottom: 1px solid #cdcdcd;
        font-size: 14px;
    }
    .newsNavBox>span.currentNews{
        background-color: #fff;
        color: #078143;
        border-bottom: 2px solid #078143;
        line-height: 36px;
    }
    .hotresource a{
        width: calc(25% - 20px);
        border: none;
        flex-direction: column;
        height: max-content;
        float: left;
        margin: 15px 10px 0;
    }
    .sourceImgBox{
        width: 100%;
        height: 54px;
        border-radius: 10px;
        border: 1px solid #ccc;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        justify-content: center;
    }
    .hotresource a:nth-of-type(1),.hotresource a:nth-of-type(2),.hotresource a:nth-of-type(3),.hotresource a:nth-of-type(4){
        margin-top: 0;
    }
    .newsMore{
        line-height: 40px;
        display: block;
        text-align: right;
        margin-top: 5px;
    }
    .readerServiceWrap{
        width: calc(100% - 20px);
        margin-left: 10px;
        margin: 18px auto 30px;
    }
    .readerServiceTitle{
        color: #ca9e52;
        font-size: 16px;
        letter-spacing: 1px;
        border-bottom: 1px solid #ebebeb;
        padding: 16px 14px 10px;
    }
    .resourseConWrap{
        margin: 16px auto;
        overflow: hidden;
    }
    .searchWrap{
        background-color: #fff;
        border-radius: 0 0 8px 8px;
        box-shadow: 0px 1px 5px 2px #dfece6;
        height: 126px;
    }
    .swiper-button-next:after, .swiper-button-prev:after{
        font-size: 6vw!important;
    }
    .swiperText{
        position: absolute;
        right: 0;
        top: 0;
        width: 160px;
        height: 100%;
        padding: 10px;
        box-sizing: border-box;
        background-color: rgba(51,51,51,0.7);
        color: #fff;
        font-size: 14px;
        line-height: 22px;
        text-align: justify;
    }
    .robotBox img{
        right: 0;
        bottom: 116px;
        width: 66px;
    }
}