@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic|Montserrat);

body,
div.sphinxsidebar input {
	font-family: 'Open Sans', sans-serif;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6,
div.sphinxsidebar h3,
div.sphinxsidebar h4,
div.admonition p.admonition-title {
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
}

div.body h1 {
	color: #29ABE2;
}

div.body p {
	font-size: 16px;
	line-height: 1.5;
}

div.sphinxsidebarwrapper {
	display: flex;
	flex-direction: column;
}
div.sphinxsidebarwrapper > * {
	order: 3;
}
div.sphinxsidebarwrapper .blurb {
	order: 1;
}
div.sphinxsidebarwrapper p.logo {
	order: 0;
}
#searchbox {
	order: 2;
}

div.sphinxsidebarwrapper p.blurb {
	margin: 1em 0;
}

div.sphinxsidebar h3,
div.sphinxsidebar h4,
div.sphinxsidebar h3 a,
div.sphinxsidebar h4 a {
	color: #999;
	line-height: 1.1;
	margin: 1em 0 0 0;
}
div.sphinxsidebar input[type=submit] {
	color: #fff;
	background-color: #29ABE2;
}
a,
div.sphinxsidebar a {
	color: #29ABE2;
	border-bottom: 1px dotted #29ABE2;
}

div.footer a {
	border: none;
}

div.body {
	min-width: unset;
}

@media screen and (max-width: 875px) {
	div.body h1 {
		margin: 0.5em 0 1em;
	}
	body {
		padding: 20px;
	}
	div.sphinxsidebar {
		width: unset;
		margin: 50px -20px -20px;
	}
	div.sphinxsidebar p.logo {
		display: block;
		margin: -18px -20px 0;
	}
	.toctree-wrapper {
		font-size: 0.9em;
	}
}

.toctree-wrapper {
	word-wrap: break-word;
}
