body {
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.foot_b {
  color: #666;
  text-align: center;
  position: fixed;
  bottom: 15px;
  width: 100%;
  font-size: 0.875rem;
}

.login-main {
  /* background: url(../images/login-bg.png) no-repeat; */
  background-size: cover;
  display: table;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.login-con {
  width: 500px;
  padding: 60px 0 80px 0;
  box-shadow: 2px 4px 16px 0px #ddd;
  margin: 4% auto;
  background: #fff;
}

.login-con>form {
  max-width: 280px;
  margin: auto;
}

.title {
  font-size: 22px;
  text-align: center;
  padding-top: 25px;
  line-height: 1;
}

.msg {
  color: #666;
  padding-bottom: 1rem;
}

.form-control,
.custom-select {
  border-radius: 0px;
  height: calc(2rem + 2px);
  font-size: 0.75rem;
}

option,
label {
  font-size: 0.75rem;
}

.custom-select {
  background: #fff;
}

.custom-select:focus {
  box-shadow: none;
}

.login-main .btn {
  width: 100%;
  font-size: 0.875rem;
  padding: 0.35rem 0.75rem;
}

.check-group a {
  font-size: 0.75rem;
  color: #7f7f7f;
}

.was-validated .form-check-input:valid~.form-check-label,
.was-validated .check-group .form-check-input:invalid~.form-check-label {
  color: #333;
}

.invalid-feedback {
  font-size: 0.75rem;
}

.switch-text {
  font-size: 0.875rem;
  color: #7f7f7f;
  cursor: pointer;
}

/*invalid-again*/

.invalid-again .form-control,
.was-validated .invalid-again .form-control {
  border-color: #dc3545;
}

.invalid-again .form-control~.invalid-feedback,
.was-validated .invalid-again .form-control~.invalid-feedback {
  display: block;
}

/*login-con*/

.to-forgot {
  position: absolute;
  top: 10px;
  font-size: 0.75rem;
  right: 10px;
  color: #7f7f7f;
  cursor: pointer;
}

.you-could {
  color: #afafaf;
  border-top: 1px solid #afafaf;
  height: 20px;
  position: relative;
  margin-top: 35px;
}

.you-could span {
  color: #afafaf;
  padding: 0 10px;
  background: #fff;
  position: absolute;
  top: -16px;
  left: 50%;
  margin-left: -16px;
}

.other-login li {
  letter-spacing: 1.2px;
  text-transform: inherit;
  height: 38px;
  line-height: 38px;
  max-height: 38px;
  margin-left: 0;
  border: 1px solid #8e8e8e;
  margin-bottom: 10px;
}

.other-login li img {
  margin: -5px 10px 0 10px;
}

.other-login li a {
  font-size: 0.75rem;
  display: block;
}

.other-login li a:hover {
  color: #333;
}

@media screen and (max-width:980px) {
  body {
    overflow: initial;
  }
  .login-con {
    width: initial;
    box-shadow: none;
    padding: 30px 0 80px 0;
  }
  .login-con>form {
    max-width: 80%;
  }
  .invalid-feedback,
  .switch-text {
    font-size: 1rem;
  }
  .form-control,
  .custom-select {
    font-size: 1rem;
    padding: 1.15rem 0.75rem;
  }
  .login-main .btn {
    font-size: 1rem;
    padding: 0.4rem 0.75rem;
  }
  .to-forgot,
  .other-login li a,
  .check-group a,
  option,
  label {
    font-size: 0.875rem;
  }
  .foot_b {
    position: absolute;
  }
}
