.background-wrapper {
  background-image: url(../images/concrete-wall-bk.jpg);
  position: sticky;
  background-size: cover;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  position: relative;
  font-weight: 400;
}

.content-wrapper {
  position: relative;
  z-index: 0;
  width: 100%;
  font-weight: 400;
}

@media (max-width: 991px) {
  .content-wrapper {
    max-width: 100%;
  }
}

.program-header {
  width: 100%;
  font-family: Tilt Neon, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 60px;
  color: #1d2d3a;
  line-height: 1;
}

@media (max-width: 991px) {
  .program-header {
    max-width: 100%;
    font-size: 40px;
  }
}

.main-title {
  margin-top: 24px;
  font-size: 60px;
  font-weight: inherit;
  line-height: inherit;
}

@media (max-width: 991px) {
  .main-title {
    max-width: 100%;
    font-size: 40px;
  }
}

.highlight-text {
  color: rgba(201, 72, 8, 1);
}

.program-description {
  color: #515861;
  font-family: Agenda, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 22px;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .program-description {
    max-width: 100%;
  }
}

.contact-form {
  display: flex;
  width: 100%;
  max-width: 820px;
  margin: 80px auto 80px;
  flex-direction: column;
  align-items: stretch;
  font-size: 16px;
  justify-content: start;

  p {
    margin: 0px;
  }

  .form-item-receive-updates {
    display: flex;
    flex-direction: row !important;
    gap: 16px;

    input.form-checkbox {
      accent-color: rgba(201, 72, 8, 1);
      display: flex;
      width: 24px;
      height: 24px;
      min-width: auto;
      min-height: auto;
      margin-top: 0px;
    }
  }

  .form-item {
    display: inline-flex;
    flex-direction: column;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;

    @media (min-width: 426px) {
      margin-top: 1.25rem;
      margin-bottom: 1.25rem;
    }
  }

  .form-item-disclaimer {
    gap: 24px;
  }

  .form-wrapper,
  .request-rep .fieldset-wrapper {
    /* display: grid; */
    display: flex;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;

    flex-direction: column;

    @media (min-width: 426px) {
      flex-direction: row;
      row-gap: 0.5rem;
    }

    & > div {
      flex: 1;
    }
  }
}

@media (max-width: 991px) {
  .contact-form {
    max-width: 100%;
    margin: 40px auto 40px;
  }
}

.contact-form fieldset {
  border: none;
  padding: 0;
}

.required-fields-note {
  color: #515861;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 991px) {
  .required-fields-note {
    max-width: 100%;
  }
}

.required-asterisk {
  color: rgba(221, 0, 0, 1);
}

.form-fields-container {
  margin-top: 40px;
  width: 100%;
  line-height: 1;
}

@media (max-width: 991px) {
  .form-fields-container {
    max-width: 100%;
  }
}

.input-row {
  display: flex;
  width: 100%;
  gap: 24px;
  color: #515861;
}

.input-row:not(:first-child) {
  margin-top: 40px;
}

@media (max-width: 991px) {
  .input-row {
    max-width: 100%;
    flex-direction: column;
  }
}

.input-field {
  width: 50%;
}

@media (max-width: 991px) {
  .input-field {
    width: 100%;
  }
}

.field-label {
  color: #515861;
  margin-bottom: 8px;
  display: block;
}

.form-input,
.contact-form input:not(.webform-button--submit) {
  margin-top: 8px;
  min-width: 240px;
  border-radius: 8px;
  border: 1px solid #515861;
  background-color: #fff;
  display: flex;
  min-height: 44px;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}

.form-input:focus {
  outline: 2px solid #c94808;
  outline-offset: 2px;
}

/* .select-field {
  margin-top: 40px;
  width: 398px;
  max-width: 100%;
  color: #515861;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .select-field {
    white-space: initial;
  }
} */

.dropdown-icon {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 24px;
  flex-shrink: 0;
}

.checkbox-container {
  display: flex;
  margin-top: 40px;
  width: 100%;
  align-items: center;
  gap: 16px;
  color: #515861;
  line-height: 1;
  justify-content: start;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .checkbox-container {
    max-width: 100%;
  }
}

.custom-checkbox {
  border-radius: 4px;
  border: 1px solid #515861;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-label {
  flex: 1;
  cursor: pointer;
}

.privacy-section {
  margin-top: 40px;
  width: 100%;
  color: #515861;
}

@media (max-width: 991px) {
  .privacy-section {
    max-width: 100%;
  }
}

.privacy-text {
  line-height: 20px;
  text-decoration-skip-ink: auto;
  color: #515861;
}

@media (max-width: 991px) {
  .privacy-text {
    max-width: 100%;
  }
}

.privacy-link {
  font-weight: 700;
  text-decoration: underline;
  color: #515861;
}

.email-info {
  line-height: 1;
  margin-top: 24px;
  color: #515861;
}

