/* Additions for the static build: states that the WordPress scripts used to set at runtime. */

/* full-width sections before the script measures them */
.elementor-section.elementor-section-stretched { position: relative; }

/* desktop sub-menus (was SmartMenus) */
.elementor-nav-menu--main .elementor-nav-menu li { position: relative; }
.elementor-nav-menu--main .elementor-nav-menu ul.sub-menu { top: 100%; left: 0; width: auto; min-width: 10em; max-width: 1000px; z-index: 9998; }
.elementor-nav-menu--main .elementor-nav-menu ul.sub-menu a { white-space: nowrap; }
.elementor-nav-menu--main .elementor-nav-menu ul.sub-menu.dgi-open,
.elementor-nav-menu--main .elementor-nav-menu li:focus-within > ul.sub-menu { display: block; }
nav.elementor-nav-menu--dropdown ul.sub-menu.dgi-open { display: block; }
.elementor-nav-menu .sub-arrow i { font-size: inherit; }

/* testimonial carousel (was Swiper) */
.dgi-swiper .swiper-wrapper { display: flex; transition-property: transform; transition-timing-function: ease; }
.dgi-swiper .swiper-slide { flex-shrink: 0; }
.elementor-widget-testimonial-carousel .swiper-pagination-bullet { cursor: pointer; }

/* log-in popup */
.elementor-popup-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.8); }
.elementor-popup-modal [data-elementor-type="popup"] { display: block; }
.elementor-popup-modal .dialog-widget-content { position: relative; max-height: 100vh; overflow: auto; }
.elementor-popup-modal .dialog-close-button { display: flex; cursor: pointer; }

/* enquiry form */
.wpcf7-form .dgi-hp { display: none !important; }
.wpcf7-form .dgi-challenge:not(:empty) { margin: 0 0 16px; }
.wpcf7-form .wpcf7-response-output { margin: 2em 0.5em 1em; padding: 0.2em 1em; border: 2px solid #00a0d2; }
.wpcf7-form.init .wpcf7-response-output, .wpcf7-form.submitting .wpcf7-response-output { display: none; }
.wpcf7-form.sent .wpcf7-response-output { border-color: #46b450; }
.wpcf7-form.failed .wpcf7-response-output { border-color: #dc3232; }
.wpcf7-form.invalid .wpcf7-response-output { border-color: #ffb900; }

/* cookie notice (values from the previous Cookie Law Info settings) */
#cookie-law-info-bar { display: none; position: fixed; left: 0; bottom: 0; width: 100%; background-color: #fff; color: #4f4f4f; font-family: inherit; }
#cookie-law-info-bar .cli-plugin-button.wt-cli-accept-btn { background-color: #dd3333; color: #fff; }
#cookie-law-info-bar .cli-plugin-button.wt-cli-accept-btn:hover { background-color: #b12929; }
#cookie-law-info-bar .cli-plugin-button.wt-cli-reject-btn { background-color: #5e5e5e; color: #fff; }
#cookie-law-info-bar .cli-plugin-button.wt-cli-reject-btn:hover { background-color: #4b4b4b; }
#cookie-law-info-bar .cli-plugin-main-link { color: #444; }
#cookie-law-info-again { position: fixed; bottom: 0; right: 100px; background-color: #fff; color: #4f4f4f; cursor: pointer; }
.cli-modal.cli-show { display: block; }

/* newsletter box */
.boxzilla .dgi-challenge:not(:empty) { margin: 0 0 12px; }

/* not-found page */
.dgi-404 { width: 100%; padding: 80px 20px 120px; text-align: center; }
.dgi-404 h1 { margin-bottom: 16px; }
.dgi-404 .elementor-button { background-color: #dd3333; color: #fff; }
