html {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.img-background {
  position: absolute;
  width: 100%;
  height: 100%;
}
.img-background img {
  min-height: 100%;
  min-width: 100%;
}
.main-section {
  z-index: 1;
  position: absolute;
  background: #FFF;
  left: 50%;
  top: 50%;
  border-radius: 4px;
  border: 1px solid #e7e7e7;
  box-shadow: 0px 0 0 1px rgba(0, 0, 0, 0.1);
  padding: 45px;
}
.main-section .msg-box {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  background: #f89fb6;
  color: #a92f4f;
  border-radius: 2px;
  position: absolute;
  width: 308px;
  top: 76px;
  visibility: hidden;
}
.main-section .msg-box.n-right {
  visibility: visible;
  margin-bottom: 10px;
}
.main-section .msg-box span {
  display: inline-block;
  line-height: 30px;
  height: 30px;
  color: #a92f4f;
}
.main-section .msg-box .n-icon {
  display: none;
}
.main-section .top-logo {
  position: absolute;
  width: 100%;
  height: 50px;
  background: url("../images/logoBig.png") no-repeat center center;
  top: -100px;
  left: 0;
}
.main-section .title {
  margin-bottom: 45px;
  font-size: 16px;
  color: #a7a7a7;
}
.main-section .field-box {
  height: 42px;
  margin-bottom: 22px;
}
.main-section .input-box input {
  height: 42px;
  line-height: 42px;
  width: 100%;
  text-indent: 10px;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
}
.main-section .input-box input.n-invalid {
  border-color: #a92f4f;
  background: url("../images/icon-invalid.png") 278px center no-repeat;
}
.main-section .input-box input.n-valid {
  background: url("../images/icon-valid.png") 278px center no-repeat;
}
.main-section .button-box {
  margin-bottom: 30px;
  margin-top: 30px;
}
.main-section .button-box button {
  height: 44px;
  width: 100%;
  background: #00b792;
  border-color: #00b792;
  color: #FFF;
  font-size: 16px;
}
.main-section .agree-box {
  color: #8e8e8e;
  font-size: 14px;
}
.main-section .agree-box label {
  font-weight: normal;
}
.main-section .agree-box input {
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin: 0 5px 0 0;
  opacity: 0.8;
}
.main-section .link-box {
  color: #eceff1;
}
.main-section .link-box a {
  color: #00b792;
  margin: 0 2px;
}
.main-section .has-button button {
  width: 100px;
  height: 42px;
  background: #00b792;
  border-color: #00b792;
  color: #FFF;
  font-size: 14px;
}
.main-section .has-button button.disabled {
  background: #bfbfbf;
  border-color: #bfbfbf;
}
.main-section .has-img img {
  width: 100px;
  height: 42px;
  border-radius: 4px;
}
.main-section .has-button input,
.main-section .has-img input {
  width: 196px;
}
.main-section .has-button input.n-invalid,
.main-section .has-img input.n-invalid {
  border-color: #a92f4f;
  background: url("../images/icon-invalid.png") 166px center no-repeat;
}
.main-section .has-button input.n-valid,
.main-section .has-img input.n-valid {
  background: url("../images/icon-valid.png") 166px center no-repeat;
}
.login-box {
  height: 400px;
  width: 400px;
  margin-left: -200px;
  margin-top: -200px;
}
.register-box {
  height: 488px;
  width: 400px;
  margin-left: -200px;
  margin-top: -244px;
}
.register-box .field-box {
  margin-bottom: 16px;
  position: relative;
}
.register-box .button-box {
  margin-bottom: 20px;
}
.register-box .password-box input.n-invalid {
  border-color: #a92f4f;
  background: url("../images/icon-invalid.png") 248px center no-repeat;
}
.register-box .password-box input.n-valid {
  background: url("../images/icon-valid.png") 248px center no-repeat;
}
.register-box .password-visible {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 11px;
  top: 11px;
  cursor: pointer;
  background: url("../images/icon-eyes.png") no-repeat -61px center;
}
.register-box .password-visible:hover {
  background: url("../images/icon-eyes.png") no-repeat 0px center;
}
.register-box .password-visible.eye-close {
  background: url("../images/icon-eyes.png") no-repeat -29px center;
}
.register-box .password-visible.eye-close:hover {
  background: url("../images/icon-eyes.png") no-repeat -90px center;
}
.reset-box {
  height: 400px;
  width: 400px;
  margin-left: -200px;
  margin-top: -200px;
}
.reset-success-box {
  height: 334px;
  width: 400px;
  margin-left: -200px;
  margin-top: -167px;
  display: none;
}
.reset-success-box .text-box p {
  color: #4c4c4c;
  margin-bottom: 5px;
}
.reset-success-box .icon-box {
  padding: 30px 0 30px;
}
.reset-success-box .button-box {
  margin-top: 40px;
}
.login-foot {
  position: absolute;
  color: #fff;
  bottom: 40px;
  text-align: center;
  width: 100%;
}
