html {
	overflow-y: scroll;
}

.twemoji {
	margin-right: 0.4em;
}

:root > * {
	--md-primary-fg-color: #2d2d31;
}

.inline-icon {
	height: 1.5em!important;
	display: inline-block;
	position:relative;
	top: 0.3em;
	margin-left: 0.3em;
}

.move-button {
	filter: brightness(0) invert(1);
	margin-left: 0;
	margin-right: -0.1em;
}

/* Variables in code blocks */
.variable {
	color: #d151d1;
	font-size: 1.1em;
	font-style: italic;
	font-weight: 700;
}

/* Copy icon in code blocks */
div.highlight pre code {
	margin-right: 3em;
}

/* Code snippets */
article.md-typeset p code, article.md-typeset li code {
	background-color: #3b3840;
}

article.md-typeset p> code, article.md-typeset li > code {
	white-space: nowrap;
}

/* Line highlights in code blocks */
.codehighlight {
	display: inline-flex;
	width: 100%;
	margin: 0.2em 0 0.1em -0.5em;
	padding: 0.4em 0.2em 0.3em 0.5em;
	border-left: 2px solid #ffffff70;
	background-color: var(--md-code-hl-color);
	font-weight: 700;
}

/* External links */
div.md-content a[href^="http"]::after, div.md-content p a[href^="https"]::after {
	content: "";
	padding-right: 12px; /* Affects font scaling */
	margin-right: 0.2em;
	margin-left: 0.2em;
	background-color: currentColor; /* Inherit the relevant colour to match the text label */
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	-webkit-mask-position-y: 30%; /* Vertically adjust Y position of icon to better place it */
	/* Add the SVG below (this one is the font-awesome external-link SVG sourced from `mkdocs-material/material/.icons/fontawesome/solid/external-link-alt.svg`) */
	/* make sure it's encoded properly: https://yoksel.github.io/url-encoder/ */
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10.604 1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.75.75 0 0 1-1.06-1.06l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1zM3.75 2A1.75 1.75 0 0 0 2 3.75v8.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0 0 14 12.25v-3.5a.75.75 0 0 0-1.5 0v3.5a.25.25 0 0 1-.25.25h-8.5a.25.25 0 0 1-.25-.25v-8.5a.25.25 0 0 1 .25-.25h3.5a.75.75 0 0 0 0-1.5h-3.5z'%3E%3C/path%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-size: contain;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10.604 1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.75.75 0 0 1-1.06-1.06l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1zM3.75 2A1.75 1.75 0 0 0 2 3.75v8.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0 0 14 12.25v-3.5a.75.75 0 0 0-1.5 0v3.5a.25.25 0 0 1-.25.25h-8.5a.25.25 0 0 1-.25-.25v-8.5a.25.25 0 0 1 .25-.25h3.5a.75.75 0 0 0 0-1.5h-3.5z'%3E%3C/path%3E%3C/svg%3E");
}

a.terminology {
	border-bottom: 1px dotted;
}

/* Tick and cross colors */
.redcross path {
	fill: rgb(207, 51, 51);
}

.greentick path {
	fill: rgb(90, 207, 135);
}

/* Input boxes */
.input {
	width: 98%;
	height: 2em;
	font-size: 1em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	margin-top: 1em;
	margin-bottom: 0.5em;
}

/* Checkboxes */
label.filter input[type="checkbox"] {
	margin: 0.5em 0.5em 1.5em 0.5em;
}

label.filter {
	color: #777;
}

/* Filter lists */
ul.filter {
	max-height: 21em;
	min-height: 1em;
	overflow: hidden;
	overflow-y: auto;
}

/* Annotations */
.md-tooltip__inner.md-typeset>code {
	margin-right: 0;
}

/* Code definitions */
div.definition-list > ul {
	list-style-type: none;
}

div.definition-list > ul > li {
	margin-left: 0!important;
	padding-left: 0;
}

div.definition-list > ul li p {
	margin: 1em 0!important;
}

div.definition-list > ul > li { /* Space between definition cards */
	margin-bottom: 1.5em;
}

div.definition-list > ul > li { /* Definition card itself */
	background-color: rgba(255, 255, 255, 0.015);
	padding: 0.75em 1em;
	border: 2px solid rgba(0, 0, 0, 0.3);
}

/* Start margin corrections for definition list indentation */
div.definition-list ul li p,
div.definition-list ul li pre,
div.definition-list ul li details,
div.definition-list ul li div.tabbed-set,
div.definition-list ul li div.admonition,
div.definition-list ul li input {
	margin-left: 1em;
	margin-right: 1em;
}

div.admonition p.admonition-title {
	margin-top: 0!important;
}

p.admonition-title {
	margin: 0 -0.6rem!important;
}
/* End margin corrections for definition list  indentation */

div.definition-list ul li h4 {
	margin-top: 1.5em;
	font-size: 1.1em;
}

div.definition-list ul li ul {
	margin-left: 2.0em!important;
}

div.definition-list ul li div.admonition {
	padding: 0;
}

div.definition-list ul li div.admonition p {
	padding: 0 1em;
}

div.definition-list ul li div.admonition p.admonition-title {
	padding: 10px 0 12px 48px;
	margin: 0;
}

code.toc-code, article.md-typeset code.toc-code {
	background-color: #544b8a;
	padding: 6px 20px;
	margin-right: 0.75em;
}

/* Code definition badges */
article.md-typeset code.toc-def {
	border: solid 2px #706e81;
	background-color: unset;
	padding: 6px 8px;
	font-size: 0.65em;
	margin-right: 0.25em;
}

article.md-typeset code.toc-req {
	border: solid 2px #8b690c;
	background-color: unset;
	padding: 6px 8px;
	font-size: 0.65em;
}

article.md-typeset code.toc-opt {
	border: solid 2px #0c8b3f;
	background-color: unset;
	padding: 6px 8px;
	font-size: 0.65em;
}

/* Code definitions, TOC Only */
ul.md-nav__list code.toc-code {
	padding: 8px 6px;
}

li.md-nav__item a.md-nav__link:hover {
	color: #ffffff;
}

li.md-nav__item code.toc-code:hover {
	color: #ffffff;
}

a.md-nav__link--active code.toc-code {
	color: #ffffff;
}
