body { 
	visibility: hidden 
}

.navmargin {
	margin-top: 2em;
}

/* Override bootstrap.css's img { filter: contrast(1000%) } which
   blows out real photos. Restore normal contrast for content images. */
.row-fluid.navmargin img {
	-webkit-filter: none;
	-moz-filter: none;
	-ms-filter: none;
	-o-filter: none;
	filter: none;
}

h2 {
    white-space: normal;
}

/* Theme Pagefind search UI to match hugo386's DOS blue palette
   (body: #000084 bg / #bbbbbb text, links: #fefe54, accents: #00aaaa) */
#search {
	--pagefind-ui-primary: #fefe54;
	--pagefind-ui-text: #bbbbbb;
	--pagefind-ui-background: #000084;
	--pagefind-ui-border: #00aaaa;
	--pagefind-ui-tag: #000000;
	--pagefind-ui-border-width: 1px;
	--pagefind-ui-border-radius: 0px;
	--pagefind-ui-font: DOS, Monaco, Menlo, Consolas, "Courier New", monospace;
}

/* Stop the site's global a:hover (brown #aa5500) from muddying result links */
#search a:hover,
#search a:focus {
	background: #00aaaa !important;
	color: #000084 !important;
}

#search .pagefind-ui__result-link,
#search .pagefind-ui__result-title {
	color: #fefe54;
}

/* Highlighted matching terms inside excerpts */
#search .pagefind-ui__result-excerpt mark {
	background: #00aaaa;
	color: #000084;
}

#search input[type="text"] {
	background: #000000;
	color: #fefe54;
	border: 1px solid #00aaaa;
}

/* Table of Contents sidebar (single.html) - styled like the theme's
   nav-list "DOS dialog box" used for categories/tags */
.toc-sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 20px;
}

#TableOfContents {
	display: block;
	padding: 10px 15px;
	margin: 10px 5px;
	margin-left: -5px;
	background: #bbbbbb;
	border: 2px solid #000000;
	-webkit-box-shadow: 0 0 0 5px, 11px 13px 0 4px black;
	   -moz-box-shadow: 0 0 0 5px, 11px 13px 0 4px black;
	        box-shadow: 0 0 0 5px, 11px 13px 0 4px black;
}

#TableOfContents ul {
	list-style: none;
	margin: 0;
	padding-left: 0.8em;
}

#TableOfContents > ul {
	padding-left: 0;
}

#TableOfContents a {
	display: block;
	padding: 0 8px;
	color: #000000;
}

#TableOfContents a:hover,
#TableOfContents a:focus {
	color: #bbbbbb;
	background-color: #000000;
	text-decoration: none;
}

#TableOfContents a.toc-active {
	color: #bbbbbb;
	background-color: #000084;
	font-weight: bold;
}

.post-content img {
	-webkit-filter: none;
	-moz-filter: none;
	-ms-filter: none;
	-o-filter: none;
	filter: none !important;
}

.post-content div:has(> iframe) {
	margin-bottom: 1.2em;
}

.content-row {
	display: flex;
	flex-wrap: wrap;
}
.footnote-tooltip {
	position: absolute;
	z-index: 1000;
	max-width: 300px;
	padding: 8px 12px;
	background: #bbbbbb;
	color: #000000;
	border: 2px solid #000000;
	-webkit-box-shadow: 0 0 0 5px, 6px 8px 0 4px black;
	   -moz-box-shadow: 0 0 0 5px, 6px 8px 0 4px black;
	        box-shadow: 0 0 0 5px, 6px 8px 0 4px black;
	font-size: 0.9em;
}

.footnote-tooltip p {
	margin: 0;
}

.footnote-ref a {
	color: #fefe54;
	text-decoration: none;
	cursor: help;
}

.footnote-ref a:hover {
	color: #00aaaa;
}

.post-content ul,
.post-content ol {
	margin-left: 20px;
}

.post-content ul li {
	list-style: disc;
}

.post-content ol li {
	list-style: decimal;
}

.post-content ul ul li,
.post-content ol ul li {
	list-style: circle;
}
