﻿*,
*:before,
*:after,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.2;
  background: url("../img/bg.jpg") no-repeat center bottom;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
}
em,
i {
  font-style: normal;
}
.g-main {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.login-header {
  height: 120px;
  background-color: #fff;
}
.login-header .header-left {
  float: left;
  padding-top: 32px;
}
.login-header .header-left b {
  display: inline-block;
  max-width: 355px;
  height: 47px;
  line-height: 47px;
  font-size: 20px;
  color: #333333;
  margin-top: 5px;
  margin-left: 10px;
  padding-left: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-left: 1px solid #e6e6e6;
}
.login-header .header-right {
  float: right;
  padding-top: 28px;
}
.login-header .header-statistic + .header-statistic {
  margin-top: 8px;
}
.login-header .header-statistic span {
  display: inline-block;
  width: 200px;
  text-align: right;
  font-size: 16px;
  color: #228565;
}
.login-header .header-statistic ul {
  display: inline-block;
  white-space: nowrap;
}
.login-header .header-statistic ul > li {
  display: inline-block;
  width: 20px;
  height: 28px;
  margin: 0 3px;
  line-height: 26px;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  color: #666;
  border: 1px solid #d9d9d9;
}
.login-header .header-statistic ul > li.separator {
  border-color: transparent;
}
.login-main {
  height: 760px;
}
.login-main .g-main {
  position: relative;
  height: 140%;
  padding-top: 90px;
  background: url("../img/mainbg_1.png") no-repeat left center;
  overflow: hidden;
}
.login-main .login-panel {
  position: relative;
  float: right;
  width: 470px;
  height: 580px;
  padding: 32px 56px 0;
  background-color: #fff;
  border-radius: 6px;
}
.login-main .login-tab-header {
  margin-bottom: 8px;
  text-align: center;
}
.login-main .login-tab-header > ul > li {
  display: inline-block;
  height: 56px;
  padding: 0 32px;
  margin: 0 8px;
  font-size: 22px;
  font-weight: bold;
  line-height: 54px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.login-main .login-tab-header > ul > li:hover {
  color: #389173;
}
.login-main .login-tab-header > ul > li.active {
  color: #389173;
  border-bottom-color: #389173;
  cursor: default;
}
.login-main .login-tab-body > ul > li {
  display: none;
}
.login-main .login-tab-body > ul > li.active {
  display: block;
}
.login-main .login-form-row {
  position: relative;
  height: 64px;
  line-height: 64px;
}
.login-main .login-form-row .label-img {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 0;
  bottom: 0;
  margin: auto;
}
.login-main .login-form-row .password-img {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.login-main .login-form-row input {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding-left: 64px;
  padding-right: 32px;
  border: none;
  border-bottom: 1px solid #e6e6e6;
  outline: none;
}
.login-main .login-form-row .vericode-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  height: 38px;
  margin: auto;
  font-size: 14px;
  line-height: 38px;
  text-align: center;
  color: #fff;
  background-color: #dabb85;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}
.login-main .login-form-row .vericode-btn:hover,
.login-main .login-form-row .vericode-btn:active {
  background-color: #a28b63;
}
.login-main .forgot-password {
  margin-top: 12px;
  text-align: right;
}
.login-main .forgot-password a {
  font-size: 14px;
  color: #666;
}
.login-main .forgot-password a:hover {
  color: #389173;
}
.login-main .login-form-btn {
  margin: 16px 0;
}
.login-main .login-form-btn button {
  display: block;
  width: 100%;
  height: 48px;
  margin: 16px 0;
  color: #fff;
  background-color: #389173;
  border: none;
  cursor: pointer;
  outline: none;
}

.login-form-btn-a {
  display: block;
  width: 100%;
  height: 48px;
  margin: 16px 0;
  color: #fff;
  background-color: #389173;
  border: none;
  cursor: pointer;
  outline: none;
  text-align: center;
  line-height: 48px;
}

.login-main .login-form-btn button:hover {
  background-color: #2b6f58;
}
.login-main .type-title {
  position: relative;
  height: 16px;
  margin-bottom: 12px;
  line-height: 16px;
  text-align: center;
}
.login-main .type-title:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: block;
  height: 1px;
  margin: auto;
  border-top: 1px dashed #e6e6e6;
}
.login-main .type-title span {
  position: relative;
  display: inline-block;
  padding: 0 24px;
  font-size: 14px;
  color: #222;
  background-color: #fff;
}
.login-main .type-list {
  margin: 0 -8px;
  text-align: center;
}
.login-main .type-list a {
  display: inline-block;
  margin: 0 4px 4px;
  font-size: 14px;
  color: #389173;
}
.login-main .type-list a:hover {
  color: #2b6f58;
}
.login-main .login-register {
  margin-top: 0px;
  font-size: 14px;
  text-align: center;
}
.login-main .login-register a {
  color: #389173;
}
.login-main .login-register a:hover {
  color: #2b6f58;
}
@media (max-width: 1200px) {
  .login-header .header-statistic ul > li {
    width: 18px;
    height: 28px;
    margin: 0;
    line-height: 26px;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .login-header .header-left {
    float: none;
    width: 100%;
    height: 120px;
  }
  .login-header .header-left img {
    width: 45%;
  }
  .login-header .header-right {
    float: none;
  }
  .login-header .header-statistic {
    padding: 0 24px;
  }
  .login-header .header-statistic span {
    width: auto;
    text-align: left;
    color: #fff;
  }
  .login-header .header-statistic ul > li {
    width: auto;
    height: auto;
    margin: 0;
    border: none;
    color: #fff;
  }
  .login-main .g-main {
    padding-top: 120px;
  }
  .login-main .login-tab-header > ul > li {
    font-size: 16px;
    padding: 0 16px;
  }
  .login-main .login-panel {
    float: none;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }
}
