                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        /* Styles for the LiveOak Fiber zip code popup and dynamic hero elements. */

/* Overlay that covers the entire viewport when the popup is visible. */
.lofib-zip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The modal window containing the form. */
.lofib-zip-modal {
    background: #ffffff;
    color: #333333;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    font-family: inherit;
}

/* Close button (X) in the top‑right of the modal. */
.lofib-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666666;
}
.lofib-close:hover {
    color: #333333;
}

/* Title inside the modal. */
.lofib-zip-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Zip code input field. */
.lofib-zip-input {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Dropdown select for choosing among multiple cities when a zip maps to more than one city. */
.lofib-city-select {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Submit button styling. */
.lofib-zip-submit {
    display: inline-block;
    /*
     * Use the LiveOak brand red for the zip code submit button.  This color
     * aligns the popup with other call‑to‑action elements on the site, which
     * typically use a bright red background.  Adjust the hover state below to
     * a slightly darker red for visual feedback.
     */
    background-color: #c00;
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
.lofib-zip-submit:hover,
.lofib-zip-submit:focus {
    background-color: #a30000;
    outline: none;
}

/* Error message below the submit button. */
.lofib-zip-error {
    color: #d9534f;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1em;
}

/* Dynamic hero section elements */
.lofib-headline {
    /* Use the theme's default H1 styling; only adjust margin if needed. */
    margin-bottom: 0.5rem;
}
.lofib-subhead {
    font-size: 1rem;
    margin-top: 1.5rem;
    color: #333333;
}

/* Badge images responsive behavior */
/* Both desktop and mobile badges are hidden by default. They are displayed via media queries. */
.lofib-badge-img.desktop {
   
    display: none;
    max-width: 200px;
    height: auto;
    margin-left: 1rem;
}
.lofib-badge-img.mobile {
    display: none;
    max-width: 150px;
    height: auto;
    margin-top: 0.5rem;
}
@media (min-width: 768px) {
    .lofib-badge-img.desktop {
        display: inline-block;
    }
    .lofib-badge-img.mobile {
        display: none;
    }
}
@media (max-width: 767px) {
    /* Ensure the headline container and its heading are left aligned on mobile */
    #lofib-hero .lofib-headline-container {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
    #lofib-hero .lofib-headline-container h1 {
        text-align: left;
    }
    .lofib-badge-img.desktop {
        display: none;
    }
    .lofib-badge-img.mobile {
        display: block;
    }
}

/* Hide the outdated cards image only after a zip match. This preserves the original hero until the user
   enters a valid zip code. */
.lofib-zip-matched img[src*="cards-3.png"],
.lofib-zip-matched img[src*="cards-3.png.webp"] {
    display: none !important;
}

/* Gift card image wrapper base styling.  Hidden by default via inline style. It will be positioned
   absolutely only when the zip code matches. */
.lofib-giftcard-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.lofib-giftcard-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Apply hero padding and gift card positioning only after a valid zip match. */
.lofib-zip-matched #lofib-hero {
    position: relative;
}

.lofib-zip-matched .lofib-giftcard-wrapper {
    position: absolute;
    left: 50%;
    bottom: 0;
    /* On desktop, pull the gift card up slightly so that about 20% of it overlays the hero */
    transform: translate(-50%, 20%);
    z-index: 2;
    width: 90%;
}
.lofib-zip-matched .lofib-giftcard-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile‑specific adjustments.  On small screens we avoid overlaying the gift
 * card on top of the hero and instead place it directly below the hero.
 * We also remove extra padding from the hero and reset any reserved space
 * allocated for the desktop badge.  This prevents the badge and gift card
 * from overlapping or causing awkward spacing on mobile devices. */
@media (max-width: 767px) {
    /* Increase the hero's bottom padding on mobile so the gift card can overlay the
     * purple hero background without sitting on top of the call‑to‑action buttons. */

    /* On mobile the gift card should still overlap the edge of the hero like on
     * desktop. We keep it absolutely positioned and pull it down by roughly
     * one‑third of its height. A slightly larger width is used on small screens. */
    .lofib-zip-matched .lofib-giftcard-wrapper {
        position: absolute;
        left: 50%;
        bottom: 0;
        /* Pull the card down by roughly one‑fifth of its height on mobile to
         * achieve a subtle overlap with the hero background without covering
         * the call‑to‑action buttons. */
        transform: translate(-50%, 10%);
        width: 95%;
        margin: 0;
    }

    /* Left align the mobile badge directly beneath the headline.
     * Use !important to override any earlier rules that may center the
     * badge with auto margins. */
    .lofib-badge-img.mobile {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0.5rem;
        margin-bottom: 1rem; /* extra spacing under badge */
    }


}

/* Headline container to hold the H1 and desktop badge together. The badge is absolutely positioned
   within this container so it sits to the right of the entire headline text. */
/* The headline container uses flexbox so the heading and badge sit side by side without overlapping. */
/* The headline container reserves space on the right for the desktop badge so the text does not wrap underneath it. */

.lofib-headline-container {
    position: relative;
    /*
     * Reserve more horizontal space to the right of the hero headline for the
     * Google ratings badge. In earlier revisions, the 12rem padding left
     * insufficient room, causing the badge to butt up against the text and
     * forcing single words onto new lines. Increasing this value creates
     * enough breathing room so the heading can wrap naturally while the badge
     * sits comfortably to the right. Feel free to tweak this value if the
     * badge graphic changes size in the future.
     */
    
    display: block;
}
.lofib-headline-container h1 {
    margin: 0;
}


@media (min-width: 767px) {
.page-id-1379 .hero-slider-item-content h2, .hero-slider-item-content h1 {
	font-size: 1.8vw;
padding-bottom:15px;
}
}
	@media (max-width: 767px) {
		.lofib-headline-container .hero-slider-item-content h2, .hero-slider-item-content h1 {
			font-size: 26px !important;
		}
	}
/* H1 line stacking */
#lofib-hero .lofib-headline {
  margin: 0;
}

