
html {
  font-size: 16px;
}
body {
  background-color: #e8f0f3;
  color: #333;
  font-family: 'Locator Light', sans-serif;
}

.text-primary {
  color: #00a9ea !important;
}

.header {
  background-color: white;
}
.header > div {
  flex-basis: 50%;
  flex-shrink: 0;
}
.header h4 {
  font-size: 1rem;
  margin: 0;
}
.header h3 {
  font-family: 'Locator Bold', sans-serif;
  font-weight: 800;
  margin: 0;
}
.header .legend-container {
  display: grid;
  grid-template-rows: 2fr 3fr;
  padding: 2rem 1rem;
}
.header .legend-container > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header .legend-container img {
  max-width: 150px;
}
.header .logo-container {
  display: none;
}
.header .logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header .legend {
  font-size: 1.2rem;
  font-size: clamp(1rem, 4vw, 1.3rem);
  line-height: 1.2;
  text-align: center;
  letter-spacing: 1px;
}
@media (min-width: 800px) {
  .header {
    display: flex;
  }
  .header .logo-container {
    display: block;
  }
  .header .legend-container {
    grid-template-rows: 1fr 1fr;
  }
}
.container-fluid {
  max-width: 700px;
}
.required {
  color: #f53d48;
}
.checkbox-grid {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}
.form .checkbox-grid label{
  margin: 0;
}
.form {
  margin: 6rem 0;
}
.form .help {
  color: #999;
  font-size: 0.8rem;
  letter-spacing: -0.25px;
}
.form-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.form h2 {
  margin-bottom: 35px;
}
.form .form-group {
  margin-bottom: 28px;
}
.form label {
  margin-bottom: 7px;
}
.form input,
.form select {
  border: 1px solid #00a9ea;
  border-radius: unset;
  background-color: #d6edf3;
}
.custom-select:focus,
.form-control:focus {
  border-color: #00a9ea;
  background-color: #e8f0f3;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(0, 169, 234, 0.6);
}
.captcha {
  margin: 2rem auto 4rem;
  display: flex;
  justify-content: center;
}
.form .btn {
  background-color: #00a9ea;
  border-color: #00a9ea;
  border-radius: unset;
  font-weight: 600;
}

.form .form-check {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
  margin: 2rem 0 0;
  font-size: 0.8rem;
}
.form .form-check .text {
  line-height: 1.2;
  font-weight: 600;
  max-width: 350px;
  display: inline-block;
}
.form .form-check .text a {
  color: inherit;
}

/* Customize the label (the form-check-label) */
.form .form-check-label {
  line-height: 1.5;
  display: flex;
  position: relative;
  padding-left: 3rem;
  height: 2rem;
  margin-bottom: 2rem;
  margin-right: 2rem;
  cursor: pointer;
  user-select: none;
  flex-shrink: 1;
}

/* Hide the browser's default checkbox */
.form-check-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 2rem;
  width: 2rem;
  background-color: #d6edf3;
  border: 2px solid #00a9ea;
}

/* On mouse-over, add a grey background color */
.form-check-label:hover input ~ .checkmark {
  background-color: #e8f0f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.form-check-label input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.form-check-label .checkmark:after {
  left: 0.625rem;
  top: 0.0125rem;
  width: 0.625rem;
  height: 1.25rem;
  border: solid #00a9ea;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* Floating labels */
.form-label-group {
  position: relative;
  --input-padding-x: 0.75rem;
  --input-padding-y: 0.5rem;
}
.form-label-group .form-control {
  height: 2.5rem;
}

.form-label-group > input,
.form-label-group > label,
.form-label-group > select {
  padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group > label {
  color: #00a9ea;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0;
  line-height: 1.5;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: all 0.1s ease-in-out;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group select,
.form-label-group input:not(:placeholder-shown) {
  padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
  padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group select:valid ~ label,
.form-label-group input:not(:placeholder-shown) ~ label {
  padding-top: calc(var(--input-padding-y) / 3);
  padding-bottom: calc(var(--input-padding-y) / 3);
  font-size: 0.7rem;
  pointer-events: none;
}

.custom-select {
  color: inherit;
  background: #fff
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%2300a9ea' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
    no-repeat right 0.75rem center/8px 10px;
}

.custom-select ~ label{
  pointer-events: none;
}
