/* Base dialog styles that Elementor's JavaScript used to inject for popups. */
.dialog-type-lightbox{position:fixed;height:100%;width:100%;bottom:0;left:0;z-index:9999;-webkit-user-select:none;user-select:none}
.dialog-widget-content{position:relative;background-color:#fff;border-radius:3px;overflow:hidden}
.dialog-message{line-height:1.5;box-sizing:border-box}
.dialog-close-button{cursor:pointer;position:absolute;margin-top:15px;right:15px;font-size:15px;line-height:1;color:#1f2124}
.elementor-popup-modal [data-elementor-type=popup]:not(.elementor-edit-area){display:block;width:100%}
.elementor-popup-modal .dialog-message{max-width:100vw;max-height:100vh;overflow:auto;display:flex;padding:0}
.elementor-popup-modal .dialog-widget-content{position:relative;margin:auto}
/* Hide the WordPress-era reCAPTCHA badge placeholder if present. */
.grecaptcha-badge{display:none!important}

/* ---- Phones and tablets ---------------------------------------------------
   The WordPress header hid its menu on tablets (768-1024px) and showed the
   phone/callback bar and the sticky "Book a free consultation" bar only on
   phones, so tablets had no way to navigate. Tablets now get the same header
   and bars as phones (the menu turns into its button at this width). */
@media (min-width:768px) and (max-width:1024px){
  .elementor .elementor-element-6b02402.elementor-hidden-tablet,
  .elementor .elementor-element-5547112.elementor-hidden-tablet{display:flex}
  .elementor .elementor-element-c4aeb6f.elementor-hidden-tablet,
  .elementor .elementor-element-71d5b92.elementor-hidden-tablet{display:block}
  /* Keep the back-to-top button above that bar. */
  .elementor .elementor-element.elementor-element-e6f1d1a{bottom:60px}
}
/* Astra turned the page background navy below 922px, which made dark text
   on transparent sections (e.g. the clinic pages' Contact Us) unreadable. */
@media (max-width:921px){
  .ast-plain-container,.ast-page-builder-template{background-color:#eee}
}
/* Bigger tap areas (44px, as Apple and Google recommend) for the phone
   number, "Request a Callback" and the menu button, without moving anything. */
@media (max-width:1024px){
  .elementor-element-c4aeb6f a{display:inline-block;padding-top:14px!important;padding-bottom:14px!important;margin:-14px 0!important}
  .elementor-element-313549a .hfe-nav-menu__toggle{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
}
/* The WhatsApp button sat on top of the sticky "Book a free consultation"
   bar on phones and tablets; it now sits just above it. */
@media (max-width:1024px){body .tmfm-whatsapp{bottom:84px}}
