@font-face {
    font-family: "Calibri";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/calibri-woff.woff") format("woff"), 
        url("../fonts/calibri-woff2.woff2") format("woff2");
}

@font-face {
    font-family: "Calibri";
    font-weight: bold;
    font-style: normal;
    src: url("../fonts/calibrib-woff.woff") format("woff"), 
        url("../fonts/calibrib-woff2.woff2") format("woff2");
}

:root {
	--theme-color-highlight: #F1B3C2;
	--theme-color-on-highlight: #000000;
	--theme-color-accent: #2D4585;
	--theme-color-on-accent: #FFFFFF;
	--theme-color-h1: #2D4585;
	--theme-color-h2: #2D4584;
	--theme-color-h3: #383838;
	--theme-color-h4: #000000;
	--theme-color-a: #2D4584;
	--theme-color-strong: #2D4584;
	--theme-font-heading_1: "Calibri";
	--theme-font-heading_2: "Calibri";
	--theme-font-heading_3: "Calibri";
	--theme-font-heading_4: "Calibri";
	--theme-font-body: "Calibri";
	--theme-font-style-heading_1: normal;
	--theme-font-style-heading_2: normal;
	--theme-font-style-heading_3: normal;
	--theme-font-style-heading_4: normal;
	--theme-font-style-body: normal;
	--theme-font-weight-heading_1: bold;
	--theme-font-weight-heading_2: bold;
	--theme-font-weight-heading_3: bold;
	--theme-font-weight-heading_4: bold;
	--theme-font-weight-body: normal;
}

span[data-highlight="true"] {
	background: var(--theme-color-highlight);
	color: var(--theme-color-on-highlight);
}

body {
	background-color: #ebebeb;
	color: black;
	font-family: var(--theme-font-body);
	font-style: var(--theme-font-style-body);
	font-weight: var(--theme-font-weight-body);
	font-size: 1.25rem;
	line-height: 1.8;
	scroll-behavior: smooth;
}

h1,
.h1,
.heading-1 {
	font-family: var(--theme-font-heading_1);
	font-style: var(--theme-font-style-heading_1);
	font-weight: var(--theme-font-weight-heading_1);
	color: var(--theme-color-h1);
	background-color: #fff;
}

h2,
.h2,
.heading-2 {
	font-family: var(--theme-font-heading_2);
	font-style: var(--theme-font-style-heading_2);
	font-weight: var(--theme-font-weight-heading_2);
	color: var(--theme-color-h2);
	background-color: #fff;
}

h3,
.h3,
.heading-3 {
	font-family: var(--theme-font-heading_3);
	font-style: var(--theme-font-style-heading_3);
	font-weight: var(--theme-font-weight-heading_3);
	color: var(--theme-color-h3);
	background-color: #fff;
}

h4,
.h4,
.heading-4 {
	font-family: var(--theme-font-heading_4);
	font-style: var(--theme-font-style-heading_4);
	font-weight: var(--theme-font-weight-heading_4);
	color: var(--theme-color-h4);
	background-color: #fff;
}

a {
	color: var(--theme-color-a);
	background-color: #fff;
	overflow-wrap: anywhere;
}

strong {
	color: var(--theme-color-strong);
	background-color: #fff;
	font-weight: bold;
}

main li {
	margin-bottom: 1rem;
}

* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

main {
	display: block;
	background-color: white;
	color: black;
	font-size: 1.25rem;
	max-width: 800px;
	margin: 0 auto;
}

.page-container {
	display: block;
	background-color: white;
	color: black;
	font-size: 1.25rem;
	max-width: 800px;
	margin: 0 auto;
}

main,
#section-navigation {
	padding: 1rem 2rem;
}

header {
	max-width: 800px;
	margin: 0 auto;
	padding: 0.5rem 2rem;
	position: relative;
	z-index: 3;
}

@media (max-width: 768px) {
	main,
	header,
	#section-navigation {
		padding: 0.5rem;
	}
}

.flex-between {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
}

.flex-center {
	display: flex;
	align-items: center;
}

