.header {
	flex-grow: 0;
	flex-shrink: 0;
	background-color: var(--orange) !important;
	width: 100%;
	flex-wrap: wrap;
	row-gap: 4px;
}

.header .logo {
}
/* Phone / tablet portrait: shrink the giant logo so it doesn't eat ~13% of
   the viewport height on every page. */
@media (max-width: 800px) {
	.header .logo {
		height: 48px;
	}
}
@media (max-width: 500px) {
	.header .logo {
		height: 36px;
	}
}
@media (max-height: 500px) and (orientation: landscape) {
	.header .logo {
		height: 28.75px;
	}
}

.header .full-screen-wrapper {
	display: flex;
	align-self: flex-end;
	gap: 5px;
}

.header .full-screen-wrapper .full-screen {
	padding: 0px;
}

.header .sign-in {
	align-self: flex-end;
	--horizontal-padding: 15px;
	padding-left: var(--horizontal-padding);
	padding-right: var(--horizontal-padding);
	color: black;
	font-weight: 600;
	font-variant: small-caps;
}
.header .sign-in:hover {
	text-decoration: none;
}

.header .router-link {
	align-self: flex-end;
	--horizontal-padding: 15px;
	padding-left: var(--horizontal-padding);
	padding-right: var(--horizontal-padding);
	color: black;
	font-weight: 600;
	font-variant: small-caps;
}
.header .router-link:hover {
	cursor: pointer;
	text-decoration: none;
}

.header-control {
	padding-bottom: 2.5px;
}
.header-controls {
	display: flex;
	flex-direction: row;
}
@media (max-width: 500px) {
	.header-controls {
		flex-direction: column;
	}
}

.footer {
	flex-grow: 0;
	flex-shrink: 0;
	background-color: var(--orange) !important;
	text-align: center;
}

.footer-address {
	width: 100%;
	font-weight: 700;
	font-variant: small-caps;
}
/* On phones the address takes a chunk of vertical space for low value.
   Shrink the type and pad less so the working area gets it back. */
@media (max-width: 500px) {
	.footer-address {
		font-size: 0.75rem;
		padding: 2px 0;
	}
}

.top-level-router {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	/* This sits beside the left nav in a flex row, and a flex item won't shrink
	   below its content's minimum width. A wide grid (Sales Rollup) kept it at
	   full width with the nav open, so its right end hung past the window and
	   was clipped by .base-content - even scrolled all the way right. min-width: 0
	   lets it shrink to the space beside the nav; grids then scroll inside it. */
	min-width: 0;
}
