/*
#71bf48 G
#ffd80e Y
#f68825 O
#e9322b R
#af3192 P
#00a4e6 B
*/

body {
	margin: 0;
	padding: 0;
	background-color: white;
	border-top: 10px solid #71bf48;
	border-bottom: 10px solid #00a4e6;
	font: 11pt Avenir, 'Segoe UI', 'Lucida Grande', Lucida, Verdana, sans-serif;
	line-height: 1.5;
	padding-bottom: env(safe-area-inset-bottom);
}

h1 {
	text-wrap-style: balance;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, label, ul, ol, dl, fieldset, address {
	margin-bottom: 1em;
}

kbd {
	font-size: 90.9091%;
}

ul li p {
	margin-left: 0;
	margin-right: 0;
}

a {
	color: #00a;
}

a:visited {
	color: #af3192;
}

iframe {
	border: none;
}

#container {
	display: flex;
	flex-direction: column;
	text-align: center;
	padding-bottom: 20px;
	min-height: calc(100vh - 40px);
}

#content {
	text-align: left;
	margin: 0 auto;
	width: 100%;
	max-width: 640px;
}

h1, h2, h3, h4, h5 {
	font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
	font-weight: normal;
	line-height: 1.3;
	margin: 0.25em 0;
}

h1.logo {
	font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
	font-size: 80px;
	margin-top: 0;
	margin-bottom: 20px;
	text-wrap-style: auto;
}

h1.logo a, h1.logo a:hover, h1.logo a:hover:after {
	text-decoration: none;
	border: none;
	content: none;
}

h1.logo .tiny-mac {
	margin-left: 5px;
}

h1.logo .tiny-mac img {
	vertical-align: baseline;
	border: none;
}

h1.month-and-year {
	font-size: 48px;
}

h1 {
	font-size: 36px;
}

h1 a, h2 a, h3 a, h4 a, a.stealth {
	color: inherit ! important;
	text-decoration: none;
}

h1 a:hover {
	border-bottom: 2px solid #f68825;
}

h1 a:hover:after {
	content: " \203A";
}

h1 a.no-arrow:hover:after {
	content: "";
}

h2.subtitle {
	font: 11pt Avenir, 'Segoe UI', 'Lucida Grande', Lucida, Verdana, sans-serif;
	color: gray;
	margin-top: -6px;
	margin-bottom: 9px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 22px;
}

blockquote p:first-child {
	margin-top: 0;
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote {
	margin-left: 40px;
	font-style: italic;
	border-left: 3px solid #e9322b;
	padding-left: 1em;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	margin-top: 0;
	margin-bottom: 0;
}

blockquote em {
	font-style: normal;
}

hr {
	clear: both;
	border: none;
	background-color: #c0c0c0;
	height: 1px;
	margin-top: 1em;
	margin-bottom: 1em;
	background: #c0c0c0;
	background: linear-gradient(to right, #ffffff 0%, #c0c0c0 25%, #c0c0c0 50%, #c0c0c0 75%, #ffffff 100%);
}

p + hr {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.post-info {
	font-size: 14px;
}

.post-info .author a {
	text-decoration: none;
	color: black;
}

.post-info .author a:hover {
	text-decoration: underline;
}

.post-info .disclosure {
	font-size: 90%;
}

.post-info .disclosure a {
	color: inherit ! important;
	text-decoration-color: silver;
}

hr.divider {
	clear: both;
	height: 2px;
	margin-bottom: 20px;
	background: #ffd80e;
	background: linear-gradient(to right, #ffffff 0%, #ffd80e 25%, #ffd80e 50%, #ffd80e 75%, #ffffff 100%);
}

hr.post-divider {
	clear: both;
	height: 2px;
	margin-top: 30px;
	margin-bottom: 20px;
	background: #e9322b;
	background: linear-gradient(to right, #ffffff 0%, #e9322b 25%, #e9322b 50%, #e9322b 75%, #ffffff 100%);
}

hr.post-divider-last, hr.divider-last {
	clear: both;
	height: 2px;
	margin-top: 30px;
	margin-bottom: 20px;
	background: #af3192;
	background: linear-gradient(to right, #ffffff 0%, #af3192 25%, #af3192 50%, #af3192 75%, #ffffff 100%);
}

#nav {
	text-align: right;
	width: 100%;
	font-family: Helvetica, 'Lucida Grande', Lucida, Verdana, sans-serif;
	font-weight: bold;
	margin: 0;
}

#nav ul {
	margin: 0;
	padding: 0;
	display: inline;
}

#nav ul li {
	margin-left: 0;
	padding: 5px;
	list-style: none;
	display: inline;
	text-transform: uppercase;
}

#nav ul li a {
	text-decoration: none;
	color: #aaa;
	font-size: 13px;
	line-height: 13px;
}

#nav ul li a:hover {
	color: black;
	border-bottom: 2px solid #ffd80e;
}

#nav ul li a.current:hover {
	color: #aaa;
	border-bottom: none;
	cursor: default;
}

