/* Main menu parents with children: the label is a link, the arrow beside it opens the dropdown (see js/menu.js). */
.es-nav-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.es-nav-split > .nav-link:first-child {
  padding-right: 0.125rem;
}
.es-nav-split > .es-nav-caret {
  padding-left: 0.25rem;
  padding-right: 0.5rem;
  background: none;
  border: 0;
  color: inherit;
}
.es-nav-split > .dropdown-menu {
  flex-basis: 100%;
}

/* Desktop with a mouse: the dropdown also opens on hover and keyboard focus. */
@media (hover: hover) and (min-width: 992px) {
  .es-nav-split {
    position: relative;
  }
  .es-nav-split:hover > .dropdown-menu,
  .es-nav-split:focus-within > .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
  }
}
