
/* 首页适配 */

@media only screen and (max-width: 840px) {

.search{ display: none;}

.home-left{ width: 100%; display: flex;  flex: 1;
    justify-content: space-between;
    align-items: center;}
    .tab-nav {
    margin-top: 0rem;
    display: flex;
   flex-direction: row;
}
.tab-nav a{ margin-left: 2rem;  display: inline-block;}
.tab-content-wrapper { width: 100%; padding-top: 2rem;}
.art li{ width: 49%; margin-right: 2%; }
.art li:nth-child(2n){ margin-right: 0;}
.tab-content .more{ margin: clamp(1rem, 2vw, 3rem) auto 0;}


.nav-menu {position: fixed; right: -120%; top: 0rem; bottom:0; height: 100vh; padding-top: 6rem;  background:rgb(0 0 0 / 90%); width:50%; text-align: center;
        transition: 0.3s; z-index: 99;display: block; }
.nav-menu.active { right: 0; }
.nav-item { width: 100%; margin: 0; border-bottom: 1px solid #f3f4f6; }

.hamburger {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 2rem;
        top: clamp(1rem, 3vw, 4rem);
        z-index: 100;
    }
.hamburger.active{position: fixed;}
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
        background: #fff;
    }
.hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
        background: #fff;
    }
.icon-xiangxia2, .nav ul li:hover ul{ display: none;}
.nav ul li a{ display: block; text-align: center;}

#swiper1 img{ min-height: 20rem;}

.Diploma{margin-top: 1rem;}
.Diploma li{ min-height: 18.3rem;}


.Table-cont{ width: 100% ;}

.news-cont{ width: 78%}
.banner2 img{ width: 150%;}
.detail-box{ width: 100%;}
.contact-erweima{ width: 100%;}

.contact-cont{ width: 100%; padding:clamp(2rem, 3vw, 5rem) clamp(1rem, 3vw, 5rem); margin-top: 0rem; }

}

@media only screen and (max-width: 480px) {

}