#nav .search {
	background-color: #aaa;
	width: 11px;
	content: "";
	margin-left: -2px;
	display: inline-block;
	position: relative;
	top: 1px;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100%;
	mask-size: 100%;
	/*mask-position: center;*/
	/* mask-image: url("/images/search-symbol.svg"); */
	-webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 80 81' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;'%3E%3Cg id='Bold-S' transform='matrix(-1,0,0,1,87.2124,75.2984)'%3E%3Cpath d='M8.789,-41.65C8.789,-23.633 23.389,-9.058 41.406,-9.058C47.217,-9.058 52.612,-10.62 57.275,-13.33L72.022,1.44C73.633,3.027 75.781,3.784 77.979,3.784C82.666,3.784 86.182,0.195 86.182,-4.468C86.182,-6.641 85.4,-8.716 83.838,-10.327L69.238,-24.951C72.266,-29.785 73.999,-35.498 73.999,-41.65C73.999,-59.668 59.424,-74.268 41.406,-74.268C23.389,-74.268 8.789,-59.668 8.789,-41.65ZM20.044,-41.65C20.044,-53.442 29.614,-63.013 41.406,-63.013C53.198,-63.013 62.769,-53.442 62.769,-41.65C62.769,-29.883 53.198,-20.288 41.406,-20.288C29.614,-20.288 20.044,-29.883 20.044,-41.65Z' style='fill-rule:nonzero;stroke:black;stroke-width:0.5px;'/%3E%3C/g%3E%3C/svg%3E%0A");
	mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 80 81' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;'%3E%3Cg id='Bold-S' transform='matrix(-1,0,0,1,87.2124,75.2984)'%3E%3Cpath d='M8.789,-41.65C8.789,-23.633 23.389,-9.058 41.406,-9.058C47.217,-9.058 52.612,-10.62 57.275,-13.33L72.022,1.44C73.633,3.027 75.781,3.784 77.979,3.784C82.666,3.784 86.182,0.195 86.182,-4.468C86.182,-6.641 85.4,-8.716 83.838,-10.327L69.238,-24.951C72.266,-29.785 73.999,-35.498 73.999,-41.65C73.999,-59.668 59.424,-74.268 41.406,-74.268C23.389,-74.268 8.789,-59.668 8.789,-41.65ZM20.044,-41.65C20.044,-53.442 29.614,-63.013 41.406,-63.013C53.198,-63.013 62.769,-53.442 62.769,-41.65C62.769,-29.883 53.198,-20.288 41.406,-20.288C29.614,-20.288 20.044,-29.883 20.044,-41.65Z' style='fill-rule:nonzero;stroke:black;stroke-width:0.5px;'/%3E%3C/g%3E%3C/svg%3E%0A");
}

