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

code, pre {
    background-color:#f0f0f3;
    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: 600;
    margin: unset;
    padding: 0;
}
div.body h1 {
    font-weight: 300;
    font-size: 2.5em;
    padding-top: 1em;
    margin-bottom: 1em;
    line-height: 1;
}
div.body h2 {
    font-size: 1.5em;
    margin-top: 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:#f0f0f3;
    margin: 0 0 0 300px;
}

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: #d33;
    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;
}
div.sphinxsidebar h3 {
    margin-top: 40px;
    font-size: 1.6em;
    font-weight: 300;
}
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: 600;
    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: 600;
}

#other-versions a {
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    font-weight: 600;
    padding: 0.1em 0.5em;
    margin: 0.25em;
    transition: .2s ease all;
}
#other-versions a:hover {
    background-color: rgba(255,255,255,0.2);
    transition: .2s ease all;
}

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 {
    background-color: #fafcff;
    border-color: #d0e0f0;
    border-radius: 4px;
    border-width: 1.5px;
    color: #248;
    padding: 1em;
}
div.admonition.warning {
    background-color:#fffcfa;
    border-color:#f0e0d0;
    color:#842;
}
div.admonition.warning code {
    background-color: #f5e5d5;
}

.mobile-header {
    display:none;
    background-color: #d33;
    color: #fff;
    text-align: center;
    font-weight: bold;
    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;
    }
}