body {
	min-width: 360px;
}

::selection {
	background: #F09E4C;
	color: white;
}

::-moz-selection {
	background: #F09E4C;
	color: white;
}

.site-wrapper {
	width: 100%;
	overflow: hidden;
}

.page-content {
	padding: 0 2rem;
}

header.mainheader {
	background: #199CCE;
	color: white;
	padding: 1em 2em;
	position: relative;
}

header.mainheader::before {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	border-bottom: 1px solid white;
}

header.mainheader .container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: stretch;
}

header.mainheader .custom-logo-link {
	display: block;
	height: 1.5em;
	width: auto;
	flex-grow: 0;
}

header.mainheader .custom-logo-link img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

#wpadminbar {
	position: fixed;
}

header .buttons {
	flex-grow: 1;
	text-align: right;
	margin: 0 2em 0 0;
}

@media (max-width: 959px) {
	.nav-open,
	.modal-open {
		overflow: hidden;
	}

	body::after {
		content: "";
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.4);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.5s;
		z-index: 1;
	}

	.nav-open::after {
		opacity: 1;
		pointer-events: auto;
	}

	.site-wrapper {
		position: relative;
	}

	header.mainheader {
		position: sticky;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 1001;
	}

	.admin-bar header.mainheader {
		top: 46px;
	}

	header.mainheader nav.main {
		position: fixed;
		top: 5em;
		left: 100%;
		width: 100%;
		height: calc(100% - 5em);
		background: #199CCE;
		color: white;
		padding: 1em;
		transition: left 0.5s;
		z-index: 1000;
	}

	.admin-bar header.mainheader nav.main {
		top: calc(46px + 5em);
		height: calc(100% - 5em - 46px);
	}

	.nav-open header.mainheader nav.main {
		left: 0;
	}

	header.mainheader a.nav-opener {
		display: block;
		width: 3em;
		height: 3em;
		position: relative;
		color: inherit;
		text-decoration: none;
		flex-grow: 0;
	}

	header.mainheader a.nav-opener i {
		display: block;
		position: absolute;
		top: 1em;
		left: 50%;
		width: 1.2em;
		margin-left: -0.6em;
		background: white;
		height: 2px;
		margin-top: -1px;
		transition: opacity 0.5s, transform 0.5s, top 0.5s;
		transform: rotateZ(360deg);
	}

	header.mainheader a.nav-opener i:first-of-type {
		top: 0.5em;
	}

	header.mainheader a.nav-opener i:last-of-type {
		top: 1.5em;
	}

	.nav-open header.mainheader a.nav-opener i {
		opacity: 0;
		top: 1em;
		transform: rotateZ(45deg);
	}

	.nav-open header.mainheader a.nav-opener i:first-of-type {
		opacity: 1;
	}

	.nav-open header.mainheader a.nav-opener i:last-of-type {
		opacity: 1;
		transform: rotateZ(135deg);
	}

	header.mainheader a.nav-opener::after {
		content: "Menu";
		display: block;
		position: absolute;
		top: 60%;
		left: 0;
		width: 100%;
		text-align: center;
		font-size: 0.8em;
	}

	header.mainheader nav.main ul {
		list-style: none;
		display: block;
		padding: 1rem;
		margin: 0;
		font-size: 1.75em;
	}

	header.mainheader nav.main ul li {
		list-style: none;
		display: block;
		padding: 0;
		margin: 0;
	}

	header.mainheader nav.main ul li a {
		color: white;
		text-decoration: none;
	}
}

@media (max-width: 959px) and (min-width: 783px) {
	.admin-bar header.mainheader {
		top: 32px;
	}

	.admin-bar header.mainheader nav.main {
		top: calc(32px + 5em);
		height: calc(100% - 5em - 32px);
	}
}