#page-find .pagefind-ui__form:before{
	-webkit-mask-image:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 128 129' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;'%3E%3Cg id='Bold-L' transform='matrix(1,0,0,1,-13.4448,99.5998)'%3E%3Cpath d='M14.476,-46.386C14.476,-17.571 37.856,5.771 66.671,5.771C76.66,5.771 85.896,2.872 93.702,-2.113L120.601,24.837C122.792,27.004 125.736,28.068 128.76,28.068C135.247,28.068 140.02,23.11 140.02,16.719C140.02,13.742 138.936,10.907 136.812,8.694L110.105,-18.051C115.611,-26.1 118.816,-35.848 118.816,-46.386C118.816,-75.189 95.474,-98.569 66.671,-98.569C37.856,-98.569 14.476,-75.189 14.476,-46.386ZM29.78,-46.386C29.78,-66.726 46.318,-83.264 66.671,-83.264C87.003,-83.264 103.549,-66.726 103.549,-46.386C103.549,-26.071 87.003,-9.495 66.671,-9.495C46.318,-9.495 29.78,-26.071 29.78,-46.386Z' style='fill-rule:nonzero;stroke:black;stroke-width:0.5px;'/%3E%3C/g%3E%3C/svg%3E%0A");
	mask-image:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 128 129' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;'%3E%3Cg id='Bold-L' transform='matrix(1,0,0,1,-13.4448,99.5998)'%3E%3Cpath d='M14.476,-46.386C14.476,-17.571 37.856,5.771 66.671,5.771C76.66,5.771 85.896,2.872 93.702,-2.113L120.601,24.837C122.792,27.004 125.736,28.068 128.76,28.068C135.247,28.068 140.02,23.11 140.02,16.719C140.02,13.742 138.936,10.907 136.812,8.694L110.105,-18.051C115.611,-26.1 118.816,-35.848 118.816,-46.386C118.816,-75.189 95.474,-98.569 66.671,-98.569C37.856,-98.569 14.476,-75.189 14.476,-46.386ZM29.78,-46.386C29.78,-66.726 46.318,-83.264 66.671,-83.264C87.003,-83.264 103.549,-66.726 103.549,-46.386C103.549,-26.071 87.003,-9.495 66.671,-9.495C46.318,-9.495 29.78,-26.071 29.78,-46.386Z' style='fill-rule:nonzero;stroke:black;stroke-width:0.5px;'/%3E%3C/g%3E%3C/svg%3E%0A");
}

#nav .search:hover {
	background-color: black;
	cursor: pointer;
}

#nav .current.search:hover {
	background-color: black;
	cursor: pointer;
}

.post-nav a, .month-nav a {
	font-family: Helvetica, 'Lucida Grande', Lucida, Verdana, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	color: black;
}

.post-nav a:hover, .month-nav a:hover {
	color: black;
	border-bottom: 2px solid #00a4e6;
}

.post-nav a.next, .month-nav a.next {
	float: right;
}

.post-nav.next-only {
	text-align: right;
}

.post-nav.next-only > a.next, .month-nav.next-only > a.next {
	float: none;
}

.origin-info {
	font-style: italic;
	font-size: 90%;
}

