body * {
    font-family: monospace;
}

/* Put TOC on right-side of page */
.toc {
    position: fixed;
    top: 30px;
    right: 0;
    padding-left: 20px;
    margin: 20px 0px 25px 0px;
    width: 250px;
}

/* Admonition adjustments */
div.admonition p.admonition-title:before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-family: Font Awesome\ 6 Free;
    padding-right: 0.4rem;
}

.admonition {
    border-style: dashed;
    border-width: 0.15rem;
}

/* Tab style starts here */
.tabbed-set {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 1em 0;
}

.tabbed-set > input {
    display: none;
}

.tabbed-set label {
    width: auto;
    padding: 0.9375em 1.25em 0.78125em;
    font-weight: 700;
    font-size: 0.84em;
    white-space: nowrap;
    border-bottom: 0.15rem solid transparent;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 250ms, color 250ms;
}

.tabbed-set .tabbed-content {
    width: 100%;
    display: none;
    box-shadow: 0 -.05rem #ddd;
}

.tabbed-set input {
    position: absolute;
    opacity: 0;
}

.tabbed-set input:checked:nth-child(n+1) + label {
    color: black;
    border-color: white;
    background-color: gray;
    mix-blend-mode: luminosity;
    border-radius: 4;
    border-style: solid;
    border-width: 0.1rem;
    text-decoration: underline;
}

@media screen {
    .tabbed-set input:nth-child(n+1):checked + label + .tabbed-content {
        order: 99;
        display: block;
    }
}

@media print {
    .tabbed-content {
        display: contents;
    }
}

@media (max-width: 1480px) {
    .toc {
        display: none;
    }
}