/* Header (template 4971). Owner: HDR. Only what the Elementor controls cannot do. */

/* Background (R1, R2) is native: rows 63141e4 (desktop) and e47990c (tablet and phone) are transparent over the hero and
   sticky "Always"; their Sticky Appearance background is rgba(0,17,36,.9) once the page is scrolled. Nothing here. */

/* Transparent state only: the hero video brightens behind the right of the menu (the window at 1920px), so the white links
   get a soft navy text shadow there. No band is drawn; once the bar is sticky (navy 90%) the shadow is not needed. */
body.page-id-5703 header.top_panel .elementor-element-63141e4:not(.sc_layouts_row_fixed_on) .trx-addons-main-nav-menu > li > .trx-addons-menu-link{text-shadow:0 1px 2px rgba(0,17,36,.45),0 2px 14px rgba(0,17,36,.55)}

/* Header focus: no white rings anywhere in the header (the client saw one around "Request A Quote").
   Keyboard focus uses the brand orange. !important only because the theme forces a grey dotted outline with
   !important (body.show_outline :focus); mouse and touch focus get no ring at all. */
body.page-id-5703 header.top_panel :is(.sc_layouts_logo,.trx-addons-menu-link,.trx-addons-hamburger-toggle,.trx-addons-mobile-menu-close):focus:not(:focus-visible){outline:none!important}
body.page-id-5703 header.top_panel :is(.sc_layouts_logo,.trx-addons-menu-link,.trx-addons-hamburger-toggle,.trx-addons-mobile-menu-close):focus-visible{outline:2px solid #D94D06!important;outline-offset:4px;border-radius:4px}
/* The logo sits flush with the top of the bar, so its ring is drawn inside the link to stay fully visible. */
body.page-id-5703 header.top_panel .sc_layouts_logo:focus-visible{outline-offset:-2px}

/* R3: the header "Request A Quote" buttons (b334ff9, 2c923df) never draw an outline or border: not at rest, on hover,
   after a click, or after the jump to #contact. :not(#lz-hdr) lifts this above the ID-weighted white focus colour that
   00-base.css sets for dark bands (its :is(#home,...) list). */
body.page-id-5703 header.top_panel:not(#lz-hdr) .lz-hdr-cta .elementor-button,
body.page-id-5703 header.top_panel:not(#lz-hdr) .lz-hdr-cta .elementor-button:is(:hover,:focus,:focus-visible,:active){outline:0 none transparent!important;border:0!important}
/* Keyboard users still get a clear cue that is not white: the darker hover orange plus an orange ring behind a navy gap. */
body.page-id-5703 header.top_panel:not(#lz-hdr) .lz-hdr-cta .elementor-button:focus-visible{background-color:#AD3C00;box-shadow:0 0 0 2px #001124,0 0 0 4px #D94D06}

/* A closed slide menu sits off screen: keep it out of the Tab order (it stays visible while it slides open or shut). */
body.page-id-5703 header.top_panel .trx-addons-mobile-menu-outer-container:not(.trx-addons-vertical-toggle-open){visibility:hidden}

/* Logged in on a phone (under 600px) the admin bar overlaps the top of the open slide menu: move its close X below the bar.
   22px is the theme's phone margin for the X, plus the 46px admin bar. Visitors never see the admin bar. */
@media (max-width:600px){
body.page-id-5703.admin-bar header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-outer-container .trx-addons-mobile-menu-close{margin-top:68px}
}

/* Phone and tablet header and slide menu (555b5e8), up to 1279px. Nothing here moves or resizes what is drawn: the bar
   height, icon sizes and link rhythm stay as they are; only tap areas, short-screen fitting and scroll containment change. */
@media (max-width:1279px){
/* 44x44 tap areas around the 28px hamburger, the 24px X and the header "Request A Quote" button. */
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-hamburger-toggle{position:relative}
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-hamburger-toggle::before{content:"";position:absolute;inset:-8px}
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-close{z-index:3}
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-close::before{content:"";position:absolute;inset:-10px}
body.page-id-5703 header.top_panel .elementor-element-2c923df .elementor-button{position:relative}
body.page-id-5703 header.top_panel .elementor-element-2c923df .elementor-button::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
/* The link list is centred with auto margins instead of justify-content:center, so on a screen shorter than the list
   it starts at "Home" and scrolls, rather than pushing "Home" above the top where it cannot be reached. */
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-outer-container{justify-content:flex-start;overscroll-behavior:contain}
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-container{margin-top:auto;margin-bottom:auto;padding-right:24px;box-sizing:border-box}
/* Each link is a 44px tap target; the gap between links shrinks by the same amount, so the spacing looks unchanged. */
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-container .trx-addons-main-nav-menu>li>a{min-height:44px;align-items:center}
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-container .trx-addons-main-nav-menu>li{margin-top:8.8px;margin-bottom:8.8px}
/* Focus moved by script (the drawer on a tap open, the chosen section after a keyboard choice) draws no ring. */
body.page-id-5703 #lz-site-menu:focus,body.page-id-5703 .lz-menu-target:focus{outline:none!important}
}
@media (max-width:767px){
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-container .trx-addons-main-nav-menu>li{margin-top:6.8px;margin-bottom:6.8px}
}
/* Short screens (phones in landscape): all seven links and the X fit without scrolling. */
@media (max-width:1279px) and (max-height:500px){
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-outer-container{padding-top:12px;padding-bottom:12px}
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-container .trx-addons-main-nav-menu>li{margin-top:0;margin-bottom:0}
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-container .trx-addons-main-nav-menu>li>a{font-size:20px;padding-top:0;padding-bottom:0}
}
@media (max-width:1279px) and (max-height:340px){
body.page-id-5703 header.top_panel .elementor-element-555b5e8 .trx-addons-mobile-menu-container .trx-addons-main-nav-menu>li>a{min-height:42px}
}

/* Very small phones (under 360px): the logo, the orange CTA and the menu toggle still fit on one line. */
@media (max-width:359px){
body.page-id-5703 header.top_panel .elementor-element-e47990c{--gap:10px;gap:10px}
body.page-id-5703 header.top_panel .elementor-element-7e45965{gap:8px}
body.page-id-5703 header.top_panel .lz-hdr-cta .elementor-button{padding:10px 12px;font-size:13px}
body.page-id-5703 header.top_panel .lz-hdr-cta .elementor-button-icon{display:none}
}