@media (min-width: 960px) {
	header.mainheader {
		padding: 1.5em 2em;
	}

	header.mainheader .custom-logo-link {
		height: 2.5em;
	}

	header.mainheader nav.main {
		flex-grow: 1;
	}

	header.mainheader nav.main ul {
		list-style: none;
		display: table;
		padding: 0;
		margin: 0 0 0 auto;
	}

	header.mainheader nav.main ul li {
		list-style: none;
		display: table-cell;
		padding: 0 1.5em;
		margin: 0;
		position: relative;
	}

	header.mainheader nav.main ul li::after {
		content: "";
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		height: 100%;
		border-right: 1px solid white;
	}

	header.mainheader nav.main ul li a {
		display: block;
		color: inherit;
		text-decoration: none;
		padding: 0.25em 0.5em;
	}

	header.mainheader nav.main ul li a:hover {
		text-decoration: underline;
	}

	header.mainheader .buttons {
		flex-grow: 0;
		margin: 0 0 0 2em;
	}

	header.mainheader .buttons.wp-block-button__link {
		display: block;
	}

	header.mainheader .nav-opener {
		display: none;
	}
}

/* Blog */
.category-hero,
.search-hero {
	margin: 4em 0;
}

.category-hero h1,
.search-hero h1 {
	line-height: 1.3em;
	font-size: 1.4em;
}

.no-results {
	margin: 50px 0;
}

.post-list article {
	display: block;
	margin: 50px 0;
}

.post-list article .post-thumbnail {
	display: block;
	margin: 0 0 30px;
	border-radius: 1em;
	overflow: hidden;
	position: relative;
}

.post-list article .post-thumbnail::before {
	content: "";
	display: block;
	padding: 50% 0 0 0;
}

.post-list article .post-thumbnail img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.post-list article h2 {
	font-size: 1.75em;
	font-weight: 300;
	margin: 0 0 0.5em;
}

.post-list article h2 a {
	color: inherit;
	text-decoration: none;
}

.post-list article .excerpt {
	line-height: 1.5em;
}

.post-list article .meta a {
	color: #199CCE;
	font-weight: bold;
}

.post-list article p {
	text-align: left!important;
}

.pagination {
	text-align: center;
	cursor: default;
	margin: 50px 0;
}

.page-numbers {
	display: inline-block;
	min-width: 1.5em;
	text-align: center;
	height: 2em;
	line-height: 2em;
	padding: 0 0.5em;
	color: inherit;
	text-decoration: none;
}

span.page-numbers {
	background: #F1F1F1;
}

a.page-numbers:hover {
	text-decoration: underline;
}

aside.sidebar {
	margin: 50px 0;
}

aside.sidebar ul.sidebar {
	list-style: none;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
}

aside.sidebar ul.sidebar li.widget {
	list-style: none;
	display: none;
	padding: 0;
	margin: 0;
}

aside.sidebar ul.sidebar li.widget_search {
	display: block;
	width: 100%;
}

aside.sidebar ul.sidebar h2 {
	font-size: 1.4em;
	font-weight: 300;
}

aside.sidebar ul.sidebar li.widget_categories ul,
aside.sidebar ul.sidebar li.widget_archive ul {
	list-style: none;
	display: block;
	padding: 0;
	margin: 0;
}

aside.sidebar ul.sidebar li.widget_categories ul li,
aside.sidebar ul.sidebar li.widget_archive ul li {
	list-style: none;
	display: block;
	padding: 0;
	margin: 0;
}

aside.sidebar ul.sidebar li.widget_categories a,
aside.sidebar ul.sidebar li.widget_archive a {
	color: #199CCE;
	text-decoration: underline;
}

