input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
  -webkit-text-fill-color: #333; }

.container-box {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  color: #fff; }

body {
  line-height: inherit; }

input {
  outline: none; }

input::-webkit-input-placeholder {
  color: #99a2af;
  font-weight: normal; }

.clear-both:after, header:after, .login-box form .input-p:after, .clear-both:before, header:before, .login-box form .input-p:before {
  content: '';
  display: block;
  clear: both; }

[btn] {
  cursor: pointer; }

header {
  height: 78px;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 16px; }
  header .logo-box {
    float: left;
    width: 167px;
    height: 35px;
    margin: 21px 0 0 29px; }
    header .logo-box img {
      display: block;
      width: 100%;
      height: 100%; }
  header .company-name {
    float: left;
    margin: 30px 0 0 15px; }
  header .img-code-box {
    position: relative;
    float: right;
    margin: 26px 61px 0 0;
    padding-bottom: 25px; }
    header .img-code-box .phone {
      display: inline-block;
      width: 16px;
      height: 26px;
      background: url("/build/images/phone.png") no-repeat center center;
      vertical-align: middle;
      margin-right: 6px; }
    header .img-code-box span {
      display: inline-block;
      vertical-align: middle; }
    header .img-code-box .code-img {
      position: absolute;
      top: 52px;
      width: 122px;
      height: 122px;
      padding: 6px;
      border-radius: 6px;
      background-color: #fff;
      display: none; }
      header .img-code-box .code-img:after {
        content: '';
        position: absolute;
        display: inline-block;
        width: 0;
        height: 0;
        top: -8px;
        left: 50%;
        margin-left: -8px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 10px solid #fff; }
      header .img-code-box .code-img img {
        width: 100%; }
    header .img-code-box:hover .code-img {
      display: block; }

.login-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 446px;
  height: 373px;
  margin-top: -250px;
  margin-left: -223px;
  padding: 40px 70px;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  z-index: 10; }
  .login-box h1 {
    font-size: 20px;
    text-align: center;
    color: #000;
    font-weight: normal; }
  .login-box form {
    margin-top: 40px;
    color: #99a2af; }
    .login-box form .input-p {
      border: 1px solid #d9d9d9;
      border-radius: 8px;
      margin-bottom: 28px; }
      .login-box form .input-p i {
        float: left;
        width: 40px;
        height: 40px; }
        .login-box form .input-p i.user {
          background: url("/build/images/user_head.png") no-repeat center center; }
        .login-box form .input-p i.password {
          background: url("/build/images/password.png") no-repeat center center; }
        .login-box form .input-p i.clear {
          float: right;
          background: url("/build/images/clear.png") no-repeat center center;
          display: none; }
      .login-box form .input-p input {
        float: left;
        width: 72%;
        font-size: 16px;
        height: 40px;
        line-height: 40px;
        color: #000;
        font-weight: bold;
        border: none;
        padding: 0;
        background-color: transparent; }
    .login-box form .checkbox {
      line-height: 16px; }
      .login-box form .checkbox input[type='checkbox'] {
        width: 13px;
        height: 13px;
        border-radius: 0;
        background-color: transparent;
        vertical-align: middle; }
      .login-box form .checkbox label {
        display: inline-block;
        font-size: 12px;
        line-height: 12px;
        margin-left: 6px;
        vertical-align: middle; }
    .login-box form .login-btn button {
      width: 100%;
      line-height: 38px;
      margin-top: 28px;
      font-size: 14px;
      border-radius: 6px;
      background-color: #cf1837;
      outline: none;
      color: #fff;
      border: none; }

.bg-box {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("/build/images/login_bg.jpg") no-repeat center center;
  background-size: cover; }

footer {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 38px 0;
  text-align: center;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.6); }

@media screen and (max-width: 768px) {
  header .img-code-box {
    display: none; }
  header .company-name {
    float: right;
    margin-right: 29px; }
  .login-box {
    margin-top: -186.5px; } }

@media screen and (max-width: 480px) {
  header {
    overflow: hidden; }
    header .company-name {
      display: none; }
    header .logo-box {
      margin: 21px auto 0;
      float: initial; }
  .login-box {
    width: 90%;
    left: 5%;
    margin-left: 0;
    padding: 40px 10px; }
    .login-box form .input-p input {
      width: 69%; }
  footer {
    padding: 10px 0; } }
