.spin{
    animation: spin 1s linear;
}
@keyframes spin {
    0%{
        -webkit-transform:   rotateY(180deg);
        transform:   rotateY(180deg);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    100%{
        -webkit-transform:   rotateY(0deg);
        transform:   rotateY(0deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
}
.head-banner{
    background-image: url("../img/middleImg/xinwen.png");
}
#content_div {
    overflow: hidden;
    width: 1230px;
    margin: 0 auto;
    margin-top: 40px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.content_item {/*每块的内容*/
    width: 385px;
    height: 391px;
    margin: 0 11px 23px 11px;
    background: #FFFFFF;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transform: translateY(430px);
    opacity: 0;
}
#content_div .content_item:nth-child(1){
    animation: Upper_transition 0.8s 0.3s forwards;
}
#content_div .content_item:nth-child(2){
    animation: Upper_transition 0.8s 0.75s forwards;
}
#content_div .content_item:nth-child(3){
    animation: Upper_transition 0.8s 1s forwards;
}
#content_div .content_item:nth-child(4){
    animation: Upper_transition 0.8s 1.25s forwards;
}
#content_div .content_item:nth-child(5){
    animation: Upper_transition 0.8s 1.5s forwards;
}
#content_div .content_item:nth-child(6){
    animation: Upper_transition 0.8s 1.75s forwards;
}
#content_div .content_item:nth-child(7){
    animation: Upper_transition 0.8s 2s forwards;
}
#content_div .content_item:nth-child(8){
    animation: Upper_transition 0.8s 2.25s forwards;
}
#content_div .content_item:nth-child(9){
    animation: Upper_transition 0.8s 2.5s forwards;
}
@keyframes Upper_transition {
    from{
        transform: translateY(430px);
        opacity: 0.00;
    }
    to{
        transform: translateY(0px);
        opacity: 1.00;
    }
}
/*===========*/
.content_item:hover .content_title{
    color: #C80000;
}


.content_item:hover{
    border-bottom: 3px solid #C80000;
}

.content_img_div {/*内容图片div*/
    width: 385px;
    height: 222px;
    border-bottom: 4px solid #C80000;
}

.content_font_div {/*内容文字*/
    width: 385px;
    height: 159px;
    padding: 20px;
    background-color: #FFFFFF;
}
.content_title{/*内容标题*/
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 20px 0;
    width: 331px;
    height: 22px;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.main_body{/*内容正文*/
    color: #666666;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 25px;
    width: 345px;
    height: 40px;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.time_style{/*时间*/
    color: #666666;
    font-size: 12px;
    float: left;
}
.arrows_icon{/*箭头图标*/
    width: 19px;
    height: 19px;
    float: right;
}

.content_img_div img{/*图片大小*/
    width: 385px;
    height: 222px;
}

/*.content{*/
/*    margin-top: 100px;*/
/*    background-image: url(../img/header-bg.png);*/
/*    background-repeat: no-repeat;*/
/*    background-size: 100% 100%;*/
/*}*/
@media (max-width: 1200px) {
    #content_div {
        overflow: hidden;
        width: 100%;
        margin: 0 auto;
        /*padding: 0;*/
    }

    .content_item {/*每块的内容*/
        float: left;
        width: 171px;
        height: 194px;
        margin: 0 5px 9px 5px;
        background: #FFFFFF;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    }
    .content_img_div {/*内容图片div*/
        width: 171px;
        height: 107px;
        border-bottom: 4px solid #147DC6;
    }
    .content_font_div {/*内容文字*/
        width: 171px;
        height: 87px;
        padding: 12px 10px;
        background-color: #FFFFFF;
    }
    .content_title{/*内容标题*/
        width: 151px;
        height: 40px;
        color: #333333;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 6px;

        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }
    .main_body{/*内容正文*/
        display:none;
    }
    .time_style{/*时间*/
        color: #666666;
        font-size: 10px;
        float: left;
    }
    .arrows_icon{/*箭头图标*/
        width: 15px;
        height: 15px;
        float: right;
    }

    .content_img_div img{/*图片大小*/
        width: 171px;
        height: 107px;
    }
}
