@media only screen and (min-width: 768px) {
  #main-menu,
  #main-menu .header-wrap,
  #main-menu .header-wrap-inner,
  #main-menu .nav-wrap,
  #main-menu .menu,
  #main-menu .sf-menu {
    position: relative;
    z-index: 3000;
  }

  #main-menu,
  #main-menu .header-wrap,
  #main-menu .header-wrap-inner {
    background: #28420d !important;
  }

  #main-menu .container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 1200px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  #main-menu .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #main-menu #sidr.sidr {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    transform: none !important;
  }

  #main-menu nav.menu {
    box-sizing: border-box;
    display: block !important;
    width: 100% !important;
    height: 50px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    visibility: visible !important;
    background: transparent !important;
  }

  #main-menu .sf-menu {
    display: flex !important;
    float: none !important;
    justify-content: center;
    align-items: stretch;
    width: auto !important;
    max-width: 1170px !important;
    height: 50px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #main-menu .sf-menu > li {
    display: block !important;
    float: none !important;
    height: 50px !important;
    line-height: 50px !important;
    background: transparent !important;
    transition: background-color 160ms ease;
  }

  #main-menu .sf-menu > li > a {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px !important;
    padding: 0 10px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  #main-menu .sf-menu > li:hover,
  #main-menu .sf-menu > li.sfHover,
  #main-menu .sf-menu > li:focus-within,
  #main-menu .sf-menu > li.services-menu-open {
    background-color: #924c7e !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
  }

  #main-menu .sf-menu > li:hover > a,
  #main-menu .sf-menu > li.sfHover > a,
  #main-menu .sf-menu > li:focus-within > a,
  #main-menu .sf-menu > li.services-menu-open > a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-decoration: none !important;
  }

  #main-menu .sf-menu > li.services-menu-item:hover > ul.menu-services,
  #main-menu .sf-menu > li.services-menu-item.sfHover > ul.menu-services,
  #main-menu .sf-menu > li.services-menu-item:focus-within > ul.menu-services,
  #main-menu .sf-menu > li.services-menu-open > ul.menu-services,
  #main-menu .sf-menu ul.menu-services.services-menu-held {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 4000;
  }

  #main-menu .sf-menu ul.menu-services,
  #main-menu .sf-menu ul.menu-services li,
  #main-menu .sf-menu ul.menu-services a {
    pointer-events: auto;
  }

  #main-menu .sf-menu ul.menu-services {
    box-sizing: border-box;
    left: 50% !important;
    right: auto !important;
    width: 720px !important;
    min-width: 720px !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 0 !important;
    overflow: hidden !important;
    text-align: left !important;
    transform: translateX(-50%);
  }

  #main-menu .sf-menu ul.menu-services li {
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
  }

  #main-menu .sf-menu ul.menu-services a {
    box-sizing: border-box;
    min-height: 42px;
    padding: 10px 16px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: normal !important;
  }
}

@media only screen and (max-width: 767px) {
  #sidr.sidr.astro-sidr-ready {
    background: #151515 !important;
  }

  #sidr.sidr .sf-menu ul.children {
    background: #242424 !important;
  }

  #sidr.sidr .sf-menu ul.menu-services {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    transform: none !important;
    background: #633355 !important;
    background-image: none !important;
  }
}

.form-altcha {
  margin: 1rem 0 1.25rem;
}

altcha-widget .altcha-checkbox:not(.altcha-checkbox-verifying) input {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  background: #ffffff !important;
  border: 2px solid #8b8b8b !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  width: 24px !important;
  height: 24px !important;
  max-width: none !important;
  padding: 0 !important;
}

altcha-widget .altcha-checkbox {
  width: 28px;
  height: 28px;
}

altcha-widget {
  display: block;
}

.altcha-widget--dark {
  --altcha-color-base: #111111;
  --altcha-color-border: #2a2a2a;
  --altcha-color-text: #ffffff;
  --altcha-color-border-focus: #000000;
  --altcha-color-footer-bg: #1a1a1a;
}

