/*******公共样式*******/
.container section .login-box {
  width: 30%;
  margin: 0.5rem auto;
}
.container section .login-box form .glyphicon {
  color: #999;
}
.container section .login-box form .h4 {
  margin: 0.6rem auto;
}
.container section .login-box form .form-group {
  position: relative;
}
.container section .login-box form .form-group label {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.container section .login-box form .form-group span {
  color: #f00;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  font-size: 0.13rem;
}
.container section .login-box form .form-group .tips01 {
  right: -1.8rem;
}
.container section .login-box form .form-group .tips02 {
  right: -1.4rem;
}
.container section .login-box form .form-group .form-control {
  padding: 0.1rem 9%;
  height: auto;
  margin: 0.4rem 0;
  border: none;
  border-bottom: 1px solid #ddd;
}
.container section .login-box form .form-group .form-control:focus {
  box-shadow: none;
}
.container section .login-box form .form-group button {
  padding: 0.1rem 0;
}
.container section .login-box form .links {
  color: #ddd;
  margin-top: 0.2rem;
}
.container section .login-box form .links div a {
  text-align: center;
  font-size: 0.13rem;
}
@media (max-width: 1200px) {
  .container section .login-box {
    width: 40%;
  }
}
@media (max-width: 768px) {
  .container section .login-box {
    width: 100%;
    margin-top: 70px;
  }
  .container section .login-box form .h4 {
    margin: 30px 0;
  }
  .container section .login-box form .form-group {
    margin-bottom: 20px;
  }
  .container section .login-box form .form-group .form-control {
    margin: 0.15rem 0;
  }
  .container section .login-box form .form-group span {
    position: static;
    margin-bottom: 0.2rem;
    transform: translate(0, 0);
  }
}
