/**
 * Keep the 11-item primary menu on one line on desktop and tablet widths.
 * The theme default (38px gaps) wraps BM Centre, Brainbender and Contact
 * onto a second or third row below about 1600px.
 */
@media (min-width: 992px) {
  #apus-header.header-v1 .table-visiable {
    table-layout: fixed;
  }
  #apus-header.header-v1 .table-visiable > div:first-child {
    width: 170px;
  }
  #apus-header.header-v1 .table-visiable > div:last-child {
    width: 56px;
  }
  #apus-header.header-v1 .table-visiable > div.p-static {
    width: auto;
  }
  #apus-header.header-v1 .logo img {
    max-width: 100%;
    height: auto;
  }
  #apus-header.header-v1 .navbar-nav.megamenu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
  }
  #apus-header.header-v1 .navbar-nav.megamenu > li {
    margin-right: 0;
    flex: 0 1 auto;
  }
  #apus-header.header-v1 .navbar-nav.megamenu > li > a {
    white-space: nowrap;
    padding: 5px 4px;
    font-size: 13px;
  }
  /* Dropdown hover bridge must not intercept clicks if the menu ever wraps */
  #apus-header.header-v1 .navbar-nav.megamenu > li:before {
    pointer-events: none;
  }
}
@media (min-width: 1400px) {
  #apus-header.header-v1 .navbar-nav.megamenu > li > a {
    font-size: 14px;
    padding: 5px 6px;
  }
}
