/* This causes TOC highlighting wrong section, and styles not working in chrome */
/* Leaving here for future reference */
/* .md-header:not(:last-of-type) {
  position: unset; // Only last navbar is sticky if there are multiple
} */

.md-header {
  background-color: var(--pcllab-darker-bg-color);
}
.md-header .dropdown-list{
  background-color: var(--pcllab-darker-bg-color--light);
}

.md-header__title {
  margin-right: 0.8rem;
  margin-left: 0.8rem;
}
.md-header__inner {
  flex-wrap: wrap;
  padding: 0;
}

.dropdown-list li {
  padding: 0;
  list-style: none;
}

.dropdown-list {
  display: none;
  margin: 0;
  padding: 0;
  width: 100%; /* cause flex-wrap to new row */
  font-size: 14px;
}

.dropdown-item {
  width: 100%;
}

.dropdown-menu {
  top: 100%;
  display: none;
  background-color: var(--md-primary-bg-color);
  color: var(--pcllab-light-fg-color);
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding-left: 8px;
}
.show {
  display: block;
}
.nav-link {
  display: block;
  padding: 0.6rem 0.8rem;
}
.nav-link:hover {
  color: var(--md-accent-fg-color);
}

.active {
  color: var(--md-typeset-a-color);
}

.hideOnMobile {
  display: none;
}

/* @media screen and (min-width: 76.1875em) { */
@media screen and (min-width: 59.9375em) {
  .onlyShowOnMobile {
    display: none;
  }
  .hideOnMobile {
    display: block;
  }
  .dropdown-menu {
    position: absolute;
    margin: 0;
    border-radius: 4px;
    padding: 0;
  }
  .dropdown-list {
    display: flex;
    width: unset;
    flex-direction: row;
  }

  /* Reset colors to match navigation bar */
  .md-header .dropdown-list{
    background-color: var(--pcllab-darker-bg-color);
  }

  #header-burger {
    display: none;
  }
  #handbook-header-burger {
    display: none;
  }
}
