@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
    font-family: "Inter",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue","Arial Nova",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",sans-serif;
    font-weight: 400;
    line-height: 1.5em;
}

code, pre {
    background-color:#f1f3fa;
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size: 0.85em;
    line-height: unset;
}

div.body {
    padding: 0 40px 40px 40px;
    line-height: unset;
    min-height: 100vh;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    border: none;
    font-weight: 700;
    margin: 1.5em 0 0 0;
    padding: 0;
}
div.body h1 {
    font-size: 2.5em;
    margin-bottom: 1em;
    line-height: 1;
}
div.body h2 {
    font-size: 1.5em;
}
div.body h3 {
    font-size: 1.2em;
}

div.body p,
div.body dd,
div.body li,
div.body blockquote {
    line-height: unset;
    text-align: unset;
}
div.body li {
    margin: 0.5em 0;
}
div.body li li {
    margin: 0.1em 0;
}

div.bodywrapper {
    background-color:#f1f3fa;
    margin: 0 0 0 300px;
}

div.document {
    background: linear-gradient(135deg, #200030 0vh, #102060 100vh);
    background-attachment: fixed;
}

div.related {
    line-height: unset;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}
div.related ul {
    padding: 0;
}

div.body li.nav-item {
    margin-left: 0.5em;
}
div.body li.nav-item a {
    margin-right: 0.5em;
}

div.related a,
div.sphinxsidebar .toctree-l1 a,
div.sphinxsidebar .topless a,
div.prevnext a {
    border-bottom: 3px solid transparent;
    transition: 0.2s ease all;
}
div.related a:hover,
div.sphinxsidebar .toctree-l1 a:hover,
div.sphinxsidebar .topless a:hover,
div.prevnext a:hover {
    border-bottom: 3px solid #0aa;
    text-decoration: none;
    transition: 0.2s ease all;
}

div.logowrapper {
    margin: -20px -20px 40px -20px;
    padding: 20px;
    background-color: #d00;
    text-align: center;
}

p.logo {
    padding: 10px 20px;
    font-size: 1.5em;
}

div.sphinxsidebar div.logowrapper p,
div.sphinxsidebar div.logowrapper a {
    color: #fff;
}

p.version {
    margin: 0 0 10px 0;
    font-size: 1rem;
}

code {
    padding: 0.1em 0.5em;
    border-radius: 4px;
}

pre {
    padding: 15px;
    border: none;
    border-radius: 4px;
    line-height: 1.2em;
}

a.headerlink {
    color: #0aa;
    margin-left: 0.3em;
}
a.headerlink:hover {
    background-color: #0aa;
    color: #fff;
}

div.sphinxsidebarwrapper {
    padding: 0;
}

div.sphinxsidebar {
    padding: 20px;
    font-size: 0.875em;
}
div.sphinxsidebar .sphinxsidebarwrapper > ul {
    margin-top: 40px;
}
div.sphinxsidebar h3 {
    text-transform: uppercase;
    font-size: 0.875em;
    font-weight: 700;
    color: #fff;
}
div.sphinxsidebar input {
    font-family: inherit;
    border: none;
}
div.sphinxsidebar #searchbox input[type='text'] {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.5em 0.8em;
    transition: .2s ease all;
}
div.sphinxsidebar #searchbox input[type='text']:focus {
    background-color: rgba(255,255,255,0.2);
    transition: .2s ease all;
}
div.sphinxsidebar #searchbox input[type='text']::placeholder {
    color: #fff;
    opacity: .7;
}
div.sphinxsidebar #searchbox input[type='text']::-ms-input-placeholder {
    color: #fff;
    opacity: .7;
}
div.sphinxsidebar #searchbox input[type='submit'] {
    background-color: rgba(255,255,255,0.3);
    color: #fff;
    padding: 0.5em 0.8em;
    font-weight: 700;
    transition: .2s ease all;
}
div.sphinxsidebar #searchbox input[type='submit']:hover,
div.sphinxsidebar #searchbox input[type='submit']:focus {
    background-color: #0aa;
    transition: .2s ease all;
}

div.sphinxsidebar ul {
    line-height: 1em;
    margin: 0;
}
div.sphinxsidebar ul ul, div.sphinxsidebar ul.want-points {
    list-style-type: disc;
}
div.sphinxsidebar ul ul li {
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}
div.sphinxsidebar li.toctree-l1,
div.sphinxsidebar p.topless {
    margin: 1em 0;
}
div.sphinxsidebar li.toctree-l1.current > a,
div.sphinxsidebar a.current.reference {
    color: #fff;
    font-weight: 700;
}

div.prevnext {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 40px 0;
    padding: 20px 0;
}
div.prevnext a {
    color:#888;
}
div.prevnext .item.right {
    float: right;
    text-align: right;
}
div.prevnext .item.left {
    float: left;
    text-align: left;
}

div.footer {
    font-size: 0.8em;
}

.clearfix {
    clear: both;
}

div.admonition,
div.versionadded,
div.versionchanged,
div.deprecated {
    background-color: #fafcff;
    border: 1px solid #d0e0f0;
    border-radius: 4px;
    border-width: 1.5px;
    color: #248;
    padding: 1em;
    margin: 1em 0;
}
div.admonition code,
div.versionadded code,
div.versionchanged code,
div.deprecated code {
    background-color: #edeff2;
}
div.admonition.warning,
div.versionchanged,
div.deprecated {
    background-color:#fffcfa;
    border-color:#f0e0d0;
    color:#842;
}
div.admonition.warning code,
div.versionchanged code,
div.deprecated code {
    background-color: #f5e5d5;
}
div.admonition > :last-child,
div.versionadded > :last-child,
div.versionchanged > :last-child,
div.deprecated > :last-child {
    margin-bottom: 0;
}
div.admonition > :first-child,
div.versionadded > :first-child,
div.versionchanged > :first-child,
div.deprecated > :first-child {
    margin-top: 0;
}
p.admonition-title,
span.versionmodified {
    font-weight: 700;
    font-style: normal;
    margin: 0 0.5em 0 0;
    display: inline;
}

div.figure img {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin: 20px 0 0 0;
}
div.figure p.caption {
    padding: 0 0 20px 0;
    font-style: italic;
    color: #666;
}

table.align-default {
    width: 100%;
}
table.docutils th, table.docutils td {
    padding: 0.5em;
    border-bottom: 1px solid #ddd;
}
table.docutils th {
    background-color: unset;
    border-bottom: 2px solid #ddd;
}

.mobile-header {
    display:none;
    background-color: #d00;
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 15px;
}
.mobile-header a {
    color: inherit;
}

/** Responsive utilities **/
@media(max-width: 800px) {
    html * {
        box-sizing: border-box;
    }
    div.sphinxsidebar {
        width: 100%;
        margin: 0;
    }
    div.bodywrapper {
        margin: 0;
    }
    div.body {
        padding: 10px;
        min-height: unset;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }
    div.body h1 {
        font-size: 1.7em;
    }
    div.body h2 {
        font-size: 1.3em;
    }
    div.body h3 {
        font-size: 1.1em;
    }
    div.logowrapper {
        padding: 40px 20px;
    }
    .mobile-header {
        display: block;
    }
}
