/* STEMFREAK desktop navigation polish. */
#main-header #top-menu-nav #top-menu > li > a {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .01em;
	transition: color .18s ease;
}

#main-header #top-menu-nav #top-menu > li > a:hover,
#main-header #top-menu-nav #top-menu > li.current-menu-item > a,
#main-header #top-menu-nav #top-menu > li.current-menu-ancestor > a {
	color: #2368d8 !important;
}

#main-header #top-menu-nav #top-menu li > ul.sub-menu {
	min-width: 250px;
	padding: 10px;
	border: 1px solid #e8edf4;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(15, 35, 65, .16);
}

#main-header #top-menu-nav #top-menu li > ul.sub-menu a {
	width: 100%;
	padding: 11px 13px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
	transition: color .16s ease, background-color .16s ease;
}

#main-header #top-menu-nav #top-menu li > ul.sub-menu a:hover {
	color: #174fb3 !important;
	background: #f1f6ff;
}

.sfam-ui,
.sfam-ui * {
	box-sizing: border-box;
}

.sfam-toggle,
.sfam-overlay {
	display: none;
}

@media (max-width: 980px) {
	#main-header .container.et_menu_container {
		position: relative !important;
	}

	#main-header #et-top-navigation {
		position: static !important;
	}

	.sfam-ready #main-header #top-menu-nav,
	.sfam-ready #main-header #et_mobile_nav_menu {
		display: none !important;
	}

	.sfam-ready #main-header #logo {
		max-width: calc(100% - 64px) !important;
	}

	.sfam-toggle {
		position: absolute;
		top: 50%;
		right: 0;
		z-index: 20;
		display: inline-flex;
		width: 46px;
		height: 46px;
		align-items: center;
		justify-content: center;
		padding: 0;
		transform: translateY(-50%);
		border: 1px solid #e6ebf2;
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 5px 16px rgba(12, 36, 68, .09);
		color: #142645;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.sfam-toggle:hover,
	.sfam-toggle:focus-visible {
		border-color: #c9dafa;
		background: #f4f8ff;
	}

	.sfam-toggle svg {
		width: 23px;
		height: 23px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-width: 1.8;
	}

	.sfam-toggle:focus-visible,
	.sfam-close:focus-visible,
	.sfam-submenu-toggle:focus-visible,
	.sfam-menu-scroll a:focus-visible,
	.sfam-search:focus-visible {
		outline: 3px solid rgba(43, 112, 224, .48);
		outline-offset: 3px;
	}

	.sfam-overlay:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 999999;
		display: flex;
		justify-content: flex-end;
		background: rgba(7, 19, 39, .56);
		backdrop-filter: blur(4px);
		opacity: 0;
		transition: opacity .22s ease;
	}

	.sfam-overlay.is-open {
		opacity: 1;
	}

	.sfam-drawer {
		display: flex;
		width: min(100%, 520px);
		height: 100%;
		height: 100dvh;
		flex-direction: column;
		padding: max(18px, env(safe-area-inset-top)) 22px max(16px, env(safe-area-inset-bottom));
		transform: translateX(22px);
		background: #f5f8fc;
		box-shadow: -18px 0 55px rgba(6, 19, 42, .18);
		color: #172841;
		transition: transform .25s cubic-bezier(.2, .75, .25, 1);
		overscroll-behavior: contain;
	}

	.sfam-overlay.is-open .sfam-drawer {
		transform: translateX(0);
	}

	.sfam-topbar {
		display: flex;
		min-height: 62px;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		margin-bottom: 18px;
	}

	.sfam-brand {
		display: flex;
		align-items: center;
		gap: 12px;
	}

	.sfam-brand-mark {
		display: block;
		width: 46px;
		height: 46px;
		padding: 3px;
		overflow: hidden;
		border: 1px solid #e1e8f2;
		border-radius: 15px;
		background: #fff;
		box-shadow: 0 7px 18px rgba(35, 99, 207, .25);
	}

	.sfam-brand-mark img {
		display: block;
		width: 100%;
		height: 100%;
		border-radius: 11px;
		object-fit: contain;
	}

	.sfam-brand h2 {
		margin: 1px 0 0;
		color: #122642;
		font-size: 17px;
		font-weight: 800;
		letter-spacing: .035em;
		line-height: 1.2;
	}

	.sfam-eyebrow {
		color: #718198;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: .12em;
		line-height: 1.2;
		text-transform: uppercase;
	}

	.sfam-close {
		display: grid;
		width: 44px;
		height: 44px;
		flex: 0 0 auto;
		place-items: center;
		border: 1px solid #e1e8f1;
		border-radius: 14px;
		background: #fff;
		color: #233957;
		cursor: pointer;
	}

	.sfam-close svg {
		width: 22px;
		height: 22px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-width: 1.8;
	}

	.sfam-search-wrap {
		display: flex;
		min-height: 52px;
		align-items: center;
		gap: 11px;
		margin-bottom: 15px;
		padding: 0 15px;
		border: 1px solid #e3eaf3;
		border-radius: 15px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(17, 41, 72, .035);
	}

	.sfam-search-wrap > svg {
		width: 20px;
		height: 20px;
		flex: 0 0 auto;
		fill: none;
		stroke: #8190a5;
		stroke-linecap: round;
		stroke-width: 1.7;
	}

	.sfam-search {
		width: 100%;
		min-width: 0;
		padding: 0;
		border: 0;
		outline: 0;
		background: transparent;
		box-shadow: none;
		color: #172841;
		font-family: inherit;
		font-size: 16px;
		font-weight: 500;
		line-height: 1.3;
	}

	.sfam-search::placeholder {
		color: #8b98aa;
		opacity: 1;
	}

	.sfam-search:focus-visible {
		outline: 0;
	}

	.sfam-menu-scroll {
		min-height: 0;
		flex: 1 1 auto;
		overflow: auto;
		padding: 2px 2px 12px;
		scrollbar-color: #c6d2e1 transparent;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.sfam-list,
	.sfam-list ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.sfam-list > li {
		margin: 0 0 9px;
		border: 1px solid #e6ebf2;
		border-radius: 17px;
		background: #fff;
		box-shadow: 0 4px 12px rgba(16, 40, 72, .035);
	}

	.sfam-item-row {
		display: flex;
		min-height: 62px;
		align-items: center;
		gap: 11px;
		padding: 8px 10px 8px 12px;
	}

	.sfam-list > li > .sfam-item-row > a {
		font-size: 15px;
		font-weight: 750;
	}

	.sfam-icon {
		display: grid;
		width: 40px;
		height: 40px;
		flex: 0 0 auto;
		place-items: center;
		border-radius: 13px;
		background: #eaf2ff;
		color: #2367d0;
		font-size: 14px;
		font-weight: 800;
	}

	.sfam-list > li:nth-child(2) > .sfam-item-row .sfam-icon { background: #e8f7f5; color: #168577; }
	.sfam-list > li:nth-child(3) > .sfam-item-row .sfam-icon { background: #fff3e5; color: #c87513; }
	.sfam-list > li:nth-child(4) > .sfam-item-row .sfam-icon { background: #f1ebff; color: #7048c8; }
	.sfam-list > li:nth-child(5) > .sfam-item-row .sfam-icon { background: #e9f2ff; color: #3264ae; }
	.sfam-list > li:nth-child(6) > .sfam-item-row .sfam-icon { background: #fff0f2; color: #c44d67; }

	.sfam-list a {
		min-width: 0;
		flex: 1 1 auto;
		padding: 8px 2px;
		border-radius: 8px;
		color: #1a2e49;
		font-size: 14px;
		line-height: 1.35;
		text-decoration: none;
	}

	.sfam-list a:hover,
	.sfam-list a[aria-current="page"] {
		color: #1e63ca;
	}

	.sfam-submenu-toggle {
		display: grid;
		width: 38px;
		height: 38px;
		flex: 0 0 auto;
		place-items: center;
		border: 0;
		border-radius: 11px;
		background: #f3f6fa;
		color: #51657e;
		cursor: pointer;
		transition: transform .18s ease, background .18s ease;
	}

	.sfam-submenu-toggle:hover {
		background: #eaf1fb;
	}

	.sfam-submenu-toggle svg {
		width: 18px;
		height: 18px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.8;
		transition: transform .18s ease;
	}

	.sfam-item-open > .sfam-item-row .sfam-submenu-toggle svg {
		transform: rotate(180deg);
	}

	.sfam-list ul.sub-menu {
		display: none;
		margin: 0 12px 10px 63px;
		padding: 2px 0 2px 11px;
		border-left: 2px solid #e8eef6;
	}

	.sfam-list li.sfam-item-open > ul.sub-menu {
		display: block;
	}

	.sfam-list ul.sub-menu li {
		border-bottom: 1px solid #eff2f6;
	}

	.sfam-list ul.sub-menu li:last-child {
		border-bottom: 0;
	}

	.sfam-list ul.sub-menu .sfam-item-row {
		min-height: 48px;
		gap: 5px;
		padding: 3px 0 3px 7px;
	}

	.sfam-list ul.sub-menu a {
		padding: 9px 5px;
		font-weight: 550;
	}

	.sfam-list ul.sub-menu .sfam-submenu-toggle {
		width: 32px;
		height: 32px;
		background: transparent;
	}

	.sfam-list .sfam-search-hidden {
		display: none !important;
	}

	.sfam-no-results {
		margin: 24px 4px;
		color: #6c7d93;
		font-size: 14px;
		text-align: center;
	}

	.sfam-bottom-note {
		padding: 13px 4px 2px;
		border-top: 1px solid #e3e9f1;
		color: #708199;
		font-size: 12px;
		font-weight: 600;
		text-align: center;
	}

	body.sfam-open {
		overflow: hidden;
	}
}

@media (max-width: 520px) {
	.sfam-drawer {
		width: 100%;
		max-width: none;
		padding-right: 17px;
		padding-left: 17px;
		transform: translateY(20px);
	}

	.sfam-overlay.is-open .sfam-drawer {
		transform: translateY(0);
	}

	.sfam-list > li {
		margin-bottom: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfam-overlay,
	.sfam-drawer,
	.sfam-submenu-toggle svg,
	.sfam-submenu-toggle {
		transition-duration: .01ms !important;
	}
}
