@charset "utf-8";



.news {
    padding: 100px 0 220px;
    background-color: #f5f5f5;
}

.news_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news_box_item {
    position: relative;
    width: 48.5%;
    padding: 30px 50px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.news_box_item .news_txt_h {
    transition: all .4s;
}

.news_box_item:hover .news_txt_h {
    padding-left: 10px;
    color: #0093DD;
}

.news_box_itemdw {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 19%;
    height: 37px;
    line-height: 37px;
    text-align: center;
    border-radius: 17px;
    background: linear-gradient(to right, #21FEFE, #0093DD);
    background: -moz-linear-gradient(left, #ffd270 -20%, #0093DD);
    background: -ms-linear-gradient(left, #ffd270 -20%, #0093DD);
    background: -o-linear-gradient(left, #ffd270 -20%, #0093DD);
    transform: translate(50px, 50%);
    transition: all .4s;
}

.news_box_itemdw:hover {
    padding-left: 8px;
}

.news_item_img {
    
    overflow: hidden;
    margin-left: 20px;
}

.news_item_img img {
    width: 100%;
    transition: all .4s;
}

.news_box .news_box_item:hover img {
    transform: scale(1.1);
}

.news_item_txt {
    flex: 1;
}

.news_txt_h {
    font-size: 22px;
    color: #333333;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.news_txt_p {
    margin-top: 10px;
    color: #777;
    line-height: 28px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news_txt_sj {
    margin-top: 15px;
    font-size: 14px;
    color: #888;
    text-align: right;
}

@media screen and (max-width: 1200px) {
    .news_box_item {
        padding: 30px 25px;
    }
    .news_box_itemdw {
        transform: translate(25px, 50%);
    }
}

@media screen and (max-width: 992px) {
    .news {
        padding: 50px 0;
    }
    .news_box_item {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .news_box_item {
        flex-wrap: wrap;
    }
    .news_box_item>div {
        width: 100%;
    }
    .news_item_img {
        margin-left: 0;
    }
    .news_box_itemdw {
        transform: translate(0, 50%);
    }
    .news_txt_p {
        font-size: 14px;
    }
}