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

.request-specialist-page {
  background: url('/themes/custom/dawnzerahcp_full/images/backgrounds/hcp-wall-texture.png')
    no-repeat center top;
  background-size: contain;
  display: flex;
  justify-content: center;
  padding-block: 60px;
  background-size: cover;
  background-position: center;
}

.request-specialist-wrapper {
  max-width: 1200px;
}
.form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  font-weight: 400;

  .form-type-processed-text {
    font-size: 20px;
    font-family: Agenda;
    font-weight: 400;
    word-wrap: break-word
  }
}

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

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

.left-decorative-pipe {
  img {
    position:absolute;
    left: 0;
  }
}

.top-decorative-pipe {
  img {
    position:absolute;
    top: 0;
    right: 0;
  }
}

.bottom-decorative-pipe {
  img {
    position:absolute;
    bottom: 0;
    right: 0;
  }
}

.decorative-circle {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.header {

  align-items: center;
  width: 100%;
  font-family: Tilt Neon, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 60px;
  color: #1d2d3a;
  line-height: 1;
  max-width: 1200px;
}

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

.main-title {
  margin: 0;
  font-size: 40px;
  font-family: Tilt Neon;
  font-weight: 400;
  word-wrap: break-word;

  @media (max-width: 768px) {
    font-size: 28px;
  }
}

@media (max-width: 1340px) and (min-width: 1025px) {
  .main-title {
    padding-left: 80px;
  }
}

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

.highlight-text {
  color: #F16B50;
}

.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%;
  flex-direction: column;
  align-items: stretch;
  font-size: 20px;
  justify-content: start;
  padding: 0 200px;
  margin-top: 40px;

  p {
    margin: 0px;
    font-size: 20px;
  }

  .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: 0;
      margin-bottom: 40px;
    }
  }

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


  .form-wrapper {
    @media (max-width: 551px) {
      flex-direction: column !important;
      gap: 1.5rem !important;
    }
  }

  .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;
      margin-bottom: 40px;

      &.webform-actions {
        margin-block: 0;
      }
    }

    & > div {
      margin-block: 0;
      flex: 1;
    }
  }

  /* .form-wrapper {
    @media (max-width: 551px) {
      flex-direction: row !important;
    }
  } */

}

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



.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:#F16B50;
}

.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: #F16B50;
}

.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-block: 0;
  display: flex !important;
  justify-content: center;
}

.webform-button--submit {
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50px;
  background-color: #F16B50;
  align-self: stretch;
  display: flex;
  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 */
}

@media (max-width: 767px) {
  h1.main-title .highlight-text .break {
    display: block; /* forces new line on mobile */
  }
}

@media (max-width: 767px) {
  .header .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  .header .main-title {
    font-size: 28px;
    line-height: 1.3;
  }
}

.left-pipe-col {
  position: absolute;
  top: 12%;
  z-index: 0;

  .mobile-pipe {
    display: none;
    transform: scaleX(-1);
    /* transform: rotate(180deg); */
  }
}

@media (max-width: 1024px) {
  .left-pipe-col {
    position: static;

    .desktop-pipe {
      display: none;
    }
    .mobile-pipe {
      display: block;
      width: 100%;
    }
  }
  .content-wrapper {
    max-width: 100%;
    padding: 32px 20px 20px 20px;
  }

  .main-title {
    text-align: center;
  }

  .contact-form {
    padding: 0 2rem;
  }
}

@media (max-width: 767px) {

  .left-pipe-col {
    position: static;
    margin-top: 30px;
    text-align: center;
    margin-left: 16px;
  }

  .left-pipe-col img {
    max-width: 100%;
    height: auto;
  }
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 1024px) {

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

label span {
  color: #d00;
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front {
  max-width: 893px;
  width: 100% !important;
  z-index: 1022;
  background: white;
  border-radius: 16px;
  text-align: center;
  padding: 60px;

  .webform-confirmation-modal--content.ui-dialog-content.ui-widget-content {
    overflow: visible;
    padding: 0;
  }

  .ui-dialog-titlebar {
    display: none;
  }

  .request-ionis-specialist-modal {
    display: flex;
    flex-direction: column;
    gap: 32px;

    p,h3 {
      margin: 0;
    }

    .btn.btn--primary.btn--with-arrow {
      padding: 12px 16px 12px 24px;
      line-height: normal;
      align-items: flex-start;

      &::after{
        content: '';
        width: 24px;
        height: 24px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        display: inline-block;
        background: url(../images/icons/chevron-right.svg);
      }
    }
  }


  .content-container {
    display: flex;
    flex-direction: column;
    gap: 24px;

    h3 {
      font-family: var(--font-tilt-neon, "Tilt Neon");
      color: var(--color-steel, #515861);
      font-size: 32px;
      font-weight: 400;
      line-height: normal;
    }

    p {
      font-family: var(--font-agenda, Agenda);
      color: var(--color-steel, #515861);
      font-size: 20px;
      font-weight: 400;
      line-height: normal;
    }
  }
}

.ui-widget-overlay.ui-front {
  background: rgba(81, 88, 97, 0.50);
  backdrop-filter: blur(16px);
  z-index: 1021;
  opacity: 1;
}

@media (max-width: 991px) {
  .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front {
    max-width: calc(100vw - 20px);
    margin: 0 auto;
    padding: 40px 24px;

    .content-container h3 {
      font-size: 24px;
    }
  }

  .btn.btn--primary.btn--with-arrow {
    width: 100%;
  }
}

.form-item--error {
  .form-item--error-message {
    color: var(--color-primary);
  }
}

div[role="contentinfo"][aria-label="Error message"] {
  display: none;
}

.ajax-progress.ajax-progress-throbber {
  display: inline-flex;
  width: 24px;
  max-width: 24px;
  position: absolute;
  left: 57%;

  @media (min-width: 991px) {
    left: 56%;
  }
}

.webform-submission-form.webform-submission-request-a-rep-form {
  @media (max-width: 551px) {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}
