*{
  margin: 0;
  padding: 0;
  font-family: 微软雅黑;
  font-size: 14px;
  border-radius: 4px;
}
html{
  height: 100%;
}
body{
  min-width: 520px;
  height: 100%;
  min-height: 600px;
  position: relative;
  background-color: #f4f7f9;
  color: #333333;
}
.logo{
  width: 520px;
  height: 105px;
  position: absolute;
  left: 50%;
  top: calc(50% - 200px);
  margin-left: -260px;
  margin-top: -110px;
}
.login_box{
  box-sizing: border-box;
  padding: 0px 40px 17px;
  width: 520px;
  /* height: 400px; */
  border: solid 1px #ddd;
  background: #FFF;
  border: 1px solid #eee;
  border-radius: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -200px;
  margin-left: -260px;
}
h2{
  font-weight: 600;
  font-size: 30px;
  line-height: 30px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 13px;
  margin-top: 40px;
  margin-bottom: 20px;
  /* border-bottom: 1px solid #eee; */
}
input{
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  line-height: 30px;
  padding: 5px 10px;
  border: 2px solid #DCDFE6;
  border-radius: 4px;
  transition: border-color .2s cubic-bezier(.645,.045,.355,1);
  outline: none;
  color: #333333;
  caret-color: #333333;
}
input:hover{
  border-color: #C0C4CC;
}
input:focus{
  border-color: #3b3a39;
}
input[id="login_password"]{
  padding-right: 30px;
}
input[type="password"]::-ms-reveal{
  display: none;
}
input[type="password"]::-ms-clear{
  display: none;
}
input[type="password"]::-o-clear{
  display: none;
}
.message{
  color: gray;
  text-align: center;
}
.input_box{
  margin-top: 5px;
  position: relative;
}
.login_label{
  display: block;
  text-align: center;
  width: 100%;
  line-height: 40px;
  pointer-events: none;
}

/* .login_label-focus{
  height: 25px;
  line-height: 25px;
  position: relative;
}
.login_label-focus::after{
  content: '';
  width: 150px;
  height: 2px;
  background-color: #337AB7;
  position: absolute;
  bottom: -2px;
  right: -152px;
  animation: inputFocus ease-out 0.25s;
} */
input:focus{
  background-color: white;
}
#error_box{
  margin-top: 5px;
  text-align: center;
  color: #f81915;
}
.login_button{
  width: 100%;
  height: 44px;
  border: 0;
  margin-top: 40px;
  background-color: #333333;
  color: white;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease-in-out;
}
.wecom_login_button{
  width: 50px;
  height: 50px;
  border: 1px solid #eee;
  border-radius: 25px;
  margin-top: 20px;
  background-color: #fff;
  color: white;
  cursor: pointer;
  text-align: center;
  filter: grayscale(1);
  transition: 0.2s ease-in-out;
  display: flex;
  margin: 10px auto 20px;
  justify-content: center;
  align-items: center;
}
.login_button:focus{
  background-color: #222222;
  outline: none;
  box-shadow: 0px 0px 6px rgb(180, 179, 179);
  }
.login_button:hover{
  background-color: #222222;
  box-shadow: 0px 0px 6px rgb(180, 179, 179);
}
.wecom_login_button:hover{
  filter: grayscale(0);
  background-color:  #fff;
  box-shadow: 0px 0px 2px rgb(180, 179, 179);
}
.fa{
  cursor: pointer;
  position: absolute;
  top: 54px;
  right: 5px;
  width: 25px;
  text-align: center;
  color: #caccd1;
  transition: color 0.1s ease-in;
}
.fa:hover{
  color: #222222;
}
.fa:hover + input{
  border-color: #C0C4CC;
}
.fa:hover + input:focus{
  border-color: #3b3a39;
}
.login_lg{
  margin-top: 15px;
  text-align: center;
}
.login_lg > span{
  margin: 0 5px;
  cursor: pointer;
  transition: color 0.1s ease-in;
  color: #BBBBBB;
}
.login_lg > span:hover{
  color: #333333;
}
.login_lg > span.--lg_active{
  font-weight: bold;
  color: #333333;
}
.footer{
  position: fixed;
  bottom: 0;
  width: 100%;
  min-width: 520px;
  line-height: 50px;
  text-align: center;
}
.link{
  text-decoration: none;
  color: #bbbbbb;
  padding: 0 25px;
}
.link:hover{
  color: #333333;
}
@media screen and (max-height: 600px){
  .logo{
          display: block;
          position: static;
          margin-top: 0;
          margin-left: 0;
          margin: 0 auto;
  }
  .login_box{
          display: block;
          position: static;
          margin-top: 0;
          margin-left: 0;
          margin: 0 auto;
      }
  .footer{
          display: block;
          position: static;
  }
}