/* custom_nav_main_partial.html - global */
.navigation {
	--surface-mobile-nav: var(--white);
	--surface-highlight: var(--blue-sky);
	--text: var(--green-dark);
	--text-alt: var(--green-dark);
}

.contentRender_name_plugins_nav_main,
.contentRender_name_plugins_nav_main_dropdown {
	order: -1;
}

@media (min-width: 64em) {
	.contentRender_name_plugins_nav_main,
	.contentRender_name_plugins_nav_main_dropdown {
		order: 0;
		height: 100%;
	}
}

.nav-container {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 100%;
}

.navigation a {
	display: flex;
	align-items: center;
	padding: var(--space-3) var(--space-5);
	width: 100%;
	font-size: var(--text-base);
	line-height: var(--leading-tight);
	color: inherit;
	text-decoration: none;
}

.navigation.desktop a {
	white-space: nowrap;
}

.navigation a:hover {
	color: inherit;
}

.navigation .nav-item .nav-item-control {
	display: flex;
	justify-content: space-between;
	color: var(--text-alt);
	transition: background-color 300ms cubic-bezier(0,0,0.3,1);
}

.navigation .nav-item .dropdown-toggle {
	margin: 0;
	padding: var(--space-3) var(--space-5);
	line-height: var(--leading-none);
	color: inherit;
	background-color: transparent;
	text-shadow: 0 0 1px var(--sw-text-color);
	transition: background-color 300ms cubic-bezier(0,0,0.3,1);
}

.navigation .nav-item .dropdown-toggle i,
.navigation .nav-item .dropdown-toggle i::before {
	display: inline-block;
	line-height: 0;
}

.navigation .nav-item .dropdown-toggle:focus-visible {
	outline: 1px solid var(--sw-focus-color);
	outline-offset: 0;
}

/* menu toggle */
.nav-container .menu-toggle {
	height: 60px;
	width: 60px;
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	background: none;
	cursor: pointer;
}

.nav-container .menu-toggle.active .open,
.nav-container .menu-toggle .close {
	display: none;
}

.nav-container .menu-toggle .open,
.nav-container .menu-toggle.active .close {
	display: block;
}

/* custom_nav_main_partial.html - mobile */
.navigation.mobile {
	background-color: var(--surface-mobile-nav);
}

.navigation.mobile .nav-item.open > .nav-item-control {
	background-color: var(--surface-highlight);
}

.navigation.mobile a {
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: 500;
	line-height: var(--leading-none);
	color: var(--sw-text-color);
	text-decoration: none;
	padding: var(--space-3) var(--space-5);
	text-transform: capitalize;
}

.navigation.mobile .nav-item-control.level-1 a {
	font-size: 1.0625rem;
	font-weight: 700;
	text-transform: uppercase;
}

.navigation .nav-item .dropdown-toggle {
	font-size: var(--text-sm);
	padding: var(--space-3) var(--space-5);
}

.navigation.mobile .nav-item .dropdown-toggle .icon-toggle {
	transform-origin: center;
	transition: transform 300ms cubic-bezier(0,0,0.3,1);
}

.navigation.mobile .nav-item.open > .nav-item-control .dropdown-toggle .icon-toggle {
	transform: rotateX(-180deg);
}

.navigation.mobile .nav-item .dropdown-menu {
	display: none;
	background-color: var(--blue-light);
}

.navigation.mobile .nav-item .dropdown-menu .nav-item.open > .nav-item-control {
	background-color: var(--blue-light);
}

.navigation.mobile .nav-item .dropdown-menu .dropdown-menu {
	background-color: var(--blue-faded);
}

.navigation.mobile .nav-item .dropdown-menu .dropdown-menu .nav-item.open > .nav-item-control {
	background-color: var(--blue-faded);
}

.navigation.mobile .nav-item .dropdown-menu .nav-link {
	padding-left: var(--space-5);
}

.navigation.mobile .nav-item .dropdown-menu .dropdown-menu .nav-link {
	padding-left: var(--space-5);
}

.navigation.mobile .nav-item .dropdown-menu .dropdown-menu .dropdown-menu .nav-link {
	padding-left: var(--space-5);
}

.navigation.mobile .nav-item .dropdown-menu .dropdown-menu .dropdown-menu .dropdown-menu .nav-link {
	padding-left: var(--space-5);
}

.navigation.mobile .nav-item .dropdown-menu.open {
	display: block;
}

/* custom_nav_main_partial.html - desktop */
.navigation.desktop {
	position: relative;
	display: none;
	justify-content: flex-start;
	height: 100%;
}

.navigation.desktop .dropdown-menu {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 100ms cubic-bezier(0,0,0.3,1), visibility 100ms cubic-bezier(0,0,0.3,1);
	z-index: 30;
}

