body {
	height: 100%;
	background-color: #101010;
	color: #ffffff;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  border-left: 5px solid #a00000;
  padding-left: 10px;
  font-family: Verdana, sans-serif;
  font-weight: 600;
}

.home-layout {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: grid;
	grid-template-rows: minmax(0, 1fr) 50px;
	min-height: 100vh;
}

.home-container {
	width: min(960px, 100%);
	height: 100%;
	min-width: 0;
	margin-inline: auto;
	text-align: center;
}

.home-grid {
	display: grid;
	grid-template-columns: minmax(0, 35fr) minmax(0, 75fr);
	grid-template-rows: 200px minmax(0, 1fr);
	width: 100%;
	height: 100%;
}

.home-header {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-end;
	height: 200px;
  padding-top: 20px;
	text-align: left;
}

.brand-image {
	width: 440px;
	height: auto;
	margin-left: 50px;
  margin-bottom: 25px;
}

.menu-container {
	text-align: right;
	align-self: center;
}

.menu {
	margin-bottom: 10px;
	height: 100%;
	font-family: 'Fraunces', serif;
	font-size: 18px;
	font-weight: 600;
}

.menu-item {
	color: #d3d3d3;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	margin-top: 10px;
  padding-right: 15px;
	text-decoration: none;
	transition: color 250ms ease;
}

.menu-item:hover,
.menu-item:focus-visible {
  border-right: 5px solid #a00000;
	color: #E3E3E3;
  cursor: pointer;
  padding-right: 10px;
}

.main-container {
	min-width: 0;
	min-height: 0;
	overflow: auto;
	padding-left: 50px;
  padding-top: 50px;
  margin-left: 50px;
	text-align: left;
}

.feature-image {
	width: auto;
	height: 512px;
	margin-bottom: 10px;
	border: 3px solid #303030;
}

.footer-cell {
	width: 960px;
	height: 50px;
	text-align: right;
}

.footer-rule {
	display: flex;
	min-width: 0;
	height: 50px;
	align-items: center;
	justify-content: flex-end;
	box-sizing: border-box;
	border-top: 1px solid #a00000;
	padding-right: 20px;
	color: #808080;
	background-color: #202020;
	text-align: right;
}

.gallery-frame {
	height: calc(100vh - 82px);
	min-height: 320px;
  overflow-y: auto;
}

.gallery-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.gallery-header {
	width: 100%;
	padding: 20px 0 10px;
	text-align: left;
}

.gallery-header h1 {
	margin-bottom: 10px;
	font-size: 2em;
}

.gallery-header p {
	font-size: 1.2em;
}

.gallery-tree {
	width: min(100%, 760px);
	min-height: 240px;
	max-height: calc(100vh - 300px);
	overflow: auto;
	padding: 10px 0;
	color: #ffffff;
	font: 14px 'DM Sans', sans-serif;
  text-align: left;
}

.gallery-tree ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gallery-tree-children {
	margin-left: 8px;
	padding-left: 15px;
	border-left: 1px dotted #555555;
}

.gallery-tree li {
	position: relative;
	margin: 1px 0;
}

.gallery-tree-children > li::before {
	position: absolute;
	top: 12px;
	left: -15px;
	width: 12px;
	border-top: 1px dotted #555555;
	content: "";
}

.gallery-tree summary {
	display: flex;
	width: fit-content;
	max-width: 100%;
	min-height: 24px;
	align-items: center;
	gap: 5px;
	padding: 1px 4px;
	cursor: pointer;
	list-style: none;
}

.gallery-tree summary::-webkit-details-marker {
	display: none;
}

.gallery-tree summary::before {
	width: 10px;
	color: #d3d3d3;
	content: "+";
	font-family: monospace;
	font-weight: 700;
	text-align: center;
}

.gallery-tree details[open] > summary::before {
  color: #303030;
	content: "-";
}

.gallery-tree-folder > summary::before {
	width: 14px;
	height: 9px;
	border: 1px solid #a00000;
  color: #303030;
	background: #303030;
	clip-path: polygon(0 15%, 36% 15%, 48% 0, 100% 0, 100% 100%, 0 100%);
	content: "- ";
}

.gallery-tree summary:hover,
.gallery-tree summary:focus-visible,
.gallery-tree a:hover,
.gallery-tree a:focus-visible {
	outline: 1px dotted #a00000;
	background: #202020;
}

.gallery-tree a {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	gap: 6px;
	padding: 1px 4px;
	color: #d3d3d3;
	text-decoration: none;
}

.gallery-tree a:hover,
.gallery-tree a:focus-visible {
	color: #e3e3e3;
}

.gallery-tree a::before {
	width: 10px;
	height: 13px;
	border: 1px solid #808080;
	background: linear-gradient(135deg, #303030 0 75%, #101010 75%);
	content: "";
}
