/*** Reset ***/
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, del, dfn, em, font, img, ins, kbd, q, s, samp, acronym, address, big, cite, code,small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {font-size:100%;font-family:inherit;vertical-align:baseline;margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;}caption, th, td {text-align:left;font-weight:normal;}table {border-collapse:separate;border-spacing:0;}blockquote:before,blockquote:after,q:before,q:after {content: "";}blockquote, q {quotes: "" "";}
/*** Reset End ***/

body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
}

#nav ul { list-style: none; margin: 0; }

#nav-container { background: #231f20; width:100%; }
#nav { margin: 0 auto; width:100%; background: #231f20; color: #FFF; }
#nav ul li { padding: 5px; color:#fff; float: left; vertical-align:middle;}
#nav ul li a:visited { color:#ccc; text-decoration:none; padding-left: 25px; }
#nav ul li a:link { color:#fff; text-decoration:none; padding-left: 25px; }
#nav ul li a:hover { color:#f60; font-weight:normal; padding-left: 25px; }

.links a { display:block; color:#f60; text-decoration:none; padding-bottom: 20px; }
.links a:visited { color:#dd5800; text-decoration:none; }

.links {
	text-align:center;
	font-size: 250%;
}

.links ul {
  list-style: none;
}

.contact-links {
	font-size: 150%;
}

h1.name-heading {
  text-align:center;
  padding-bottom:14px;
  margin-top: 30px;
  margin-bottom: 30px;
	font-size:250%;
}

.caption {
  font-size:11px;
  text-align:center;
}

.special-note {
  margin: 1em 2em;
  padding: 0 1em 0.5em;
  background-color:#F2F2E3;
  border:1px solid #DEDEC5;
}

h1 {
  font-size:300%;
  line-height: 1.5em;
  font-weight:bold;
  margin-top: 0.5em;
}

h2 {
  font-size:200%;
  line-height: 1.5em;
  font-weight:bold;
  margin-top: 0.5em;
  margin-bottom:0.5em;
}

h3 {
  font-size:125%;
  line-height: 1.5em;
  font-weight:bold;
  margin-top: 1em;
  margin-bottom:0.5em;
}

h4 {
  font-size:118%;
  line-height: 1.5em;
  font-weight:bold;
  margin-top: 1em;
  margin-bottom:0.5em;
}

h5 {
  font-size:100%;
  line-height: 1.5em;
  font-weight:bold;
  margin-top: 1em;
  margin-bottom:0.5em;
}

body {
	color: #212121;
	font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: 0.02em;
	font-size: 18px;
}

blockquote {
  border-left-color:#dd5800;
  border-left-style:solid;
  border-left-width:3px;
  margin:1em 0 1em 3em;
  padding-left: 1em;
}

.content {
	padding: 0 20px 0 10px;
	font-size: 120%;
	margin: 0 238px 0 238px;
}

@media (max-width: 768px) {
	.content {
		padding: 0 20px 0 10px;
		font-size: 120%;
		margin: 0 5px 0 5px;
	}
	
	#links {
		font-size:130%;
	}
}

.pic {
	margin-left: 50px;
}
#sidemenu {
	float: left;
	width: 192px;
	border-right: 1px solid gray;
	padding: 0 10px 0 5px;
	
}

/*
#nav {
  list-style: none;
  margin: 0;
  padding:  0px 0 30px 0;
}
#nav li {
  font-size:  150%;
  padding: 5px 5px;
}

#nav li.selected {
	font-weight: bold;
}

#nav li a:link {
  color: #245185;
}

#nav li a:hover {
  color: #245185;
  font-weight: bold;
}

#nav li a:visited {
  color: #245185;
}
*/

/* image container, sets height so image can be vertically centered and the caption starts in the same vertical position regardless of image height, except WinIE does not apply line-height to images. oh well, most other browsers do... */
.gallery span {
	display: block;        /* fill container width, force a line break */
	height: 110px;         /* a bit larger than highest img */
	line-height: 110px;    /* same value as height */
	text-align: center;
/*	border: 1px dashed #f00; /* uncomment to show */
}