body.fatbits img.right {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

body.fatbits img.right.wii-controller {
	border: 1px solid silver;
}

body.fatbits img.right.macpaint {
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}

.archive-links .date {
	font-size: 90%;
}

body.page ul ul {
	margin-bottom: 0;
}

div.image {
	padding: 0;
	margin-left: 0;
	margin-right: 0;
	line-height: 1;
	margin-bottom: 1em;
}

div.image img {
	padding: 0;
	margin: 0;
}

div.image.right {
	float: right;
	margin-left: 5px;
	margin-right: 0;
}

div.image.center {
	text-align: center;
}

div.image.header {
	margin-top: 1em;
}

div.image.top {
	margin-top: 0;
}

div.image .title {
	margin: 0;
	padding: 0;
	text-align: center;
	font: 18px Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
}

div.caption {
	border-bottom: 1px solid silver;
	margin-top: 0.5em;
	font-size: 14px;
	padding-bottom: 0.5em;
	color: #666;
	line-height: 1.25;
}

div.caption a {
	color: #666;
}

div.image.john-siracusa {
	width: 250px;
	height: 250px;
	margin-top: -40px;
	margin-bottom: 5px;
}

.tool-tip:hover {
	cursor: pointer;
}

.video-container {
	position: relative; /* keeps the aspect ratio */
	padding-bottom: 56.25%; /* fine tunes the video positioning */
	padding-top: 60px;
	overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hidden {
	display: none;
}

.verification-links {
	display: none;
}

#page-find {
	--pagefind-ui-scale: 1;
	--pagefind-ui-primary: #034ad8;
	--pagefind-ui-text: #393939;
	--pagefind-ui-background: #ffffff;
	--pagefind-ui-border: #ddd;
	--pagefind-ui-tag: #ddd;
	--pagefind-ui-border-width: 1px;
	--pagefind-ui-border-radius: 8px;
	--pagefind-ui-image-border-radius: 0;
	--pagefind-ui-image-box-ratio: 1;
	--pagefind-ui-font: 11pt Avenir, 'Segoe UI', 'Lucida Grande', Lucida, Verdana, sans-serif;
}

#page-find,
#page-find .pagefind-ui__search-input,
#page-find .pagefind-ui__result-excerpt,
#page-find .pagefind-ui__result-title,
#page-find .pagefind-ui__result-link,
#page-find .pagefind-ui__message {
	font: inherit;
}

#page-find .pagefind-ui__result-title,
#page-find .pagefind-ui__result-link {
	color: inherit;
	font-weight: bold;
	font-size: 110%;
}

#page-find .pagefind-ui__result-title a.pagefind-ui__result-link {
	color: #00a;
}

#page-find .pagefind-ui__result-title a.pagefind-ui__result-link:visited {
	color: #af3192;
}

#page-find .pagefind-ui__result {
    padding: calc(20px * var(--pagefind-ui-scale)) 0 calc(20px * var(--pagefind-ui-scale));
}

#page-find .pagefind-ui__search-input {
	font-size: 110%;
	font-weight: bold;
}

#page-find a {
	text-decoration: underline;
}

#page-find form li:last-child {
	border-bottom: none;
}

#page-find .pagefind-ui__results-area {
	margin-top: 0;
}

#page-find .pagefind-ui__results-area .pagefind-ui__message {
	padding-left: 3px;
}

#page-find .pagefind-ui__result-thumb:empty {
	content: url("/images/hypercritical.png");
}

#page-find .pagefind-ui__result-nested .pagefind-ui__result-link:before{
	content:"\023f5 ";
	position: absolute;
	top: 0;
	right: calc(100% + .4em);
	font-size: 90%;
}

#page-find .pf-results .pf-result-excerpt mark,
#page-find .pf-results .pf-heading-excerpt mark,
#page-find .pf-results .pf-searchbox-result-excerpt mark {
	background-color: #ff0 ! important;
}

#page-find .pf-summary {
	padding-left: 3px;
	margin: 8px;
}

@media only screen and	(min-width: 601px) and (max-width: 720px) {
	#nav .search {
		margin-left: 0.5vw;
	}

	#nav ul li {
		margin: 0;
		padding: 0;
		padding-right: 0.25em;
	}

	h1.logo {
		font-size: 72px;
		font-size: 13vw;
		margin-bottom: 18px;
		margin-bottom: 3.5vw;
	}

	h1.month-and-year {
		font-size: 40px;
		font-size: 7.5vw;
	}

	h1 {
		font-size: 34px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 22px;
	}
}

