/* Hide left navigation */
.md-sidebar--primary .md-sidebar__scrollwrap {
  display: none;
}

/* Hide bottom navigation */
.md-footer__inner.md-grid {
  display: none;
}

/* Hide search */
.md-search__form {
  display: none;
}

/* Hide topleft corner link logo pointing to main site */
.md-header__button.md-logo {
  display: none;
}

/* Improve header readability */
.md-content h1 { font-size: 3em; font-weight: bold; }
.md-content h2 { font-size: 2.5em; font-weight: bold; }
.md-content h3 { font-size: 1.5em; margin-top: 50px; font-weight: bold; }
.md-content h4 { font-size: 1.2em; margin-top: 50px; font-weight: bold; }

/* Custom table styling */
body[data-md-color-scheme="slate"] .table-striped th {
  font-weight: bold;
}
body[data-md-color-scheme="slate"] .table-striped th,
body[data-md-color-scheme="slate"] .table-striped td {
  border: 1px solid white;
  padding: 10px;
}

body[data-md-color-scheme="default"] .table-striped th,
body[data-md-color-scheme="default"] .table-striped td {
  border: 1px solid black;
  padding: 10px;
}


/* Theme style overrides */
body[data-md-color-scheme="slate"] * {
  /*--md-typeset-a-color: #e37bf6;*/
  --md-typeset-a-color: #e37bf6;
  /*--md-accent-fg-color: #e596bf;*/
  --md-accent-fg-color: #e69ff4;
}

body[data-md-color-scheme="slate"] .md-nav__link--passed {
  color: hsl(291deg 64% 85% / 40%);
}
body[data-md-color-scheme="slate"] .md-nav__link--active {
  color: var(--md-typeset-a-color);
}

/* Example Output expanding section */
body[data-md-color-scheme="slate"] details.example {
  background: #2a2b2f !important;
  border-color: #2a2b2f !important;
}
body[data-md-color-scheme="slate"] details.example summary {
  background: rgb(37 39 43) !important;
}
body[data-md-color-scheme="slate"] details.example summary::before {
  background-color: #e8ebfb !important;
}
body[data-md-color-scheme="slate"] details.example code {
  background-color: #2a2b2f !important;
}


/* "Example Output" Code Block Styling */
body[data-md-color-scheme="slate"] .example-out .filename {
  margin-top: 0px !important;
  background: #2a2b2f !important;
}

body[data-md-color-scheme="slate"] .example-out pre code {
  background: #2a2b2f !important
}

body[data-md-color-scheme="default"] .example-out .filename {
  margin-top: 0px !important;
  background: #e4e4e4 !important;
}

body[data-md-color-scheme="default"] .example-out pre code {
  background: #e4e4e4 !important;
}

/* Custom Example Admonition Styling */

:root {
  --md-admonition-icon--example: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.25 12a.75.75 0 0 1-.22.53l-2.75 2.75a.75.75 0 0 1-1.06-1.06L7.44 12 5.22 9.78a.75.75 0 1 1 1.06-1.06l2.75 2.75c.141.14.22.331.22.53zm2 2a.75.75 0 0 0 0 1.5h5a.75.75 0 0 0 0-1.5h-5z"/><path fill-rule="evenodd" d="M0 4.75C0 3.784.784 3 1.75 3h20.5c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0 1 22.25 21H1.75A1.75 1.75 0 0 1 0 19.25V4.75zm1.75-.25a.25.25 0 0 0-.25.25v14.5c0 .138.112.25.25.25h20.5a.25.25 0 0 0 .25-.25V4.75a.25.25 0 0 0-.25-.25H1.75z"/></svg>')
}
.md-typeset .admonition.example,
.md-typeset details.example {
  border-color: rgb(43, 155, 70);
}
.md-typeset .example > .admonition-title,
.md-typeset .example > summary {
  background-color: rgba(43, 155, 70, 0.1);
}
.md-typeset .example > .admonition-title::before,
.md-typeset .example > summary::before {
  background-color: rgb(43, 155, 70);
  -webkit-mask-image: var(--md-admonition-icon--example);
          mask-image: var(--md-admonition-icon--example);
}

/* Active tab will have more visible border below instead of just plain white */
.js .md-typeset .tabbed-labels:before {
  background: var(--md-typeset-a-color) !important;
}