

/*通用模板一*/
.square-box{
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    background: #fff;
    display: block;
}
.square-box .box{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
.square-box.img-box .box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.topicItem:hover .cover{
    opacity: 1;
}
.topicItem:hover .cover .line{
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}
.topicItem:hover .cover .iconfont{
    -webkit-animation: fadeInDown .3s ease-in-out .1s forwards;
    -o-animation: fadeInDown .3s ease-in-out .1s forwards;
    animation: fadeInDown .3s ease-in-out .1s forwards;
}
.topicItem:hover .cover .text{
    -webkit-animation: fadeInUp .3s ease-in-out .1s forwards;
    -o-animation: fadeInUp .3s ease-in-out .1s forwards;
    animation: fadeInUp .3s ease-in-out .1s forwards;
}
.square-box.text-box .box{
    padding: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.square-box.text-box .box .title{
    font-size: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* max-height: 63px; */
}
.square-box.text-box .box .desc{
    opacity: .65;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    /* max-height: 130px; */
}
.topic-header .page-content{
    padding-right: 2vw;
}
.topicItem:hover .square-box.img-box .box img{
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}
.topicItem:hover .square-box.text-box .title{
    color: #C9151E;
}

.topic-swiper .swiper-slide{
    position: relative;
    display: block;
}
.topic-swiper .swiper-slide .swiper-text{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
}
.topic-swiper .swiper-slide .swiper-text .text-box{
    background: #C9151E;
    color: #fff;
}
.topic-swiper .topicItem:hover .square-box.text-box .title{
    color: #fff;
}

.topic-swiper .swiper-button-next.swiper-button-disabled, 
.topic-swiper .swiper-button-prev.swiper-button-disabled{
    cursor: default;
    pointer-events: unset
}
@media screen and (min-width: 568px) {
    .topic-swiper .swiper-button-prev,
    .topic-swiper .swiper-button-next{
        width: 42px;
        height: 42px;
        top: unset;
        bottom: 20px;
        left: unset;
        right: 50%;
        margin-right: 20px;
        border: 2px solid #fff;
        border-radius: 42px;
    }
    .topic-swiper .swiper-button-prev{
        bottom: 70px;
    }
    .topic-swiper .swiper-button-prev:after,
    .topic-swiper .swiper-button-next:after{
        font-size: 18px;
    }
}
@media screen and (max-width: 1199px) {
    .square-box.text-box .box .desc{
        -webkit-line-clamp: 4;
        /* max-height: 87px; */
    }
}
@media screen and (max-width: 991px) {
    .topic-header .page-content{
        padding-right: 0;
        padding-bottom: 30px;
    }
    .square-box.text-box .box{
        padding: 40px;
    }
    .square-box.text-box .box .desc{
        -webkit-line-clamp: 6;
        /* max-height: 130px; */
    }
    .topic-swiper .swiper-slide .swiper-text{
        bottom: 0;
    }
    .topic-swiper .swiper-slide .swiper-text .square-box{
        background: rgba(201,21,30,.85);
    }
}
@media screen and (max-width: 767px) {
    .square-box.text-box .box{
        padding: 20px;
    }
    .square-box.text-box .box .desc{
        -webkit-line-clamp: 4;
        /* max-height: 87px; */
    }
}
@media screen and (max-width: 567px) {
    .square-box.text-box{
        height: unset;
        padding-bottom: unset;
    }
    .square-box.text-box .box{
        position: static;
    }
    .topic-swiper .swiper-slide .swiper-text{
        position: static;
        width: 100%;
    }
    .topic-swiper .swiper-slide .swiper-text .square-box{
        background: #C9151E;
    }
    .topic-swiper .swiper-button-prev,
    .topic-swiper .swiper-button-next{
        top: 45vw;
        margin-right: 0;
    }
    .topic-swiper .swiper-button-next{
        right: 10px;
    }
    .topic-swiper .swiper-button-prev:after,
    .topic-swiper .swiper-button-next:after{
        font-size: 24px;
    }
}
@media screen and (min-width: 568px) {
    .reverse{
        -webkit-flex-direction: row-reverse;
        -moz-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        -o-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
}
/*通用模板一 END*/

/*留学生风采*/
.student-swiper .swiper-slide{
    height: 100%;
}
.student-item{
    background: #fff;
    padding: 2vw;
    display: block;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    height: 100%;
}
.student-item:hover{
    background: #C9151E;
    color: #fff;
}
.student-item .img-box{
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    padding: 4px;
    position: relative;
    background: #f0f0f0;
}
.student-item .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.student-item .student-info{
    flex: 1;
    overflow: hidden;
    margin-left: 15px;
}
.student-item .student-info .name{
    font-size: 18px;
    margin-bottom: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.student-item .student-info .title{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    opacity: .85;
}
.student-item .student-desc{
    opacity: .65;
    margin-top: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    /* max-height: 73px; */
}
.student-swiper{
    padding-bottom: 40px;
}
.student-swiper .swiper-pagination{
    text-align: center;
    left: 0;
    right: 0;
    bottom: 0;
}
.student-swiper .swiper-pagination-bullet{
    margin: 0 5px;
    width: 12px;
    height: 12px;
    background: #9B9B9B;
    opacity: 1;
    border: 2px solid #EAEAEA;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    border-radius: 10px;
}
.student-swiper .swiper-pagination-bullet-active{
    background: none;
    border: 2px solid #000;
}
@media screen and (max-width: 991px) {
    .student-item{
        padding: 20px;
    }
    .student-item .student-desc{
        max-height: 65px;
    }
}

/*topic-list*/
.topic-list {
    margin: 50px 0 30px;
}
.topic-list .topic-item .layui-row{
    height: 100%;
}
.topic-list .topic-col{
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 40%;
    background-color: #fff;
}
.topic-list .topic-col .img{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.topic-list .topic-col .box{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.topic-list .topic-col img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.topic-list .topic-item:hover .topic-col img{
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.topic-list .topic-col .text-box{
    height: 100%;
    padding: 30px 20px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
@media screen and (max-width: 567px) { 
    .topic-list .topic-col .text-box{
        padding: 20px 15px;
    }
}
.topic-list .topic-col .text-box .title{
    font-size: 20px;
    margin-bottom: 8px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topic-list .topic-col .text-box .desc{
    font-size: 13px;
    line-height: 1.8;
    opacity: .65;
}
.topic-list .topic-col .text-box .single-link{
    margin-top: 10px;
    font-size: 12px;
    float: right;
    opacity: .65;
}
.topic-list .topic-item:hover .topic-col .text-box .title{
    color: #c9151e;
}
@media screen and (min-width: 568px) {
    .topic-list .topic-col .icon_arrow {
        position: absolute;
        top: 50%;
        margin-top: -15px;
        border: 15px solid transparent;
        right: 0px;
        border-right-color: #fff;
        z-index: 6;
    }
    .topic-list .topic-col .text-box .desc{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        /* max-height: 90px; */
    }
}
@media screen and (max-width: 567px) {
    .topic-list .topic-col{
        height: auto;
        padding-bottom: 0;
    }
    .topic-list .topic-col .icon_arrow {
        position: absolute;
        left: 50%;
        margin-left: -15px;
        border: 15px solid transparent;
        bottom: 0px;
        border-bottom-color: #fff;
        z-index: 6;
    }
}


@media screen and (min-width: 992px) {
    .topic-list .topic-item:nth-of-type(4n+3) .layui-row,
    .topic-list .topic-item:nth-of-type(4n+4) .layui-row{
        -webkit-flex-direction: row-reverse;
        -moz-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        -o-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
    .topic-list .topic-item:nth-of-type(4n+3) .topic-col .icon_arrow ,
    .topic-list .topic-item:nth-of-type(4n+4) .topic-col .icon_arrow {
        position: absolute;
        top: 50%;
        margin-top: -15px;
        border: 15px solid transparent;
        right: 0px;
        left: 0;
        right: auto;
        border-right-color: transparent;
        border-left-color: #fff;
        z-index: 6;
    }
}
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .topic-list .topic-col .text-box{
        padding: 22px 15px;
    }
    .topic-list .topic-col .text-box .title{
        font-size: 18px;
    }
    .topic-list .topic-col .text-box .desc{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        /* max-height: 68px; */
    }
}
@media screen and (max-width: 991px) and (min-width: 767px) {
    .topic-list .topic-col .text-box{
        padding: 55px 30px;
    }
}

@media screen and (min-width: 568px) and (max-width: 991px) {
    .topic-list .topic-item:nth-of-type(4n+2) .layui-row,
    .topic-list .topic-item:nth-of-type(4n+4) .layui-row{
        -webkit-flex-direction: row-reverse;
        -moz-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        -o-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
    .topic-list .topic-item:nth-of-type(4n+2) .topic-col .icon_arrow ,
    .topic-list .topic-item:nth-of-type(4n+4) .topic-col .icon_arrow {
        position: absolute;
        top: 50%;
        margin-top: -15px;
        border: 15px solid transparent;
        right: 0px;
        left: 0;
        right: auto;
        border-right-color: transparent;
        border-left-color: #fff;
        z-index: 6;
    }
}

@media screen and (max-width: 767px) {
    .topic-list .topic-col .text-box .title{
        font-size: 18px;
    }
}
@media screen and (max-width: 767px) and (min-width: 568px) {
    .topic-list .topic-col .text-box .desc{
        -webkit-line-clamp: 2;
        /* max-height: 45px; */
    }
    .topic-list .topic-col .text-box{
        padding: 40px 20px;
    }
}
@media screen and (max-width: 567px) {
    .topic-list .topic-col .text-box{
        position: static;
        overflow: hidden;
    }
    .topic-list .topic-col .text-box .title{
        font-size: 16px;
        white-space: unset;
    }
    .topic-list .topic-col .img{
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
    }
    .topic-list .topic-col img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.topic-list .topic-item:hover .cover{
    opacity: 1;
}
.topic-list .topic-item:hover .cover .line{
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}
.topic-list .topic-item:hover .cover .iconfont{
    -webkit-animation: fadeInDown .3s ease-in-out .1s forwards;
    -o-animation: fadeInDown .3s ease-in-out .1s forwards;
    animation: fadeInDown .3s ease-in-out .1s forwards;
}
.topic-list .topic-item:hover .cover .text{
    -webkit-animation: fadeInUp .3s ease-in-out .1s forwards;
    -o-animation: fadeInUp .3s ease-in-out .1s forwards;
    animation: fadeInUp .3s ease-in-out .1s forwards;
}

/*topic-list END*/
/*留学生风采 END*/


/*order-item*/
.order-item{
    height: 100%;
    padding: 20px 40px;
    border: 1px solid #bbb;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.order-item .iconfont{
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 2px solid #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.order-item  .text-box{
    padding-left: 20px;
}
.order-item  .text-box .title{
    font-size: 18px;
}
.order-item  .text-box .desc{
    opacity: .65;
}
.order-item:hover{
    background: #c9151e;
    color: #fff;
    border-color: #c9151e;
}
.order-item:hover .iconfont{
    border-color: rgba(255,255,255,.65);
}
/*order-item END*/

/*news-swiper*/
.topic-news-swiper{
    /* background: #2E2E2E;
    background: #c9151e;
    background: #fff; */
    padding: 2vw 0;
    position: relative;
}
.topic-news-swiper .swiper-slide{
    border-radius: 5px;
    box-shadow: 0 0 20px rgb(0 0 0 / 5%);
    overflow: hidden;
    position: relative;
    background: #fff;
}
.topic-news-swiper .swiper-slide .text-box:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.5);
    background: -webkit-linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0));
    background: -o-linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0));
    background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0));
    bottom: 0;
    top: 0;
    z-index: 0;
}
.topic-news-swiper .slide{
    background: none;
    color: #fff;
    position: relative;
}
.topic-news-swiper .slide:hover img{
    transform: scale(1)!important;
}
.news-block .topic-news-swiper .img-box .img:after{
    content: unset;
}
.topic-news-swiper .slide .text-box{
    padding: 20px;
    /* padding-top: 20px; */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}
.topic-news-swiper .slide .text-box>*{
    position: relative;
    z-index: 2;
}
.topic-news-swiper .slide .text-box .title{
    color: #fff;
}
.topic-news-swiper .slide .text-box .desc{
    color: #fff;
    opacity: .75;
}

.topic-news-swiper .swiper-button-prev,
.topic-news-swiper .swiper-button-next{
    width: 50px;
    height: 50px;
    top: 50%;
    margin-top: -25px;
    left: unset;
    /* border: 2px solid #eee; */
    border-radius: 42px;
    background: rgba(0,0,0,.5);
}
.topic-news-swiper .swiper-button-prev{
    left: 10px;
}
.topic-news-swiper .swiper-button-next{
    right: 10px;
}
.topic-news-swiper .swiper-button-prev:after,
.topic-news-swiper .swiper-button-next:after{
    font-size: 18px;
    color: #eee;
}
.topic-news-swiper .swiper-container .swiper-notification,
.topic-news-swiper .swiper-pagination{
    bottom: 2vw;
    text-align: left;
    left: 2vw;
    right: unset;
    color: rgba(255,255,255,.65);
    flex: 1;
    font-weight: bold;
    width: unset;
    margin-bottom: 8px;
}
.topic-news-swiper .swiper-pagination .swiper-pagination-current{
    font-size: 1.2em;
    color: #fff;
}
.topic-content{
    padding-left: 3vw;
}
.topic-content .keywords{
    padding-bottom: 3vw;
}
.topic-content .keywords .keyword-item .text{
    opacity: .65;
}
@media screen and (min-width: 768px) {
    .topic-news-swiper .swiper-slide{
        border-radius: 10px;
        transform: scale(.85);
        /* padding: 10px; */
        z-index: 1;
        opacity: .75;
        transition: all .3s;
    }
    .topic-news-swiper .swiper-slide-active{
        transform: scale(1);
        z-index: 2;
        opacity: 1;
    }
}
@media screen and (min-width: 992px) {
    .topic-content .keywords .keyword-item{
        text-align: left;
        display: flex;
        align-items: center;
    }
    .topic-content .keywords .keyword-item .num{
        margin-bottom: 0;
        margin-right: 20px;
    }
}
@media screen and (max-width: 991px) {
    .topic-content{
        padding-left: 0px;
    }
    .topic-content .keywords{
        padding-bottom: 30px;
    }
    /* .topic-news-swiper{
        padding: 20px;
        padding-bottom: 80px;
    } */
    .topic-news-swiper .swiper-button-prev,
    .topic-news-swiper .swiper-button-next{
        right: 20px;
        bottom: 20px;
    }
    .topic-news-swiper .swiper-container .swiper-notification,
    .topic-news-swiper .swiper-pagination{
        left: 20px;
        bottom: 20px;
    }
}
@media screen and (max-width: 767px) {
    .topic-content .keywords{
        padding-top: 30px;
    }
    .topic-news-swiper .swiper-button-prev,
    .topic-news-swiper .swiper-button-next{
        width: 36px;
        height: 36px;
        top: unset;
        bottom: 0;
        border-radius: 42px;
        background: rgba(0,0,0,.5);
        right: 0;
        left: unset;
    }
    .topic-news-swiper .swiper-button-prev{
        margin-right: 46px;
    }
    .topic-news-swiper .slide .text-box .desc{
        font-size: 12px;
    }
    .topic-news-swiper{
        padding-bottom: 50px;
    }
    .topic-news-swiper .swiper-container .swiper-notification, .topic-news-swiper .swiper-pagination{
        bottom: 0;
        color: #666;
        left: 0;
        margin-bottom: 5px;
    }
    .topic-news-swiper .swiper-pagination .swiper-pagination-current{
        color: #c9151e;
    }
}
/*news-swiper END*/