.swiper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.swiper-wrapper .swiper-slide .swiper-img{
    background-position: center;
    background-size: cover;
    height: 100%;
}

.middlebox-container{
    margin-top: 30px;
}

.middlebox-item {
    position: relative;
    width: 100%;
    padding-bottom: 78%;
    margin-bottom: 30px;
}

.middlebox-item .middlebox-item-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-weight: bold;
    background-position: center;
    background-size: cover;
    padding: 10px;
}

.middlebox-item-text1 {
    margin-bottom: 10px;
}

.middlebox-item-text2 {

    word-wrap: break-word;
}

.container-endbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.container-endbox .container-endbox-item {
    width: 27%;
    padding: 2%;
    height: 238px;
}

.container-endbox-item .title-line {
    width: 30px;
    height: 8px;
    background-color: #019CDC;
    margin: 2% 0;

}

.container-endbox-item .more-detail {
    text-decoration: none;
    display: inline-block;
    float: right;
    margin-top: 2%;
    color: #019CDC;

}

.container-endbox-item .boxmiddle-list {
    color: #706D74;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.boxmiddle-list .list-item {
    display: flex;
    padding: 4px;
    border-bottom: 1px solid #ACACAC;
    align-items: center;

}

.list-item .list-num {
    display: block;
    text-align: center;
    width: 57px;
    height: 20px;
    background-color: #ACACAC;
    border-radius: 50%;
    margin-right: 5px;
    color: white;
    font-weight: 700;
}

.list-text {
    padding: 5px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list-text a {
    text-decoration: none;
    color: #ACACAC;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

}

@media screen and (max-width:900px) {

    .swiper-button-next,
    .swiper-rtl .swiper-button-prev {
        right: 20px;
    }

    .swiper-button-prev,
    .swiper-rtl .swiper-button-next {
        left: 20px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
    }

    .container-endbox {
        display: block;
        margin-top: 10px;


    }

    .container-endbox .container-endbox-item {
        position: relative;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 12px;
        height: auto;

    }

    .container-endbox-item p {
        height: 100px;
    }

    .list-item .list-num {
        display: block;
        text-align: center;
        width: 40px;
        height: 20px;
        background-color: #ACACAC;
        border-radius: 50%;
        margin-right: 5px;
        color: white;
        font-weight: 700;
    }

    .container-endbox-item .endbox-title {
        font-size: 34px;
    }

}
