.news-img {
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url('../img/common/topimg.jpg');
    padding-top: 40px;
}

.news-page {
    text-align: center;
}

.news-page h1 {
    font-weight: bold;
    font-size: 40px;
    margin: 5px;
}

.news-page .news_ctnr {
    width: 1500px;
    margin: 0 auto;
}


/*--------------news_topbar-------------*/

.news-page .news_ctnr .news_topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #ccc;
}

.news-page .news_ctnr .news_topbar .select {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.news-page .news_ctnr .news_topbar .select p {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

.news-page .news_ctnr .news_topbar .select select {
    height: 35px;
    width: 200px;
    color: #14ade3;
    border-radius: 5px;
    border: 1px solid #14ade3;
    margin: 0 5px;
}


/*------------news_content--------------*/

.news-page .news_ctnr .news_content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 50px 0 0 0;
}

.news-page .news_ctnr .news_content .newsitem {
    position: relative;
    text-decoration: none;
    margin: 0 7px 35px 7px;
    overflow: hidden;
}

.newsitem:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 360px;
    height: 375px;
    background-image: url(../img/news/product_hovercover.png);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: 0.3s;
}

.newsitem:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    width: 90px;
    height: 60px;
    background-image: url(../img/news/product_moreicon.png);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: 0.3s;
}

.newsitem:hover:before,
.newsitem:hover:after {
    opacity: 1;
}

.newsitem .words {
    text-align: left;
    padding: 20px;
    /*background-color: #eee;*/
    background-color: rgba(238, 238, 238, .8);
    width: 360px;
}

.newsitem .img {
    width: 360px;
}

.newsitem .img img {
    width: 100%;
}

.newsitem .words h2 {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    height: 30px;
    overflow: hidden;
}

.newsitem .words h5 {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    height: 20px;
    overflow: hidden;
}

.newsitem .words h6 {
    font-size: 16px;
    font-weight: normal;
    color: #000;
}


/*---------------pagenumber------------*/

.pagenumber {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.pagenumber a {
    display: block;
    margin: 10px;
    width: 40px;
    height: 40px;
    border: 1px solid #bebebe;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    line-height: 40px;
    text-decoration: none;
}

.pagenumber a.active,
.pagenumber .left,
.pagenumber .right {
    background-color: #bebebe;
}

.pagenumber .left {
    /*margin-right: 50px;*/
}

.pagenumber .right {
    /*margin-left: 50px;*/
}

.pagenumber a:hover {
    background-color: #bebebe;
}

/*---------rwd------------*/

@media only screen and (min-width: 750px) and (max-width: 969px){
    .news-img {
        width: 100%;
        height: 80px;
        padding-top: 10px;
    }
    .news-page h1 {
        display: inline-block;
    }
    .news-page .news_ctnr {
        width: 100%;
    }
    .news-page .news_ctnr .news_topbar {
        justify-content: center;
        padding: 30px 0;
    }
    .news-page .news_ctnr .news_topbar .select select {
        width: 160px;
        margin: 0 5px;
    }
    .news-page .news_ctnr .news_content {
        padding: 30px 0 0 0;
    }
    .news-page .news_ctnr .news_content .newsitem {
        width: 46%;
        margin: 0 15px 30px 15px;
    }
    .newsitem:before, .newsitem:after {
        display: none;
    }
    .newsitem .words {
        padding: 10px;
        width: 100%;
    }
    .newsitem .img {
        width: 100%;
    }
    
    .pagenumber {
        margin: 20px 0;
    }
}

@media only screen and (max-width: 749px){
    .news-img {
        width: 100%;
        height: 56px;
        padding-top: 5px;
    }
    .news-page h1 {
        font-size: 24px;
        display: inline-block;
    }
    .news-page .news_ctnr {
        width: 100%;
    }
    .news-page .news_ctnr .news_topbar {
        display: block;
        padding: 20px 0;
    }
    .news-page .news_ctnr .news_topbar .select p {
        display: none;
    }
    .news-page .news_ctnr .news_topbar .select select {
        margin: 0 5px;
    }
    .news-page .news_ctnr .news_content {
        padding: 20px 0 0 0;
    }
    .news-page .news_ctnr .news_content .newsitem {
        width: 45%;
        height: 230px;
        margin: 0 8px 10px 8px;
    }
    .newsitem:before, .newsitem:after {
        display: none;
    }
    .newsitem .words {
        padding: 10px;
        width: 100%;
    }
    .newsitem .img {
        width: 100%;
    }
    .newsitem .words h2 {
        font-size: 18px;
        height: 23px;
    }

    .newsitem .words h5 {
        font-size: 12px;
        white-space: nowrap;
        text-overflow: ellipsis;
        height: 14px;
    }

    .newsitem .words h6 {
        font-size: 12px;
    }
    .pagenumber {
        margin: 10px 0;
    }
    .pagenumber a {
        margin: 8px;
        width: 32px;
        height: 32px;
        font-size: 16px;
        line-height: 33px;
    }
    .pagenumber .left {
        margin-right: 30px;
    }
    .pagenumber .right {
        margin-left: 30px;
    }
}