html, body
{
	scroll-padding-top: 3.5rem;
}

body
{
	margin-top: 3rem;
}

@media screen and (min-width: 768px) and (max-width: 991px)
{
	body
	{
		margin-top: 6rem;
	}
}

a
{
	text-decoration: none !important; 
}

header
{
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 100;
}

header, header *
{
	white-space: nowrap;
}

article, article > header, article div > section
{
	margin-bottom: 5rem;
}

article div > section > section
{
	margin-bottom: 2.25rem;
}

article section.m-doc-details > div
{
	background-color: rgba(0,0,0,0.07)
}

article section.m-doc-details > div > h3:first-child
{
	background-color: #22272e;
}

pre, code, .muu-enable-if > a
{
	font-family: 'Consolas', 'Source Code Pro', monospace;
}

a.muu-external
{
	font-weight: normal;
}
pre a.muu-external,
pre a.muu-injected
{
	font-weight: inherit !important;
	color: inherit !important;
}

.muu-enable-if
{
	margin-bottom: 2px;
}

.muu-enable-if > *
{
	display: inline-block;
	border-radius: 0.2rem;
	background-clip: padding-box !important;
	padding: 0px 2px;
	text-decoration: none;
}

.muu-enable-if > a
{
	white-space: nowrap;
	font-size: 0.7rem;
	font-weight: bold;
	background-color: #858585;
	color: #050505;
}

.muu-enable-if > a:hover
{
	background-color: #747474;
	color: initial;
}

.muu-enable-if > span
{
	display: none;
	padding-left: 2em;
}

@media screen and (min-width: 576px)
{
	nav .m-thin
	{
		margin-left: 0.5em;
	}

	nav .github
	{
		padding-left: 44px !important;
		background-image: url("github-icon.png");
		background-repeat: no-repeat;
		background-size: 25px 25px;
		background-position: -30px center;
		background-origin: content-box;
	}
}

@media screen and (max-width: 575px)
{
	nav .m-thin, nav .github
	{
		display: none;
	}
}

/* code blocks w/ output examples */
pre.m-code + pre.m-console
{
	margin-top: -1.0rem;
	border-top: 1px solid #444444;
	font-size: 0.8rem;
	background-color: #1a1c1d !important;
}
pre.m-code + pre.m-console span
{
	color: #bababa; /* is yououou */
}

/* "Parameters", "Returns" etc */
.m-doc-details div table.m-table th,
.m-doc-details div table.m-table td strong em,
.m-doc-details div table.m-table td strong em,
body article p strong em,
body article table strong em
{
	color: #a5c9ea;
	font-style: normal;
}

/* comments */
.m-code .c1
{
	color: rgb(87,166,74);
}

/* int and float literals */
.m-code .mb,
.m-code .mi,
.m-code .mf,
.m-code .mh
{
	color: rgb(181,206,168);
}

/* keywords */
.m-code .k
{
	color: rgb(86,156,214);
}
.m-code .kt,
.m-code .k,
.m-code .nc
{
	font-weight: normal;
}

/* identifier names */
.m-code .n
{
	color: rgb(220,220,220);
}

/* punctuators (brackets etc) */
.m-code .p
{
	color: rgb(120,120,120);
}

/* preprocessor directives */
.m-code .cp
{
	color: rgb(120,120,120);
}

/* macros */
.m-code .m
{
	color: rgb(190,183,255);
}

/* string literals, "includes" */
.m-code .s,
.m-code .sa,
.m-code .dl,
.m-code .cpf
{
	color: rgb(214,157,133);
}

/* user types and typedefs */
.m-code .ut,
.m-code .nc
{
	color: rgb(78,201,176);
}

/* namespace::scopes:: */
.m-code .ns
{
	color: rgb(140,140,140);
}

/* github badges (index.html) */
.gh-badges
{
	padding-bottom: 0.25rem;
	margin-left: -0.9rem;
	margin-right: -0.9rem;
	margin-top: -0.5rem;
}
@media screen and (min-width: 992px)
{
	.gh-badges
	{
		display: flex;
		justify-content: space-between;		
	}
	.gh-badges br
	{
		display: none;
	}
}
@media screen and (max-width: 991px)
{
	.gh-badges
	{
		text-align: center;
		line-height: 1.75rem;
	}
	.gh-badges a
	{
		margin-left: 0.2rem;
		margin-right: 0.2rem;
		margin-bottom: 0.4rem;
	}
}

/* page category subheading ("module" etc) */
h1 span.m-thin
{
	color: #747474;
}

/* banner on index page */
main > article > .m-container.m-container-inflatable > .m-row > div.m-col-l-10.m-push-l-1 > img.m-image
{
	border-color: #405363;
	border-style: solid;
	border-width: 0.1rem;
	margin-left: -1rem;
	margin-right: -1rem;
	margin-top: -1.75rem;
	max-width: calc(100% + 2rem);
}

/* include <blah.h> */
.m-doc-details div h3
{
	overflow: auto;
}
h1 .m-doc-include,
h3 .m-doc-include
{
	float: right;
}
h1 .m-doc-include *,
h3 .m-doc-include *
{
	opacity: 1.0 !important;
}
h1 .m-doc-include .cp,
h3 .m-doc-include .cp
{
	color: #747474;
}

/* "Try this code on Compiler Explorer" */
.godbolt
{
	font-family: 'Source Sans Pro', sans-serif;
}
p.godbolt
{
	text-align: center;
	padding: 0.0rem;
	text-indent: 0.0rem;
	opacity: 0.5;
}
p.godbolt:hover
{
	opacity: 1.0;
}
a.godbolt
{
	padding: 0.5rem;
	display: inline-block;
}
pre > p.godbolt
{
  float: right;
}
@media screen and (max-width: 767px)
{
	.godbolt
	{
		display: none;
	}
}
