.header-wrapper { 
    display: none;
}

.headerwrap .top-bar {
    width: 100%;
    margin-bottom: 26px;
}

div.footer-wrapper { 
    margin-top: 50px;
    padding: 26px !important;
}

div.footer-wrapper > .footer {
    width: 100%;
}

div.content-wrapper {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

h1 {
	font: 2.4em "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
	font-family: "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
}

h2 {
    font: 2.0em "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
    color: black !important;
}

h3 {
    font: 1.7em "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
    margin-bottom: 15px;

}

h4 {
    font: 1.4em "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
    font-family: "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif;
    margin-bottom: 15px;

}

p {
    font: 1.0em/30px "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
    font-family: "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif;
}

.docutils {
    font: 1.0em/30px "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
    font-family: "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif;
}

pre {
    padding-left: 10px;
    white-space: pre-wrap;
}

div.document ul {
    margin: 0em 0em 0em 1.5em;
}

p.admonition-title {
    font-weight: bold !important;
}

span.pre {
	font: 1.0em/30px "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
}

li {
	font: 1.0em/30px "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
}

div.body li {
	padding-bottom: 10px;
	padding-top: 5px;
	padding-left: 10px;
}

div.toctree-wrapper {
	margin-left: -40px;
}

div.toctree-wrapper li {
    font: 1.2em/35px "Helvetica Neue", "Segoe UI", "Helvetica", Arial, sans-serif !important;
	padding: 0px;
}

div.toctree-wrapper ul {
	list-style: none;
	margin-left: 40px;
}

div.sidebar li.toctree-l1 a {
	padding-left: 10px !important;
	background: white;
	color: #008cba !important;
}

div.sidebar li.toctree-l2 a {
	border-width: medium medium px;
	border-bottom-width: 0px;
}

div.sidebar li.toctree-l3 a {
	border-bottom-width: 0px;
}

div.sidebar li.toctree-l1 a:hover {
	color: #0078a0 !important;
}

div.body {
	padding-left: 20px;
}

/* remove search */

div.sidebar h3 {
	display: none;
}

form.search {
	display:none;
}

p.searchtip {
	display: none;
}

div.content {
	width: 100%;
    max-width: 2000px;
}

div.document {
	width: 75%;
	padding-left: 20px;
	clear: both;
}

div.sidebar {
	width: 25%;
	padding-right: 10px;
}

div.sidebar a {
	color: black !important;
	text-decoration: none !important;
}

div.document .docutils.literal {
	padding: 2px 8px 2px 8px !important;
}

div.left {
    float: left;
    width: 200px;
    margin: 0;
}

div.right {
    text-align: left;
    float: left;
    width: calc(100% - 200px);
    margin: 0;
}

div.right .footer {
    width: inherit;
}

pre {
	font-size: 1.3em;
	line-height: 1.6em;
	text-align: left !important;
}

div.document a {
  color: #008cba !important;
  text-decoration: none !important;
  line-height: inherit; }
  div.document a:hover, a:focus {
    color: #0078a0 !important; }
  div.document a img {
    border: none; }
  

code {
    color: black !important;
}

img {
    max-width: 800px;
}

@media screen and (max-width: 40.063em) { /* mobile */
    .footer-wrapper {
        padding: 12px !important;
    }
    
    div.left {
        float: none !important;
        width: 100%;
    }
    
    div.right {
        float: none !important;
        text-align: left;
        width: 100%;
        margin-top: 18px;
    }
    
    div.right .footer {
        text-align: left;
        margin: 0;
        width: 100%;
    }

    div.footer-wrapper {
        font-size: 13px;
    }
    
    div.headerwrap {
        height: 48px;
    }
    div.headerwrap .top-bar {
        position: absolute;
        top: 0;
    }
}

@media screen and (max-width: 1000px) {
    div.content {
        display: flex;
        flex-direction: column-reverse;
    }

    div.document, div.sidebar {
        padding: 8px;
        font-size: 14px;
        width: 100%;
    }
    div.document pre {
        font-size: 14px;
    } 
    div.sidebar ul {
        margin: 0;
    }
}