/* Logo */
#kc-logo {
  background: rgb(58, 117, 196);
  width: 100%;
  padding: 15px;
}

#kc-logo-wrapper {
  background-image: url("../img/cfl.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 120px;
  width: 100%;
}

/* Header */
#kc-header {
  display: none;
}

#kc-page-title {
  display: none;
}

/* Content */
#kc-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#kc-content-wrapper {
  max-width: 500px;
  width: 100%;
  padding: 1em 2em;
}

.cfl-sign-in-required {
  text-align: center;
  font-size: 1.2em;
}

#kc-form-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#kc-form-login input:not([type='submit']), #cfl-forgot-password {
  margin: 5px;
  max-width: 400px;
  width: 100%;
  max-width: 400px;
}

#cfl-forgot-password {
  margin: 0;
  text-align: right;
}

#kc-login {
  width: 100px;
}

#cfl-register {
  margin-top: 5px;
}

#cfl-register a {
  display: inline-block;
  padding: 5px;
}

/* Social Login */
#cfl-social-login-message {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

#cfl-social-login-message hr {
  flex-grow: 1;
}

#cfl-social-login-message span {
  margin: 0 1em;
}

#kc-social-providers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#kc-social-providers .social-provider {
  margin: 5px 0;
  padding: 2px;
  height: 46px; // Largest image (Google)
}

/* Social Login (with icons) */
#zocial-linkedin, #zocial-microsoft, #zocial-google {
  display: block;
  background-repeat: no-repeat;
  background-position: left;
}

#zocial-linkedin .text, #zocial-microsoft .text, #zocial-google .text {
  display: none;
}

#zocial-linkedin {
  background-image: url("../img/linkedin/Sign-in-Large---Default.png");
  width: 215px;
}

#zocial-microsoft {
  background-image: url("../img/microsoft/sign-in-with-microsoft-light.png");
  width: 230px;
}

#zocial-google {
  background-image: url("../img/google/btn_google_signin_dark_normal_web.png");
  width: 191px;
}

/* Actions */
.form-group:last-child {
  text-align: right;
}

/* T&C */
#kc-terms-wrapper {
  position: relative;
  max-width: 800px;
  margin: auto;
}

#kc-terms-text {
  height: calc(100vh - 150px - 2em - 50px); /* calc(100vh - kc-logo.height - kc-content-wrapper.margin * 2 - kc-terms-buttons.height) */
}

#kc-terms-text > :first-child {
  height: 100%;
  overflow: auto;
}

#kc-terms-text td {
  vertical-align: top;
}

#kc-terms-buttons {
  text-align: right;
  height: 50px;
  padding-top: 1rem;
}

.g-recaptcha {
  float: right;
  margin-right: -6px; /* Recaptcha has an annoying 6px 'margin' on the right to account for the drop shadow */
}
