/* T31 2026-11-04 portal fixes (BL-01): collapse the customer top nav into the menu button from 768 to 991px, matching the phone layout. Remove file + <link> in fb_client_theme.php to roll back. */
@media (min-width: 768px) and (max-width: 991px) {
  body.customers nav.navbar.header > .container { display: block !important; }
  body.customers nav.navbar.header > .container:before, body.customers nav.navbar.header > .container:after { display: table !important; content: " "; }
  body.customers nav.navbar.header > .container:after { clear: both; }
  body.customers nav.navbar.header .navbar-header { float: none !important; display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
  body.customers nav.navbar.header .navbar-header:before, body.customers nav.navbar.header .navbar-header:after { display: none; }
  body.customers nav.navbar.header .navbar-toggle { display: block; float: none; margin: 0; order: 2; }
  body.customers nav.navbar.header .navbar-collapse.collapse { display: none !important; }
  body.customers nav.navbar.header .navbar-collapse.collapse.in, body.customers nav.navbar.header .navbar-collapse.collapsing { display: block !important; }
  body.customers nav.navbar.header .navbar-collapse { float: none !important; width: 100%; border-top: 1px solid rgba(255,246,230,.15); box-shadow: none; overflow-y: auto; max-height: 80vh; }
  body.customers nav.navbar.header .navbar-nav { display: block !important; float: none !important; margin: 7px 0 !important; }
  body.customers nav.navbar.header .navbar-nav > li { float: none; display: block; }
  body.customers nav.navbar.header .navbar-nav > li > a { padding: 8px 0 !important; font-size: 12.5px; }
  body.customers nav.navbar.header .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; box-shadow: none; }
}