@media (min-width: 768px) {
	.category-hero h1,
	.search-hero h1 {
		font-size: 3em;
	}

	.no-results {
		margin: 100px 0;
	}

	aside.sidebar ul.sidebar {
		align-items: flex-start;
		justify-content: space-between;
	}

	aside.sidebar ul.sidebar li.widget {
		display: block;
	}

	aside.sidebar ul.sidebar li.widget_search {
		width: auto;
	}

	aside.sidebar ul.sidebar li.widget_categories ul li {
		display: inline-block;
		margin: 0.5em 1em 0.5em 0;
	}

	aside.sidebar ul.sidebar li.widget_categories ul::before {
		content: "Categories:";
		display: inline-block;
		margin: 0.5em 1em 0.5em 0;
		font-weight: bold;
	}

	.post-list {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: flex-start;
		margin-left: -1em;
		margin-right: -1em;
	}

	.post-list article {
		width: calc(33.33% - 2em);
		margin: 0 1em 50px;
	}

	body:not(.paged) .post-list article:first-of-type {
		width: calc(100% - 2em);
	}

	.pagination {
		width: 100%;
	}
}

@media (min-width: 960px) {
	.post-list article {
		margin: 0 1em 100px;
	}

	.pagination {
		margin: 0 0 100px 0;
		text-align: left;
		padding: 0 1em;
	}
}

/* Blog Article */
.post-intro .post-thumbnail {
	display: block;
	margin: 0 0 50px;
	border-radius: 1em;
	overflow: hidden;
	position: relative;
}

.post-intro .post-thumbnail::before {
	content: "";
	display: block;
	padding: 50% 0 0 0;
}

.post-intro .post-thumbnail img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.post-intro .post-meta {
	line-height: 1.5em;
}

.post-intro .post-meta .post-author::before {
	content: "Written by: ";
	font-weight: bold;
	display: inline-block;
	margin: 0 0.25em 0 0;
}

.post-intro .post-meta::after {
	content: "";
	display: block;
	width: 6em;
	border-bottom: 1px solid currentcolor;
	margin: 30px 0;
	opacity: 0.25;
}

footer.mainfooter {
	background: #199CCE;
	padding: 4em 2em;
	text-align: center;
	color: white;
}

footer.mainfooter .container {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding-top: 4em;
}

footer.mainfooter .custom-logo-link {
	display: table;
	margin: 0 auto 2em;
}

footer.mainfooter .custom-logo-link img {
	display: block;
	width: auto;
	height: 2.5em;
}

footer.mainfooter nav {
	margin: 2em 0;
}

footer.mainfooter nav h4 {
	font-size: 1.125em;
	font-weight: bold;
	margin: 0 0 1em;
}

footer.mainfooter nav ul {
	list-style: none;
	display: block;
	padding: 0;
	margin: 0;
}

footer.mainfooter nav ul li {
	list-style: none;
	display: block;
	padding: 0;
	margin: 0.5em 0;
}

footer.mainfooter nav ul li a {
	color: inherit;
	text-decoration: none;
}

footer.mainfooter .copyright {
	font-size: 0.75em;
	line-height: 1.5em;
}

footer.mainfooter .menus nav.follow ul li a::before {
	content: "";
	display: inline-block;
	margin: 0 0.5em 0 0;
	font-family: "Font Awesome 6 Brands";
	font-weight: normal;
	width: 1.25em;
	height: 1.25em;
	line-height: 1.25em;
	background: white;
	color: #199CCE;
	border-radius: 0.25em;
	text-align: center;
}

footer.mainfooter .menus nav.follow ul li a[href*="facebook"]::before { content: "\f39e"; }
footer.mainfooter .menus nav.follow ul li a[href*="linkedin"]::before { content: "\f0e1"; }
footer.mainfooter .menus nav.follow ul li a[href*="twitter"]::before { content: "\e61b"; }
footer.mainfooter .menus nav.follow ul li a[href*="youtube"]::before { content: "\f167"; }

