/* Arco — site-wide bits that are not layout: the cookie notice. */
.arco-cookie-notice {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.8); color: #fff;
}
.arco-cookie-notice[hidden] { display: none; }
.arco-cookie-notice p { margin: 0; font-size: 16px; font-weight: 400; color: #fff; }
.arco-cookie-notice a { color: #4279a6; }
.arco-cookie-notice__close { flex: none; border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

/*
 * Caldera forms mark fields that must not show with Bootstrap's .hide / .hidden
 * (the referrer, device and page-URL fields). Bootstrap is gone with RealHomes
 * 1.6, so the two utility classes are defined here.
 */
.caldera-grid .hide,
.caldera-grid .hidden,
.caldera_forms_form .hide,
.caldera_forms_form .hidden { display: none !important; }

/*
 * Lead popup (Scroll Triggered Box) as it sits on the page: near-black overlay,
 * no box of its own around the form's iframe, Arco's close button. These rules
 * were in RealHomes 1.6's style.css and Arco's old custom stylesheet.
 */
#stb-overlay { background: rgba(0, 0, 0, 0.97) !important; z-index: 999999999 !important; }
.stb-container.stb-center-container { z-index: 9999999999; }
.scroll-triggered-box { max-width: 100%; background: transparent !important; }
.stb { box-shadow: none !important; padding: 0 !important; margin: 50px 0 0 !important; }
.stb-content { max-width: 100%; }
.stb-close { right: 30px; top: 10px; }
#close-popup { position: absolute; top: 20px; right: 30px; width: 40px; height: 40px; line-height: 40px; text-align: center; color: #fff; background: var(--rh-global-color-primary) !important; }
#close-popup a { color: #fff; font-weight: 700; text-decoration: none; }

/* Responsive Menu plugin: Arco's mobile menu button. Hidden on desktop, above the popup on mobile. */
@media screen and (min-width: 980px) { button.rmp_menu_trigger { display: none !important; } }
@media screen and (max-width: 979px) { button.rmp_menu_trigger, #rmp-container-17245 { z-index: 999999999; } }
