/* generated by scripts/mobile-fit.mjs */
:root{--e3pm-bar:#666666;--e3pm-panel:#555555;--e3pm-fg:#ffffff;--e3pm-accent:#333333;--e3pm-accent-fg:#ffffff}
/* E-3 phone menu (mobile/menu.js). Same look as the WP Responsive Menu sites: 42 px bar, hamburger + MENU, list
   sliding in from the left at 80% (max 400 px). Colours come from each site's own palette (sites/mobile.json).
   Outside the phone breakpoint nothing shows; scripts/mobile-fit.mjs replaces 600 with the site's breakpoint. */
.e3pm-bar, .e3pm-panel, .e3pm-shade { display: none; }
@media only screen and (max-width: 600px) {
  html.e3pm-on { padding-top: 42px !important; } /* set by menu.js once the bar exists */
  .e3pm-bar { display: block; position: fixed; top: 0; left: 0; right: 0; height: 42px; z-index: 99990; background: var(--e3pm-bar); }
  .e3pm-toggle { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; cursor: pointer; color: var(--e3pm-fg); font: 400 20px/1 var(--e3pm-font, Arial, Helvetica, sans-serif); }
  .e3pm-toggle:focus-visible { outline: 2px solid var(--e3pm-fg); outline-offset: -4px; }
  .e3pm-burger { position: relative; width: 28px; height: 20px; }
  .e3pm-burger i, .e3pm-burger::before, .e3pm-burger::after { content: ""; position: absolute; left: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--e3pm-fg); transition: transform .2s, opacity .2s, top .2s; }
  .e3pm-burger::before { top: 0; } .e3pm-burger i { top: 8.5px; } .e3pm-burger::after { top: 17px; }
  .e3pm-open .e3pm-burger::before { top: 8.5px; transform: rotate(45deg); }
  .e3pm-open .e3pm-burger i { opacity: 0; }
  .e3pm-open .e3pm-burger::after { top: 8.5px; transform: rotate(-45deg); }
  .e3pm-shade { position: fixed; inset: 42px 0 0 0; z-index: 99991; background: rgba(0,0,0,.55); }
  .e3pm-panel { position: fixed; top: 42px; bottom: 0; left: 0; z-index: 99992; width: 80%; max-width: 400px; overflow-y: auto; background: var(--e3pm-panel); transform: translateX(-100%); transition: transform .25s ease; visibility: hidden; }
  .e3pm-open .e3pm-shade { display: block; }
  .e3pm-panel { display: block; }
  .e3pm-open .e3pm-panel { transform: none; visibility: visible; }
  .e3pm-panel ul { list-style: none; margin: 0; padding: 0; text-align: left; }
  .e3pm-panel li { position: relative; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .e3pm-panel a { display: block; min-height: 48px; box-sizing: border-box; padding: 15px 56px 13px 14px; color: var(--e3pm-fg) !important; font: 400 15px/20px var(--e3pm-font, Arial, Helvetica, sans-serif) !important; text-transform: uppercase; text-decoration: none !important; background: none; }
  .e3pm-panel li.e3pm-current > a { background: var(--e3pm-accent); color: var(--e3pm-accent-fg, #fff) !important; }
  .e3pm-panel ul ul a { padding-left: 30px; font-size: 14px !important; }
  .e3pm-sub { all: unset; position: absolute; top: 0; right: 0; width: 48px; height: 48px; cursor: pointer; }
  .e3pm-sub::after { content: ""; position: absolute; top: 18px; left: 19px; width: 9px; height: 9px; border-right: 2px solid var(--e3pm-fg); border-bottom: 2px solid var(--e3pm-fg); transform: rotate(45deg); transition: transform .2s; }
  .e3pm-sub[aria-expanded="true"]::after { top: 22px; transform: rotate(-135deg); }
  .e3pm-sub:focus-visible { outline: 2px solid var(--e3pm-fg); outline-offset: -4px; }
}
@media only screen and (max-width: 600px) {
  .e3pm-panel a[role="button"] { cursor: pointer; }
}

/* hmsalondayton.com on phones: the five-item desktop menu wrapped into two rows of small text; it becomes the
   E-3 phone menu (same items) like srsheetmetal.com. Tablets keep the one-row desktop menu. */
@media only screen and (max-width: 600px) {
  #et-top-navigation, #top-menu-nav, #et_mobile_nav_menu { display: none !important; }
  #main-header { min-height: 0 !important; }
  #footer-bottom p, #footer-bottom a, #footer-info, #footer-info a { font-size: 13px !important; line-height: 1.6 !important; }
}