@media (min-width: 960px) {
	footer.mainfooter {
		text-align: left;
		padding-top: 3em;
		padding-bottom: 2em;
	}

	footer.mainfooter .container {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: space-between;
		padding-top: 3em;
	}

	footer.mainfooter .custom-logo-link {
		margin: 0 0 2em;
	}

	footer.mainfooter .text {
		width: 30em;
	}

	footer.mainfooter .menus {
		width: 34em;
		display: table;
		table-layout: fixed;
		padding-top: 3em;
	}

	footer.mainfooter .menus nav {
		display: table-cell;
		vertical-align: top;
		width: 40%;
	}

	footer.mainfooter .menus nav ul li a:hover {
		text-decoration: underline;
	}

	footer.mainfooter .menus nav.follow {
		width: 20%;
	}

	footer.mainfooter .copyright {
		width: 100%;
		margin-top: 4em;
	}
}

.modal-overlay {
	background: rgba(29, 29, 29, 0.8);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1010;
	transition: opacity 0.5s;
}

.modal-overlay.closing,
.modal-overlay.opening {
	opacity: 0;
}

.modal-outer {
	position: fixed;
	top: 2em;
	left: 2em;
	right: 2em;
	bottom: 2em;
	background: #F8F8F8;
	border-radius: 1em;
	box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1);
	z-index: 1011;
	transition: opacity 0.5s, transform 0.5s;
}

.admin-bar .modal-outer {
	top: calc(2em + 46px);
}

.modal-outer.closing {
	opacity: 0;
	transform: scale(0.85);
}

.modal-outer.opening {
	opacity: 0;
}

.modal-outer .modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 2em;
	width: 1em;
	height: 1em;
	text-align: center;
	line-height: 1em;
	font-family: "Font Awesome 6 Pro";
	font-weight: bold;
	cursor: pointer;
}

.modal-outer .modal-close::before {
	content: "\f00d";
}

.modal-inner {
	overflow: scroll;
	max-height: 100%;
	padding: 2em;
}

@media (min-width: 768px) {
	.modal-outer {
		left: 50%;
		width: 50em;
		margin-left: -25em;
		bottom: auto;
		max-height: calc(100% - 6em);
		overflow: scroll;
	}

	.admin-bar .modal-outer {
		max-height: calc(100% - 6em - 46px);
	}

	.modal-inner {
		overflow: visible;
	}

	.modal-outer .modal-close {
		position: fixed;
		z-index: 1012;
		top: 6rem;
		left: 50%;
		margin-left: 22rem;
	}
}

.wpcf7 form {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}

.wpcf7 .field {
	margin: 0 0 1.5em;
	width: 100%;
}

.wpcf7 .field input[type="text"],
.wpcf7 .field input[type="tel"],
.wpcf7 .field input[type="number"],
.wpcf7 .field input[type="email"],
.wpcf7 .field textarea {
	display: block;
	font: inherit;
	color: inherit;
	background: white;
	padding: 0.5em 1em;
	border: 1px solid #E3E3E3;
	outline: 0;
	width: 100%;
	line-height: 1.5em;
}

.wpcf7 .field textarea {
	height: 10em;
	resize: none;
}

.wpcf7 .buttons {
	width: 100%;
}

.wpcf7 .buttons .wpcf7-spinner {
	display: block;
	margin: 1em auto 0;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.5em 1em;
	line-height: 1.5em;
	border: 1px solid #1d1d1d;
	border-left: 3px solid #1d1d1d;
	font-size: 0.8em;
	display: block;
	width: 100%;
}

.wpcf7 input[type="submit"] {
	display: block;
	width: 100%;
	border: none;
	font: inherit;
	border-radius: 0.5em;
	background-color: #F09E4C;
	color: white;
	font-size: 1em;
	padding: 1em 2em;
	cursor: pointer;
	margin: 0.5em 0 0;
}

.wpcf7 input[type="submit"]:hover {
	background: #FFB56B;
}

@media (min-width: 960px) {
	.wpcf7 .field.name,
	.wpcf7 .field.email {
		width: calc(50% - 0.75em);
	}

	.wpcf7 .field textarea {
		height: 10em;
	}
}