/* Things Avada's JavaScript used to do, done in CSS instead. */

/* Entrance animations: content started hidden until a script revealed it. */
.fusion-animated, [data-animationtype] { visibility: visible !important; opacity: 1 !important; animation: none !important; }

/* Mobile menu (Avada cloned the desktop menu into this holder with JS). */
.fusion-mobile-nav-holder > ul { display: none; }
.fusion-mobile-nav-holder.fusion-mobile-menu-expanded { display: block !important; }
.fusion-mobile-nav-holder.fusion-mobile-menu-expanded > ul { display: block; }
.fusion-mobile-nav-holder .mobile-nav-heading > span { display: block; padding: 0 20px; font-family: Montserrat, Arial, Helvetica, sans-serif; color: #333; }

/* Static first slide in place of Revolution Slider. */
.static-hero { background-size: cover; background-position: center center; min-height: 380px; display: flex; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; }
/* width is explicit so aspect-ratio + min-height can't widen the hero past the screen on phones */
.static-hero-inner { min-width: 0; box-sizing: border-box; max-width: 1170px; margin: 0 auto; padding: 0 30px; width: 100%; }
.static-hero-inner p { max-width: 560px; color: #fff; font-family: Montserrat, Arial, Helvetica, sans-serif; font-size: 20px; line-height: 30px; background: rgba(3, 83, 160, .85); padding: 20px 25px; margin: 0; }

/* Lead form honeypot: off-screen, never seen by people. */
.lead-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.wpcf7-response-output[hidden] { display: none; }
form.sent .wpcf7-response-output { border: 2px solid #46b450; }
form.failed .wpcf7-response-output, form.invalid .wpcf7-response-output { border: 2px solid #dc3232; }

/* Mobile menu items (Avada 7 styles these when its JS builds the menu). */
.fusion-mobile-nav-holder .fusion-mobile-menu { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e5e5e5; }
.fusion-mobile-nav-holder .fusion-mobile-nav-item a { display: block; padding: 0 20px; line-height: 42px; border-bottom: 1px solid #e5e5e5; color: #333; font-family: Montserrat, Arial, Helvetica, sans-serif; font-size: 14px; }
.fusion-mobile-nav-holder .fusion-mobile-sub-item a { padding-left: 36px; }
.fusion-mobile-nav-holder .fusion-mobile-current-nav-item > a, .fusion-mobile-nav-holder .fusion-mobile-current-nav-item > a .menu-text { color: #fff; }

/* Lazy-load placeholders are gone; never hide images waiting for a script. */
img.lazyload, img.lazyloading, .lazyload { opacity: 1 !important; visibility: visible !important; }

/* Font Awesome 4.7 icon font, self-hosted (the old sites loaded it from use.fontawesome.com). */
@font-face { font-family: 'FontAwesome'; src: url('/fonts/fa4/fontawesome-webfont.woff2') format('woff2'), url('/fonts/fa4/fontawesome-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: block; }
@font-face { font-family: 'fontawesome'; src: url('/fonts/fa4/fontawesome-webfont.woff2') format('woff2'), url('/fonts/fa4/fontawesome-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: block; }

/* Avada "100% height" containers: its JS set them to the window height minus the header, growing with the content.
   Without that JS they fall back to a fixed height and taller content spills under the header. */
.fullwidth-box.hundred-percent-height { height: auto !important; min-height: calc(100vh - 160px); }
.fullwidth-box.hundred-percent-height > .fusion-fullwidth-center-content { height: auto !important; min-height: inherit; }

/* WordPress theme page preloaders: their hide-on-load script is not carried over, so they would cover the page forever. */
#ct-loadding,.ct-loader,#preloader,.preloader,#page-preloader,.page-loader,#loader-wrapper,.site-loader{display:none!important}

/* LayerSlider heroes: its script is gone, so the box shows the first slide's photo, still, at the slider's own size. */
.avia-layerslider .ls-static { position: relative; overflow: hidden; max-width: 100%; }
/* LayerSlider showed the photo at its own size, centred and cropped by the box (not scaled), at every width. */
.avia-layerslider .ls-static > img.ls-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: none; object-position: center; display: block; }
/* Text-only banner (Henderson NV page): green band with the title, scaled down on small screens as LayerSlider did. */
#top .avia-layerslider:has(.ls-banner) { height: auto !important; }
.avia-layerslider .ls-banner { background: #aac98e; height: clamp(52px, 10.42vw, 150px); display: flex; align-items: center; justify-content: center; }
.avia-layerslider .ls-banner h2 { margin: 0; padding: 0; color: #fff; font-size: clamp(13.7px, 2.78vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: 0; text-transform: none; }

/* Contact Form 7 Multi-Step (its plugin CSS and script are gone): one step at a time, the old buttons. */
.fieldset-cf7mls[hidden] { display: none !important; }
.wpcf7-form .fieldset-cf7mls { border: 0; margin: 0; min-width: 0; }
.cf7mls_next.action-button, .cf7mls_back.action-button { border: 0 none; color: #fff; cursor: pointer; font-weight: bold; min-width: 100px; position: relative; line-height: 1.2; }
.cf7mls_next.action-button:hover, .cf7mls_back.action-button:hover { background-color: #a8432a; }
.fieldset-cf7mls .submitnew { clear: both; }
.wpcf7-form .cf7mls_back.action-button { margin-top: 8px; background-color: #555; }
/* From the plugin's own stylesheet (cf7mls.css), which the theme then adjusts. */
.fieldset-cf7mls-wrapper { position: relative; padding: 15px 30px; overflow: hidden; margin: 0 -30px; }
.wpcf7-form .fieldset-cf7mls { box-shadow: 0 0 15px 1px rgba(0, 0, 0, .4); }

/* Contact form labels on the dark panel: #666 was 3.66:1, this is above 4.5:1. */
.wpcf7-form .myfull label { color: #c8c8c8; }

/* Enfold sliders: the script faded in the current slide. Without it, show the first slide (most have only one). */
#top .avia-slideshow .avia-slideshow-inner > li:first-child { opacity: 1; visibility: visible; z-index: 2; }
#top .avia-content-slider .slide-entry-wrap:first-child { opacity: 1; visibility: visible; z-index: 2; }
/* Their arrows needed the slider script: hidden rather than shown as dead "Previous / Next" links. */
#top .avia-slideshow-arrows { display: none; }
/* Forms whose fields are all floated: let the form contain them (it measured 0px tall). */
.wpcf7-form::after { content: ""; display: table; clear: both; }
/* Toggles: closed until clicked (site.js marks the container js_active and opens one with active_tc). */
#top .togglecontainer.js_active .toggle_wrap { display: none; }
#top .togglecontainer.js_active .toggle_wrap.active_tc { display: block; position: static; visibility: visible; left: 0; width: auto; }
