html {
	padding: 10px max(2px, min(30px, 1.5%));
	background-color: #FFDADA;
}

body {
	background-color: #FFEAEA;
	background-image: url(splash_main.svg), linear-gradient(to bottom, #FFDADA 4.25em, #FFEAEA 4.25em);
	background-size: auto 3em, auto;
	background-repeat: no-repeat;
	background-position: center top;
	padding: 5em 10px 10px;
}

body.lab {
	background-image: url(splash_lab.svg), linear-gradient(to bottom, #FFDADA 4.25em, #FFEAEA 4.25em);
}

body {
	font-family: "Verdana", "Calibri", "Arial", sans-serif;
	color: #811A43;
}

h1 {
	margin-bottom: 0.1em;
	font-weight: 1000;
	font-size: xx-large;
}

h2 {
	margin-bottom: 0.1em;
	font-weight: 800;
	font-size: x-large;
}

h3, h4, h5, h6 {
	margin-bottom: 0.05em;
	font-weight: 600;
	font-size: large;
	font-style: italic;
}

a {
	cursor: pointer;
}

p.detail {
	margin: 0px;
	padding: 0px;
}

:where(a) {
	color: #FF0050;
	text-decoration: underline;
	background-position: center left;
	background-size: auto 1em;
	background-repeat: no-repeat;
	background-image: url(link.svg);
	padding-left: 1em;
}

a:hover, a.none:hover, a[href^='#']:hover, details summary:hover {
	color: #FFDADA;
	background-color: #FF0050;
}

a.prev {
	background-image: url(prev.svg);
}

a.all {
	background-image: url(all.svg);
}

a.next {
	background-image: url(next.svg);
}

a.local, :where(a:not([href^='https://'], [href^='ftp://'], [href^='http://'])), :where(a[href^='https://jhellings.nl']) {
	background-image: url(local.svg);
}

a.video {
	background-image: url(play.svg);
}

:where(a[href='https://jhellings.nl/']) {
	background-image: url(home.svg);
}

a[href^='projects/'], a[href^='https://jhellings.nl/projects/'] {
	background-image: url(project.svg);
}

a.none, a[href^='#'], details summary {
	color: #811A43B0;
	text-decoration: none;
}

a.none, a[href^='#'] {
	background: unset;
	padding: 0pt;
}

ol:not(.simple), ul:not(.simple), menu:not(.simple) {
	margin-left: 3ch;
}

.simple li {
	list-style-type: none;
}

dl {
	margin-left: 1ch;
	display: grid;
	grid-template-columns: max-content auto;
}

dt {
	margin-right: 1ch;
	text-align: right;
	font-weight: bolder;
}

mark, .mark {
	font-weight: bolder;
	background-color: #FF005080;
}

mark *, .mark * {
	background-color: unset;
}

em {
	font-style: italic;
}

em.article_author {
	font-variant: small-caps;
}

em.other_author {
	font-variant: small-caps;
}

small {
	font-size: smaller;
}

footer {
	margin-top: 1em;
	padding-top: 0.5em;
	font-size: x-small;
	border-top: 3px solid #FFDADA;
	text-align: center;
	opacity: 0.5;
}

pre, blockquote {
	border: 2px solid #811A4380;
	padding: 0.5em;
	margin-left: 1em;
	margin-right: 1em;
}

blockquote {
	background-color: #FFF7F7;
	color: #811A43D0;
	font-family: "Palatino", "Linux Libertine", "Georgia", serif;
}

blockquote p {
	text-indent: 0.5cm;
}

pre {
	white-space: pre-wrap;
}

table {
	border-collapse: collapse;
}

tr > * {
	padding: 0.25em 0.5em;
}

tbody tr {
	border-bottom: 2px solid #FFDADA;
}

.border_right {
	border-right: 2px solid #FFDADA;
}

thead tr:last-child, tbody tr:last-child {
	border-bottom: 4px solid #FFDADA;
}

pre, code, samp, .console {
	color: #222;
	background-color: #EEE;
	font-family: "Consolas", "Courier New", monospace;
}

input[type="text"], input[type="password"], textarea {
	display: inline-block;
	color: #444;
	background-color: white;
	padding: 0.5em;
	border-bottom: 2px solid #811A43;
	width: calc(100% - 1em);
}

input[type="submit"] {
	appearance: none;
	border-bottom: 2px solid #811A43;
	background-color: #FFDADA;
	padding: 0.5em;
	font-variant: small-caps;
}

input[type="submit"]:hover {
	color: #FFDADA;
	background-color: #FF0050;
	border-bottom: 2px solid #FFDADA;
}

textarea {
	display: block;
	height: 50vh;
}

form {
	display: block;
	margin: 0.5em 1em;
	border: 2px solid #811A4380;
	background-color: #FFF7F7;
	padding: 0.5em;
	width: fit-content;
	block-size: auto;
}

form.inline {
	border: 0px;
	margin: 0.2em;
	padding: 0px;
	display: inline-block;
	width: auto;
}


label {
	font-variant: small-caps;
}

details {
	padding: 1px 1px 1px 1em;
}

details > summary {
	cursor: pointer;
	list-style: none;
	background-position: center left;
	background-size: auto 1em;
	background-image: url(close.svg);
	background-repeat: no-repeat;
	display: inline-block;
	margin-left: -1em;
	padding-left: 1.1em;
}

details[open] > summary {
	background-image: url(open.svg);
}

summary::-webkit-details-marker {
	display: none
}

aside, figure {
	border: 2px solid #811A4380;
	background-color: #FFF7F7;
	text-align: center;
	margin: 0.5em auto;
	padding: 0.5em;
	width: fit-content;
}

figure img {
	max-width: 100%;
}

aside table, figure table {
	display: inline-block;
}

figure figcaption:before {
	content: ' ';
	display: block;
}

figure figcaption {
	font-size: smaller;
	opacity: 0.75;
	max-width: 700px;
	margin: 0em auto;
}

th {
	font-weight: bolder;
}

span.resources:before {
	content: ' ';
	display: block;
}

img.inline {
	vertical-align: top;
	height: 1.3em;
}

img.minline{
	vertical-align: bottom;
	height: 1em;
}


nav.prev_all_next {
	margin: 0.5em;
	padding: 0.5em;
	border-top: 3px solid #FFDADA;
	border-bottom: 3px solid #FFDADA;
	text-align: center;
}

nav.list ol li > * {
	margin-top: 0px;
}

ol.comment {
	margin-left: 1ch;
}

ol.comment .removed > p {
	color: #811A4380;
}

ol.comment li {
	border-left: 5px solid #FFDADA;
	list-style-type: none;
	border-bottom: 3px solid #FFDADA;
}

li ol.comment > li:last-child {
	border-bottom: none;
}

ol.comment li > * {
	margin-left: 1ch;
}

ol.comment li > * + * {
	margin-top: 0.5em;
}

ol.comment li > p:first-child {
	background-color: #FFDADA;
	margin-left: 0px;
	padding-left: 1ch;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}

*:not(li) > ol.comment > li {
	border-right: 5px solid #FFDADA;
	border-bottom: 5px solid #FFDADA;
}

*:not(li) > ol.comment > li + li {
	margin-top: 0.5em;
}

ol.comment em.article_author {
	font-weight: bolder;
}

div.iframe-container div {
	position: relative;
	display: block;
	width: min(100%, 800px);
	padding-bottom: min(56.25%, 450px);
	overflow: hidden;
	margin: 0 auto;
}

div.iframe-container iframe {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

table.person, .person tr, .person td, .person tbody tr:last-child {
	border: 0px;
	padding: 0px;
	margin: 0px;
}

.pfig img {
	border: solid 0px;
	margin-right: 1em;
	height: 7em;
	width: 6em;
	object-fit: contain;
}

.pfig {
	text-align: center;
}