.contain{
    width: 1200px;
    margin: auto;
}

#main>.contain:first-child{
    margin-top: 40px;
}

.hf{
    width: 100%;
    height: 120px;
    background: url(/images/hengfu.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#main .xwtg{
    padding: 33px 0 80px;
}

#main .xwtg h2,
#main .hytj h2{
    font-size: 30px;
    height: 60px;
    font-weight: 900;
    color: #484747;
    font-style: italic;
    line-height: 60px;
}

#main .hytj h2{
    border-bottom: 1px solid #e8e8e8;
}

#main .xwtg h2 span,
#main .hytj h2 span{
    color: #d4393f;
}

#main .xwtg h2 .more,
#main .hytj h2 .more{
    float: right;
    font-size: 18px;
    color: #175aae;
    font-style: normal;
    line-height: 60px;
    font-weight: normal;
}

#main .xwtg ul{
    border: 8px solid #e8e8e8;
    padding: 24px 50px;
    box-sizing: border-box;
}

#main .xwtg ul li{
    line-height: 50px;
    font-size: 20px;
    overflow: hidden;
}

#main .xwtg ul li a{
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    float: left;
    display: block;
    width: calc(100% - 100px);
}

#main .xwtg ul li .arow{
    color: #175aae;
    margin-right: 16px;
    float: left;
}

#main .xwtg ul li .date{
    float: right;
    font-size: 16px;
}

/* hytj */
#main .hytj{
    padding: 33px 0 80px;
    background-color: #f4f9ff;
}


@media screen and (max-width: 1201px) {
    .contain{
        width: 1000px;
    }
}

@media screen and (max-width: 1001px) {
    .contain{
        width: 800px;
    }
    #main .xwtg ul {
        border: 8px solid #e8e8e8;
        padding: 12px 25px;
        box-sizing: border-box;
    }
    #main .xwtg ul li a{
        font-size: 16px;
    }
    #main .xwtg{
        padding: 16px 1rem 40px;
    }
    #main .hytj{
        padding: 16px 0 40px;
    }
    #banner {
        margin: 16px auto 0 !important;
    }
    #main .xwtg h2, #main .hytj h2 {
        font-size: 24px;
    }
    #main .xwtg h2 .more, #main .hytj h2 .more {
        font-size: 16px;
    }

    .hf{
        height: 100px;
    }
}

@media screen and (max-width: 801px) {
    .contain{
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    .hf{
        height: 80px;
    }
    .swiper-button-next, .swiper-button-prev{
        display: none;
    }
    #banner {
        width: 100% !important;
        margin: 0 auto 0 !important;
    }
    #main .xwtg ul {
        border: 8px solid #e8e8e8;
        padding: 6px 12px;
        box-sizing: border-box;
    }
    #main .xwtg ul li .arow {
        margin-right: 8px;
    }
    #main .xwtg ul li a{
        width: calc(100% - 80px);
    }
    #main>.contain:first-child{
        padding: 0;
        margin-top: 20px;
    }
}