﻿@charset "UTF-8";

/*主体*/
#slide img{
    width: 100%;
}
#slide .swiper-pagination {
    bottom: 0.2rem;
}

#slide .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    margin: 0 6px;
    opacity: 1;
}

#slide .swiper-pagination-bullet-active {
    background: var(--focusColor);
}

.title{
    align-items: center;
    margin: 0.3rem 0;
    border-bottom: 1px solid #E2E2E2;
}
.title h2 a{
    font-size: 0.22rem;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 0.15rem;
}
.title h2 a img{
    margin-right: 0.1rem;
    width: 0.3rem;
}
.title h2 a:after{
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #097052;

}
.title .more{
    color: #999999;
}
.title .more:hover{
    color: var(--varColor);
}

/*学院要闻*/
.news{
    width: 65.75%;
}
#news{
    width: 48%;
    height: 4rem;
    margin: 0;
    padding: 0.17rem 0.44rem;
    background: rgba(245, 245, 245, 0.7);
    box-sizing: border-box;
}
#news .swiper-slide .img{
    height: 2.48rem;
}
#news .swiper-slide h2{
    font-size: 0.22rem;
    margin: 0.5em 0;
}
#news .swiper-slide i{
    font-size: 0.16rem;
    color: #666;
}

.news ul{
    width: 48%;
}
.news ul li{
    margin-bottom: 0.2rem;
    position: relative;
    padding-bottom: 0.09rem;
}
.news ul li:last-of-type{
    margin-bottom: 0;
}
.news ul li p{
    font-size: 0.16rem;
    margin-bottom: 0.1rem;
}
.news ul li i{
    color: #666;
}
.news ul li:after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0.4rem;
    height: 1px;
    background: #ddd;
    transition: 0.5s;
}
.news ul li:hover:after{
    width: 100%;
    background: var(--varColor);
}

/*通知公告*/
.notice{
    width: 31.25%;
}
.notice ul li{
    font-size: 0.16rem;
    margin-bottom: 0.2rem;
}
.notice ul li span{
    color: #999;
    margin-left: 0.2rem;
}
.notice ul li p{
    position: relative;
    padding-left: 0.25rem;
}
.notice ul li p:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    transform: translateY(-50%);
    background: var(--varColor);
    transition: 0.3s;
}
.notice ul li p:hover:before{
    width: 12px;
}

/*专题专栏*/
#special .swiper-button-prev:after,
#special .swiper-button-next:after{
    display: none;
}
#special .swiper-button-prev,
#special .swiper-button-next{
    left: 0;
    width: 56px;
    height: 56px;
    background: url("../images/button-prev.png") no-repeat;
}
#special .swiper-button-next{
    left: auto;
    right: 0;
    background-image: url("../images/button-next.png");
}

.wrapper > div {
    width: 32%;
}
.wrapper .box{
    align-items: center;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #E2E2E2;
}
.wrapper .box .date{
    min-width: 0.69rem;
    width: 0.69rem;
    height: 0.69rem;
    margin-right: 0.2rem;
    color: #fff;
    font-size: 0.15rem;
    text-align: center;
    background: var(--varColor);
    box-sizing: border-box;
}
.wrapper .box .date h1{
    font-size: 0.26rem;
    margin: 0 0.05rem;
    border-bottom: 1px solid #fff;
}
.wrapper .box .text p{
    font-size: 0.2rem;
}
.wrapper .list li{
    font-size: 0.16rem;
    margin-top: 0.2rem;
}
.wrapper .list li span{
    color: #999;
    margin-left: 0.2rem;
}
.wrapper .list li p{
    position: relative;
    padding-left: 0.25rem;
}
.wrapper .list li p:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    transform: translateY(-50%);
    background: #999;
    transition: 0.3s;
}
.wrapper .list li p:hover:before{
    width: 12px;
    background: var(--varColor);
}
.wrapper .list li p a{
    color: #666;
}
.wrapper .list li p a:hover{
    color: var(--varColor);
}

/*视频展播*/
#video .swiper-slide{
    padding: 0 0.2rem 0.1rem;
    box-sizing: border-box;
}
#video .swiper-slide:after{
    content: '';
    position: absolute;
    top: 0.4rem;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--varColor);
    z-index: -1;
}
#video .swiper-slide .img{
    position: relative;
    height: 2.2rem;
}
#video .swiper-slide .img:before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("../images/play.png") no-repeat center center;
    z-index: 1;
}
#video .swiper-slide p{
    margin-top: 0.1rem;
    color: #fff;
}
#video .swiper-slide p a{
    color: #fff;
    font-size: 0.18rem;
}
#video .swiper-slide p a:hover{
    color: var(--focusColor);
}

/*响应式适配多端*/
@media screen and (max-width: 1440px) {

    .container{
        width: 90%;
    }

    #news{
        padding: 0.17rem;
    }

    #video .swiper-slide .img{
        height: 1.7rem;
    }
    #video .swiper-slide .img:before{
        background-size: 0.5rem;
    }

    footer {
        font-size: 14px;
    }
    footer ul {
        flex-wrap: wrap;
    }
    footer ul li span {
        padding: 0 0.1rem;
    }

}


@media screen and (max-width: 768px) {

    .container{
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .search{
        display: none;
    }

    header .toggle {
        position: absolute;
        top: 20px;
        right: 10px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 30px;
        height: 30px;
    }

    .toggle i {
        display: inline-flex;
        width: 100%;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: .5s;
        transform-origin: 0 50%;
    }

    .toggle.on i:first-of-type {
        transform: rotate(40deg);
    }

    .toggle.on i:nth-of-type(2) {
        opacity: 0;
    }

    .toggle.on i:last-of-type {
        transform: rotate(-40deg);
    }

    header{
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        padding-bottom: 0;
        z-index: 9;
    }

    header .logo {
        padding: 15px 0;
    }

    header .logo img {
        height: 40px;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0 10px;
        background: rgba(0, 121, 138, .9);
        background: linear-gradient(to right, #5d1012, #9c7b5d);
        z-index: 9999;
        display: none;
    }
    .menu {
        display: block;
        width: 100%;
        height: auto;
    }

    .menu > li > a {
        display: block;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        font-weight: normal;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .menu > li:after {
        position: absolute;
        content: ">";
        top: 0;
        bottom: 1px;
        right: 0;
        color: #fff;
        font-size: 20px;
        font-family: '宋体';
        text-align: center;
        width: 40px;
        line-height: 40px;
        transform: rotate(90deg);
    }

    .menu .second-menu {
        top: 40px;
        background: var(--varColor);
    }

    .menu .second-menu a {
        font-size: 15px;
    }

    section{
        margin-top: 70px;
    }

    .container > .flex, .news > .flex{
        flex-wrap: wrap;
    }

    #slide .swiper-pagination{
        display: none;
    }

    .title{
        margin: 20px 0;
    }

    .news, #news, .news ul, .notice{
        width: 100%;
    }

    .news ul{
        margin-top: 15px;
    }

    #special .swiper-button-prev,
    #special .swiper-button-next{
        display: none;
    }

    .wrapper > div {
        width: 100%;
    }

    #video .swiper-slide .img{
        height: 55vw;
    }

    footer ul{
        display: none;
    }

    footer .flex{
        flex-wrap: wrap;
    }
    footer .footer-logo {
        display: none;
    }
    .contact{
        margin: 15px 0;
        width: 100%;
    }
    .contact p{
        margin-left: 0;
        line-height: 1.5em;
    }
    .qrcode{
        width: 100%;
        text-align: center;
    }

}