@media only screen and (min-width: 481px) and (max-width: 670px) {
	#nav ul li {
		margin: 0;
		padding: 0;
		padding-right: 0.25em;
	}

	h1.logo {
		font-size: 42px;
		font-size: 13vw;
		margin-bottom: 10px;
		margin-bottom: 3.5vw;
	}

	h1.logo .tiny-mac {
		margin-left: 1vw;
	}

	h1.month-and-year {
		font-size: 32px;
		font-size: 7.5vw;
	}

	h1 {
		font-size: 28px;
	}

	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 18px;
	}

	dd, li {
		margin-left: 15px;
	}

	p, pre, h1, h2, h3, h4, dl, blockquote, hr, .post-info, .post-nav, .month-nav, #archive, .image .caption, .image .title, #page-find form {
		margin-left: 15px;
		margin-left: 6.5vw;
		margin-right: 15px;
		margin-right: 6.5vw;
	}

	div.image .title {
		font-size: 14px;
		font-size: 5vw;
		padding-left: 15px;
		padding-left: 6.5vw;
		padding-right: 15px;
		padding-right: 6.5vw;
	}

	div.image img {
		width: 100%;
		height: auto;
	}

	div.image.john-siracusa {
		margin-right: 7%;
		margin-right: 6.5vw;
	}
}

@media only screen and (max-width: 670px) {
	#nav ul li {
		margin: 0;
		padding: 0;
		padding-right: 0.25em;
	}

	dd, li {
		margin-left: 20px;
		margin-right: 6.5vw;
	}

	p, div.body-content, pre, h1, h2, h3, h4, dl, blockquote, hr, table, .post-info, .post-nav, .month-nav, #archive, .image .caption, .image .title, #page-find form {
		margin-left: 7%;
		margin-left: 6.5vw;
		margin-right: 7%;
		margin-right: 6.5vw;
	}

	div.image .title {
		font-size: 14px;
		font-size: 5vw;
		padding-left: 7%;
		padding-left: 6.5vw;
		padding-right: 7%;
		padding-right: 6.5vw;
	}
}

@media only screen and (max-width: 480px) {
	#nav ul li {
		margin: 0;
		padding: 0;
		padding-right: 0.25em;
	}

	#nav ul li:last-child {
		padding-right: 1em;
	}

	#nav ul li a {
		font-size: 12px;
		font-size: 3.5vw;
		line-height: 12px;
		line-height: 3.5vw;
	}

	#nav ul li a.search {
		width: 2.8vw;
	}

	h1.logo {
		font-size: 40px;
		font-size: 13vw;
		margin-bottom: 10px;
		margin-bottom: 3.5vw;
	}

	h1.month-and-year {
		font-size: 32px;
		font-size: 8.5vw;
	}

	h1 {
		font-size: 22px;
	}

	h2 {
		font-size: 20px;
	}

	h3 {
		font-size: 18px;
	}

	dd, li {
		margin-left: 15px;
		margin-right: 6.5vw;
	}

	p, div.body-content, pre, h1, h2, h3, h4, dl, blockquote, hr, table, .post-info, .post-nav, .month-nav, #archive, #page-find form {
		margin-left: 15px;
		margin-right: 15px;

		margin-left: 7%;
		margin-left: 6.5vw;
		margin-right: 7%;
		margin-right: 6.5vw;
	}

	div.image img {
		width: 100%;
		height: auto;
	}

	div.image.john-siracusa {
		background: none;
		float: none;
		margin: auto;
		width: 85%;
		height: auto;
	}

	div.image.john-siracusa:hover {
		background: none;
	}

	div.image.john-siracusa img {
		display: block;
		margin: auto;
		width: 100%;
	}
}

@media only screen and (min-width: 320px) and (min-resolution: 2dppx), (min-resolution: 192dpi) {
	h1.logo .tiny-mac img {
		display: none;
	}

	h1.logo .tiny-mac {
		background: url(/images/tiny-mac@2x.gif) no-repeat scroll center bottom;
		background-size: 16px 16px;
		width: 16px;
		height: 16px;
		display: inline-block;
	}
}

#archive > .year {
	float: left;
	margin: 0 2em 2em 0;
}

#archive .year-number {
	font: 24px Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
	margin-bottom: 0.5em;
}

/* Apps */

.screenshot img,
.app-icon img,
.app-store-badge img {
	display: block;
	margin: auto;
	clear: both;
}

.app-icon-right {
	float: right;
	margin: 5px 0 0 5px;
}

.app-icon-right * {
	float: none;
}

