/*header*/
.header {
  position: relative;
  z-index: 101;
  width: 100%;
  height: 70px;
  padding: 18px 0 0;
  font-size: 16px;
  line-height: 46px;
  text-align: center;
}

.header.cur {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 2px 13px 0px rgba(132, 132, 132, 0.2);
}

.logo {
  display: block;
  position: absolute;
  left: 0;
  top: 3.5px;
  /* width: 168px;
height: 48px; */
  width: 147px;
  height: 41px;
  background: url(../../../../../assets/20240313/img/new_logo.png) no-repeat;
  text-indent: -9999px;
  cursor: default;
  background-size: 100% 100%;
  width: 135px;
  height: 27px;
  top: 8px;
}

.logo_new {
  display: none;
}

.header.cur .logo, .computer-header .logo {
  background: url(../../../../../assets/20240313/img/new_logo.png) no-repeat;
  background-size: 100% 100%;
  width: 135px;
  height: 27px;
  top: 8px;
}

.menu {
  float: left;
  padding-left: 200px;
}

.menu a {
  display: inline-block;
  width: 71px;
  margin-left: 20px;
  line-height: 40px;
  text-align: center;
}

.menu a:hover, .menu a.cur {
  background: #313131;
  border-radius: 20px;
  color: #fff;
}

.redPacket {
  position: absolute;
  top: -11px;
  right: 155px;
  width: 48px;
  cursor: pointer;
}

.popWindows {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 100;
  margin-left: -262px;
  margin-top: -195px;
}

.popWindowsClose {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 18px;
  top: 17px;
  z-index: 2;
  cursor: pointer;
}

.loginBox {
  float: right;
  overflow: hidden;
  margin-top: 11px;
  line-height: 24px;
  font-size: 14px;
  display: flex;
}

.loginBefore {
  display: none;
}

.loginAfter {
  display: none;
  display: flex;
}

.exitLogin {
  padding-left: 10px;
  cursor: pointer;
}

.login-learning {
  padding-right: 77px;
  font-size: 16px;
}

.enterAvatar {
  position: absolute;
  top: 6px;
  right: 11px;
}

.avatar {
  width: 36px;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  margin-bottom: 5px;
}

.logOut {
  position: absolute;
  left: -42px;
  top: 35px;
  width: 90px;
  height: 30px;
  line-height: 30px;
  /* position: fixed; */
  /* left: 84%;
top: 9%; */
  font-size: 14px;
  border: 1px solid #f0f0ff;
  background-color: #fff;
  border-radius: 6px;
  opacity: 0;
}

.sanjiaoxing {
  width: 0px;
  height: 0px;
  border: 6px solid transparent;
  border-top-color: #000000;
  margin-top: 0;
  border-radius: 3px;
  position: absolute;
  right: 0;
  top: 21px;
}

#mask {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.4;
  z-index: 99;
}

.loginBtn {
  float: left;
  background: url(../../../img/home/icon.png) no-repeat;
  padding: 0 15px 0 35px;
}

.reg {
  background: url(../../../img/home/line.jpg) no-repeat 0 2px;
  padding-left: 9px;
}

.mock_nav {
  position: relative;
}

.mock_nav i {
  display: block;
  position: absolute;
  top: -7px;
  right: -25px;
  width: 37px;
  height: 16px;
  background: linear-gradient(56deg, rgba(255, 201, 42, 1) 0%, rgba(247, 40, 91, 1) 100%);
  border-radius: 8px 8px 8px 0px;
  padding-right: 5px;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
}

.agreement-box {
  background: #f5f7fa;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  line-height: 34px;
  text-align: left;
  font-size: 14px;
  color: #89898a;
}

.agreement-box a {
  padding: 0 5px;
}

@media screen and (max-width: 1218px) {
  .menu a {
    margin-left: 0;
  }

  .ipadBox .loginBox {
    padding-right: 10px;
  }
}

@media screen and (max-width: 1045px) {
  .menu a {
    margin-left: 0px;
    font-size: 14px;
  }
}

@media screen and (max-width: 900px) {
  .menu a {
    width: auto;
    margin-left: 8px;
    font-size: 12px;
  }

  .logo {
    display: none;
  }

  .menu {
    padding-left: 0;
  }

  .menu a:hover {
    background: none;
  }
}

