@font-face {
  font-family: Gudea;
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/gudea.woff2) format("woff2");
}

@font-face {
  font-family: Gudea;
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/gudea-italic.woff2) format("woff2");
}

@font-face {
  font-family: Gudea;
  font-style: bold;
  font-weight: 700;
  src: url(../fonts/gudea-bold.woff2) format("woff2");
}

body {
  font-size:1.3em;
  font-family: Gudea, sans-serif;
}

a {
    color: #1B4C8A;
 }


.card-pf {
        border:2px solid black;
        max-width:500px;
        margin:auto;
        margin-top: 4em;
}

.col-xs-12.col-sm-12.col-md-12.col-lg-12 {
    display: flex;
}

/*Login form */

.login-pf-header {
  background-color: #BCE1D1;
  height: 3.6em;
}


.header-container {
  display: flex;
  flex-direction: column;
  margin-top: -3em;
}

.logo {
  background-color: white;
  border: 1px solid black;
  margin-left: 5.5em;
  transform: rotate(5deg);
}

#kc-page-title {
  margin-left: 0.75em;
  font-size: 1em;
  display: inline-block;
  height: 100%;
  font-weight: normal;
}

#kc-form-wrapper {
    margin-top: 1em;
}

#kc-terms-text {
  padding: 1em;
}

#terms-form {
  padding-left: 1em;
  padding-bottom: 1em;
}

#kc-form-login {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  font-size: 14px;
  margin: 10px auto;
  width: 440px;
  display: flex;
  flex-direction: column;

}

.form-group.login-pf-settings {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  vertical-align: baseline;
  align-items: baseline;
  border: none;
}

#kc-username.form-group{
    border: none;
    padding-left: 1em;
    font-size: 14px;
}

.form-group label {
  padding-bottom: 0.5em;
}

#kc-form-buttons {
  all: unset;
  display: inline-block;
  width: 100%;
  height: 2em;
  align-self: center;
  background-color: #AFAFAF;
  border-top: 2px solid black;
  cursor: pointer;
}

#kc-form-buttons:hover {
	background-color: #bce1d1;
}

#kc-form-buttons:hover .login-button {
	color: black;
}

.login-button {
  all: unset;
  display: block;
  border: none;
  color: #FFFFFF;
  font-size: 1em;
  font-weight: bold;
  margin: auto;
  padding: 0.3em;
}

.btn-lg {
  all: unset;
  display: block;
  border: none;
  color: #FFFFFF;
  font-size: 1em;
  font-weight: bold;
  margin: auto;
  padding: 0.2em;
}

#terms-form .btn-lg {
  all: unset;
  display: block;
  border: none;
  color: black;
  font-size: 1em;
  font-weight: bold;
  margin: auto;
  padding: 0.2em;
}

#terms-form .btn-lg:hover {
  color: gray;
}

.pf-c-form-control {
  border: none;
  padding: 5px 5px 5px 5px;
  border: 2px solid black;
  flex-grow: 1;
}

/*OTP Login*/

#kc-username.form-group {
    padding-left: 1em;
    border: none;
}

#kc-attempted-username {
    padding: 0;
    font-style: unset;
}

div#kc-username:before{
    content: "Logging in as: ";
}

.kc-login-tooltip {
    text-align: right;
    padding-right: 1em;
}

/*Login form + options*/

#kc-info {
    padding: 0.5em;
    font-size: 14px;
}

.pf-c-form__helper-text {
    display: block;
    border-top: 2px solid black;
    text-align: right;
    padding-right: 1em;
    padding: 0.2em;
}

.required{
  background-color: salmon;
}

/*Register form*/

#kc-register-form {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1.5em;
}

/*Page has expired message*/

#instruction1 {
    margin: 2em;
    font-size: 1rem;
}

#input-error {
    border-top: 2px solid black;
    width: 100%;
    padding: 0;
        padding-top: 0px;
        padding-bottom: 0px;
    display: inline-block;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    text-align: center;
}

/* Reset */

.pf-c-alert__title .kc-feedback-text{
  font-size: 14px;
}

/* Register */


.pf-c-form__helper-text .pf-m-error .required .kc-feedback-text{
  border-top: 2px solid black;
}


/* media queries */

@media screen and (max-width: 530px) {

  #kc-page-title {
    border: unset;
  }

  #kc-register-form {
    margin: unset;
    margin-bottom: 1.5em;
  }

  .logo {
    max-width: 320px;
    transform: none;
  }

  .logo svg {
    width: 100%;
  }

  .form-group {
    width: 88vw;
  }

  .form-group.login-pf-settings {
    margin-bottom: 2em;
  }
}
