﻿body {
  font-family: 'FS Albert', 'sans-serif';
  background-image: url('/image/register-bg.svg');
  background-size: cover;
}

.nav-page {
  display: none;
}

.welcome-page li {
  list-style: none;
  padding: 4px;
}

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0;
}

.page {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 100vh;
  max-width: 1440px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}
@media (max-width: 583px) {
  .page {
    margin-top: 0;
    margin-bottom: 0;
  }
}
.page .vertical-spacer {
  flex-grow: 1;
  width: 100%;
  max-height: 92px;
}
@media (max-width: 583px) {
  .page .vertical-spacer {
    display: none;
  }
}

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray;
}
.grants-page .card .card-title {
  font-size: 120%;
  font-weight: bold;
}
.grants-page .card .card-title img {
  width: 100px;
  height: 100px;
}
.grants-page .card label {
  font-weight: bold;
}

.main {
  width: 100%;
}

.card {
  background-color: white;
  max-width: 583px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.05);
  padding-left: 25px;
  padding-right: 25px;
  margin-bottom: 20px;
  padding-top: 30px;
  display: flex;
  justify-content: center;
}
@media (max-width: 583px) {
  .card {
    border-radius: 0;
    box-shadow: none;
  }
}
.card-body {
  width: 100%;
  max-width: 366px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  text-align: center;
  max-height: 777px;
  min-height: 557px;
  height: calc(100vh - 60px);
}
.card-header {
  width: 90%;
  margin: 0 auto;
}
.card-header h2 {
  font-size: 55px;
  font-weight: 300;
  color: #009de6;
  margin-bottom: 20px;
  line-height: 1;
}
@media (max-width: 583px) {
  .card-header h2 {
    font-size: 32px;
  }
}
.card-header p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  margin-bottom: 20px;
}
.card-logo {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: 180px;
}
.card-logo img {
  display: block;
  margin-bottom: 30px;
}
.card form {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.validation-errors {
  flex-grow: 1;
  width: 100%;
  max-height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.validation-errors .validation-summary-errors {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #f5c6cb;
  background-color: #f8d7da;
  color: #721c24;
  padding: 5px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  margin-bottom: 13px;
}
.form-group label {
  font-weight: 700;
  font-size: 14px;
  color: #4b4b4b;
  letter-spacing: 0.58;
  margin-bottom: 5px;
}

.form-check {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}
.form-check label {
  margin-bottom: 0;
}

input[type='text'],
input[type='password'],
input[type='email'] {
  border-radius: 10px;
  background-color: #f8f8f8;
  border: none;
  padding: 13px;
}

input[type='checkbox'] {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid #4b4b4b;
  accent-color: #009de6;
}

.btn {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700px;
  color: white;
  background-color: #8d1d71;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 44px;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.btn:hover,
.btn:focus {
  opacity: 0.7;
}
.btn[disabled],
[disabled] .btn {
  opacity: 0.6;
  pointer-events: none;
}
.btn-secondary {
  background: none;
  color: black;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.remember-me {
  margin-top: 10px;
}

.bottom-link {
  flex-grow: 1;
  text-align: center;
  min-height: 80px;
}
.bottom-link a,
.bottom-link button {
  background: none;
  border: none;
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: #4b4b4b;
  letter-spacing: 0.58px;
  text-decoration: none;
  margin-bottom: 40px;
}
.bottom-link a:hover,
.bottom-link a:focus,
.bottom-link button:hover,
.bottom-link button:focus {
  text-decoration: underline;
}

.submit {
  margin-top: 30px;
}

.corner-link {
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 15px;
  padding-top: 40px;
}
@media (max-width: 583px) {
  .corner-link {
    padding: 20px;
  }
}
.corner-link__link {
  display: flex;
  align-items: center;
  gap: 15px;
  background: none;
  border: none;
  padding: 0;
  color: #4b4b4b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.75px;
  text-decoration: none;
  cursor: pointer;
}
.corner-link__link:hover,
.corner-link__link:active {
  text-decoration: underline;
}

.text-danger {
  color: #e74c3c;
  font-weight: bold;
  margin-top: 10px;
  text-align: left;
  margin-bottom: 1em;

  a {
    color: inherit;
  }
}
