.loginRegister{
  height: 100vh;
}
.clear{
  clear: both;
}
.login_register_left,.login_register_right,.right_cont{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/*当页面宽度大于1000px*/
@media screen and (min-width:1000px) {
  .banner{
    margin-top: 45vh;
    height: auto;
  }
  .ball{ top: 51vh; }
  .right_cont{width: 540px; }
  .Register_content{top: 1em; }
  .ResetPassword_content{top: 12vh; }
}
/*当页面宽度大于1280px*/
@media screen and (min-width:1280px) {
  .banner{ margin-top: 35vh; }
  .ball{ top: 43vh; }
}
/*当页面宽度大于1680px*/
@media screen and (min-width:1680px) {
  .banner{ height: 460px; }
  .ball{ top: 42vh; }
  .right_cont{width: 580px; }
  .Register_content{top: 8em; }
  .ResetPassword_content{top: 16vh; }
}
.login_register_left{
  height: 100%;
  background-image: url(./img/bg.png);
  float: left;
  width: 30%;
  overflow: hidden;
  .logo{
    width: 54%;
    margin-left: 22%;
    margin-top: 20%;
    &:hover{cursor: pointer; }
  }
  .ball{
    position: absolute;
    z-index: 2;
    width: 14vw;
    left: 7.5vw;
    animation: moving2 10s linear infinite;
  }
  @keyframes moving2 {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
  }
}
.login_register_right{
  height: 100%;
  background-image: url(./img/rightBg.png);
  .img1{
    width: 15vw;
    margin-top: 40vh;
    margin-left: 8vw;
  }
  .img2{
    width: 15vw;
    margin-top: 60vh;
    margin-left: 22vw;
  }
  .right_cont{
    position: absolute;
    z-index: 2;
    left: 45vw;
    padding: 2.5em 5em;
    border-radius: 7px;
    font-size: 15px;
    & .login_register_head{
      display: flex;
      justify-content: space-between;
      align-items: center;
      &>span:first-child{
        font-size: 1.5em;
        font-weight: 600;
        color: #000000;
        line-height: 1.5;
      }
      //注册页面的获取验证码输入框
      & .ant-input{width: 18rem; }
    }
    //第一个输入框
    & .account{margin-top: 4vh; }
    //所有的链接
    & a{
      color: #466AFF;
      &:hover{opacity:0.8; }
    }
    //登录 注册 重置密码并登录按钮
    & .login_register_cofBut{
      font-size: 1em;
      width: 100%;
      height: 3.1em;
      background: #466AFF;
      border-color: #466AFF;
      border-radius: 7px;
      margin-top: 2.5vh;
      &:hover{
        background: #3456E5;
        border-color: #3456E5;
      }
    }
    //验证码一栏
    .codeBut{
      height: 3.1em;
      background: #F7F7F7;
      border-radius: 7px;
      border: 1px solid rgba(167, 177, 200, 0.33);
      width: 102px;
      color: #466AFF;
      font-size: 1em;
    }
    .codeBut.disable{
      color: rgba(0, 0, 0, 0.25);
      background-color: #f5f5f5;
      border-color: #d9d9d9;
    }
    //输入密码提示框
    & .password_tips{
      margin-top: -10px;
      padding-bottom: 8px;
      color: #808080;
      font-size: 0.9em;
    }
    & .message, .ant-form-explain{
      color: #D40000;
      font-size: 13px;
    }
    & .message.active{
      margin-bottom: -30px !important;
    }
    //antd 输入框样式
    & .ant-input{
      height: 3.1em;
      background-color: #F7F7F7 !important;
      font-size: 1em;
      color: #333333;
      &:hover{border-color:#466AFF; }
    }
    & .ant-form-explain{
      margin-top: 0.5vh;
      margin-bottom: -10px;
    }
    //输入框
    .ant-form-item{
      margin-bottom: 15px;
    }
    //取消antd表单默认样式
    .has-error .ant-input{
      background: #F7F7F7;
      border-color: #D40000;
    }
    //修改复选框默认antd样式
    .ant-checkbox-checked .ant-checkbox-inner {
      background-color: #466AFF;
      border: #466AFF;
    }

    .ant-checkbox-checked::after{
      border: 1px solid #466AFF;
    }
    .ant-checkbox-wrapper:hover .ant-checkbox-inner, .ant-checkbox:hover .ant-checkbox-inner, .ant-checkbox-input:focus + .ant-checkbox-inner,.ant-radio-checked .ant-radio-inner,.ant-radio-wrapper:hover .ant-radio, .ant-radio:hover .ant-radio-inner, .ant-radio-input:focus + .ant-radio-inner {
      border-color: #466AFF;
    }
  }

  //登录框样式
  .login_content{
    top: 18vh;
    background-image: url(./img/loginBg.png);
    //下次自动登录&&忘记密码
    & .login_register_head.login{
      .ant-form-item{
        margin-bottom: 0;
        margin-top: -1vh;
      }
    }
    //第三方登录
    & .quick_logon{
      text-align: center;
      & .quick_logon_p{
        border-top: 1px solid #979797;
        margin-top: 24px;
      }
      & .startlogin{
        position: relative;
        background: #dee1f4;
        display: block;
        width: 90px;
        top: -15px;
        left: 39%;
        font-size: 13px;
        color: #8D8D8D;
      }
    }
  }

  //注册框样式
  .Register_content{
    // top: 8em;
    background-image: url(./img/registerBg.png);
    & .register_last_form .ant-form-item-control{
      line-height: 0.5;
    }
    & .login_register_cofBut{margin-top: 0.5vh; }
  }

  //找回密码框样式
  .ResetPassword_content{
    // top: 12vh;
    background-image: url(./img/resetPasswordBg.png);
    // height: 550px;
    & .resetFailCaptcha{
      position: absolute;
      top: 25px;
      color: #D40000;
      font-size: 13px;
    }
    & .login_register_cofBut{margin-top: 1.5vh; }
  }
}