.md-search__button::before {
  background-color: currentColor;
}

.md-search__button::after {
  opacity: 0;
}

.md-search__button:hover::after {
  opacity: 1;
}

.py2exe-external-links {
  background: var(--md-default-bg-color);
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}

.py2exe-external-links__list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0.2rem 0.8rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  list-style: none;
}

.py2exe-external-links__list li {
  flex: 0 0 auto;
}

.py2exe-external-links__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.6rem;
  color: var(--md-default-fg-color--light);
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.py2exe-external-links__list a:hover,
.py2exe-external-links__list a:focus-visible {
  color: var(--md-typeset-a-color);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.py2exe-external-links__list a:focus-visible {
  outline: 2px solid var(--md-typeset-a-color);
  outline-offset: 1px;
  border-radius: 2px;
}

.py2exe-external-links__icon {
  flex-shrink: 0;
  font-size: 0.8em;
}

.py2exe-external-links + .md-main .md-main__inner {
  margin-top: 0.4rem;
}

.py2exe-external-links + .md-main .md-typeset h1 {
  margin-bottom: 0.6em;
}

.py2exe-page-history {
  margin-top: 2rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--md-default-fg-color--lightest);
  font-size: 0.7rem;
}

.py2exe-not-found-navigation {
  display: contents;
}

.py2exe-not-found-navigation .md-sidebar--secondary {
  display: none;
}

.py2exe-not-found {
  max-width: 32rem;
  margin-inline: auto;
  padding: clamp(2rem, 7vw, 4rem) 0 3rem;
  text-align: center;
}

.md-typeset .py2exe-not-found__code {
  margin: 0 0 0.2em;
  color: var(--md-primary-fg-color);
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.md-typeset .py2exe-not-found__title {
  color: var(--md-default-fg-color);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.md-typeset .py2exe-not-found__actions {
  margin-block: 1.6rem;
}

.md-typeset .py2exe-not-found__help {
  color: var(--md-default-fg-color--light);
  font-size: 0.7rem;
}

.py2exe-not-found a:focus-visible {
  outline: 2px solid var(--md-typeset-a-color);
  outline-offset: 4px;
}

@media screen and (min-width: 76.25em) {
  .py2exe-not-found-navigation {
    display: none;
  }
}

@media (max-width: 44.984375em) {
  .py2exe-external-links + .md-main .md-content__inner {
    padding-top: 0;
  }

  .py2exe-external-links + .md-main .md-content__inner::before {
    display: none;
  }
}
