:root {
    --md-accent-fg-color: #00796b !important;
}

img {
  display: block;
  margin: auto;
  margin-top: 5px;
}

[data-md-color-scheme="slate"] .dark-mode-light-bg,
[data-md-color-scheme="dark"] .dark-mode-light-bg {
  background-color: #FAFAFA;
  color: black;
  border-radius: 6px;
  padding: 3px;
  margin-top: 8px;
  margin-bottom: 8px;
}

/* External link icon for nav items */
.md-nav--primary .md-nav__link[href^="http"]::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  position: relative;
  top: 0.15em;
  background-color: currentColor;
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>');
  mask-size: contain;
  -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>');
  -webkit-mask-size: contain;
}

/* Spacer before "Terms And Conditions" in sidebar nav */
.md-nav--primary > .md-nav__list > .md-nav__item:nth-child(9) {
  margin-top: 0.6em;
  padding-top: 0.6em;
}

[data-md-color-scheme="default"] .light-mode-dark-bg,
[data-md-color-scheme="white"] .light-mode-dark-bg {
  background-color: #1E2129;
  color: white;
  border-radius: 6px;
  padding: 3px;
  margin-top: 8px;
  margin-bottom: 8px;
}
