div.body {
    min-width: auto;
}

@media screen and (min-width: 876px) {
    :root {
        --sidebar-wdith: 240px;
    }
    div.document {
        width: 1000px;
    }
    div.bodywrapper {
        margin: 0 0 0 var(--sidebar-wdith);
    }
    div.sphinxsidebar {
        width: var(--sidebar-wdith);
    }
}



.toctree-l1 {
    padding: .4rem 0;
}

#searchlabel {
    text-transform: capitalize;
}

@media screen and (max-width: 875px) {
    .edit-on-github {
        display: none;
    }
}


div.sphinxsidebar a.github-edit {
    font-family: sans-serif;
    color: black;
    font-weight: bold;
    padding: 6px;
    background-color: #ccc;
    background-image: linear-gradient(to bottom,#fcfcfc 0,#eee 100%);
    border: 1px solid #d5d5d5;
    border-radius: 4px;
}
div.sphinxsidebar a.github-edit:hover,
div.sphinxsidebar a.github-edit:focus {
    background-color: #eee;
    background-image: linear-gradient(to bottom,#eee 0,#ddd 100%);
}
div.sphinxsidebar a.github-edit img {
    max-height: 1.2em;
    vertical-align: sub;
}