﻿*{
    font-size: 14px;
    margin: 0px;
    padding: 0px;
    color: #666666;
}
.news{
    width: 1200px;
    margin: auto;
}
.news-top{
    width: 100%;
    height: 30vh;
    background: url("../images/newslist-top.jpg") no-repeat center;
    background-size: cover;
    margin-top: 90px;
}
.news-center{
    width: 80%;
    margin: auto;
    padding-top: 50px;
}
.news-center-title{
    width: 450px;
    height: 50px;
    line-height: 50px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.center-title{
    font-size: 24px;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    margin-right: 20px;
    color: #333;
}
.center-title a{
    font-size: 24px;
   
}
.news-center-title .center-title:hover,.center-title.cur{
    color: #c8a567;
    border-bottom: 4px solid #c8a567;
}
.news-center-text{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.news-center-box{
    height: 262px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
}
.center-box-text{
    width: 593px;
    height: 177px;
    padding-top: 0px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px 0 0 20px;
}
.center-box-text span{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
h1,h1 a{
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
}
h1 a:hover{
    color:#c8a567
}
p{
    font-size: 14px;
    color: #666666;
}
.text-center{
    /* margin-bottom: 50px; */
    height: 65px;
    overflow:  hidden;
    line-height: 22px;
}

.news-center-paging{
    width: 326px;
    height: 39px;
    display: flex;
    justify-content: space-around;
    margin-top: 48px;
    float: right;
}
.news-center-paging li{
    width: 48px;
    height: 39px;
    line-height: 39px;
    text-align: center;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    cursor: pointer;
}
.news-center-paging li:hover{
    background:#f1f1f1
}
.center-block{    font-size: 24px;
    font-weight: bold;line-height: 25px;cursor: pointer}
.center-block:hover{color:#c8a567}
.none{display: none;}

/*手机端样式*/
@media screen and (max-width: 1025px) and (min-width: 320px){
    .news-top {
        width: 100%;
        height: 4rem;
        margin-top: 1rem;
    }
    .news-center {
        width: 95%;
        height: auto;
        margin: auto;
        padding-top: 0.5rem;
    }
    .news-center-title{
        width: 3.5rem;
        height: 0.8rem;
        line-height: 0.8rem;
        margin-bottom: 0.3rem;
    }
    .news-center-title .center-title:hover, .center-title.cur {
        border-bottom: 0.08rem solid #c8a567;
    }
    .center-title {
        font-size: 0.35rem;
        margin-right: 0.2rem;
        padding-bottom: 0.1rem;
    }
	    .center-title a{font-size: 0.35rem;}
    .news {
        width: 100%;
    }
    .news-center-text {
        width: 100%;
    }
    .news-center-box {
        height: auto;
        flex-direction:column;
        align-content: space-between;
        margin: 0.2rem 0;
    }
    .news-center-box div{
        min-width: 100%;
    }
    .center-box-text {
        width:100%;
        height: auto;
        float: left;
    }
    .center-block {
        font-size: 0.35rem;
    }
    .center-box-text span{
        padding: 0.1rem 0;
        font-size:0.25rem;
        line-height: 0.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    .news-center-paging {
        width: 60%;
        height: auto;
        margin: 0.2rem 0;
    }
    .news-list-a {
        width: 100% !important;
        height: 5.5rem !important;
    }
    .news-center-paging li {
        width: 42%;
        height: 0.8rem;
        line-height: 0.8rem;
    }
    .news-center-paging li a{
        font-size:0.25rem;
    }
}

/*pad自适应*/
@media screen and (max-width: 1025px) and (min-width: 760px){
    .news-center-box:nth-child(2n){margin-right:0}
    .news-center-box{
        width: calc(50% - 20px);
        margin-right: 35px;
    }
    .news-center-text{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: left;
    }
    .center-block{margin:10px 0}
}
