.wrap {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
/* 菜单 */
.navbox {
  position: absolute;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 9999;
  transition: all 0.3s linear;
}
.nav {
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 9;
}

.logo {
  margin-top: 15px;
}
.logo img {
  height: 50px;
}
.logoimg2 {
  display: block;
}
.logoimg1 {
  display: none;
}
.head_white .logoimg1,
.navpage .logoimg1 {
  display: block;
}
.head_white .logoimg2,
.navpage .logoimg2 {
  display: none;
}
.nav ul {
  float: right;
  display: flex;
  justify-content: space-between;
}

.nav ul li {
  float: left;
  line-height: 80px;
  margin-right: 60px;
  position: relative;
}

.nav ul li a {
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  padding-bottom: 4px;
  position: relative;
}
.nav ul .login div::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #223579;
  content: "";
  opacity: 0;
  transform: scale(0.2);
  transition: all 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
}
.nav ul .login div {
  position: relative;
  height: 36px;
  width: 80px;
  text-align: center;
  line-height: 36px;
  margin-top: 22px;
  padding: 0;
  background: #fff;
  cursor: pointer;
}
.nav ul .login:hover div::before {
  opacity: 1;
  /* transition: all .3s cubic-bezier(.02,.01,.47,1); */
  transform: scale(1);
}
.nav ul .login:hover div a {
  color: #fff;
}
.nav ul .login {
  margin: 0;
}
.nav ul .login a {
  color: #223579;
  position: relative;
  text-align: center;
  z-index: 1;
}

.nav ul li.h a {
  border-bottom: 2px solid #fff;
}

.head_white,
.navpage {
  background: rgba(255, 255, 255, 1);
}

.head_white .nav ul li a,
.navpage .nav ul li a {
  color: #5f6464;
}

.head_white .nav ul .login a,
.navpage .nav ul .login a {
  color: #fff !important;
}
.head_white .nav ul li:hover a,
.navpage .nav ul li:hover a {
  color: #002a58;
}
.head_white .nav ul .login div,
.navpage .nav ul .login div {
  background: #223579;
}
.head_white .nav ul .login div::before,
.navpage .nav ul .login div::before {
  background: #5277fb;
}
.head_white .nav ul .login:hover div::before,
.navpage .nav ul .login:hover div::before {
  opacity: 0.25;
}
.head_white .nav ul li.h a,
.navpage .nav ul li.h a {
  border-bottom: 2px solid #223579;
  color: #002a58;
}
.navshowlist {
  transition: initial;
}
.navbox .navlist {
  position: absolute;
  width: 140px;
  top: 70px;
  left: 50%;
  /* animation: opacitynav1 0.2s ease-out; */
  opacity: 0;
  background: url(https://futureteacher.oss-cn-shanghai.aliyuncs.com/futureschool/img/xlbg.png) center no-repeat;
  background-size: 100% 100%;
  margin-top: 10px;
  text-align: center;
  transform: translateX(-50%);
  padding: 15px 0 20px;
}
.navlist.navfadedown {
  display: block;
  opacity: 1;
}
.navlist a {
  color: #fff !important;
}
.navlist a:hover {
  color: #fff !important;
}
.navfadedown a span{
  position: relative;
  border-bottom: 1px solid transparent;
}
.navfadedown a span::after{
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  content: '';
  display: block;
  background: #fff;
  transform: translateX(-50%);
  transition: 0.3s all ease;
  height: 1px;
}
.navfadedown a:hover span::after{
  width: 100%;
}
@keyframes opacitynav1 {
  from {
    opacity: 1;
    transform: translate(-50%, 0%);
  }
  to {
    transform: translate(-50%, -15%);
    opacity: 0;
  }
}
@keyframes opacitynav2 {
  from {
    opacity: 0;
    transform: translate(-50%, -15%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0%);
  }
}
.navlist {
  position: absolute;
  display: none;
  animation: opacitynav2 0.3s ease-out;
}
.navshowlist .nav .navlist a {
  display: block;
  margin-top: 10px;
  line-height: 24px;
  padding: 0;
  border: none !important;
}
/* footer */
.footer {
  height: 165px;
  background: #223579;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.flogo {
  width: 130px;
}
.flogo img {
  width: 130px;
}
.foot .link p {
  height: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 20px;
}
.foot .link ul {
  min-width: 466px;
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}
.foot .link ul li a {
  color: rgba(255, 255, 255, 0.5);
}
.foot a:hover {
  text-decoration: underline;
}
.foot .line {
  width: 1px;
  height: 62px;
  background: #7b7e8a;
}
.foot .company {
  width: 330px;
}
.foot .company a,
.foot .company p {
  color: rgba(255, 255, 255, 0.5);
}
.foot .company p {
  margin-top: 15px;
}
.videoplay_box {
  display: none;
  position: relative;
  z-index: 99998;
}
.closevideo {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 9999;
}
.videoplay_box .mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  background: rgba(0,0,0,0.4);
}
.videoplay_con {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 338px;
  z-index: 99999;
}
.loginbg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 999999;
}
.loginbox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 370px;
  height: 340px;
  padding: 30px;
  background: #ffffff;
  border-radius: 8px;
}
.loginbox .name {
  font-size: 20px;
  font-weight: 500;
  color: #444444;
  line-height: 20px;
  position: relative;
}
.loginbox .name a {
  float: right;
}
.loginbox .name a img {
  width: 15px;
}
.loginbox li {
  margin-top: 30px;
  color: #5f6464;
  font-size: 14px;
}
.loginbox li .lname{
  line-height: 20px;
}