@media only screen and (max-width: 670px) {
	.app-icon-right {
		float: right;
		margin: 0 15px 0 0;
		margin: 0 6.5vw 0 0;
	}

	#help .a ul {
		margin-right: 15px;
		margin-right: 6.5vw;
	}
}

.cf:before,
.cf:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.cf:after {
	clear: both;
}

/* IE 5.5-IE7 */
/*
.cf {
	*zoom: 1;
}
 */

/* Bigfoot */

.footnote-button {
	vertical-align: baseline;
	position: relative;
	top: -0.4em;
	font-size: 75%;
	padding: 0 3px;
	border-radius: 3px;
	color: black ! important;
	background-color: #e1e1e1;
	text-decoration: none;
	margin-left: 1px;
}

/*
.footnote-button {
	position: relative;
	z-index: 5;
	top: -0.15em;
	box-sizing: border-box;
	display: inline-block;
	padding: 0.34em;
	margin: 0 0.1em 0 0.2em;
	border: none;
	border-radius: 0.3em;
	cursor: pointer;
	opacity: 0.3;
	background-color: #464646;
	line-height: 0;
	vertical-align: middle;
	text-decoration: none;
	font-smoothing: antialiased;
	transition: opacity;
	transition-duration: 0.25s;
}

.footnote-button:hover {
	opacity: 0.6;
}

.footnote-button:active {
	opacity: 0.6;
}

.footnote-button.active {
	opacity: 0.9;
	transition-delay: 0.15s;
}

.footnote-circle {
	display: inline-block;
	width: 0.32em;
	height: 0.32em;
	margin-right: 0.224em;
	border-radius: 100%;
	background-color: #e6e6e6;
	border: none;
}

.footnote-circle:last-child {
	margin-right: 0;
}

*/
@media not print {
	.footnote-print-only {
		display: none !important;
	}
}

/*
@media print {
	.footnote-button {
		display: none !important;
	}
}
*/

.footnote-content p {
	margin: 0;
}

.footnote-content {
	position: fixed;
	z-index: 10;
	bottom: auto;
	left: auto;
	box-sizing: border-box;
	max-width: 90%;
	margin: 1.21924em auto;
	display: inline-block;
	background: #fafafa;
	opacity: 0;
	border-radius: 0.5em;
	border: 1px solid #c3c3c3;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	transition: opacity, transform;
	transition-duration: 0.25s;
}

.footnote-content:not(.fixed-bottom) {
	transform: scale(0.1) translateZ(0);
	transform-origin: 50% 0;
}

.footnote-content.active:not(.fixed-bottom) {
	transform: scale(1) translateZ(0);
	/* opacity: 0.97; */
	opacity: 1;
}

.footnote-content.bottom {
	transform-origin: top;
}

.footnote-content.top {
	transform-origin: bottom;
}

.footnote-content.fixed-bottom {
	bottom: 0 !important;
	top: auto !important;
	left: 0 !important;
	width: 100%;
	max-width: 100%;
	margin: 0;
	transform: translateY(105%);
	border-radius: 0;
	opacity: 1;
	transition: transform;
	transition-duration: 0.25s;
}

.footnote-content.fixed-bottom.active {
	transform: translateY(0);
}

.footnote-content.fixed-bottom .footnote-main-wrapper {
	max-width: 90%;
	width: 22em;
	margin: 0 auto;
}

.footnote-content.fixed-bottom .bigfoot-tooltip {
	display: none;
}

.footnote-content.scrollable:after {
	content: '...';
	position: fixed;
	bottom: 0.45em;
	right: 50%;
	z-index: 20;
	width: 1.5em;
	margin-right: -0.75em;
	opacity: 1;
	background-color: #fafafa;
	font-family: Georgia;
	font-weight: bold;
	font-size: 1.8em;
	text-align: center;
	color: rgba(0, 0, 0, 0.08);
	line-height: 0;
	transition: opacity;
	transition-duration: 0.25s;
	transition-delay: 0.4s;
}

