/* generic */
body {
	background-color: #dcdcdc;
	font-size: 16px;
	font-family: 'Exo 2', sans-serif;
	color: #000000;
}
h1 {
	margin: 14px 0;
	font-size: 24px;
	text-shadow: 0 2px 3px #708090;
	font-family: 'Exo', sans-serif;
	font-weight: 500;
	letter-spacing: 3px;
}
h2 {
	margin: 6px 0 16px;
	font-size: 18px;
	font-family: 'Exo', sans-serif;
	font-weight: 700;
	text-shadow: 1px 1px 0 #f8f8ff;
}
p {
	line-height: 1.5;
}
a {
	text-decoration: none;
	color: #ff4500;
}
a:hover {
	color: #ff8C00;
}
li {
	line-height: 1.5;
	list-style-type: none;
}
hr {
	border: none;
	border-top: 1px dotted #708090;
}
.floating-left {
	float: left;
}
.floating-right {
	float: right;
	margin-left: 16px;
}
.fading:hover {
	opacity: 0.6;
}
.left-160 {
	margin-left: 160px;
}
.gray-bg {
	background-color: #a9a9a9;
}
.red-bg {
	background-color: #cd5c5c;
}
.rose-bg {
	background-color: #ffe4e1;
}
.blue-bg {
	background-color: #87cefa;
}
.cyan-bg {
	background-color: #e0ffff;
}
.green-bg {
	background-color: #8fbc8f;
}
.honeydew-bg {
	background-color: #f0fff0;
}
.size-14 {
	font-size: 14px;
}
.size-18 {
	font-size: 18px;
}
.italic {
	font-style: italic;
}
.left {
	text-align: left;
}
.centered {
	text-align: center;
}
.right {
	text-align: right;
}
.top {
	vertical-align: top;
}
.red {
	color: #cd5c5c;
}
.gray {
	color: #696969;
}
.no-bullet {
	padding-left: 0;
}
.no-indent {
	padding-left: 18px;
}
.arrow-blt::before {
	content: "\2023";
	display: inline-block;
	margin-left: -1em;
	width: 1em;
	font-size: 18px;
	color: #5f9ea0;
}
.red-sq-blt::before {
	content: "\25aa";
	display: inline-block;
	margin-left: -1em;
	width: 1em;
	color: #dc143c;
}
.gray-sq-blt::before {
	content: "\25ab";
	display: inline-block;
	margin-left: -1em;
	width: 1em;
	color: #696969;
}
.round-ico {
	position: relative;
	top: 3px;
	line-height: 0;
	font-size: 18px;
	font-family: 'Material Icons Round';
	-webkit-font-smoothing: antialiased;
}
/* header */
header {
	overflow: hidden;
	width: 100%;
	min-width: 600px;
	height: 75px;
	background-color: #b22222;
	line-height: 0;
}
/* nav-menu */
nav {
	overflow: hidden;
	width: 100%;
	min-width: 600px;
	background-color: #000000;
	background-image: linear-gradient(#2f4f4f 8%, #000000 67%, #2f4f4f);
	font-weight: 400;
}
nav a {
	float: left;
	padding: 12px 16px;
	font-weight: 700;
	text-align: center;
	color: #c0c0c0;
}
nav a:hover, .dropdown:hover button {
	background-color: #b22222;
	color: #f5f5f5;
}
.dropdown {
	float: left;
	overflow: hidden;
}
.dropdown button {
	margin: 0;
	outline: none;
	border: none;
	padding: 12px 16px;
	background-color: inherit;
	font-size: 16px;
	font-family: inherit;
	font-weight: 700;
	color: #c0c0c0;				
}
.dropdown div {
	position: absolute;
	z-index: 1;
	display: none;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
	width: fit-content;
	background-color: #696969;
}
.dropdown div a {
	float: none;
	display: block;
	width: 150px;
	padding: 12px 16px;
	font-weight: 300;
	color: #c0c0c0;
}
.dropdown div a:hover {
	display: block;
	background-color: #cd5c5c;
	color: #f8f8ff;
}
.dropdown:hover div {
	display: block;
}
.sidebar {
	position: fixed;
	overflow: auto;
	margin-top: 14px;
	width: 150px;
	height: 80%;
	background-color: #f5f5f5;
	color: #000000;
}
.sidebar-content {
	border-top: 5px ridge #b0c4de;
	padding: 12px 16px;
	background-color: #f5f5f5;
}
.sidebar-container {
	background-image: none;
	text-align: center;
}
.sidebar-container img {
	width: 90%;
}
.sidebar-title {
	margin-top: 8px;
	border-bottom: 1px solid #b22222;
	padding-bottom: 6px;
	font-size: 16px;
	font-family: 'Exo', sans-serif;
	font-weight: 700;
	text-align: center;
	letter-spacing: 1px;
}
.bottom-nav {
	margin: 24px 0;
}
/* main-content */
.overview {
	gap: 15px;
	flex-direction: row;
	display: flex;
	margin: 15px 0;
	height: fit-content;
}
.logo {
	max-width: 150px;
	max-height: 75px;
	object-fit: contain;
}
.polaroid {
	position: relative;
	width: 50%;
	min-width: 150px;
	max-width: 300px;
}
.polaroid img, .gallery-row img, .thumbnail img {
	transition: 0.5s ease;
	margin-bottom: 5px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	width: 100%;
	cursor: pointer;
}
.polaroid img:hover, .gallery-row img:hover, .thumbnail img:hover {
	-webkit-filter: invert(60%);
	filter: invert(60%);
}
.gallery {
	margin: 25px 0;
	width: fit-content;
	max-width: 100%;
}
.gallery-desc {
	margin-bottom: 5px;
	cursor: default;
	text-align: center;
}
.gallery-row {
	gap: 10px;
	display: flex;
	overflow: auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	background-color: #ffffff;
	padding: 10px;
}
.gallery-row img {
	width: 150px;
	height: 150px;
	object-fit: cover;
}
.thumbnail {
	position: relative;
	margin-bottom: 5px;
	width: 150px;
	height: fit-content;
}
.image-text {
	position: absolute;
	bottom: 8px;
	right: 0;
	width: fit-content;
	padding: 5px;
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.5);
	cursor: default;
	color: #f8f8ff;
}
.catalog {
	overflow: auto;
	border: 2px solid #a9a9a9;
	border-collapse: collapse;
	background-color: #f5f5f5;
	color: #000000;
}
.catalog th, .catalog td {
	max-width: 150px;
	padding: 6px 8px;
}	
.catalog th {
	color: #000000;
}
.catalog td {
	border: 1px solid #a9a9a9;
	color: #000000;
}
.catalog .stub {
	border: 1px solid #a9a9a9;
	background-color: #d3d3d3;
	text-align: left;
}
.footnote {
	margin-top: 12px;
}
.lightbox {
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	display: none;
	overflow: auto;
	width: 100%;
	height: 100%;
	padding-top: 25px;
	background-color: rgba(0,0,0,0.6);
	text-align: center;
	color: #c0c0c0;
}
.lightbox-content {
	position: relative;
	top: 25px;
	margin: auto;
	width: fit-content;
	max-width: 90%;
	padding: 12px 16px;
	background-color: #ffffff;
	color: #000000;
}
.close {
	position: absolute;
	transition: 0.6s ease;
	top: 0;
	right: 0;
	margin: auto;
	padding: 15px;
	font-size: 36px;
	font-family: 'Material Icons Round';
	-webkit-font-smoothing: antialiased;
}
.close:hover, .close:focus {
	cursor: pointer;
	color: #f8f8ff;
}
.enlarged {
	width: 100%;
	max-height: 480px;
	object-fit: contain;
}
.prev, .next {
	position: absolute;
	top: 50%;
	display: block;
	transition: 0.6s ease;
	margin: -25px 0;
	padding: 15px;
	font-size: 48px;
	font-family: 'Material Icons Round';
	-webkit-font-smoothing: antialiased;
}
.prev {
	left: 0;
	border-radius: 0 3px 3px 0;
}
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}
.prev:hover, .prev:focus, .next:hover, .next:focus {
	background-color: rgba(0, 0, 0, 0.8);
	cursor: pointer;
	color: #f8f8ff;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #212121;
		color: #f5f5f5;
	}
	header, .logo, .polaroid img, .gallery-row, .thumbnail img, .lightbox-content {
		-webkit-filter: brightness(.8) contrast(1.2);
		filter: brightness(.8) contrast(1.2);
	}
	h2 {
		text-shadow: none;
	}
	hr {
		border-color: #616161;
	}
	.sidebar {
		background-color: #000000;
		color: #c0c0c0;
	}
	.sidebar-content {
		border-top-color: #2f4f4f;
		background-color: #000000;
	}
	.sidebar-container {
		background-image: radial-gradient(closest-side at 50% 70%, #708090, #212121, #000000);
	}
	.index {
		box-shadow: none;
		border-bottom: 2px solid #2f4f4f;
		background-color: #000000;
		color: #c0c0c0;
	}
	.index-logo {
		background-color: #000000;
		background-image: radial-gradient(closest-side at 50% 70%, #708090, #212121, #000000);
	}
	.catalog td {
		background-color: #000000;
		color: #c0c0c0;
	}
}

@media (max-width: 600px) {
	.left-160 {
		margin-left: 0;
	}
	.clipped {
		width: 450px;
		height: 75px;
	}
	.sidebar {
		position: relative;
		margin: 25px 0 50px;
		width: 100%;
		height: auto;
		background-color: transparent;
	}
	.sidebar-content {
		width: fit-content;
		max-width: 50%;
	}
	.overview {
		flex-direction: column-reverse;
	}
}