.body {
	padding: 8px;
}

h1:focus {
	outline: none;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid #e50000;
}

.validation-message {
	color: #e50000;
}

#blazor-error-ui {
	color-scheme: light only;
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

	#blazor-error-ui .dismiss {
		cursor: pointer;
		position: absolute;
		right: 0.75rem;
		top: 0.5rem;
	}

.blazor-error-boundary {
	background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
	padding: 1rem 1rem 1rem 3.7rem;
	color: white;
}

	.blazor-error-boundary::after {
		content: "An error has occurred."
	}

.darker-border-checkbox.form-check-input {
	border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
	color: var(--bs-secondary-color);
	text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
	text-align: start;
}

.fl-align-top .dxbl-row {
	align-items: flex-start;
}

.fl-align-top .dxbl-fl-item,
.fl-align-top .dxbl-fl-ctrl {
	align-self: flex-start;
	justify-content: flex-start;
}

.fl-align-center .dxbl-fl-item {
	align-self: center;
	justify-content: center;
}

@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('fonts/source-sans-3-400-700.woff2') format('woff2');
}

@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/barlow-condensed-400.woff2') format('woff2');
}

@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('fonts/barlow-condensed-500.woff2') format('woff2');
}

@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/barlow-condensed-600.woff2') format('woff2');
}

@font-face {
	font-family: 'Merriweather';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/merriweather-600.woff2') format('woff2');
}

:root {
	--jto-font-heading: 'Merriweather', Georgia, serif;
	--jto-font-body: 'Source Sans 3', Arial, Helvetica, sans-serif;
	--jto-font-condensed: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
}

.jto-body {
	background-color: rgb(252, 244, 230);
}
/* jewishtuition.org palette: primary #008242, secondary #18307E */
.jto-header {
	font-family: var(--jto-font-body);
	background: #fff;
	border-bottom: 1px solid #ccc;
}

	.jto-header .jto-container {
		max-width: none;
		margin: 0;
		padding: 0 20px;
	}

	.jto-header .jto-header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 50px;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.jto-header .jto-logo {
		flex: 0 0 auto;
	}

	.jto-header .jto-nav-list {
		display: flex;
		align-items: center;
		gap: 30px;
		margin: 0;
		padding: 0;
		list-style: none;
		font-family: var(--jto-font-condensed);
		font-size: 1.25em;
		font-weight: 500;
		text-transform: uppercase;
		white-space: nowrap;
	}

	.jto-header .jto-nav-item {
		position: relative;
	}

		.jto-header .jto-nav-item > a {
			display: block;
			color: #008242;
			text-decoration: none;
			padding: 5px 0;
		}

			.jto-header .jto-nav-item > a:hover {
				color: #18307E;
			}

		.jto-header .jto-nav-item.jto-donate-now-button > a {
			background-color: var(--bs-success, #198754);
			color: #fff;
			padding: 5px 24px;
			border-radius: 100px;
			max-width: 130px;
		}

			.jto-header .jto-nav-item.jto-donate-now-button > a:hover,
			.jto-header .jto-nav-item.jto-donate-now-button > a:focus {
				background-color: #157347;
				color: #fff;
			}

		.jto-header .jto-nav-item > .jto-nav-list {
			display: none;
			position: absolute;
			top: 100%;
			left: 0;
			z-index: 1000;
			flex-direction: column;
			align-items: stretch;
			gap: 0;
			min-width: 220px;
			background: #fff;
			border: 1px solid #ccc;
			padding: 8px 16px;
		}

		.jto-header .jto-nav-item:hover > .jto-nav-list {
			display: flex;
		}

		.jto-header .jto-nav-item:nth-last-child(-n+3) > .jto-nav-list {
			left: auto;
			right: 0;
		}

		.jto-header .jto-nav-list .jto-nav-item:nth-last-child(-n+3) .jto-nav-list .jto-nav-list {
			top: 0;
			left: auto;
			right: 100%;
		}

		.jto-header .jto-nav-item > .jto-nav-list .jto-nav-item > .jto-nav-list {
			top: 0;
			left: 100%;
		}

		.jto-header .jto-logo img {
			display: block;
			width: 254px;
			height: 107px;
			max-width: none;
		}

.jto-header .jto-nav-check {
	display: none;
}

.jto-header .jto-nav-toggle {
	display: none;
	cursor: pointer;
	background: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	color: #008242;
	font-size: 1.75rem;
	line-height: 1;
	padding: 4px 12px;
}

@media (max-width: 991px) {
	.jto-header .jto-header-inner {
		flex-wrap: wrap;
		gap: 12px;
	}

	.jto-header .jto-nav-toggle {
		display: block;
	}

	.jto-header .jto-nav {
		display: none;
		width: 100%;
	}

	.jto-header .jto-nav-check:checked ~ .jto-nav {
		display: block;
	}

	.jto-header .jto-nav .jto-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		white-space: normal;
	}

	.jto-header .jto-nav-item > .jto-nav-list,
	.jto-header .jto-nav-item:nth-last-child(-n+3) > .jto-nav-list,
	.jto-header .jto-nav-item > .jto-nav-list .jto-nav-item > .jto-nav-list {
		position: static;
		border: none;
		padding: 0 0 0 16px;
		min-width: 0;
	}
}

