/* DocBook xslTNG version 1.3.0
 *
 * This is docbook-toc.css.
 *
 * See https://xsltng.docbook.org/
 *
 */

nav.tocopen {
    position: fixed;
    top: 2px;
    right: 1em;
    color: inherit;
    z-index: 1;
    cursor: pointer;
    font-size: 14pt;
    display: none;
}

nav.toc {
    border-left: 1px solid var(--border-color);
    background-color: var(--focused-color);
    color: var(--on-surface-color);
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    overflow-x: scroll;
    padding: 0;
    margin: 0;
    font-size: 12pt;
    opacity: 1;
    padding-left: 0;
}

nav.toc.slide {
    transition: 0.33s;
}

nav.toc header {
    height: 40px;
    font-family: var(--title-family);
    font-size: 1.25em;
}

nav.toc header .close {
    float: right;
    cursor: pointer;
    font-weight: bold;
    font-size: 16pt;
}

nav.toc div {
    overflow: scroll;
    height: calc(100% - 40px);
}

nav.toc a,
nav.toc a:visited {
    color: inherit;
    text-decoration: none;
}

nav.toc .refpurpose {
    display: none;
}

nav.toc li {
    text-indent: -1em;
    padding-left: 1em;
}
