﻿

* {
    margin: 0;
    padding: 0;
}

#news a {
    text-decoration: none;
}

#news {
    max-width: 1300px;
    margin: 20px auto 30px;
    overflow: hidden;
    clear: both;
}

#news dl {
    margin-bottom: 2.5%;
    position: relative;
    overflow: hidden;
}

#news dl:hover .news_zz {
    height: 100%;
    top: 0;
}

.news dl:hover .news_zz {
    top: 0;
    opacity: 1;
}

.news_zz {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 20%;
    left: 0%;
    z-index: 2;
    opacity: 0;
    transition: all 0.5s;
    overflow: hidden;
}

.news dl::after {
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    z-index: 1;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
    transition: all 0.5s;
}

.news dl:hover::after {
    opacity: 1;
}

.news_zz em {
    font-size: 22px;
    color: #ffffff;
    display: block;
    width: 70%;
    margin: 0 auto;
    line-height: 35px;
    text-align: center;
    margin-top: 150px;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-style: normal;
    font-weight: normal;
}

.news_zz span {
    display: block;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    margin: 40px auto 35px;
}

.news_zz_link {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.news_zz .news_zz_link_box {
    width: 150px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    color: #313131;
    display: block;
    margin: 0 auto;
    background-color: #ffffff;
}

#news_more {
    margin-bottom: 155px;
    position: relative;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 1px;
}

#news_more::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 12px;
    background-image: url(https://www.zhongxinhongmu.com/images/sma.png);
    background-size: 100% 100%;
    background-position: center;
    margin-left: 20px;
}

.news dl {
    width: 32%;
    background-color: #eeeef0;
    float: left;
    margin-right: 2%;
    position: relative;
}

.news dl:nth-child(3n) {
    margin-right: 0;
}

.news dl dt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 270px;
    overflow: hidden;
}

/*.news dl dt img {
    display: block;
    margin: 0 auto;
}*/
.news dl dt img {
    width: 100%;
    display: block;
}

.news dl dd {
    padding: 25px;
}

.news dl dd span {
    display: block;
    font-size: 18px;
    color: #313131;
    margin-bottom: 16px;
}

.news dl dd a {
    font-size: 22px;
    line-height: 33px;
    color: #313131;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 66px;
    overflow: hidden;
    margin-bottom: 20px;
}

.news dl dd p {
    font-size: 14px;
    color: #595757;
    line-height: 28px;
    height: 56px;
}

@media screen and (max-width:1300px ) {
}

@media screen and (max-width:1160px ) {
    .news dl dt {
        height: 232px;
    }
}

@media screen and (max-width:1060px ) {
}

@media screen and (max-width:1000px ) {
    .news dl dt {
        height: 205px;
    }
    .news_zz em {
        font-size: 20px;
        width: 80%;
    }
}

@media screen and (max-width:900px ) {
    .news dl dt {
        height: 184px;
    }
    .news_zz span {
        font-size: 14px;
    }
}

@media screen and (max-width:860px ) {
    .news dl {
        width: 48%;
        margin-right: 4%;
    }

    .ngr_b li {
        margin-left: 35px;
    }

    .news dl:nth-child(3n) {
        margin-right: 4%;
    }

    .news dl:nth-child(2n) {
        margin-right: 0;
    }
}

@media screen and (max-width:768px ) {
    .news dl dd p {
        font-size: 20px;
    }

    .news dl dd a {
        font-size: 25px;
        height: auto;
    }

    .news dl dd span {
        font-size: 20px;
    }
    #news dl {
        width: 100% !important;
        height: auto !important;
        margin-right: 0 !important;
    }

    #news dl dt {
        height: auto !important;
    }
    #news_more::after {
        width: 15px;
        height: 11px;
        margin-left: 10px;
        margin-top: -2px;
    }
}

@media screen and (max-width:700px ) {
}
@media screen and (max-width: 770px) 
{
}

@media screen and (max-width:650px ) {
}

@media screen and (max-width:550px ) {
    #news {
        width: 94%;
        padding: 0 3%;
    }
    .news dl dd {
        padding: 3%;
    }

    .news dl dd span {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 180%;
    }

    .news dl dd a {
        font-size: 16px;
        height: auto;
        line-height: 25px;
    }

    .news dl dd p {
        line-height: 22px;
        margin-top: 15px;
        height: 44px;
    }

    #news_more {
        margin-bottom: 60px;
        line-height: 35px;
        padding-top: 2px;
        height: 33px;
    }
}

@media screen and (max-width:450px ) {
    #news_more {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    #news {
        margin-top: 20px;
    }

    #news dl dt {
        height: 111px;
    }

    .news dl dd span {
        font-size: 15px;
    }

    .news dl dd a {
        font-size: 16px;
        line-height: 27px;
        height: auto;
        font-weight: bold;
    }

    .news dl dd p {
        margin-top: 5px;
        font-size: 14px;
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

@media screen and (max-width:390px ) {
}

@media screen and (max-width:375px ) {
}
@media screen and (max-width:341px ) {
}
@media screen and (max-width:310px ) {
}