html {
  font-size: 15px;
  height: 100%;
}
body {
  background-color: white;
  color: #002752;
  font-family: 'DINPro-Medium', sans-serif;
  font-size: 15px;
}
strong {
  font-weight: 600;
}
.text-sm {
  font-size: 13px;
}
.text-lg {
  font-size: 18px;
}
.text-primary {
  color: #0874ba !important;
}
.header {
  margin-bottom: 4rem;
}
.header .ratio {
  position: relative;
  padding-top: 25%;
}
.header .ratio .image-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.header .ratio .image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.main-content {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.2rem;
}
.main-content h1 {
  margin-bottom: 1rem;
}
.main-content .action {
  margin-top: 2rem;
}
.main-content .action a {
  display: inline-block;
  line-height: 1;
  color: white;
  background-color: #0874ba;
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  min-width: 15rem;
}
.main-content .action a:hover {
  text-decoration: none;
}
.container-fluid {
  max-width: 700px;
}
.required {
  color: #f53d48;
}
.form {
  padding: 0 0 4rem;
}
.form .instructions {
  letter-spacing: 0.05em;
  font-size: 1.4rem;
  margin: 1.5rem 0 2rem;
  line-height: 1.2;
  text-align: center;
}
.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;
  color: #0874ba;
  line-height: 1.2;
}
.form textarea,
.form input,
.form select {
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: unset;
}
.custom-select:focus,
.form-control:focus {
  border-color: rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.01), 0 0 8px rgba(0, 0, 0, 0.1);
}
.captcha {
  margin: 2rem auto 4rem;
  display: flex;
  justify-content: center;
}
.form .btn {
  background-color: #0874ba;
  border-color: #0874ba;
  font-weight: 600;
  color: white;
}
.form .btn.focus,
.form .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(8, 116, 186, 0.075);
}

.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;
}
.form .form-check .invalid-feedback {
  font-size: 100%;
}

/* 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;
  color: inherit;
}

/* Hide the browser's default checkbox */
.form-check-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox-grid {
  flex: 0 1 180px;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
}
.zone-block {
  display: flex;
  justify-content: flex-start;
  /* align-items: center; */
}
.zone-block label {
  margin: 0;
  line-height: 1.7;
  white-space: nowrap;
}
.form .checkbox-grid label {
  margin: 0;
  line-height: 1.7;
}
.custom-control-label::before {
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.custom-checkbox .custom-control-label::before {
  border-radius: 0;
}
.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #0874ba;
  background-color: #0874ba;
  box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.1);
}
.custom-control-input:focus:not(:checked)~.custom-control-label::before {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.1);
}
/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 2rem;
  width: 2rem;
  background-color: rgba(8, 116, 186, 0.01);
  border: 2px solid #0874ba;
}

/* On mouse-over, add a grey background color */
.form-check-label:hover input ~ .checkmark {
  background-color: rgba(8, 116, 186, 0.01);
}

/* 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 #0874ba;
  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 input.form-control {
  height: 2.5rem;
}

.form-label-group > input,
.form-label-group > label,
.form-label-group > select,
.form-label-group > textarea {
  padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group > label {
  color: #0874ba;
  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),
.form-label-group textarea: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,
.form-label-group textarea: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='%230874ba' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
    no-repeat right 0.75rem center/8px 10px;
}

.custom-select ~ label {
  pointer-events: none;
}
