table.docutils {
    width: 100%;
}

table.docutils {
    border-collapse: collapse!important;
    width: 100%;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: none;
}

table.docutils th {
    font-weight: 600;
}

table.docutils th,
table.docutils td {
    padding: 0.135rem 0.055rem;
}


.left-details a[href="https://github.com/pradyunsg/furo"] {
    color: inherit;
    text-decoration: none;
}

.left-details a[href="https://github.com/pradyunsg/furo"]:hover {
    text-decoration: none;
}

.muted-link-footer {
    text-decoration: none;
}

.sd-card a {
    color: #9ca0a5;
    text-decoration: none;
}

.sd-card a:hover {
    color: #aaaeb4;
    text-decoration: underline;
}


.sig {
    border-radius: 0.35rem;
}

.sig-name {
    font-weight: 650;
}

.sig-param {
    white-space: normal;
}

dl.py > dt {
    scroll-margin-top: 5rem;
}


.sig {
    border: 1px solid var(--color-background-border);
    border-radius: 8px;
    padding: .6rem 1rem;
    margin-bottom: 1rem;
    background: var(--color-background-secondary);
}

dl.py.class,
dl.py.method {
    margin-bottom: 2rem;
}

/*
Pygment Settings
*/

/* Needed for sphinx autogenerated python api-docs */
.highlight:has(.viewcode-block),
.highlight:has(.viewcode-block) pre {
    overflow-y: clip;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow-x: clip;
}

/* Needed for sphinx autogenerated python api-docs */
.highlight pre .viewcode-block {
    margin-block-start: -2lh;
    margin-block-end: 0;
}

/* Controls regular 'handmade' sphinx-documentation snippets. */
div.highlight-python.notranslate div.highlight pre {
    padding-block-end: 0.5lh;
}
div.highlight-bash.notranslate div.highlight pre {
    padding-block-end: 0.5lh;
}
div.highlight-text.notranslate div.highlight pre {
    padding-block-end: 0.5lh;
}

/* Controls autogenerated sphinx-documentation from 'handmade' python source code comments. */
div.doctest div.highlight pre {
    padding-block-end: 0.5lh;

}

/* Controls autogenerated sphinx api-documentation */
div.highlight pre {
    padding-block-end: 0.5lh; /*This adjusts the codeblock - right now it works for single-line code block. */
}

/*Overrides Pygments.Dracula ugly annoying yellow highlight on linenos/line-numbers */
body:not([data-theme="light"]) .highlight span.linenos {
    background: transparent;

}



/* ========================================
   Documentation overview toctree
   ======================================== */

.toctree-wrapper.compound {
    margin: 1.5rem 0 2.5rem;
    max-width: 48rem;
}

.toctree-wrapper.compound ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toctree-wrapper.compound li {
    margin: 0;
}

/* Links */

.toctree-wrapper.compound a {
    display: inline-block;
    padding: 0.18rem 0;

    color: var(--color-foreground-primary);
    text-decoration: none;

    transition: color 0.15s ease;
}

.toctree-wrapper.compound a:hover {
    color: var(--color-brand-primary);
}

/* Level 1 */

.toctree-wrapper.compound .toctree-l1 {
    margin-top: 1rem;
}

.toctree-wrapper.compound .toctree-l1:first-child {
    margin-top: 0;
}

.toctree-wrapper.compound .toctree-l1 > a {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Level 2 tree */

.toctree-wrapper.compound .toctree-l1 > ul {
    margin-top: 0.2rem;
    margin-left: 0.35rem;
    padding-left: 1rem;

    border-left: 1px solid var(--color-background-border);
}

.toctree-wrapper.compound .toctree-l2 {
    margin: 0.15rem 0;
}

.toctree-wrapper.compound .toctree-l2 > a {
    font-size: 0.95rem;
}

/* Level 3 tree */

.toctree-wrapper.compound .toctree-l2 > ul {
    margin-top: 0.1rem;
    margin-left: 0.35rem;
    padding-left: 1rem;

    border-left: 1px solid var(--color-background-border);
}

.toctree-wrapper.compound .toctree-l3 {
    margin: 0.1rem 0;
}

.toctree-wrapper.compound .toctree-l3 > a {
    font-size: 0.9rem;
    color: var(--color-foreground-secondary);
}

.toctree-wrapper.compound .toctree-l3 > a:hover {
    color: var(--color-brand-primary);
}
