@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:wght@400%3B700&display=swap');

:root {
    --md-text-font: 'IBM Plex Sans Condensed',sans-serif
}

.md-typeset code {
    word-break: normal;
}

code .s2,
code .s1,
code .s {
    background-color: unset; /*pygmentize really hoses this, unset is way better*/
}

.md-typeset embed {
    max-width: 100%;
    height: auto;
}

@media print {

    /*
     * Tweak the overall size to better match RTD.
     */
    html {
        font-size: 75%;
    }

    h1 {
        page-break-before: always;
    }
}

@media only screen and (min-width: 60em) {
    .md-search__inner {
        width: 8rem;
    }

    .md-search__input:hover {
        background-color: rgba(0, 0, 0, 0.26);
    }
}

@media only screen and (min-width: 76.25em) {
    .md-search__inner {
        margin-right: 0;
    }
}

.md-header-nav__button.md-logo img {
    height: 36px;
    width: inherit;
}

.md-footer {
    background-color: #19243a;
}

.md-footer-meta {
    background-color: #182642;
}

/* Tables
   based on https://blog.ktz.me/making-mkdocs-tables-look-like-github-markdown-tables/
*/

th, td {
    border: 1px solid var(--md-typeset-table-color);
    border-spacing: 0;
    border-bottom: none;
    border-left: none;
    border-top: none;
}

.md-typeset__table {
    line-height: 1.15;
    min-width: 100%;
}
 
.md-typeset__table table:not([class]) {
    font-size: .64rem;
    border-right: none;
    display: table;
}

.md-typeset__table table:not([class]) td,
.md-typeset__table table:not([class]) th {
    padding: 9px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Modify table hover https://github.com/squidfunk/mkdocs-material/issues/5061 */
.md-typeset table:not([class]) tbody tr:hover {
    background-color: var(--md-default-bg-color--accent);
}

/* light mode alternating table bg colors */
.md-typeset__table tr:nth-child(2n) {
    background-color: var(--md-primary-bg-color--dark);
}