.flex-rows {
	display: flex;
	flex-wrap: wrap;
}

.flex-group {
	display: flex;
}

[hidden] {
	display: none !important;
}

.align-top {
	align-items: flex-start;
}

@media (min-width: 600px) {
	.md\:flex-between {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		align-items: center;
	}
}

.audio-player {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

#audio-player-controls {
	flex-shrink: 1;
}

a {
	font-weight: bold;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

nav a {
	font-weight: bold;
	text-decoration: none;
}

nav a:hover {
	text-decoration: underline;
}

td {
	vertical-align: middle;
}

td:nth-child(2) {
	padding: 2rem;
}

td:nth-child(1) {
	width: 25%;
	min-width: 200px;
	text-align: center;
}

p {
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
}

tr {
	border: none;
}

@media (max-width: 600px) {
	main {
		padding: 1rem;
	}

	h1 {
		font-size: 32px;
		margin-top: 0.5rem;
		margin-bottom: 0.5rem;
	}

	h3 {
		font-size: 24px;
	}
}

h1 {
	font-size: 36px;
}

h2,
.h2,
.heading-2 {
	font-size: 28px;
}

h3,
.h3,
.heading-3 {
	font-size: 24px;
}

h3.word-list-term,
.word-list {
	font-size: 1.25rem;
	font-weight: bold;
	color: var(--theme-color-strong);
	background-color: #fff;
	font-family: var(--theme-font-body);
}

@media (max-width: 600px) {
	td {
		display: block;
	}

	td:nth-child(1) {
		width: 100%;
	}

	td:nth-child(2) {
		padding: 0;
	}
}

button,
.button {
	-webkit-appearance: none;
	border-radius: 0;
	text-align: inherit;
	background: none;
	box-shadow: none;
	padding: 0;
	cursor: pointer;
	border: none;
	color: inherit;
	font: inherit;
	display: inline-block;
	margin: 0;
}

button {
	touch-action: manipulation;
}

button,
.button {
	background-color: white;
	border: 2px solid var(--theme-color-accent);
	border-radius: 10px;
	padding: 0.25rem 0.5rem;
}

button:hover,
.button:hover {
	background-color: var(--theme-color-accent);
	color: var(--theme-color-on-accent);
	text-decoration: none;
}

button:focus,
.button:focus,
a:focus,
input:focus {
	outline: 2px dashed var(--theme-color-accent);
	outline-offset: 2px;
}

header {
	background-color: white;
	border-bottom: 2px solid var(--theme-color-accent);
}

.sticky {
	position: sticky;
	top: 0;
}

[data-highlight="true"] {
	color: var(--theme-color-on-highlight);
	background-color: var(--theme-color-highlight);
	outline: 1px solid var(--theme-color-highlight);
}

#nav {
	border: 2px solid var(--theme-color-accent);
	border-radius: 10px;
}

#nav-container {
	position: absolute;
	top: 125%;
	right: 0.5rem;
	max-width: 400px;
	border-radius: 10px;

	z-index: 3;
	background-color: white;
}

/* @media (max-width: 768px) {
    #nav-container {
        width: calc(100% - 4rem);
    }
} */

.box-shadow {
	box-shadow:
		0 20px 25px -5px rgb(0 0 0 / 0.1),
		0 8px 10px -6px rgb(0 0 0 / 0.1);
}

nav ul {
	list-style: none;
	padding-left: 0;
	text-align: left;
	margin-bottom: 0;
	max-width: 400px;
	max-height: 60vh;
	overflow-y: auto;
}

nav ul a {
	display: block;
	padding: 0.5rem 1rem;
	border-bottom: 1px solid #ebebeb;
	color: black;
	font-weight: normal;
}

nav li a {
	background-color: transparent;
}

nav li:last-child a {
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
}

nav a[aria-current] {
	background-color: var(--theme-color-highlight);
	color: var(--theme-color-on-highlight);
	font-weight: bold;
}

.pagination-container {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 2px solid var(--theme-color-accent);
}

.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.disclaimer {
	font-size: smaller;
}