.jto-footer {
	font-family: var(--jto-font-body);
	font-weight: 600;
	color: #fff;
}

	.jto-footer .jto-container {
		max-width: 1140px;
		margin: 0 auto;
		padding: 0 20px;
	}

	.jto-footer .jto-footer-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 50px;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.jto-footer .jto-footer-logo {
		flex: 0 0 auto;
	}

		.jto-footer .jto-footer-logo img {
			display: block;
			height: 150px;
			width: auto;
			max-width: none;
		}

	.jto-footer .jto-footer-nav {
		display: flex;
		flex: 1 1 auto;
		justify-content: flex-start;
		gap: 30px;
		font-family: var(--jto-font-condensed);
		font-size: 1.55em;
		font-weight: 600;
		text-transform: uppercase;
		white-space: nowrap;
	}

		.jto-footer .jto-footer-nav a {
			color: #008242;
			text-decoration: none;
			padding: 5px 0;
		}

			.jto-footer .jto-footer-nav a:hover {
				color: #18307E;
				text-decoration: underline;
			}

	.jto-footer .jto-footer-actions {
		display: flex;
		flex: 0 0 auto;
		flex-direction: row;
		align-items: center;
		gap: 16px;
	}

	.jto-footer .jto-button {
		display: inline-block;
		background: #008242;
		color: #fff;
		padding: 8px 28px;
		border-radius: 100px;
		font-family: var(--jto-font-condensed);
		font-size: 1.1em;
		font-weight: 600;
		text-transform: uppercase;
		text-decoration: none;
		text-align: center;
		white-space: nowrap;
	}

		.jto-footer .jto-button:hover {
			background: #18307E;
			color: #fff;
		}

	.jto-footer .jto-social {
		display: flex;
		justify-content: center;
		gap: 10px;
	}

		.jto-footer .jto-social a {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 40px;
			height: 40px;
			border-radius: 50%;
			background: #008242;
		}

			.jto-footer .jto-social a:hover {
				background: #18307E;
			}

		.jto-footer .jto-social img {
			display: block;
			width: 20px;
			height: 20px;
		}

	.jto-footer .elementor-screen-only {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

.jto-footer-bottom {
	background-color: #18307E;
	background-image: url('images/background-blue-scaled.webp');
	background-position: center center;
	background-size: cover;
	text-align: center;
	font-size: 1.2em;
	padding: 20px;
}

	.jto-footer-bottom p {
		margin: 0;
	}

	.jto-footer-bottom a,
	.jto-footer-bottom a:link,
	.jto-footer-bottom a:visited {
		color: #fff;
		text-decoration: underline;
	}

		.jto-footer-bottom a:hover,
		.jto-footer-bottom a:focus {
			color: #ffd24d;
			text-decoration: underline;
		}

@media (max-width: 991px) {
	.jto-footer .jto-footer-top {
		flex-direction: column;
		gap: 20px;
	}

	.jto-footer .jto-footer-nav {
		justify-content: center;
		flex-wrap: wrap;
	}

	.jto-footer .jto-footer-actions {
		flex-wrap: wrap;
		justify-content: center;
		max-width: 100%;
	}

	.jto-footer .jto-button {
		white-space: normal;
	}
}
