@charset "gb2312"; html{-webkit-tap-highlight-color:transparent;height:100%;font-size:312.5%;background-color:#ebebeb;margin:0 auto;padding:0} body{max-width:640px;min-width:320px;background:#ebebeb;width:100%;margin:0 auto!important;font-size:.24rem;line-height:1.5;color:#333;font-family:-apple-system,Helvetica,sans-serif} a,article,aside,body,button,dd,details,div,dl,dt,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,img,input,li,menu,nav,ol,p,section,select,table,tbody,td,textarea,th,tr,ul{margin:0;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)} ins{font-size:12px;line-height:15px} ins.lxb-cb-input-tip-content{font-size:12px;line-height:15px} input[type=button],input[type=file],input[type=submit]{-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none} input[type=number]{-moz-appearance:textfield} table{border-collapse:collapse;border-spacing:0} img{border:0;vertical-align:middle} .clear{clear:both;height:0} .clearflx::after{content:".";display:block;height:0;clear:both;visibility:hidden} .flex{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;} h1,h2,h3,h4,h5,h6{font-weight:400} li,ol,ul{list-style:none} .fl{float:left} .fr{float:right} .h_5px{height:.09rem;clear:both;overflow:hidden;font-size:0} .h_10px{height:.1rem;clear:both;overflow:hidden;font-size:0} .h_20px{height:.2rem;clear:both;overflow:hidden;font-size:0} .h_30px{height:.3rem;clear:both;overflow:hidden;font-size:0} .h_40px{height:.4rem;clear:both;overflow:hidden;font-size:0} .h_50px{height:.5rem;clear:both;overflow:hidden;font-size:0} a{text-decoration:none;color:inherit} @media screen and (min-width:320px){ html{font-size:312%} } @media screen and (min-width:360px){ html{font-size:351%} } @media screen and (min-width:375px){ html{font-size:366%} } @media screen and (min-width:384px){ html{font-size:375%} } @media screen and (min-width:400px){ html{font-size:391%} } @media screen and (min-width:414px){ html{font-size:404%} } @media screen and (min-width:424px){ html{font-size:414%} } @media screen and (min-width:480px){ html{font-size:469%} } @media screen and (min-width:540px){ html{font-size:527%} } @media screen and (min-width:560px){ html{font-size:547%} } @media screen and (min-width:640px){ html{font-size:625%} } .header {position: relative; padding: 2% 3%; background-color: #fff; font-size: 0; align-items: center; } .header .header-logo { width: 70%; } .header .header-call { display: block; width: .42rem; height: .42rem; background: url(../images/home-ment.png) no-repeat -.05rem -.04rem; background-size: 3rem; -webkit-animation: shaked 2s ease-in-out infinite; -moz-animation: shaked 2s ease-in-out infinite; -ms-animation: shaked 2s ease-in-out infinite; animation: shaked 2s ease-in-out infinite; } @keyframes shaked { 0% { transform: rotate(0) } 10% { transform: rotate(0) } 20% { transform: rotate(-8deg) } 30% { transform: rotate(8deg) } 40% { transform: rotate(-6deg) } 50% { transform: rotate(6deg) } 60% { transform: rotate(-4deg) } 70% { transform: rotate(4deg) } 80% { transform: rotate(-2deg) } 90% { transform: rotate(2deg) } 100% { transform: rotate(0) } } .home-nav { padding: 0% 3% 3%; background-color: #fff; } .home-nav ul li { width: 25%; padding: 0% 3% 0; box-sizing: border-box; text-align: center; margin-top: 3%; } .home-nav ul li p { margin-top: .05rem; } .home-entrance { padding: 1% 3% 3%; background-color: #fff; margin-top: .2rem; } .home-entrance li { width: 48.5%; box-shadow: 0 0 .06rem #c1c1c1; border-radius: .1rem; overflow: hidden; margin-top: 3%; text-align: center } .home-entrance li div { text-align: center; width: 44%; } .home-entrance li a { display: block; width: 56%; } .home-entrance li div p { line-height: .28rem; } .home-entrance li div a { display: block; width: 90%; background: linear-gradient(to top, #ff5c00, #ffbf00); font-size: .18rem; line-height: .34rem; text-align: center; margin: .1rem auto 0; color: #fff; border-radius: .27rem; } .home-title h2 { width: 26%; font-size: .26rem; font-weight: bold; text-align: center; color: #969db4; border: #969db4 solid 1px; line-height: .46rem; border-radius: .23rem; } .home-title strong { flex: 1; height: 1px; background-color: #969db4; } .home-major { padding: 3%; background-color: #fff; margin-top: .2rem; } .home-major li { margin-top: 3%; box-shadow: 0 0 .06rem #c1c1c1; border-radius: .1rem; } .home-major li h3 { font-size: .24rem; font-weight: bold; padding: 2% 3% 0 } .home-major li h3 strong { display: inline-block; padding: 0 .1rem; font-size: .18rem; line-height: .24rem; background-color: #ffe1e1; color: #e70000; border-radius: .05rem; font-weight: normal; margin-left: 5%; } .home-major li h3 strong:nth-of-type(2) { background: #e1e9ff; color: #014bc6; margin-left: 2%; } .home-major li h3 strong:nth-of-type(3) { background: #e1f6de; color: #1fa600; margin-left: 2%; } .home-major li p { font-size: .2rem; padding: 1% 3% 2% } .home-chat, .home-form .form-btn { display: block; width: 100%; background: linear-gradient(to left, #ff5c00, #ffa600); text-align: center; color: #fff;line-height: .56rem; border-radius: .25rem; margin-top: .2rem; box-shadow: 0 0 .06rem #c1c1c1;padding-top:.05rem} .home-environmental, .home-teacher, .home-news, .home-works, .home-form { padding: 3%; background-color: #fff; margin-top: .2rem; } .home-environmental .environmental-one, .home-works .works-one, .home-teacher .swiper-container { margin-top: .2rem; } .home-environmental .environmental-two, .home-works .works-two { margin-top: 10px; } .home-environmental .environmental-two .swiper-slide-active, .home-works .works-two .swiper-slide-active { border: #ff5c00 solid .02rem; box-sizing: border-box; } .home-teacher .swiper-container { padding: .1rem; box-sizing: border-box; } .home-teacher .swiper-container .swiper-slide { box-shadow: 0 0 .1rem #c1c1c1; position: relative; overflow: hidden; border-radius: .1rem; } .home-teacher .swiper-container .teacher-text { width: 50%; } .home-teacher .swiper-container .swiper-slide::before { content: ""; display: block; position: absolute; top: -20%; left: -20%; width: 2.5rem; height: 2.5rem; background-color: #ffca94; border-radius: 50%; z-index: -1; } .home-teacher .swiper-container .swiper-slide::after { content: ""; display: block; position: absolute; top: -40%; left: 10%; width: 2rem; height: 2rem; background-color: #fff2e5; border-radius: 50%; z-index: -2; } .home-teacher .teacher-text h3 { font-size: .26rem; font-weight: bold; color: #969db4; } .home-teacher .teacher-text h3::after { content: ""; display: block; width: .4rem; background-color: #ff5c00; height: .06rem; } .home-teacher .teacher-text p { font-size: .22rem; line-height: .3rem;margin-top: .1rem;} .home-news ul li {width:100%; margin-top: .2rem; } .home-news ul li .news-img { width: 2.2rem; height: 1.46rem; border-radius: .06rem; overflow: hidden; } .home-news ul li .news-text { width: 60%; } .home-news ul li .news-text h3 { font-size: .24rem; } .home-news ul li .news-text p { font-size: .22rem; color: #969db4; margin-top: .12rem; } .home-news ul li .news-text p strong { float: right; color: #000 } .home-form li { background-color: #f5f5f5; margin-top: .15rem; height: .5rem; border-radius: .02rem; font-size: .24rem; line-height: .5rem; padding: 0 .1rem } .home-form li .form-int, .home-form li select { border: none; width: 76%; background-color: transparent; line-height: .4rem; font-size: .24rem; appearance: none; -moz-appearance: none; -webkit-appearance: none; } .home-form .form-btn { border: none; font-size: .24rem; font-weight: bold; } .footer { padding: 3%; background-color: #fff; margin-top: 2px; padding-bottom: 1rem; } .footer p { text-align: center; } .home-fixmenu { background: linear-gradient(to left, #ff1a55, #ff7218); height: .8rem; margin: 0 auto; max-width: 640px; width: 100%; position: fixed; bottom: 0; z-index: 9; -webkit-animation: fadeInUp 1s .2s ease both; -moz-animation: fadeInUp 1s .2s ease both; animation: fadeInUp 1s .2s ease both; } .home-fixmenu ul li { width: 25%; text-align: center; color: #fff; line-height: .24rem; } .home-fixmenu ul li a::before { content: ""; display: block; width: .4rem; height: .4rem; margin: .07rem auto .03rem; background: url(../images/home-ment.png) no-repeat -.55rem -.05rem; background-size: 3rem; } .home-fixmenu ul li:nth-of-type(2) a::before { background-position-x: -2.06rem; } .home-fixmenu ul li:nth-of-type(3) a::before { background-position-x: -1.56rem; } .home-fixmenu ul li:nth-of-type(4) a::before { background-position-x: -1.06rem; } @-webkit-keyframes fadeInUp { 0% { opacity: 0; -webkit-transform: translateY(80px) } 100% { opacity: 1; -webkit-transform: translateY(0) } } @-moz-keyframes fadeInUp { 0% { opacity: 0; -moz-transform: translateY(80px) } 100% { opacity: 1; -moz-transform: translateY(0) } } @keyframes fadeInUp { 0% { opacity: 0; transform: translateY(80px) } 100% { opacity: 1; transform: translateY(0) } } .home-popup { width: 320px;position: fixed; left: 52%; top: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); margin: 0 auto; border-radius: .1rem; z-index: 9; display: none; } .home-popup a { display: block; width: 100%; border-top-right-radius: .1rem; border-top-left-radius: .1rem; overflow: hidden; } .home-popup .popup-box { padding: .1rem .12rem; box-sizing: border-box;background: #fff;width: 88.8%; } .home-popup .popup-box h2 { font-size: .22rem; color: #000; line-height: .28rem; } .home-popup .popup-box .popup-tel { display: block; width: 100%; border: #7d7d7d solid 1px; border-radius: .03rem; font-size: .2rem; line-height: .34rem; margin: .06rem 0; padding-left: .05rem; box-sizing: border-box; } .home-popup .popup-box .popup-div label { width: 32%; border: #7d7d7d solid 1px; border-radius: .03rem; font-size: .16rem;line-height: .34rem;text-align: center; margin-top: .05rem; cursor: pointer; } .home-popup .popup-box .popup-div label.current { background-color: #ff0600; color: #fff; border-color: #fff; } .home-popup .popup-box .popup-div label input { display: none; } .home-popup .popup-box .popup-btn { display: block; width: 100%; background-color: #ff0600; font-size: .2rem; line-height: .44rem; text-align: center; color: #fff; border: none; border-radius: .06rem; margin-top: .1rem;padding-top:.05rem} .home-popup .popup-close { position: absolute; bottom: -12%; left: 44%; transform: translateX(-50%); cursor: pointer; } .home-popupRight { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9; } .home-popupRight a { display: block; width: .6rem; background-color: #ff7218; font-size: 16px; line-height: .34rem; color: #fff; text-align: center; margin: .15rem 0; border-top-left-radius: .1rem; border-bottom-left-radius: .1rem; padding: .1rem 0; } .home-popupRight a:nth-of-type(2) { background-color: #ff1a55 }