.footnote-content.scrollable.fully-scrolled:after {
	opacity: 0;
	transition-delay: 0s;
}

.footnote-content.scrollable .footnote-main-wrapper:before, .footnote-content.scrollable .footnote-main-wrapper:after {
	content: ' ';
	position: absolute;
	width: 100%;
	z-index: 12;
}

.footnote-content.scrollable .footnote-main-wrapper:before {
	top: -1px;
	left: 0;
	height: 1.1em;
	border-radius: 0.5em 0.5em 0 0;
	background: #fafafa;
	background: linear-gradient(to bottom, #fafafa 0%, #fafafa 50%, rgba(250, 250, 250, 0) 100%);
}

.footnote-content.scrollable .footnote-main-wrapper:after {
	bottom: -1px;
	left: 0;
	height: 1.2em;
	border-radius: 0 0 0.5em 0.5em;
	background: #fafafa;
	background: linear-gradient(to top, #fafafa 0%, #fafafa 50%, rgba(250, 250, 250, 0) 100%);
}

/*
.footnote-content ::-webkit-scrollbar {
	display: none;
}
*/

.footnote-main-wrapper {
	position: relative;
	z-index: 14;
	box-sizing: border-box;
	overflow: hidden;
	margin: 0;
	max-width: 22em;
	background-color: #fafafa;
	/* border-radius: 0.5em; */
	border-radius: 0.44em;
	transition: max-height;
	transition-duration: 0.25s;
}

.footnote-content-wrapper {
	position: relative;
	z-index: 8;
	max-height: 15em;
	padding: 1.1em 1.3em 1.2em;
	box-sizing: border-box;
	overflow: auto;
	/* -webkit-overflow-scrolling: touch; */
	background: #fafafa;
	border-radius: 0.5em;
	/*-webkit-font-smoothing: subpixel-antialiased;*/
}

.footnote-content-wrapper img {
	max-width: 100%;
}

.footnote-content-wrapper *:last-child {
	margin-bottom: 0;
}

.footnote-content-wrapper *:first-child {
	margin-top: 0;
}

.bigfoot-tooltip {
	position: absolute;
	z-index: 12;
	box-sizing: border-box;
	margin-left: -0.65em;
	width: 1.3em;
	height: 1.3em;
	transform: rotate(45deg);
	background: #fafafa;
	border: 1px solid #c3c3c3;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	border-top-left-radius: 0;
}

.bottom .bigfoot-tooltip {
	top: -0.65em;
	bottom: auto;
}

.top .bigfoot-tooltip {
	bottom: -0.65em;
	top: auto;
}

.footnotes ol {
	padding-left: 1.5em;
}

#footer {
	margin-top: auto;
}

#footer .policies {
    text-align: center;
    color: silver;
}

