/* hide navigation for previous/next page ( https://github.com/squidfunk/mkdocs-material/discussions/3489 ) */
.md-footer__inner:not([hidden]) {
    display: none
}

/* Hide navigation sidebar contents but retain the whitespace? */
/* https://github.com/squidfunk/mkdocs-material/discussions/3547 */
/*
Já na to musím jinak, protože chci "navigation sidebar" skrýt jen na široké obrazovce,
ale obsah vysouvacího menu zachovat.
*/
@media screen and (min-width:76.25em){
    .md-nav--primary .md-nav__link {
        display: none;
    }
}

/* sníží nadýchanost tabulky */
.md-typeset table:not([class]) th, .md-typeset table:not([class]) td {
	min-width: auto; /* 5rem */
    padding: .9375em 0.75em; /* .9375em 1.25em */
}

.md-typeset .prehled_kurzu th:nth-child(3), .md-typeset .prehled_kurzu td:nth-child(3){
    white-space: nowrap;
}

/* https://stackoverflow.com/questions/19563454/how-do-i-alternate-column-background-colours-in-a-table */
col:nth-child(even) {
    background-color:rgba(0,0,0,.035);
}

.tooltip {
    cursor: default;
}

.tooltip svg {
    min-height: 1rem;
}

/* zalomení text v tooltipu vytvořeném pomocí mkdocs-tooltips */
/* https://stackoverflow.com/questions/17047694/add-line-break-to-after-or-before-pseudo-element-content */
.tooltip:after {
    white-space: pre-wrap;
    min-width: 10rem;
    line-height: 140%;
}

/* text v patičce zarovnaný na střed řádku */
.md-copyright__highlight {
    display: flex;
}
