#foundation, #programs, #get-involved, #testimonials { scroll-margin-top: 110px; }

.site-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 0;
  max-width: min(650px, 95vw);
  max-height: 90dvh;
  overflow: auto;
  color: inherit;
  background: #fff;
}
.site-dialog:not([open]) { display: none; }
.site-dialog::backdrop { background: rgb(0 0 0 / 58%); }
.site-dialog .elementor-location-popup { display: block; }
.dialog-inner { position: relative; }
.dialog-close {
  position: absolute;
  z-index: 10;
  top: 8px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #141c2e;
  font-size: 26px;
  cursor: pointer;
}
#dialog-menu, #dialog-cart {
  width: min(410px, 100vw);
  height: 100dvh;
  max-height: none;
  margin: 0 auto 0 0;
}
#dialog-cart { margin: 0 0 0 auto; }
#dialog-search { width: min(650px, 95vw); }
[data-form-status] { flex: 0 0 100%; padding: 0 10px; }
[data-form-status]:empty { display: none; }
.nsContent { overflow-x: auto; scroll-snap-type: x proximity; }
.nsItem { scroll-snap-align: start; }
.nsProgressTrack { position: relative; }
.nsProgressIndicator { position: absolute; }
.nsArrow { cursor: pointer; }
.migration-content {
  width: min(1040px, calc(100% - 48px));
  margin: auto;
  padding: 150px 0 90px;
}
.migration-content input { width: min(100%, 32rem); }
.migration-content button { padding: .5em 1em; }
@media (prefers-reduced-motion: reduce) {
  .vbf-cursor { animation: none !important; }
}

/* The original theme waits for its navigation script before revealing these. */
#dialog-menu .dt-nav-menu--main, footer .dt-nav-menu--main { visibility: visible; }
#dialog-menu, #dialog-cart { max-width: 100vw; }

header > .the7-e-sticky-overlap-yes.the7-e-sticky-active {
  position: fixed;
  inset: 0 0 auto;
  --the7-sticky-scroll-up-translate: 100%;
}

/* The static carousel is ready as soon as its markup is rendered. */
#testimonials .nativeScroll { opacity: 1; }