.new-patient-offer {
  --offer-panel: #28420d;
  --offer-accent: #633355;
  --offer-width: 320px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.new-patient-offer__tab {
  position: fixed;
  top: 295px;
  right: -50px;
  z-index: 999999;
  display: block;
  width: 50px;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  transition: right 0.7s ease;
}

.new-patient-offer__tab.is-visible {
  right: 0;
}

.new-patient-offer__icon {
  display: block;
  width: 50px;
  height: 50px;
  background: var(--offer-accent);
  line-height: 50px;
  text-align: center;
}

.new-patient-offer__icon i {
  color: #ffffff;
  font-size: 30px;
  line-height: 50px;
}

.new-patient-offer__tab-text {
  position: relative;
  display: block;
  width: 50px;
  height: 230px;
  background: var(--offer-panel);
  color: #ffffff;
  overflow: hidden;
  font-size: 0;
}

.new-patient-offer__tab-text::before {
  content: "New Patient Offer";
  position: absolute;
  top: 105px;
  left: -63px;
  width: 176px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-90deg);
}

.new-patient-offer__tab:hover .new-patient-offer__icon,
.new-patient-offer__tab:focus-visible .new-patient-offer__icon {
  background: var(--offer-panel);
}

.new-patient-offer__tab:hover .new-patient-offer__tab-text,
.new-patient-offer__tab:focus-visible .new-patient-offer__tab-text {
  background: var(--offer-accent);
}

.new-patient-offer__panel {
  position: fixed;
  top: 4px;
  right: calc((var(--offer-width) + 58px) * -1);
  z-index: 9999999;
  width: var(--offer-width);
  max-height: calc(100vh - 8px);
  padding-left: 50px;
  overflow: auto;
  color: #ffffff;
  background: transparent;
  -webkit-overflow-scrolling: touch;
  transition: right 0.7s ease;
}

.new-patient-offer__panel.is-open {
  right: 0;
}

.new-patient-offer__close {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border: 0;
  color: #ffffff;
  background: var(--offer-accent);
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.new-patient-offer__close i {
  color: #ffffff;
  font-size: 30px;
  line-height: 50px;
}

.new-patient-offer__inner {
  min-height: 100%;
  padding: 20px 10px 14px;
  background: var(--offer-panel);
  text-align: center;
}

.new-patient-offer__copy p {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.15;
}

.new-patient-offer__copy strong {
  color: #ffffff;
}

.new-patient-offer__form {
  margin: 0 auto;
  max-width: 246px;
}

.new-patient-offer__form input,
.new-patient-offer__form textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0 0 5px;
  padding: 6px 5px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #ffffff;
  color: #495057;
  font-size: 16px;
  line-height: 1.35;
}

.new-patient-offer__form textarea {
  min-height: 112px;
  resize: vertical;
}

.new-patient-offer__insurance {
  margin: 4px 0 6px;
  padding: 0;
  border: 0;
  color: #ffffff;
  text-align: center;
}

.new-patient-offer__insurance legend {
  display: block;
  margin: 0 0 2px;
  padding: 0;
  width: 100%;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
}

.new-patient-offer__insurance label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0 5px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
}

.new-patient-offer__insurance input {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0;
}

.new-patient-offer__altcha {
  margin: 10px 0;
  padding: 2px;
  border-radius: 2px;
  background: #ffffff;
  text-align: left;
}

.new-patient-offer__altcha altcha-widget {
  max-width: 100%;
}

.new-patient-offer__status {
  margin: 4px 0 8px;
  color: #ffffff;
  font-size: 14px;
}

.new-patient-offer__submit {
  margin-top: 8px !important;
  background: var(--offer-accent) !important;
}

.new-patient-offer__honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media screen and (max-width: 1024px) {
  .new-patient-offer__panel {
    top: 4px;
    max-height: calc(100vh - 8px);
  }
}

@media screen and (max-width: 759px) {
  .new-patient-offer {
    --offer-width: min(320px, calc(100vw - 50px));
  }

  .new-patient-offer__tab {
    top: 90px;
  }

  .new-patient-offer__panel {
    top: 4px;
    max-height: calc(100vh - 8px);
  }

  .new-patient-offer__copy p {
    font-size: 15px;
  }
}