/* caption container, sets height (for 2 lines) so each outlined image/caption pair is the same height (except in WinIE) */
.gallery i {
	display: block;
	height: 2.5em;         /* makes each box a consistent height */
	padding: 5px 5px 0 5px;
	text-align: center;
	font-style: normal;
	line-height: 120%;     /* standard spacing */
/*	border: 1px dashed #00f; /* uncomment to show */
}

/* Owen hack, hides from WinIE, Opera versions 6- & some KHTML */
head:first-child+body .gallery a {
	display: table-cell;   /* gecko & Opera6- */
	display: inline-table; /* Safari & some other browsers */
	display: inline-block; /* WinIE & some other browsers */
}

/* star-html hack to show <a> rule(s) just to IE (Win and Mac) */
* html .gallery a {
	display: table-cell;   /* gecko & Opera6- */
	display: inline-table; /* Safari & some other browsers */
	display: inline-block; /* WinIE & some other browsers */
}
/* image is not clickable in WinIE with display:block :( \*/
* html .gallery span {
	display: inline;
}
* html .gallery a:hover i {
	cursor: hand; /* otherwise cursor doesn't change over block <i> */
} /* end WinIE hacks */

/* end hacks */

#footer {
  margin: 50px 5% 0px 5%;
  border-top: 1px solid #dd5800;
  clear: both;
}
#footer p {
	width:580px;
	margin: 0 auto;
  font-size: 90%;
  color: #256290;
  padding: 5.2em 0 0.2em 0;
	position: absolute;
	bottom: 0px;
	left: auto;
	right: auto;
}

#wrapper {
    margin: 0 auto;
    flex-grow: 1;
    max-width: 75ch;
    position: relative;
}

.toc-container {
	> .toc-list {
		position: relative;
	}
	.toc-list {
		list-style: none;
	}
}

.toc-list {
	overflow: hidden;
	margin: unset;
}

.toc-list-item {
	margin-top: 0.4rem;
}

.toc-list-item > ol.toc-list {
	margin-top: 0.4rem;
}

.toc-sidebar {
	display: none;
	font-size: 16px;
}
.toc-sidebar .toc-container a {
	text-decoration: none;
}
.toc-sidebar .toc-container, .toc-sidebar .toc-container li a {
	color: var(--color-toc-text);
}
.toc-sidebar .toc-container li.is-active-li, .toc-sidebar .toc-container li a.is-active-link {
	color: var(--color-base-text-2);
}

/* If a browser doesn't support the :has selector, we do this in JavaScript (which unfortunately
	sometimes causes a jump of content on page load, for those browsers). */
@media (min-width: 1221px) and (max-width: 1500px) {
	main:has(.toc-list) {
		margin: 0 -8rem 0 10rem;
	}
}
@media (min-width: 1024px) and (max-width: 1220px) {
	// Firefox doesn't support the has selector, so we also do this in JavaScript (which unfortunately
	// sometimes causes a jump of content on page load, in Firefox).
	main:has(.toc-list) {
		margin: 0 -8rem 0 6rem;
	}
}

@media (min-width: 1024px) {
	#wrapper {
    left: 17%;
	}
	.toc-sidebar {
		display: block;
		position: fixed;
		top: 120px;
		max-height: 95vh;
		overflow-y: auto;
		transform: translateX(-18rem) translateY(-40px); /* translateY(-40px) ensures the TOC can scroll to the bottom even on very long pages */
		width: 16rem;
		border: none;
		background-color: unset;
 }
}

@media (min-width: 1500px) {
	#wrapper {
    left: 5%;
	}
}

@media (min-width: 1024px) and (max-width: 1080px) {
	.toc-sidebar {
		width: 15rem;
		transform: translateX(-17rem) translateY(-40px);
	}
}

@media (min-width: 1600px) {
	.toc-sidebar {
		transform: translateX(-22rem) translateY(-40px); /* translateY(-40px) ensures the TOC can scroll to the bottom even on very long pages */
		width: 18rem;
	}
}


@media(max-width:767px) {
	#links ul {
		list-style-type: none;
	}
	
	#links ul li {
		margin-bottom: 12px;
	}
	
	#nav li {
		margin-right: 10px;
	}
	
	#wrapper {
    margin: auto 10px;
	}
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #444;
		color: #fff;
	}
	a {
		color: #aaf;
	}
	.special-note {
		background-color: #585829
	}
	.chartjs-render-monitor {
		background-color: #d8d8d8;
	}
}