html,
body {
  font-family: "Sora", sans-serif;
  scrollbar-gutter: auto;
}
* {
  font-family: inherit;
}
:root {
  --naiss-header-size: 6.5rem;
  --naiss-footer-size: 2rem;
  --naiss-bg-color: #d6d6ec;
  --naiss-bg-color-button: #004791;
  --naiss-bg-color-button-hover: #6298d2;
  --naiss-header-color: #182637;
}
.md-button:link,
.md-button:visited,
.md-button:active,
.md-button {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    font-size: 0.7rem;
    color: white;
    background-color: #004791;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    }
.md-button:hover {
    background-color: #6298d2 !important;
    color: white;
    }
/*
* Small adjustment to avoid overflow on short pages
* Default is 1.5rem
*/
.md-main__inner {
  margin-top: 1.2rem !important;
}
.md-sidebar {
  box-shadow: none;
  border-bottom: none;
}
.md-container {
  margin-top: calc(var(--naiss-header-size) + 0.5rem);
}
.md-sidebar__scrollwrap {
  height: calc(
    100vh - var(--naiss-header-size) - var(--naiss-footer-size) - 4.5rem
  ) !important;
  margin-top: 0.5rem !important;
}
@media (min-width: 60em) {
  .md-sidebar {
    height: 100%;
    overflow-y: hidden;
  }
}
@media (max-width: 76.2344em) {
  .md-sidebar--primary {
    height: calc(
      100vh - var(--naiss-header-size) - var(--naiss-footer-size)
    ) !important;
    margin-top: calc(var(--naiss-header-size) - 0.5rem);
  }
  .md-sidebar--secondary {
  }
  .md-sidebar__scrollwrap {
    height: calc(
      100vh - var(--naiss-header-size) - var(--naiss-footer-size) - 1.5rem
    ) !important;
    margin-top: 0.5rem !important;
  }
  .md-container {
    margin-top: calc(var(--naiss-header-size) * 0.65 + 0.5rem);
  }
  .header-a {
    display: none !important;
  }
}
.md-elipsis,
.md-elipsis:link,
.md-elipsis:visited {
  color: black !important;
}
.md-ellipsis:hover {
  color: black;
  font-weight: bold;
}
h1,
h2,
h3,
h4 {
  color: var(--naiss-header-color) !important;
  font-weight: 600 !important;
}
.md-nav__title,
.md-footer,
.md-header__title {
  display: none;
}
/*
* Fix graphical glitch where 1 pixel of background shows behind arrow
*/
.md-nav__icon::after {
  width: 101% !important;
  height: 101% !important;
}
.md-header {
  display: none;
}
.md-icon {
  color: #000000 !important;
}
.header-class {
  position: fixed;
  padding: 0.65rem;
  z-index: 2000;
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 9rem repeat(5, auto) 8.9rem;
  align-content: center;
  align-items: center;
  gap: 3rem;
  justify-content: center;
  height: var(--naiss-header-size);
  background: var(--naiss-bg-color);
  color: white !important;
}
.header-class > a {
  font-weight: bold;
  font-size: 1rem;
  color: black !important;
  text-decoration-line: none;
}
.header-class > a:hover,
.header-class > a:focus {
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 0.15rem;
  text-underline-offset: 0.5rem;
}
.header-class img {
  width: 9rem;
}
.md-search {
  font-weight: bold;
  font-size: 1rem;
  color: black !important;
  padding: 0;
}
.md-header__button.md-logo {
  display: none !important;
}
@media (max-width: 76.2344em) {
  .header-class {
    height: calc(var(--naiss-header-size) * 0.65) !important;
    grid-template-columns: 2.4rem 9rem 8.9rem;
    justify-content: space-between !important;
    gap: 0 !important;
  }
}
@media (max-width: 60em) {
  .header-class {
    grid-template-columns: 2.4rem 9rem 2.4rem !important;
  }
}
.footer-class {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  background: var(--naiss-bg-color);
  padding: 0.5rem;
  gap: 0.25rem;
  min-height: var(--naiss-footer-size);
  flex-wrap: wrap;
}
.footer-class span {
  display: grid;
  gap: 0.25rem;
  text-wrap: nowrap;
}
.footer-class span:not(span:last-child)::after {
  content: " ";
  grid-column: 2;
  border-right: 0.1rem solid var(--md-typeset-color);
}
.footer-class img {
  width: 0.55rem;
  height: 0.55rem;
}

/* Remove the link to the repo */
.md-header__source {
	display: none;
}

/* Styling the tabbed environment so we get a box around the content so it stands out better */
.tabbed-set .tabbed-content .tabbed-block {
        border-style: groove !important;
        padding-left: 1em !important;
}
