
@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.eot");
  src:
    url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),
    url("../fonts/fontawesome-webfont.woff2") format("woff2"),
    url("../fonts/fontawesome-webfont.woff") format("woff"),
    url("../fonts/fontawesome-webfont.ttf") format("truetype"),
    url("../fonts/fontawesome-webfont.svg#fontawesomeregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* Custom Material palette colors. */
[data-md-color-scheme="default"] {
  --md-primary-fg-color: #0077b7;
  --md-primary-fg-color--light: #0077b7;
  --md-primary-fg-color--dark: #005f92;
}


/* Increase the overall viewport width for big tables */
.md-grid {
  max-width: 80rem; /* Default: 61rem */
}


/* Reduce spacing between the header logo and site title. */
[dir="ltr"] .md-header__title {
  margin-left: 0;
}

[dir="rtl"] .md-header__title {
  margin-right: 0;
}


/* Show the language switcher before the color-scheme toggle. */
.md-header__option:has(.md-select) {
  order: 1;
}

.md-header__option:has(input[id^="__palette"]) {
  order: 2;
}

.md-header__inner > .md-search {
  order: 3;
}


/* Ordered lists: use decimal numbers at all levels. */
ol {
    list-style-type: decimal !important;
}


/* External links: highlighting and icon. */
a.external-link {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: from-font;
  text-underline-offset: 0.25em;
}

a.external-link::after {
  content: "↗";
  display: inline-block;
  text-decoration: none;
  font-size: 0.75em;
  margin-left: 0.25em;
}


/* Text style classes. */
.text-style-name {
  font-weight: bold;
}

.text-style-value {
  font-style: italic;
}

.text-style-term {
  font-style: italic;
  font-weight: bold;
}

.text-style-code {
  font-family: var(--md-code-font-family, monospace);
}


/* Code font size: inherit from parent element. */
.md-typeset code {
  font-size: inherit;
}


/* FontAwesome icons palette. */
.fa4-icon {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-icon-black { color: #000000; }
.fa-icon-blue { color: #049cdb; }
.fa-icon-blue-alt { color: #1d89cf; }
.fa-icon-blue-soft { color: #4e93f0; }
.fa-icon-gray-dark { color: #555555; }
.fa-icon-gray-light { color: #a7a7a7; }
.fa-icon-gray-mid { color: #666666; }
.fa-icon-green { color: #46a546; }
.fa-icon-green-alt { color: #3e9b3d; }
.fa-icon-red { color: #d0021b; }
.fa-icon-white { color: #ffffff; }


/* Restore full table gridlines, including vertical borders. Fix overlapping borders. */
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  border: 1px solid var(--md-typeset-table-color);
}

.md-typeset table:not([class]) {
  border-collapse: collapse;
}


/* Change table header background */
.md-typeset table tr th {
    background-color: var(--md-accent-fg-color--transparent)
}


/* Huge search results truncation workaround: https://github.com/squidfunk/mkdocs-material/issues/4278#issuecomment-1562597537 */
.md-search-result .md-typeset {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  max-height: 250px; /* <- adjust to fit */
}