.loginbox li input {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  background: #f0f0f0;
  border-radius: 8px;
  outline: none;
  border: none;
  margin-top: 10px;
  padding: 0 10px;
}
.loginbox .con a {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  height: 40px;
  background: rgba(34, 53, 121, 0.4);
  border-radius: 8px;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  transition: 0.3s all ease;
}
.loginbox .con a.active,.loginbox .con a:hover{
  background: #223579;
}
.lname.active{
  color: #F66E6B;
}

@media screen and (max-width: 1068px) {
  .foot .link {
    margin-left: 20px;
  }
  .foot .line {
    margin: 0 20px;
  }
  .foot .link ul {
    min-width: initial;
    max-width: 300px;
    display: block;
  }
  .foot .link ul li {
    display: inline-block;
  }
  .foot .company p,
  .foot .link {
    line-height: 24px;
  }
}

.barbtn,
.mnav {
  display: none;
}
@media screen and (max-width: 900px) {
  html {
    font-size: 14px;
  }
  .mobile .navbox {
    height: 80px;
  }
  .mobile .nav ul {
    display: none;
  }
  .mobile .mask {
    display: none !important;
  }
  .mobile .nav .logo {
    /* height: 8.8rem; */
    margin-top: 0;
    position: absolute;
    top: 15px;
    right: 4.8rem;
  }
  .mobile .nav {
    padding: 0;
  }
  
  .mobile .barbtn {
    display: block;
    margin: 32px 0 0 30px;
    height: 16px;
  }
  .mobile .barbtn img {
    height: 100%;
  }
  .mbar2 {
    display: none;
  }
  .head_white .mbar1,
  .navpage .mbar1 {
    display: none;
  }
  .head_white .mbar2,
  .navpage .mbar2 {
    display: block;
  }
  /* nav */
  .mobile .mnav {
    background: #fff;
    width: 62.7%;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 99999;
  }
  .mobile .mnav ul {
    position: relative;
    z-index: 99;
    margin: 80px 0 0 50px;
  }
  .mobile .mnav ul li {
    margin-bottom: 40px;
  }
  .mobile .mnav ul li a {
    font-size: 3.2rem;
    color: #5f6464;
  }
  .mobile .mnav .mmask {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
  .mobile .mnav .closebtn {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 16px;
    cursor: pointer;
  }
  .mobile .mnav .closebtn img {
    width: 100%;
  }
  .mobile .title {
    font-size: 4.8rem;
    line-height: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 9;
  }
  .mobile .tip p {
    font-size: 2.1rem;
    line-height: 2.4rem;
    position: relative;
    z-index: 9;
  }
  .mobile .footer {
    height: auto;
  }
  .mobile .flogo img {
    display: none;
  }
  .mobile .foot {
    display: block;
    padding: 0;
  }
  .mobile .foot .link,
  .mobile .company {
    padding: 50px;
    margin: 0;
  }
  .mobile .company {
    box-sizing: border-box;
    width: 100%;
  }
  .mobile .foot .link p {
    font-size: 3.7rem;
  }
  .mobile .foot .link ul {
    margin: 0;
    max-width: 100%;
    min-width: 100%;
    position: relative;
  }
  .mobile .foot .link ul li {
    width: 49%;
    margin-top: 20px;
  }
  .mobile .foot .line {
    width: 100%;
    height: 1px;
    margin: 0;
  }
}
