@import url(//fonts.googleapis.com/css?family=Nunito+Sans);

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: #333333;
}

a {
  color: #4b192d;
  text-decoration: underline;
}

p {
  font-size: 1rem;
  font-weight: 300;
}

h1 {
  font-size: 30px;
}

#main-content {
  height: calc(100% - 85px);
  margin: 0 auto;
  display: flex;
  padding: 20px 40px;
  align-items: center;
}

#main-content h1 {
  text-align: center;
  margin-bottom: 20px;
}

#product-image {
  margin-top: 20px;
}

#product-title {
  width: 100%;
}

.login-pf-page {
  width: 100%;
  padding-top: 0px;
  flex: 1 1 auto;
}

.login-pf {
  background: inherit;
}

.login-pf body {
  background-image: url(../img/login_bg.jpg);
  background-attachment: scroll;
  background-size: cover;
  background-position: top -20px center;
}

.form-control {
  border-radius: 7px;
}

.column {
  width: 100%;
  padding: 20px;
}

#product-image {
  max-width: 80%;
}

#kc-header {
  height: 85px;
  background-color: #fff;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 6px #00000080;
}

#kc-nav {
  background-color: #fff;
  padding: 10px 20px;
  display: flex;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 85px;
}

#kc-header-wrapper {
  display: none;
}

#kc-header-icon {
  width: 90px;
}

#kc-header-title {
  font-size: 30px;
  padding-left: 20px;
  border-left: 2px solid white;
  margin: auto 0;
  color: #fff;
  line-height: 40px;
}

#kc-social-pro {
  padding: 20px;
  background-color: black;
}

#rememberMe:checked {
  accent-color: #f26432;
}

:root {
  --pf-global--primary-color--100: #454545;
}

.login-pf-page .pf-m-primary {
  margin-top: 0;
  background-image: unset;
  background-color: #f26432;
  border-color: #f26432;
  color: black;
  box-shadow: 2px 2px 5px #000000a1;
  border-radius: 5px;
  font-size: large;
}

.pf-c-form-control:focus {
  outline-color: #4b192d;
  background-color: #e0e2ec;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #e0e2ec inset !important;
}

.card-pf {
  /*     margin: 0 0 0 auto;
 */
  width: 100%;
  padding: 1.5rem !important;
  border: none;
}

#kc-form-buttons {
  display: flex;
  justify-content: center;
  margin-top: 0;
}
#kc-form-buttons input:disabled {
  background: #e0e0e0;
  color: #a6a6a6;
  box-shadow: none;
}

#kc-info {
  margin: 10px 0 0 0;
}

#kc-info-wrapper {
  background-color: transparent;
  padding: 15px 35px 0;
}

.kc-social-item .kc-social-provider-name::before {
  text-decoration: none;
}

#social-metria-ad-oidc .kc-social-provider-name::before {
  content: '';
  background: url('../img/metria_logo_white.svg') no-repeat;
  background-size: contain;
}

.kc-social-item .kc-social-provider-name {
  top: 0;
}

.kc-social-item {
  text-decoration: none;
}

.kc-social-item::after {
  border: solid 1px #b1b1b1;
}

#kc-social-providers h4 {
  display: none;
}

#custom-alert-icon-wrapper {
  align-items: baseline;
  gap: 0.5rem;
}

#product-description {
  text-align: center;
}

#custom-password-policy-wrapper {
  margin-bottom: 15px;
}

#custom-alert-info {
  border-color: #4b192d;
  background-color: #dbd1d5;
  margin-bottom: 15px;
}

#custom-info-exclamation-circle {
  color: #333333;
}

#custom-password-information-text {
  color: #333333;
  font-weight: 400;
}

#consent {
  accent-color: #f26432;
}

footer {
  background-color: #4b192d;
  color: #f8f9fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 6px 5px #0000004d;
}

#footer-content {
  background-color: #4b192d;
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 20px;
  gap: 4em;
}

#footer-title {
  font-size: 2rem;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
}

#footer-links {
  display: flex;
  gap: 1em;
  margin: 0 0 2em 0;
}

#footer-icon {
  width: 90px;
}

#footer-copyrights {
  width: 100%;
  background-color: #4b192d;
  border-top: 1px solid #f8f9fa;
  display: flex;
  max-width: 1200px;
  padding: 0.5em 0;
}

.footer-link {
  color: #f8f9fa;
}

@media (max-width: 767px) {
  .login-pf-page .card-pf {
    /*margin-top: auto;*/
    padding: 0;
  }

  #main-content {
    padding: 20px;
    display: block;
    background-color: transparent;
  }

  #product-image {
    display: none;
  }

  #kc-current-locale-link:is(a) {
    color: white;
  }

  #product-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .column {
    display: block;
    width: 100%;
    padding: 0;
  }

  #kc-header {
    background-position:
      center left + 5%,
      right,
      center;
    background-size:
      70px auto,
      contain,
      cover;
    height: 80px;
    width: 100%;
    box-shadow: none;
  }

  #kc-locale {
    top: 28px;
  }

  #header-text {
    left: calc(5% + 75px);
    top: 28px;
    font-size: 1rem;
  }

  #kc-header-title {
    font-size: 20px;
    line-height: 30px;
    padding-left: 10px;
  }

  #kc-header-icon {
    margin-right: 10px;
    width: 40px;
    height: 40px;
  }

  footer {
    box-shadow: none;
  }
}

@media screen and (max-width: 480px) {
  #kc-header-icon {
    width: 70px;
  }

  #footer-content {
    flex-direction: column;
    gap: 2em;
  }
}
