#banner {
    height: 400px;
    background: rgba(0, 0, 0, .3);
}

#banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#news {
    padding: 80px 0;
    margin-top: 80px;
}

#news a {
    text-decoration: none;
    color: #000;
}

#news .container>div {
    width: 100%;
    margin-bottom: 60px;
    text-align: center;
}

#news h1 {
    text-align: center;
    font-weight: normal;
    margin-bottom: 30px;
}

#news>span {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #999;
    border-radius: 15px;
    margin: 0 15px;
    cursor: pointer;
    transition: all .3s;
}

#news>span:hover {
    border: 2px solid #d90000;
}

#news span .active {
    background: #d90000;
    border: 2px solid #d90000;
    color: #fff;
}

#news>ul {
    display: none;
}

#news>ul .active {
    display: block;
}

#news ul li {
    display: flex;
    flex: 1 70%;
    padding: 30px 0 60px 0;
    border-bottom: 1px dashed #999;
}

#news ul li img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    margin-right: 20px;
}

#news ul li .newsDate {
    margin-top: 10px;
    color: #999;
    font-size: 14px;
    float: right;
}

#news ul li div:nth-child(1) {
    float: left;
    text-align: center;
    margin-right: 30px;
}

#news ul li div h2 {
    font-size: 26px;
    font-weight: normal;
    padding: 10px 20px;
    background: #eee;
    margin-bottom: 5px;
}

#news ul li a {
    width: 100%;
    height: 100%;
    display: block;
}

#news h3 {
    font-size: 16px;
    padding: 8px 20px;
    background: #eee;
    font-weight: normal;
}

#news h4 {
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 15px;
    transition: all .3s;
}

#news ul li a:hover h4 {
    color: #d90000;
}

#news p {
    line-height: 1.8;
    font-size: 16px;
    font-weight: 300;
}

#paginate {
    width: 400px;
    display: flex;
    flex-wrap: nowrap;
    margin-top: 80px;
    margin-bottom: 40px;
}

#paginate>nav {
    margin: 0 auto;

}

#paginate>nav>ul {
    height: 40px;
    display: flex;
    flex-wrap: nowrap;
}

#paginate>nav>ul li {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 5px 7px;
    padding: 0;
    border: 1px solid #666;
    border-radius: 5px;
}

#paginate>nav>ul .active {
    background: #d90000;
    border: 1px solid #d90000;
    color: #fff;
}

#paginate>nav>ul li:before {
    display: none;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
}

@media (max-width:960px) {
    #news ul li div:nth-child(1) {
        display: none;
    }
}