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

/* Phone menu button: was light grey (#dadada, 1.4:1) and 21 px wide. Dark blue, 44x44 tap area. */
.fusion-header .fusion-mobile-menu-icons a { color: #0353a0; font-size: 26px; width: 44px; height: 44px; line-height: 44px; display: flex; align-items: center; justify-content: center; }
.fusion-header .fusion-mobile-menu-icons a:hover, .fusion-header .fusion-mobile-menu-icons a:focus { color: #022f5c; }
/* Open phone menu: the current page was white on light grey. White on dark blue instead. */
body .fusion-header .fusion-mobile-nav-holder .fusion-mobile-current-nav-item > a { background-color: #0353a0; }
/* The menu opened inside a 180 px box 125-150 px from the left edge. Open it full width under the header instead. */
.fusion-header:has(.fusion-mobile-menu-expanded) { position: relative; }
.fusion-header:has(.fusion-mobile-menu-expanded) .fusion-row, .fusion-header:has(.fusion-mobile-menu-expanded) .header-right-side > div, .fusion-header:has(.fusion-mobile-menu-expanded) #menunav { position: static; }
.fusion-header .fusion-mobile-nav-holder.fusion-mobile-menu-expanded { position: absolute; left: 0; right: 0; top: 100%; width: auto; margin: 0; z-index: 10000; background: #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, .15); }

/* Contact page header: the theme default was a metal-roof photo. Use the pool photo the service pages use. */
.page-id-14 .fusion-page-title-bar { --page_title_bg: url("/wp-content/uploads/2019/02/pool-deck-resurfacing-tallahassee.jpg"); --page_title_bg_retina: var(--page_title_bg); background-image: url("/wp-content/uploads/2019/02/pool-deck-resurfacing-tallahassee.jpg"); }

/* The child theme's phone rules (Avada-Child-Theme/style.css) use max-device-width, which follows the screen, not the
   window. Firefox (and any narrow desktop window) then kept the desktop top bar: a 300 px blank band in the phone
   header. The same rules by window width: */
@media only screen and (max-width: 450px) {
  .wpcf7-form input[type=submit] { width: 100% !important; }
  .fusion-button-wrapper { margin: 10px auto 0 auto !important; text-align: center !important; display: block !important; float: none !important; }
  .page-id-14 .wpcf7-form .wpcf7-captchar, .page-id-14 .wpcf7-form .wpcf7-date, .page-id-14 .wpcf7-form .wpcf7-number, .page-id-14 .wpcf7-form .wpcf7-quiz, .page-id-14 .wpcf7-form .wpcf7-text { border-radius: 4px; margin-bottom: 5px; height: 35px !important; color: #aaa9a9; background-color: #ffffff; border: 1px solid #d2d2d2; font-size: 13px; padding: 4px 10px; font: 100% Arial, Helvetica, sans-serif; vertical-align: middle; }
  .page-id-14 .wpcf7-form textarea { border-radius: 4px; margin-bottom: 5px; height: 100px !important; color: #aaa9a9; background-color: #ffffff; border: 1px solid #d2d2d2; font-size: 13px; padding: 4px 10px; font: 100% Arial, Helvetica, sans-serif; vertical-align: middle; }
  #wpcf7-f776-p14-o1 .col-sm-12 { float: left; width: 100%; margin-bottom: 10px; }
  #wpcf7-f776-p14-o1 .fusion-columns.fusion-clearfix { margin-bottom: 0px !important; }
  .page-id-14 .fusion-column-wrapper { background: #f5f5f5 !important; }
}
@media only screen and (max-width: 768px) {
  .myframe { width: 100%; height: auto !important; }
  .mycopy_txt { text-align: center; width: 100%; }
  ul.custom-menu { float: left; list-style: none; padding: 0; margin: 0 0 50px 0; width: 100%; text-align: center; }
  .custom-menu li, .custom-menu li a { width: 100%; }
  input.wpcf7-form-control.wpcf7-submit.landing-frm_submit { margin-bottom: 20px; }
  .lndg-frm-phone-top { font-size: 22px !important; }
  .center-botm .fusion-button-wrapper { width: 100%; }
  .discount-buton .fusion-button-wrapper { width: 100% !important; margin: 0 auto !important; }
  #sticky-phone { display: block; }
  .inner-form { margin: 0px !important; }
  .inner-form .blue-form h3.slider-form-title { font-size: 28px !important; }
  .installatin-width { width: 100% !important; }
  .newheader-top-bar, #menunav:before, .fusion-header:after, .header-social { display: none; }
  .fusion-mobile-menu-icons a { line-height: 42px; }
  .phnslidrtop { font-size: 16px !important; line-height: 16px !important; }
  .phnslidrmed { font-size: 35px !important; line-height: 30px !important; }
  .phnslidrbot { font-size: 32px !important; line-height: 30px !important; }
  .fusion-button-wrapper .fusion-button.button-flat.redbuton { padding: 12px !important; }
  .whitebg { background-color: #ffffff !important; background-image: none !important; padding: 20px !important; }
  .triangle-bg { background-image: none !important; padding-top: 60px !important; }
  .banner-box { padding-left: 50px !important; }
  .banner-box .banner-top { font-size: 15px !important; }
  .thirty, .seventy, .copy-left, .copy-right { width: 100% !important; }
  .section-leaf-top { font-size: 28px !important; line-height: 28px !important; }
  .section-top { font-size: 20px !important; line-height: 20px !important; }
  .section-bottom { font-size: 12px !important; line-height: 15px !important; }
  .border-dashed-right { border-right: 0px !important; }
  .circl-img-border .fusion-column-wrapper { padding: 15px 0px !important; }
  .fusion-column-wrapper .title { margin: 10px 0px !important; }
  .callleft-img .fusion-column-wrapper { background-image: none !important; padding-left: 0px !important; }
  .calltitel-top { font-size: 18px !important; line-height: 18px !important; }
  .callbottile { font-size: 14px !important; line-height: 20px !important; }
  .callbuton span { font-size: 14px !important; padding: 12px !important; }
  .callbuton { padding: 12px !important; margin-bottom: 20px !important; }
  .egreen-text-large, .choosebot { font-size: 22px !important; }
  .img-border-line { margin-bottom: 20px !important; }
  .min-height .fusion-column-wrapper { min-height: 90px !important; }
  .all-border { border: 1px solid #ececec !important; }
  .discount-top { font-size: 25px !important; line-height: 25px !important; }
  .discount-bottm { font-size: 25px !important; line-height: 30px !important; }
  .disc-text { font-size: 18px !important; line-height: 18px !important; }
  .faq-ques { font-size: 16px !important; line-height: 16px !important; }
  .faq-box { padding-left: 10px !important; }
  .faq-box:before { display: none !important; }
  .fusion-button, .building .fusion-column-wrapper .fusion-imageframe { width: 100% !important; }
  .testimon .fusion-layout-column { margin-top: 0px !important; }
  .menu-text, .fusion-caret { border-right: 0px solid rgba(37, 37, 37, 0.35); }
  .banner-box:before { left: 0px; }
  .welcome_title { font-size: 17px !important; line-height: 24px !important; }
}
/* Its desktop-only "img { width: 100% }" is screen-based too, and stretched the logo across a narrow window. */
@media only screen and (max-width: 1024px) {
  .fusion-header img.fusion-standard-logo { width: auto !important; }
  .fusion-header img.fusion-mobile-logo { width: 180px !important; }
}
