/* Shared static-site navigation and layout. */
body #header-nav.header-nav {
	background-color: #00599f;
	min-height: 0;
	padding-bottom: 0;
	margin-bottom: 2em;
}

body #header-nav #menu-main-navigation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

body #header-nav #menu-main-navigation > li {
	display: block;
}

body #header-nav #menu-main-navigation > li > a {
	display: block;
	color: #fff;
	padding-bottom: 0;
	font-weight: normal;
}

body #header-nav #menu-main-navigation > li > a::before {
	content: "\25B6";
	display: inline-block;
	width: 1em;
	margin-right: 0.2em;
	color: #ffa500;
	visibility: hidden;
}

body #header-nav #menu-main-navigation > li > a:hover::before {
	visibility: visible;
}

body #header-nav #menu-main-navigation > li > a:visited {
	color: #fff;
}

body #header-nav #menu-main-navigation > li > a:hover,
body #header-nav #menu-main-navigation > li > a:focus {
	color: #fff;
	background-color: #00477d;
	outline: none;
	font-weight: normal;
}

body #header-nav #menu-main-navigation > li > a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}

@media (max-width: 720px) {
	body #content {
		display: flex;
		flex-direction: column;
	}

	body #content > .contents,
	body #content > #sidebar {
		float: none;
		width: 100%;
		box-sizing: border-box;
	}

	body #content > #sidebar {
		margin-top: 1.5rem;
	}
}

/* Shared Features and Category styling. */
body #sidebar #block-11 {
	padding-top: 2px;
}

body #sidebar #block-11 h3.wp-block-heading {
	margin: 0 0 10px;
	padding: 8px 12px;
	border: 0;
	border-left: 4px solid #ffa500;
	border-radius: 10px;
	background-color: #00599f;
	color: #fff;
	font-weight: 500;
}

body #sidebar #block-11 ul {
	margin: 0 0 1.5em;
	padding: 0;
	list-style: none;
}

body #sidebar #block-11 ul > li {
	display: flex;
	align-items: baseline;
	gap: 9px;
	margin: 0;
	padding: 5px 0;
}

body #sidebar #block-11 ul > li::before {
	content: "\25B6";
	flex: 0 0 auto;
	color: #ffa500;
	font-size: 11px;
}

body #sidebar #block-11 ul > li > a,
body #sidebar #block-11 ul > li > a:visited {
	color: #00599f;
	font-weight: 400;
	text-decoration: none;
}

body #sidebar #block-11 ul > li > a:focus-visible {
	outline: 2px solid #ffa500;
	outline-offset: 2px;
}

body #sidebar #block-11 ul > li > a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

body #sidebar #block-11 p:empty {
	display: none;
}

body #sidebar #block-11 p.wp-block-tag-cloud {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

body #sidebar #block-11 p.wp-block-tag-cloud > br {
	display: none;
}

body #sidebar #block-11 p.wp-block-tag-cloud > a.tag-cloud-link,
body #sidebar #block-11 p.wp-block-tag-cloud > a.tag-cloud-link:visited {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5em;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 5px 3px;
	border-bottom: 1px solid #00599f26;
	background-color: transparent;
	color: #00599f;
	font-size: 1em !important;
	font-weight: 400;
	text-decoration: none;
}

body #sidebar #block-11 p.wp-block-tag-cloud > a.tag-cloud-link > .tag-link-count {
	font-size: 0.8em;
	min-width: 20px;
	text-align: right;
}

body #sidebar #block-11 p.wp-block-tag-cloud > a.tag-cloud-link:hover,
body #sidebar #block-11 p.wp-block-tag-cloud > a.tag-cloud-link:focus-visible {
	border-bottom-color: #ffa500;
	background-color: #ffa50012;
}

body #sidebar #block-11 p.wp-block-tag-cloud > a.tag-cloud-link:focus-visible {
	outline: 2px solid #ffa500;
	outline-offset: 1px;
}

/* Organization banners above copyright. */
body #footer .ni-footer-banners {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 24px;
	margin: 0 0 1.5rem;
	padding: 0.75rem 0;
	border-top: 1px solid rgba(0, 89, 159, 0.22);
}

body #footer .ni-footer-banners > figure {
	width: 240px;
	max-width: 100%;
	margin: 0;
}

body #footer .ni-footer-banners > figure > a {
	display: block;
	line-height: 0;
}

body #footer .ni-footer-banners img {
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}

@media (max-width: 720px) {
	body #footer .ni-footer-banners {
		flex-direction: column;
		gap: 12px;
	}
}
