/* Contact Us (site/contact) rules the 2026 header loaded from revamp22/revamp_css.css, base type and form rules from
   revamp22/css/_all.css. Scoped to the contact page so the 2027 header and footer are untouched. */
#main.revamp-2024-add h1 { color: #000; margin: 0 0 20px; font-size: 40px; font-weight: 500; }
#main.revamp-2024-add p { margin-bottom: 16px; }
#main.revamp-2024-add label { margin-bottom: 8px; color: #484848; font-size: 13px; font-weight: 600; }
#main.revamp-2024-add .form-group { margin-bottom: 24px; }

.revamp-2024-address-section-contact-us .col-md-3 {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}

.revamp-2024-address-section-contact-us .block {
  min-height: auto !important;
}

.revamp-2024-address-section-contact-us address .head {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #main.add.revamp-2024-add {
    padding-top: 30px !important;
  }

  .contact-form-container {
    padding: 10px 16px !important;
  }

  .contact-us-container {
    padding-bottom: 6px !important;
  }

  .contact-form-container h3 {
    font-weight: 500 !important;
  }

}

@media (min-width: 768px) {
  .revamp-2024-address-section-contact-us address p:nth-of-type(2) {
    /* min-height: 36px; */
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .revamp-2024-address-section-contact-us address p:first-of-type {
    /* min-height: 110px; */
  }

  .revamp-2024-address-section-contact-us {
    margin-top: -940px;
  }

  .revamp-2024-address-section-contact-us .col-md-3 {
    width: 50%;
    min-width: 50%;
    max-width: 50%;
  }
}

.contact-us-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.contact-us-container p {
  margin-bottom: 0 !important;
}

#contact_form select {
  font-feature-settings: "clig" off, "liga" off;
  font-size: 13px !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 18px !important;
  align-items: center !important;
  border-radius: 4px !important;
  border: 1px solid var(--grey-silver-tree-e-3-e-3-e-3, #e3e3e3) !important;
  background: #fff !important;
  padding: 0.375rem 0.75rem !important;
}

/* title and offices in the left column, the form beside them in the right one, on desktop */
@media (min-width: 768px) {
  #main.revamp-2024-add .contact-form-container {
    grid-column: 2;
    grid-row: 1;
  }

  #main.revamp-2024-add .revamp-2024-address-section-contact-us {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }
}
