html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

* {
  color: #7c7c7c;
  font-family: "Titillium Web", sans-serif;
}

.alert {
  color: #7c7c7c !important;
}

.login-pf body {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  background: url(../img/login-bg.jpg) no-repeat scroll 50% 50%;
  background-size: cover;
  font-size: 14px;
}

.login-pf .card-pf {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0;
  background: transparent;
}

#kc-container-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
}

#kc-container-wrapper .footer-bar {
  position: absolute;
  background: #fff;
  bottom: 0;
  width: 100%;
  height: 40px;
  border-top: 1px solid #4b4b4b;
  overflow: hidden;
  padding: 0 25px;
  line-height: 39px;
}

#kc-container-wrapper .footer-bar a {
  font-size: 12px;
  color: #7c7c7c;
  margin-right: 15px;
}

#kc-content {
  width: 425px;
  max-width: 100%;
  min-height: 300px;
  max-height: 100%;
  overflow-y: hidden;
  background: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: -2px -2px 20px 2px rgba(0, 0, 0, 0.4);
  padding: 30px;
  padding-top: 15px;
  bottom: auto;
  color: #7c7c7c;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#kc-locale {
  text-align: right;
  margin-bottom: 15px;
}

#kc-locale-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 12px;
}

#kc-locale-list .kc-locale-item a {
  font-size: 12px;
  color: #7c7c7c;
  text-decoration: none;
}

#kc-locale-list .kc-locale-item--active a {
  color: #0099db;
  font-weight: 600;
}

#kc-content .login--logo {
  margin-bottom: 30px;
}

#kc-content .login--logo-image {
  width: 100%;
  margin-bottom: 10px;
}

#kc-content-wrapper h1.login--headline {
  color: #7c7c7c;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 500;
}

.login-pf .container .login {
  padding: 0;
  width: 100%;
}

#kc-content div.alert {
  padding: 0;
  background: #f7f7f7;
  color: #7c7c7c;
  text-align: center;
}

#kc-content div.alert.alert-error {
  padding: 0;
  background: #f2dede;
  color: #a94442;
  text-align: center;
}

.form-horizontal .form-group {
  margin: 0;
}

.form-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 15px;
  border-radius: 0;
  line-height: 30px;
  padding: 0 10px;
}

.form-control:focus,
.form-control:focus-visible {
  outline: none;
  border-color: #0099db;
  box-shadow: 0 0 0 2px rgba(0, 153, 219, 0.3);
}

input[type="checkbox"] {
  accent-color: #0099db;
}

.login-pf-settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 15px;
}

#kc-login {
  background: #0099db;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  width: 100%;
  height: 35px;
  line-height: 35px;
  margin: 0 auto;
  display: block;
  margin-bottom: 15px;
}

#kc-info-wrapper {
  color: #7c7c7c;
  font-size: 12px;
  margin-top: 15px;
}

.kc-password-forgotten,
.kc-back-to-login {
  text-align: center;
}

.kc-password-forgotten a,
.kc-back-to-login a {
  color: #7c7c7c;
  text-decoration: none;
  font-size: 12px;
}

.kc-passwd-update-form {
  color: #7c7c7c;
}

.kc-passwd-update-form,
.kc-back-to-login {
  text-align: center;
}

.kc-passwd-update-form a,
.kc-back-to-login a {
  color: #7c7c7c;
  text-decoration: none;
  font-size: 12px;
}

.alert > .pficon {
  top: 0;
  right: -25px;
  left: auto;
}