@media (max-width: 991px) {
  .email-info {
    max-width: 100%;
  }
}

.email-bold {
  font-weight: 700;
  color: #515861;
}

.submit-button {
  width: min-content;
  justify-self: center;
  align-self: center;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .submit-button {
    width: 100%;
  }
}

/* Hidden checkbox for accessibility */
.hidden-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.hidden-checkbox:checked + .custom-checkbox {
  background-color: #c94808;
  border-color: #c94808;
}

.hidden-checkbox:checked + .custom-checkbox::after {
  content: "✓";
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.hidden-checkbox:focus + .custom-checkbox {
  outline: 2px solid #c94808;
  outline-offset: 2px;
}

.info-section {
  background-color: #fff;
  padding: 40px 0;
  box-shadow: 0px -4px 20px -4px #51586129;
  font-size: 18px;
  line-height: 22px;
  @media (max-width: 991px) {
    padding: 24px 0;
  }
}

.info-content {
  display: grid;
  gap: 24px;
  font-size: 18px;
  line-height: 22px;
  color: #515861;

  p:not(:last-child) {
    margin-bottom: 16px;
  }
}
.info-item sup {
  position: relative;
  top: -6px;
  font-size: 0.6em;
}
.info-title {
  font-size: 24px;
  line-height: 28px;
  color: #f16b50;
  margin-bottom: 8px;
}
.info-subtitle {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 4px;
  color: #515861;
}

.webform-actions {
  margin-top: 40px;
  display: flex !important;
  justify-content: center;
}

.webform-button--submit {
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  border: 2px solid #c94808;
  background-color: #c94808;
  align-self: stretch;
  display: flex;
  /* min-width: 240px; */
  margin: auto 0;
  padding: 12px 48px 12px 24px;
  gap: 4px;
  overflow: hidden;
  font-family: agenda, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  background-image: url(../images/icons/chevron-right.svg);
  background-repeat: no-repeat;
  background-position: right 20px center;
  /* max-width: 126px; */
  /* max-height: 48px; */

  &:disabled {
    border: 1px solid #515861;
    background-color: #515861;
  }
}

.mt-0 {
  margin-top: 0px !important;
}

select:focus,
select:focus-visible,
select:focus-within {
  outline: none;
  border: 1px solid #f16b50;
}

.red-text {
  color: #d00;
}

/* == */

/*  Webform Start */

/* webform-submission-form */

/* Drop Down */

select,
::picker(select) {
  appearance: base-select;
}

select {
  flex: 1;
  padding: 10px;
  margin-top: 8px;
  background-color: #fff;
  max-height: 44px;
  line-height: 1.25rem;
}

select::picker-icon {
  color: #fff;
  transition: 0.4s rotate;
  width: 24px;
  height: 24px;
  background-image: url(../images/icons/select-down.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
}

select:open::picker-icon {
  rotate: 180deg;
}

::picker(select) {
  border: none;
}
option {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  padding: 10px;
  transition: 0.4s;
  border-width: 0px 1px 0px 1px;
  border-color: #f16b50;
  border-style: solid;
  max-width: 510px;
  outline: none;
  color: #1d2d3a;
  cursor: pointer;
  padding-top: 4px;
}

option:first-of-type {
  /* display: none; */
  height: 0px;
  border: 0px;
  /* background: unset; */
  background-image: url(../../dawnzerahcp/images/concrete-wall-bk.jpg);
  color: transparent;
  font-size: 2px;
  /* padding: 0px; */
  &:hover {
    background-image: url(../../dawnzerahcp/images/concrete-wall-bk.jpg);
  }
}

option:nth-child(2) {
  border-radius: 8px 8px 0 0;
  border-width: 1px 1px 0px 1px;
  padding-top: 12px;
}

option:last-of-type {
  border-radius: 0 0 8px 8px;
  border-width: 0px 1px 1px 1px;
  padding-bottom: 12px;
}

option:not(option:last-of-type) {
  border-bottom: none;
}

option {
  text-wrap: auto;
  padding-left: 12px;
}

.option-item {
  color: #1d2d3a;
  font-family: agenda, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-wrap: auto;
}

option:hover {
  background: #fff;
}

option:checked {
  font-weight: bold;
}

::picker(select) {
  opacity: 0;
  transition: all 0.4s allow-discrete;
}
::picker(select):popover-open {
  opacity: 1;
}

option:not(:checked)::checkmark {
  /* content: url(../../images/icons/radio-unchecked.svg);
  visibility: visible; */
}

option:hover:not(:checked)::checkmark {
  content: url(../../images/icons/radio-hover.svg);
  visibility: visible;
}

option::checkmark {
  /* content: url(../../images/icons/radio-checked.svg);
  visibility: visible;
  height: 20px; */
  display: none;
}

.color-steel {
  color: #515861;
}

label {
  color: #515861;
}

/* Webform End */

/* Hide number input steppers in all browsers */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}