#lofib-hero .lofib-h1-line {
  display: block;
}

/* Desktop: line 2 becomes a row: "internet in City." + badge */
@media (min-width: 768px) {
  #lofib-hero .lofib-h1-line-2 {
    display: inline-flex;
    align-items: center;
    gap: 16px;                 /* breathing room from text */
    flex-wrap: nowrap;
  }

  #lofib-hero .lofib-h1-line2-text {
    display: inline-block;
    white-space: nowrap;       /* keep "internet in City." as one unit */
  }

  #lofib-hero .lofib-badge-img.desktop {
    display: inline-block;
    max-width: 220px;
    height: auto;
    /* Add a bit of margin on the left so the badge does not butt up against the city name */
    margin-left: 1rem;
  }
	.hero-slider-item-content img.lofib-badge-img.desktop {
		margin-left:0 !important;
	}
}

/* Mobile: left aligned, badge is NOT inline with the city */
@media (max-width: 767px) {
  #lofib-hero .hero-slider-item-content-text {
    text-align: left;          /* mobile is left-aligned per your requirement */
  }

  #lofib-hero .lofib-h1-line-2 {
    display: block;            /* no inline badge row on mobile */
  }

  #lofib-hero .lofib-h1-line2-text {
    white-space: normal;
  }

  /* mobile badge below subhead (your JS inserts it there) */
  #lofib-hero .lofib-badge-img.mobile {
    display: block;
    max-width: 220px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 18px;       /* your “one more line break under badge” */
    /* Reset horizontal margins so the badge aligns with the left edge of the hero text.
     * Use !important to ensure that auto margins from earlier rules do not
     * override this on small screens. */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* Hide the Limited Time Offer image (Group-65) ONLY after zip is matched */
.lofib-zip-matched #lofib-hero .hero-slider-item-content-text > p:first-of-type img[src*="Group-65"] {
  display: none !important;
}
.page-id-8142 .header-nav-wrapper {
	display:none !important;
}
.page-id-8142 .desktop-only.header-top {
	display:none !important;
}
@media (min-width: 768px) {
.page-id-8142 .header-nav .flex.flex-space-between.flex-align-center {
	justify-content:center;
}
}
.page-id-8142 #mobile-menu-toggle {
	display:none !important;
}


/* Ensure the desktop badge starts with no margins so it can be precisely positioned later */
.lofib-badge-img.desktop {
  display: none;
  max-width: 200px;
  height: auto;
  margin: 0;
}

/* Desktop adjustments (min-width: 768px) */
@media (min-width: 768px) {

  /* Show the desktop badge on its own line, aligned left, with spacing above and below */
  .lofib-badge-img.desktop {
    display: block;
    max-width: 220px;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  /* Hide the mobile badge on desktop */
  .lofib-badge-img.mobile {
    display: none;
  }

  /* Wrap the CTA <ul> and the desktop badge together for horizontal alignment */
  .lofib-cta-container {
    display: flex;
    align-items: center;
    gap: 1rem; /* space between buttons and badge */
  }
}
.page-id-8142 #front-chat-iframe {
	display:none;
}
/* Desktop CTA row alignment */
@media (min-width: 768px) {
  .lofib-cta-container {
    display: flex;
    align-items: center;          /* vertical alignment */
    gap: 16px;
  }

  /* Normalize button height */
  .lofib-cta-container .btn.check-availability-button {
    height: 56px;                 /* pick the button’s real visual height */
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  /* Match Google badge height to button */
  .lofib-cta-container .lofib-badge-img.desktop {
    height: 56px;                 /* MUST match button height */
    width: auto;
    display: block;
  }

  /* Remove any inherited margins that break alignment */
  .lofib-cta-container .lofib-badge-img.desktop {
    margin: 0 !important;
  }
}
@media (max-width: 767px) {
  .page-id-8142 a.mobile-only[href*="portal.liveoakfiber.com"] {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .hero-slider-item-content-text ul {
    display: flex;
    gap: 10px;
  }

  .hero-slider-item-content-text ul li {
    display: flex;
  }

  .hero-slider-item-content-text ul li a.btn {
    height: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 18px;
    box-sizing: border-box;
  }
}
/* Full blackout overlay + prevent the page showing through */
.lofib-zip-overlay{
  background: rgba(0,0,0,0.95); /* was 0.6 */
  backdrop-filter: blur(20px);   /* optional, remove if you don't want blur */
}

/* Stop the page from scrolling while popup is open */
body.lofib-zip-open{
  overflow: hidden !important;
}
