﻿.banner {  
    height:500px;
    width: 100%;
    background: url("../image/header3.png") no-repeat center center;
    background-size: auto 100%;
    
}


.secondNav{
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.2rem;
}

.secondNav ul{
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -webkit-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.secondNav li{
    padding:0.1rem 0.32rem;
    text-align: center;
    margin-right: 0.02rem;
    background: #FFF;
    cursor: pointer;
}

.secondNav li:last-child{
    display: none;
}

.secondNav .active{
    background:rgba(0,61,121,1);
    color: #FFF;
}


.news{
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -webkit-flex;
    flex-direction: row;
    
    justify-content: space-around;
    flex-wrap: wrap;
    overflow: hidden;
}

.newsItem{
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -webkit-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
    
    background: #FFF;
    margin: 0.1rem 0;
    height: 3.5rem;
}

.newsItem:hover{
    background:rgba(255,255,255,1);
    box-shadow:0 0.02rem 0.05rem 0 rgba(0, 0, 0, 0.15);
}

.imgBox{
    width: 100%;
}

.newsItemContent{
    width: 80%;
    padding:0.2rem;
}

.newsItemContent img{
    width: 100%;
    height: 2rem;
}

.newsItem .newsTitle{
    font-size: 0.16rem;
    
    color:rgba(0,0,0,1);
    line-height:0.24rem;
    background: #fff;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow: hidden;
}

.newsItem .newsContent{
    font-size:0.14rem;
    
    color:rgba(153,153,153,1);
    
    width: 100%;
    overflow: hidden;
    line-height: 0.2rem;
    background: #fff;
    
    
    
    
    position: relative;
    overflow: hidden;
    height:0.4rem;

}
.newsItem .newsContent::after{
    content: '...';
    bottom: 0;
    right:0;
}

.newsInfo{
    margin-top: 0.2rem;
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -webkit-flex;
    flex-direction:column;
    justify-content: space-between;
}
.newsInfo p{
    font-size:0.12rem;
    
    color:rgba(153,153,153,1);
    line-height:0.24rem
}


#news-pager{
    margin:0.3rem auto;
}




.page{
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0.4rem 0;
    flex-wrap: wrap;
}

.page span{
    margin:0 0.2rem;
    background:rgba(255,255,255,1);
    
    font-size:0.16rem;
    
    color:rgba(0,61,121,1);
    line-height:0.13rem;
    padding:0.1rem;
    cursor: pointer;
    display:inline-block;
     border:1px solid rgba(229,229,229,1);
}


.page .num{
    width: 0.3rem;
    height: 0.3rem;
    text-align: center;
    line-height: 0.3rem;
    padding:0rem;
}
.page .pre:hover,.page .next:hover{
    background:rgba(0,61,121,1);
    border-radius:0.02rem;
    color:rgba(255,255,255,1);
}

.page span.pageActive{
    background:rgba(0,61,121,1);
    border-radius:0.02rem;
    color:rgba(255,255,255,1);
}


@media screen and (max-width: 540px){
    .banner {
        height: 2.4rem;
        background-image: url('../image/banner_03.jpg');
        background-size: auto 100%;
    }

    .news{
        height: auto;
    }

    .news{
        width:100%;
    }

    .newsItem{
        width: 48%;
        margin-bottom: 0.2rem;
        height:3rem;
    }

    .newsItem .newsItemContent {
        width: 90%;
        height: 3.3rem;
        padding:0;
    }

    .secondNav li {
        padding:0;
        width: 1rem;
        text-align: center;
        height: 0.5rem;
        display: flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -webkit-flex;
        justify-content: center;
        align-items: center;
    }
    .secondNav li:last-child{
        display: none;
    }   
}
@media screen and (max-width: 375px) {
    .banner {
        height: 2rem;
        background-image: url('../image/banner_03.jpg');
        background-size: 100% 100%;
    }
}