@media screen and (max-width: 769px) {
  .ipadBox .menu a {
    font-size: 16px;
  }

  .ipadBox .loginBox {
    font-size: 16px;
  }

  .ipadBox .header.cur {
    position: relative;
  }
}

#parentalSupervision, #modeThatShieldAnEye {
  cursor: pointer;
}

#dialogWrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  margin: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
}

#dialogWrapper .dialog {
  position: relative;
  margin: 15vh auto 50px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  box-sizing: border-box;
  width: 50%;
}

#dialogWrapper .dialog .dialog__header {
  padding: 20px 20px 10px;
  text-align: center;
}

#dialogWrapper .dialog .dialog__body {
  padding: 30px 20px;
  color: #606266;
  font-size: 14px;
  word-break: break-all;
}

#dialogWrapper .dialog .dialog__footer {
  padding: 10px 20px 20px;
  text-align: center;
  box-sizing: border-box;
}

#dialogWrapper .dialog .dialog__title {
  line-height: 24px;
  font-size: 18px;
  color: #303133
}

#dialogWrapper .dialog .dialog__header-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 16px;
}

/* #dialogWrapper .dialog .dialog__close{
  color: #909399
} */
.icon-close {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
}

.icon-close::before, .icon-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: #909399;
}

.icon-close::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.icon-close::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.todoen-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: .1s;
  font-weight: 500;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
}

.button--primary {
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
}

.button--primary:hover, .button--primary:focus {
  background: #66b1ff;
  border-color: #66b1ff;
  color: #fff;
}

.todoen-button.is-plain:focus, .todoen-button.is-plain:hover {
  background: #fff;
  border-color: #409eff;
  color: #409eff;
}

.button--primary.is-plain {
  color: #409eff;
  background: #ecf5ff;
  border-color: #b3d8ff
}

.button--primary.is-plain:focus, .button--primary.is-plain:hover {
  background: #409eff;
  border-color: #409eff;
  color: #fff;
}

.todoen-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-size: 14px;
  line-height: 20px;
  height: 20px;
  vertical-align: middle;
}

.todoen-switch__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  margin: 0;
}

.todoen-switch__core {
  margin: 0;
  display: inline-block;
  position: relative;
  width: 40px;
  height: 20px;
  border: 1px solid #dcdfe6;
  outline: none;
  border-radius: 10px;
  box-sizing: border-box;
  background: #dcdfe6;
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
  vertical-align: middle;
}

.todoen-switch.is-checked .todoen-switch__core {
  border-color: #409EFF;
  background-color: #409EFF;
}

.todoen-switch__core:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  border-radius: 100%;
  -webkit-transition: all .3s;
  transition: all .3s;
  width: 16px;
  height: 16px;
  background-color: #FFF;
}

.todoen-switch.is-checked .todoen-switch__core::after {
  left: 100%;
  margin-left: -17px;
}

.shield-an-eye-model {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-color: rgb(255, 185, 105);
  opacity: .2;
  z-index: 9999;
}

.todoen-input-number {
  position: relative;
  display: inline-block;
  width: 180px;
  line-height: 38px;
}

.todoen-input-number__decrease, .todoen-input-number__increase {
  position: absolute;
  z-index: 1;
  top: 1px;
  width: 40px;
  height: auto;
  text-align: center;
  background: #f5f7fa;
  color: #606266;
  cursor: pointer;
  font-size: 13px;
}

.todoen-input-number__decrease {
  left: 1px;
  border-radius: 4px 0 0 4px;
  border-right: 1px solid #dcdfe6;
}

.todoen-input-number__increase {
  right: 1px;
  border-radius: 0 4px 4px 0;
  border-left: 1px solid #dcdfe6;
}

.todoen-input-number__decrease.is-disabled, .todoen-input-number__increase.is-disabled {
  color: #c0c4cc;
  cursor: not-allowed;
}

.nav-cooperate {
  position: relative;
}

.nav-cooperate #cooperate-wx-box {
  display: none;
  width: 172px;
  height: 219px;
  position: absolute;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  left: -58px;
  top: 38px;
  padding-top: 11px;
}

.nav-cooperate #cooperate-wx-box img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-cooperate #cooperate-wx-box .contact-info {
  font-size: 12px;
  line-height: 20px;
  margin-top: 7px;
  width: 100%;
  color: #000;
  user-select: all;
}

.nav-cooperate:hover #cooperate-wx-box {
  display: block;
}
