/* 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}

/* ---- Long Beach Epoxy fixes (QA round 1) ---- */

/* Heading font: the theme's own file went with WordPress, so headings fell back to Times. Source Serif 4 is in heading-font.css. */
h1, h2, h3, h4, h5, h6, .ct-headline { font-family: 'Source Serif 4 LB', Georgia, 'Times New Roman', serif; }

/* Nothing may be wider than the screen: columns can shrink, and form fields were sized by their size="40" attribute. */
html, body { max-width: 100%; }
.ct-div-block, .ct-new-columns, .ct-section-inner-wrap, .oxy-rich-text { min-width: 0; max-width: 100%; box-sizing: border-box; }
.ct-code-block, .ct-shortcode { max-width: 100%; width: 100%; box-sizing: border-box; }
.wpcf7, .wpcf7 form { max-width: 100%; width: 100%; box-sizing: border-box; }
.wpcf7-form-control-wrap { display: block; width: 100%; }

/* Lead form: one dark panel with visible fields on every page (white page or photo behind it). */
.contact-form-main { box-sizing: border-box; width: 100%; max-width: 520px; background: rgba(22, 22, 22, .92); padding: 22px 24px; border-radius: 4px; color: #fff; font-family: Arial, Helvetica, sans-serif; }
.contact-form-main p { margin: 0 0 12px; }
.contact-form-main .form_title p { margin: 0 0 6px; font-size: 28px; font-weight: 700; line-height: 1.1; color: #fff; }
.contact-form-main .form_desc { color: #fff; font-size: 17px; line-height: 1.35; }
.contact-form-main .form_desc_btm { display: block; margin: 4px 0 12px; font-size: 15px; }
.contact-form-main .field p { margin: 0 0 12px; }
.contact-form-main input[type="text"], .contact-form-main input[type="email"], .contact-form-main input[type="tel"], .contact-form-main textarea {
  display: block; width: 100%; max-width: 100%; box-sizing: border-box; margin: 0; padding: 11px 12px; background: #fff; color: #1a1a1a;
  border: 1px solid #b5b5b5; border-radius: 2px; font: 16px/1.3 Arial, Helvetica, sans-serif;
}
.contact-form-main textarea { height: 110px; min-height: 110px; resize: vertical; }
.contact-form-main ::placeholder { color: #5a5a5a; opacity: 1; }
.contact-form-main input:focus, .contact-form-main textarea:focus { outline: 3px solid #ffb3b3; outline-offset: 0; }
.contact-form-main input[type="submit"], .contact-form-main button[type="submit"] {
  display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 14px 18px; border: 0; border-radius: 2px; background: #bb0000; color: #fff;
  font: 700 17px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .5px; text-transform: uppercase; cursor: pointer;
}
.contact-form-main input[type="submit"]:hover { background: #d40000; }
.contact-form-main .wpcf7-response-output { margin: 12px 0 0; color: #fff; }
.contact-form-main .wpcf7-not-valid-tip { color: #ffb3b3; }
#contact-form { scroll-margin-top: 100px; }

/* Homepage hero: dark overlay and light heading so the text reads on the floor photo. The brand red stays elsewhere. */
#section-2-8 { background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(/wp-content/uploads/2022/06/1-LONG-BEACH.jpg); }
#headline-9-8 { color: #fff; }
#link_button-43-8 { background-color: #007d12; border-color: #007d12; }

/* Header: the theme's menu script is gone. One menu: the link list from 992px up, the phone button (site.js) below. */
.oxy-pro-menu { display: none !important; }
@media (min-width: 992px) {
  #_nav_menu-8-6 { display: block !important; }
  #_nav_menu-8-6 .oxy-nav-menu-list { display: flex !important; flex-direction: row; }
  #_nav_menu-8-6 .oxy-menu-toggle { display: none !important; }
}
@media (max-width: 991px) {
  #_nav_menu-8-6 { display: none !important; }
  .oxy-header-left, .oxy-header-left .ct-link { max-width: calc(100vw - 84px); }
  .oxy-header-left img { max-width: 100%; height: auto; }
}

/* Breadcrumb line that replaced the raw [rank_math_breadcrumb] code. */
.crumbs { font-size: 15px; line-height: 1.4; }
.crumbs a { color: inherit; text-decoration: underline; }
.crumbs .sep { padding: 0 6px; }

/* Wide tables in blog posts scroll inside the page instead of widening it. */
.oxy-rich-text table { display: block; max-width: 100%; overflow-x: auto; }
#_nav_menu-8-6 .menu-item a { white-space: nowrap; }
#div_block-11-144 { justify-content: flex-start; }
.contact-form-main input[type="text"], .contact-form-main input[type="email"], .contact-form-main input[type="tel"] { height: auto !important; min-height: 46px; }
.contact-form-main input[type="submit"], .contact-form-main button[type="submit"] { height: auto !important; min-height: 52px; }
