@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

body {
  background: rgb(244, 245, 247);
  font-family: "Source Sans Pro", sans-serif;
  --mdc-theme-primary: rgb(86, 145, 209);
  margin: 0px;
  display: flex;
  flex-direction: column;
  min-width: 100vw;
  min-height: 100vh; /* at least 100% of viewport height */
}

.title {
  font-size: 34px;
  font-weight: 300;
  color: rgb(31, 33, 37);
}

.subtitle {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(31, 33, 37, 0.7);
}

#kc-logo {
  display: none;
}

#kc-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* without this, the fields all expand when the MDC JavaScript is run. */
#kc-header,
#kc-content {
  margin-left: auto;
  margin-right: auto;
}

#kc-header {
  display: none;
  width: 100%;
  font-size: 35px;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 300;
  color: rgb(68, 68, 68);
}

#kc-content {
  background-color: rgb(250, 250, 250);
  padding: 32px;
  border-radius: 4px;
  box-shadow: rgb(0 0 0 / 12%) 0px 1px 2px, rgb(0 0 0 / 5%) 0px 0px 0px 1px;
  /* min-height: 450px; */
  width: 480px;
  max-width: 100vw;
  margin-top: 32px;
  margin-bottom: 32px;
}

.clearfix {
  float: none;
  clear: both;
}

#kc-registration {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: rgb(31, 33, 37);
}

#kc-registration a {
  color: rgb(86, 145, 209);
}

#kc-passwordforgotten {
  margin-top: 16px;
  text-align: center;
}

#kc-passwordforgotten>div>span>a {
  color: rgb(86, 145, 209);
  text-decoration: none;
  font-size: 14px;
}

.mdc-text-field {
  width: 100%;
}

#kc-passwd-update-form,
#kc-form-login {
  margin-top: 64px;
}

#kc-reset-password-form {
  margin-top: 32px;
}

#kc-error-message p {
  margin: 0;
}

.register .register-field {
  margin-bottom: 15px;
}

.register .register-button-container {
  margin-top: 20px;
}

.config-totp .config-totp-button-container {
  margin-top: 15px;
}

.totp .totp-button-container {
  margin-top: 15px;
}

.update-profile .update-profile-field {
  margin-top: 15px;
}

.update-profile .update-profile-button-container {
  margin-top: 20px;
}

.template .language-picker {
  display: inline-flex;
  float: right;
}

#language-picker-dropdown {
  font-family: "Source Sans Pro", sans-serif;
}

.mdc-button {
  text-transform: none;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  height: 42px;
}

.mdc-button-full-width {
  width: 100%;
}

.mdc-button--raised {
  border-radius: 4px;
}

.remember-me-checkbox {
  font-family: "Source Sans Pro", sans-serif;
}

.mdc-text-field--upgraded:not(.mdc-text-field--fullwidth):not(.mdc-text-field--box) {
  margin-top: 0px;
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
  color: var(--mdc-theme-primary);
}

#kc-form-buttons {
  margin-top: 0px;
}

.formOptions {
  padding-top: 16px;
}

.loginInput {
  margin-bottom: 32px;
}

.passwordInput:not(.mdc-text-field--focused) {
  padding-right: 48px;
}

.resetPasswordInput {
  margin-bottom: 32px;
  margin-top: 32px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
}