.navigation.desktop .dropdown-menu.open {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

.navigation.desktop .level-1.nav-item > .nav-item-control {
	align-items: center;
	height: 100%;
	color: var(--text);
}

/* If there are secondary nav links, align the primary nav closer to the secondary nav */
.secondary-nav-links-cont + .contentRender_name_plugins_nav_main_dropdown .navigation.desktop .level-1.nav-item > .nav-item-control {
	align-items: flex-start;
}

.navigation.desktop .nav-item.level-1 > .nav-item-control > a {
	padding: 0;
	font-family: var(--font-body);
	font-size: var(--text-lg);
	font-weight: 500;
	line-height: 1.08;
	color: var(--white);
	text-transform: uppercase;
	text-decoration: 2px underline transparent;
	text-underline-offset: 2px;
	transition: text-decoration-color var(--transition-appendix-med);
}

@media (min-width: 90em) {
	.navigation.desktop .nav-item.level-1 > .nav-item-control > a {
		font-size: 1.375rem;
		font-weight: 700;
	}
}

.navigation.desktop .level-1.nav-item > .nav-item-control > .dropdown-toggle {
	font-size: var(--text-lg);
	padding: 0;

	/* SR Only */
	border: 0;
	clip: rect(0,0,0,0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	color: var(--white);
}

.navigation.desktop .level-1.nav-item > .nav-item-control > .dropdown-toggle:focus-visible {
	position: static;
	top: unset;
	left: unset;
	height: auto;
	width: 100%;
	line-height: var(--leading-none);
	clip: unset;
	opacity: 1;
	margin: 0;
	margin-left: var(--space-2);
	padding: 0;
	outline-color: var(--sw-light-focus-color);
}

.navigation.desktop .nav-item:not(.level-1) > .nav-item-control {
	justify-content: flex-start;
	gap: 3px;
}

.navigation.desktop .nav-item:not(.level-1) > .nav-item-control {
	padding-right: var(--space-3);
}

.navigation.desktop .nav-item:not(.level-1) > .nav-item-control > a {
	padding: 10px 15px;
	padding-right: 0;
	font-family: var(--font-body);
	font-size: var(--text-lg);
	font-weight: 500;
	line-height: var(--leading-none);
	color: var(--sw-text-color);
	width: unset;
}

.navigation.desktop .nav-item:not(.level-1) > .nav-item-control .dropdown-toggle {
	font-size: var(--text-xs);
	padding: 10px 0;
}

.navigation.desktop .nav-item:not(.level-1) > .nav-item-control .dropdown-toggle i {
	translate: 0 1px;
}

.navigation.desktop > .nav-item.on-right .nav-item-control:not(.level-1) {
	text-align: left;
	padding-left: var(--space-3);
	padding-right: 0;
}

.navigation.desktop > .nav-item.on-right .dropdown-menu .nav-item-control .nav-link {
	justify-content: flex-end;
	padding-left: 0;
	padding-right: 15px;
}

.navigation.desktop > .nav-item.on-right .nav-item-control:not(.level-1) .dropdown-toggle {
	transform: scaleX(1);
}

.navigation.desktop .nav-item.level-1.open > .nav-item-control > a,
.navigation.desktop .nav-item.level-1 > .nav-item-control > a:focus-visible {
	text-decoration-color: var(--white);
}

.navigation.desktop .nav-item:not(.level-1).open > .nav-item-control,
.navigation.desktop .nav-item:not(.level-1) > .nav-item-control:focus-within {
	background-color: var(--blue-sky);
}

.navigation .nav-item.level-1 .nav-item-control a,
.navigation .nav-item.level-2 .nav-item-control a,
.navigation .nav-item.level-3 .nav-item-control a {
	text-decoration: none; /*reboot.css override*/
}

.navigation .nav-item.level-1 .nav-item-control a:focus-visible,
.navigation .nav-item.level-2 .nav-item-control a:focus-visible,
.navigation .nav-item.level-3 .nav-item-control a:focus-visible {
	outline-offset: 0;
}

/*prevents text overflow in non-level-1 nav items*/
.navigation .nav-item.level-2 .nav-item-control a,
.navigation .nav-item.level-3 .nav-item-control a {
	white-space: unset;
}

.navigation.desktop .level-1.nav-item > .nav-item-control > .dropdown-toggle {
	margin: 0;
	padding: var(--space-3) var(--space-2);
}

@media (hover: hover) {
	.navigation.desktop .nav-item.level-1 > .nav-item-control > a:hover {
		text-decoration-color: var(--white);
	}

	.navigation.desktop .nav-item:not(.level-1) > .nav-item-control:hover {
		background-color: var(--blue-sky);
	}

	.navigation .nav-item.level-1 .nav-item-control a,
	.navigation .nav-item.level-2 .nav-item-control a,
	.navigation .nav-item.level-3 .nav-item-control a {
		text-decoration: none; /*reboot.css override*/
	}
}

@media (min-width: 64em) {
	.navigation.desktop {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		column-gap: var(--space-4);
	}

	.nav-container .menu-toggle {
		display: none;
	}

	/* side-column-style dropdowns */

	.side-column-dropdowns .navigation.mobile .nav-item .dropdown-menu {
		background-color: inherit;
	}

	.side-column-dropdowns  .navigation.mobile .nav-item .dropdown-menu.level-1 {
		position: absolute;
		right: 0;
		top: 0;
		translate: 100% 0;
		width: 100%;
		max-width: 260px;
	}

	.side-column-dropdowns  .navigation.mobile .nav-item-control.level-1 .icon-toggle::before {
		content: '\f105';
	}

	.side-column-dropdowns .navigation.mobile .nav-item .dropdown-menu .nav-link {
		padding-left: var(--space-4);
	}
	
	.side-column-dropdowns .navigation.mobile .nav-item .dropdown-menu .dropdown-menu .nav-link {
		padding-left: var(--space-8);
	}
	
	.side-column-dropdowns .navigation.mobile .nav-item .dropdown-menu .dropdown-menu .dropdown-menu .nav-link {
		padding-left: var(--space-12);
	}
	
	.side-column-dropdowns .navigation.mobile .nav-item .dropdown-menu .dropdown-menu .dropdown-menu .dropdown-menu .nav-link {
		padding-left: var(--space-16);
	}
}

@media (min-width: 90em) {
	.navigation.desktop {
		column-gap: 30px;
	}
}