.nav-container h2 {
	font-size: 1.25rem;
	max-width: 400px;
	padding: 0 1rem;
	text-align: left;
	margin-left: auto;
	margin-bottom: -1rem;
}

#speed-controls {
	text-align: center;
	position: relative;
}

#speed-controls #speed-label {
	margin: 0;
	font-weight: bold;
	font-size: smaller;
}

#speed-buttons {
	display: flex;
	align-items: stretch;
}

#speed-buttons > * {
	padding: 0 10px;
	border: 2px solid var(--theme-color-accent);
	border-left-width: 0;
}

#speed-buttons > :first-child {
	border-left-width: 2px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

#speed-buttons > :last-child {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

#speed-buttons button {
	border-radius: 0;
}

[data-action="set-speed"][aria-selected="true"] {
	background: var(--theme-color-accent);
	color: var(--theme-color-on-accent);
}

input[type="checkbox"] {
	accent-color: var(--theme-color-accent);
}

div[data-contains="controls"] {
	position: relative;
}

div[data-layout="bar"] {
	display: flex;
}

div[data-layout="bar"] > button {
	border-radius: 0;
	border-left-width: 1px;
	border-right-width: 1px;
}

div[data-layout="bar"] > button:first-child {
	border-left-width: 2px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

div[data-layout="bar"] > button:last-of-type {
	border-right-width: 2px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

.button-with-icon,
.button-with-icon [data-show-when] {
	display: flex;
	align-items: center;
}

.button-with-icon[aria-expanded="true"] [data-show-when="open"] {
	display: flex;
}

.button-with-icon[aria-expanded="true"] [data-show-when="closed"] {
	display: none;
}

.button-with-icon[aria-expanded="false"] [data-show-when="closed"] {
	display: flex;
}

.button-with-icon[aria-expanded="false"] [data-show-when="open"] {
	display: none;
}

[data-show-when] {
	color: inherit;
}

.button-with-icon * {
	pointer-events: none;
}

.button-with-icon svg {
	width: 2rem;
	height: 2rem;

	margin-right: 0.5rem;
}

.button-with-icon svg:last-child {
	margin-right: 0;
	margin-left: 0.5rem;
}

.button-with-icon svg,
.button-with-icon svg path {
	fill: currentColor;
}

[data-contains="options"] {
	position: absolute;
	top: 150%;

	background-color: white;
	border: 2px solid var(--theme-color-accent);
	border-radius: 10px;
	padding: 1rem;
}

@media (max-width: 768px) {
	.hide-text-on-mob span {
		display: none;
	}

	.hide-text-on-mob svg:first-child {
		margin-right: 0;
	}

	.hide-text-on-mob svg:last-child {
		margin-left: 0;
	}
}

#nav .buttons-with-icons > .button-with-icon {
	border-width: 0;
	border-radius: 0;
}

#nav .buttons-with-icons > .button-with-icon:first-child {
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}

#nav .buttons-with-icons > .button-with-icon + .button-with-icon {
	border-top-width: 2px;
}

#nav .buttons-with-icons > .button-with-icon:last-child {
	border-bottom-width: 2px;
}

.button-with-icon.generous {
	padding: 0.5rem;
}

.button-with-icon.generous svg:first-child {
	margin-right: 1rem;
}

.button-with-icon.generous svg:last-child {
	margin-right: 0;
	margin-left: 1rem;
}

@media (max-width: 768px) {
	.hide-text-on-mob svg {
		margin: 0 !important;
	}
}

.sr-only-focusable:not(:focus):not(:active) {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.skip-link:focus {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 4;
}

.align-with-bullets {
	padding-left: 40px;
}

[id] {
	scroll-margin-top: 65px;
}

.indented {
	margin-left: 40px;
}

/* Custom CSS from Theme Settings */
main a {
	font-weight: normal;
}

.indented-list {
    margin-left: 30px;
}

.stat-style {
    font-weight: bold;
    font-size: 1.35em;
}

.large-number {
	font-size: 1.35em;
}

.number-indent {
    margin-left: 24px;
    text-indent: -27px;
}

.indented {
    margin-left: 24px;
}