@media (prefers-color-scheme: dark) {
	body, .footnote-content-wrapper, .bigfoot-tooltip {
		color: #e4e4e4;
		background-color: #1e1e1e;
	}

	.footnote-content-wrapper::-webkit-scrollbar {
		width: 8px;
	}

	.footnote-content-wrapper::-webkit-scrollbar-track {
		background-color: #171717;
	}

	.footnote-content-wrapper::-webkit-scrollbar-thumb {
		background-color: #333;
		border-radius: 4px;
	}

	.footnote-content-wrapper::-webkit-scrollbar-thumb:hover {
		background-color: #444;
		border-radius: 4px;
	}

	.footnote-content-wrapper, .bigfoot-tooltip {
		border-color: #707070;
		border-radius: 0;
	}

	.footnote-button {
		background-color: #4d4d4d;
		color: #e4e4e4 ! important;
	}

	.footnote-content.scrollable .footnote-main-wrapper:before {
        color: #e4e4e4;
        background-color: #1e1e1e;
		background: linear-gradient(to bottom, #1e1e1e 0%, #1e1e1e 50%, rgba(30, 30, 30, 0) 100%);
	}

	.footnote-content.scrollable .footnote-main-wrapper:after {
        color: #e4e4e4;
        background-color: #1e1e1e;
		background: linear-gradient(to top, #1e1e1e 0%, #1e1e1e 50%, rgba(30, 30, 30, 0) 100%);
	}

	.footnote-content {
		box-shadow: 2px 2px 8px rgb(0 0 0 / 75%);
		border-color: #707070;
		background: none;
	}

	a:link {
		color: #2eA8ff;
	}

	a:visited {
		color: #967eff;
	}

	#page-find .pagefind-ui__result-title a.pagefind-ui__result-link {
		color: #2eA8ff;
	}

	#page-find .pagefind-ui__result-title a.pagefind-ui__result-link:visited {
		color: #967eff;
	}

	#page-find .pagefind-ui__result {
		border-color: #444;
	}
	#nav ul li a:hover {
		color: #e4e4e4;
	}

	#nav ul li a.search:hover {
		background-color: #e4e4e4;
	}

	#nav ul li a.current:hover {
		color: #aaa;
	}

	#nav ul li a.current.search:hover {
		background-color: #aaa;
		mask-position: 50% calc(50% - 1px);
	}

	.post-info .author a {
		color: #e4e4e4;
	}

	.post-info .disclosure a {
		text-decoration-color: #777;
	}

	.post-nav a:hover, .month-nav a:hover {
		color: #e4e4e4;
	}

	hr {
		background: #c0c0c0;
		background: linear-gradient(to right, #1e1e1e 0%, #c0c0c0 25%, #c0c0c0 50%, #c0c0c0 75%, #1e1e1e 100%);
	}

	hr.divider {
		background: #ffd80e;
		background: linear-gradient(to right, #1e1e1e 0%, #ffd80e 25%, #ffd80e 50%, #ffd80e 75%, #1e1e1e 100%);
	}

	hr.post-divider {
		background: #e9322b;
		background: linear-gradient(to right, #1e1e1e 0%, #e9322b 25%, #e9322b 50%, #e9322b 75%, #1e1e1e 100%);
	}

	hr.post-divider-last, hr.divider-last {
		background: #af3192;
		background: linear-gradient(to right, #1e1e1e 0%, #af3192 25%, #af3192 50%, #af3192 75%, #1e1e1e 100%);
	}

	#page-find {
		--pagefind-ui-primary: #e4e4e4;
		--pagefind-ui-text: #e4e4e4;
		--pagefind-ui-background: #1e1e1e;
		--pagefind-ui-border: #eeeeee;
		--pagefind-ui-tag: #eeeeee;
	}

	#page-find a:link {
		color: #2eA8ff;
	}

	#page-find a:visited {
		color: #967eff;
	}


}

body.dark-mode {
	color: #e4e4e4;
	background-color: #1e1e1e;
}

body.dark-mode a:link {
	color: #2eA8ff;
}

body.dark-mode a:visited {
	color: #967eff;
}

body.dark-mode #nav ul li a:hover {
	color: #e4e4e4;
}

body.dark-mode #nav ul li a.current:hover {
	color: #aaa;
}

body.dark-mode .post-info .author a {
	color: #e4e4e4;
}

body.dark-mode r {
	background: #c0c0c0;
	background: linear-gradient(to right,  #1e1e1e 0%,#c0c0c0 25%,#c0c0c0 50%,#c0c0c0 75%,#1e1e1e 100%);
}

body.dark-mode hr.divider {
	background: #ffd80e;
	background: linear-gradient(to right, #1e1e1e 0%, #ffd80e 25%, #ffd80e 50%, #ffd80e 75%, #1e1e1e 100%);
}

body.dark-mode hr.post-divider {
	background: #e9322b;
	background: linear-gradient(to right, #1e1e1e 0%, #e9322b 25%, #e9322b 50%, #e9322b 75%, #1e1e1e 100%);
}

body.dark-mode hr.post-divider-last, hr.divider-last {
	background: #af3192;
	background: linear-gradient(to right, #1e1e1e 0%, #af3192 25%, #af3192 50%, #af3192 75%, #1e1e1e 100%);
}
