.app-main {
  width: 100%;
  height: 100%;
}

.login-main {
  position: relative;
  width: 100%;
  height: 100%;
  background: url(../../imgs/background.jpg) no-repeat top center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login {
  margin: auto;
  display: block;
  background: #fff;
}

.ajax-error {
  height: 28px;
  visibility: hidden;
  padding: 3px 10px;
  margin: 8px 0 2px;
}

.login .right {
  background: url(../../imgs/r-bg.png) no-repeat;
}

.login .right-in {
  padding: 40px;
}

.right-in .logo {
  width: 356px;
  height: 56px;
  display: flex;
  margin-bottom: 26px;
  justify-content: center;
}

.right-in .item {
  margin-bottom: 25px;
  position: relative;
}

.right-in .item input {
  line-height: 56px;
  border: 0 none;
  background: none;
  outline: none;
  border-bottom: 1px solid #d5d5d5;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-left: 40px;
  font-size: 14px;
}

.right-in .item input:-moz-placeholder {
  color: #B3B3B3;
}

.right-in .item input:-ms-input-placeholder {
  color: #B3B3B3;
}

.right-in .item input::-webkit-input-placeholder {
  color: #B3B3B3;
}

.right-in .item input:focus {
  border-color: #c22d22;
}

.right-in .item i {
  position: absolute;
  left: 2px;
  top: 27px;
}

.right-in .item input:focus + i.user-icon {
  background-position: 0 -30px;
}

.right-in .item input:focus + i.pass-icon {
  background-position: 0 -30px;
}

.right-in .item .forget {
  position: absolute;
  right: 0;
  top: 50%;
  margin-right: 22px;
  transform: translateY(-50%);
  font-size: 14px;
  cursor: pointer;
  color: #b68856;
}

.right-in .other {
  padding-top: 14px;
}

/*隐藏掉我们模型的checkbox*/
.keep .inp {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  display: none;
}

/*未选中时*/
.keep .inp + span {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: url(../../imgs/checkbox.png) no-repeat;
  background-position-x: 0;
  background-position-y: 0;
  position: relative;
  top: 3px;
}

.keep em {
  margin-left: 5px;
  color: #6b6b6b;
}

/*选中checkbox时,修改背景图片的位置*/
.keep .inp:checked + span {
  background-position: 0 -16px;
}

.right-in .other .desc {
  color: #6b6b6b;
}

.right-in .other .desc em {
  color: #c53023;
  cursor: pointer;
}

.right-in .log .log-btn {
  width: 100%;
  height: 40px;
  background: #b8906f;
  border-radius: 4px;
  text-align: center;
  line-height: 40px;
  color: #fff;
  /*margin-top: 25px;*/
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

/*去除ie浏览器input中的自带删除图标*/
input::-ms-clear {
  display: none;
}

.login-a {
  color: #c53023;
}

.log-btn a {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: white;
}

.login .item i {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #985F0D;
  font-size: 2.2em;
}

@media (max-width: 900px) {
  .main {
    /*background: unset;*/
  }

  .login {
    max-width: 500px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #ebebeb;
    box-shadow: 2px 2px 8px grey;
  }

  .login .right-in {
    padding: 25px;
  }

  .right-in .logo {
    width: unset;
  }

  .right-in .keep {
    display: none;
  }

  .content {
    overflow-x: auto;
    overflow-y: scroll;
  }

  .full-footer {
    opacity: .99;
    margin-top: 40px;
    background: #f6f6f6;
    flex-direction: column;
    border-top: 1px solid #ebebeb;
  }

  .full-footer .contact-us {
    display: block;
    width: 100%;
    max-width: unset;
    text-align: center;
  }

  .contact-us .logo-wechat {
    display: block;
    margin: 5px auto 0;
  }

  .logo-wechat .desc {
    display: none;
  }

  .base-footer {
    padding: 14px 20px;
    border-top: 1px solid #ebebeb;
  }
}