@font-face {
  font-family: BrandonGrotesque;
  font-display: swap;
  src: url("../fonts/BrandonGrotesque.ttf") format("truetype");
}

@font-face {
  font-family: BrandonGrotesqueBold;
  font-display: swap;
  src: url("../fonts/BrandonGrotesqueWeb-Medium.ttf") format("truetype");
}

@font-face {
  font-family: DidotDisplayRegular;
  font-display: swap;
  src: url("../fonts/DidotDisplayRegular.ttf") format("truetype");
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: BrandonGrotesque, Helvetica, Arial, Lucida, sans-serif;
  font-size: 22px;
  min-height: 100%;
}

.wrap {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.overlay {
  background: url("../images/fullbg.webp") center/cover no-repeat fixed;
  background-color: rgba(27, 33, 58, 0.82);
  background-blend-mode: soft-light;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: top;
  position: relative;
}

.overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.intro {
  padding: 3.6rem 1.8rem;
  color: #fff;
  box-sizing: border-box;
}

.intro h1 {
  font-family: BrandonGrotesqueBold, Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.8rem;
}

.intro p {
  font-family: BrandonGrotesque, Helvetica, Arial, Lucida, sans-serif;
}

@media only screen and (max-width: 47em) {
  .intro {
    text-align: center;
  }
  .intro .logo img {
    max-width: 100%;
  }
}

.logo {
  padding: 2rem 0;
}

.login {
  position: relative;
  padding: 3rem;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 47em) {
  .login {
    box-shadow: none;
  }
}

@media only screen and (min-width: 48em) {
  .login {
    min-height: 500px;
  }
}

.login h2 {
  font-family: DidotDisplayRegular, Helvetica, Arial, Lucida, sans-serif;
  display: block;
  text-align: center;
  font-size: 1.8rem;
}

.login label {
  margin: 10px 0;
  font-weight: bold;
  display: block;
  text-align: center;
}

.login .login-links {
  display: block;
  text-align: center;
  padding: 0.8rem;
}

.login .login-links a {
  font-size: 0.8rem;
}

.login .remember-link {
  margin-bottom: 0.8rem;
}

.login .remember-link label {
  font-size: 0.8rem;
  display: inline;
  text-align: left;
}

.login fieldset {
  border: none;
  padding: 0;
}

.login .form-control-feedback {
  display: block;
  font-size: 0.8rem;
  color: red;
}

.login .back-button {
  position: absolute;
  top: 2em;
  right: 3em;
  font-size: 0.8rem;
}

.login .back-button img {
  width: 20px;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 2rem;
}

.footer-copy p {
  margin-top: auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  padding: 1rem;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
  border: 4px solid #132a49;
  font-size: 0.7rem;
  background-color: #fbf2de;
}

button {
  padding: 1.3rem 1rem 1rem !important;
  line-height: 120%;
  background-color: #132a49;
  color: #fff;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-family: BrandonGrotesqueBold, Helvetica, Arial, Lucida, sans-serif;
  margin-bottom: 10px;
  justify-content: center;
  align-items: center;
}

button svg {
  width: 18px;
  filter: invert(100%);
  margin-right: 10px;
}

button:hover {
  background-color: #59b5da;
}

joomla-alert {
  font-size: 0.8rem;
  position: relative;
  border-radius: 0 !important;
  padding: 1em !important;
}

joomla-alert button {
  width: 20px;
  padding: 0 !important;
  right: -5px !important;
  top: -5px !important;
}

.visually-hidden {
  display: none;
}
