#masthead {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	height: 124px;
}
.admin-bar #masthead {
	top: 32px;
}
#masthead a {
	transition: color 0.15s ease, background 0.15s ease, filter 0.15s ease;
}
.scrolled #masthead {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
#masthead .home-link {
	line-height: 0.1;
}
#masthead .home-link img {
	width: 200px;
	height: auto;
	transition: transform 1s ease;
}
#masthead .home-link:hover img {
	transform: scale(1.05);
}
.nav-top {
	display: flex;
	justify-content: space-between;
	height: 44px;
}
.nav-top > a {
	padding: 8px 20px;
	background: #535fab;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	width: 100%;
	text-align: center;
	transition: all 0.3s ease-in-out;
}
.nav-top > a:hover {
	filter: brightness(1.2);
}
.nav-top > a.phone-link:hover {
	filter: brightness(1.1);
}
.nav-top .phone-link {
	background: #7487c0;
}
.nav-top .phone-link .icon {
	margin-right: 1rem;
}
.nav-main {
	background: rgba(255, 255, 255, 0.75);
	transition: background 1s cubic-bezier(0, 0.55, 0.45, 1);
	padding-left: 1.5rem;
	height: 80px;
	display: flex;
	align-items: center;
}
.nav-main-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1600px;
	width: 100%;
	margin: 0 auto;
}
.scrolled .nav-main {
	background: rgba(255, 255, 255, 1);
}
.menu-main-menu-container ul,
.menu-main-menu-container li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu-main-menu-container li:last-child .sub-menu {
	left: auto;
	right: 0;
}
.nav-main .menu-item > a {
	display: inline-block;
	text-decoration: none;
	padding: 25px 30px;
}
.nav-main .menu-item > a:hover {
	background: #f9f9f9;
}
#menu-main-menu {
	display: flex;
	justify-content: space-between;
}
.menu-item .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	min-width: 300px;
	opacity: 0;
	max-height: 0px;
	overflow: hidden;
	background: white;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 999;
	border-radius: 0 0 5px 5px;
}
.scrolled .menu-item .sub-menu {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	z-index: -1;
}
.menu-item.open > a {
	color: #535fab;
}
.menu-item {
	position: relative;
}
.menu-item a:hover {
	color: #535fab;
}
.sub-menu .menu-item > a {
	width: 100%;
	padding: 10px 30px;
}
.nav-toggler {
	display: none;
	font-size: 40px;
	line-height: 0.1;
	cursor: pointer;
}
.nav-toggler .bars {
	display: inline-block;
}
.nav-toggler .close {
	display: none;
}
.nav-toggler.open .close {
	display: inline-block;
}
.nav-toggler.open .bars {
	display: none;
}
span.dropdown-trigger {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	height: 57px;
	aspect-ratio: 1 / 1;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	background: white;
}
span.dropdown-trigger:hover {
	background: #f9f9f9;
}
a.btn.btn-primary.sticky-phone-btn {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	border-radius: 0;
	padding: 0.75rem 1rem;
	z-index: 999;
	box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}
#mobile-ctas {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #535fab;
	z-index: 999999;
}

#mobile-ctas > a {
	flex-grow: 1;
	flex-basis: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	color: white;
	text-decoration: none;
	padding: 0.5rem;
}
#mobile-ctas > a .icon {
	margin-bottom: 0.5rem;
	font-size: 1.5em;
}

#mobile-ctas > a:first-child {
	border-right: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1440px) {
	.nav-top > a {
		display: none;
	}
	.nav-top > a[href*="schedule"],
	.nav-top > a[href*="paysimple"],
	.nav-top > a.phone-link {
		display: flex;
		justify-content: center;
		align-items: center;
		white-space: nowrap;
	}
	.nav-top > a[href*="paysimple"] {
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		border-left: 1px solid rgba(255, 255, 255, 0.1);
	}
}

@media (min-width: 992px) {
	.menu-item > a[href*="paysimple"] {
		display: none;
	}
	.menu-item:hover .sub-menu {
		max-height: 1000px;
		opacity: 1;
	}
}

@media (max-width: 992px) {
	body {
		padding-bottom: 72px; /* height of mobile sticky links roughly */
	}
	.nav-top {
		display: none;
	}
	#masthead {
		height: 80px;
	}
	#mobile-ctas {
		display: flex;
	}
	#podium-website-widget {
		display: none;
	}
	.nav-toggler {
		display: inline-block;
	}
	.menu-main-menu-container {
		position: fixed;
		top: 80px;
		right: 0;
		width: 360px;
		height: calc(100vh - 80px);
		overflow-y: auto;
		background: white;
		z-index: 999;
		transform: translateX(105%);
		transition: transform 0.15s ease;
	}
	.menu-main-menu-container.open {
		transform: translateX(0);
	}
	.nav-main {
		padding: 0 1rem;
	}
	#menu-main-menu {
		flex-direction: column;
	}
	.nav-main .menu-item > a {
		padding: 15px;
		display: block;
	}
	.sub-menu .menu-item > a {
		background: #f9f9f9;
	}
	span.dropdown-trigger {
		display: flex;
		background: #f9f9f9;
	}
	.menu-item.open span.dropdown-trigger {
		transform: rotate(180deg);
	}
	.menu-item .sub-menu {
		position: relative;
		top: unset;
		left: unset;
		width: 100%;
		box-shadow: none;
		z-index: 1;
		border-radius: 0;
	}
	.menu-item.open > .sub-menu {
		max-height: 100%;
		opacity: 1;
		z-index: 1;
		box-shadow: none;
	}
	#masthead .home-link img {
		width: 175px;
		margin-bottom: -3px;
		margin-left: -6px;
	}
}
@media (max-width: 782px) {
	.admin-bar #masthead {
		top: 0;
	}
	#wpadminbar {
		display: none;
	}
	body.admin-bar {
		margin-top: -46px;
	}
	.nav-top .phone-txt {
		display: none;
	}
	.nav-top .phone-link .icon {
		margin-right: 0;
	}
	.nav-top .phone-link {
		width: 160px;
	}
}
@media (max-width: 480px) {
	#mobile-ctas > a {
		font-size: 16px;
	}
	#mobile-ctas > a .icon {
		font-size: 1.25em;
	}
	.nav-top a {
		font-size: 14px;
	}
}
