/* The version switch javascripts/version-switch.js draws at the right of the header, with
   Material's own .md-version classes: centred like the icons beside it, tight margins, a list that
   opens leftwards so it stays inside the header, and an item under the pointer that keeps its
   color. Copied into each released version's build as well (scripts/docs.sh build-all). */
.md-header__inner > .md-version {
  position: relative;
  display: flex;
  align-items: center;
}

.md-header__inner > .md-version .md-version__current {
  top: 0;
  margin-left: 0.4rem;
  margin-right: 0.4rem;
}

.md-header__inner > .md-version .md-version__list {
  right: 0;
  margin-right: 0;
}

.md-version__link:hover,
.md-version__link:focus {
  color: inherit;
  background-color: var(--md-default-fg-color--lightest);
}
