.menu-module {
	background: @menuBkgColor;
	min-height: @menuHeight;
	nav ul {
		z-index: 100;
		margin: 0 auto;
		padding: 0;
		min-height: @menuHeight;
		text-align: left;
	}
	nav a, nav .nav-link {
		display: block;
		text-decoration: none;
		font-weight: 700;
		margin: 0;
		padding: @padding/2 @padding/1.25;
		color: @menuLinkColor;
		min-height: @menuHeight - @padding;
		line-height: @menuHeight - @padding;
		transition: @transition;
	}
	.fa, .far, .fas, .fal, .fab {color: inherit;}
	nav li a:hover {
		color: @menuLinkHoverColor;
		background-color: @menuLinkHoverBkgColor;
	}
	nav li {
		margin: 0;
		padding: 0;
		min-height: @menuHeight;
		list-style: none;
	}
	nav li ul {
		margin: 0;
		text-align: left;
	}
	.dropdown-menu, [data-nav-priority-menu] > ul {
		background-color: @menuMoreBkgColor;
		border-radius: 0;
		border: none;
		width: max-content;
	}
	.dropdown-menu .dropdown-item {padding-left: 30px;}
	.nvmenu-overlay	{
		display: none;
		position: fixed;
		z-index: 999999;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		background: fade(#f0f0f0, 95%);
		& when (iscolor(@color4)) {background: fade(@color4, 90%);}
		legend {
			font-size: 1em;
			color: contrast(@color4, @gray8, @white, 30%);
		}
		fieldset {padding: @padding;}
		.nvmenu-overlay-container {
			position: relative;
			margin: 1.25%;
			padding: @padding;
			background: #fff;
			box-sizing: border-box;
			& when (iscolor(@color4)) {background: @color4;}
			a {padding: @padding/2 @padding;}
			a, nav-link, a.nvmenu-close {
				color: contrast(@color4, @gray8, @white, 30%);
				&:hover {color: contrast(@menuLinkHoverBkgColor, @gray8, @white, 30%);}
			}
			a.nvmenu-link-heading {
				font-size: 1.5em;
				padding: @padding/2 @padding/1.5;
			}
			a.nvmenu-close {
				display: inline;
				font-size: 2em;
				padding: 0;
				em {transition: @transition;}
			}
		}
	}
}
.top-menu {
	padding: @padding;
	height: auto;
	.menu-module {
		background: none;
		height: auto;
		nav a, nav .nav-link {color: @linkColor;}
		nav li a:hover {
			color: @linkHoverColor;
			background: none;
		}
	}
}
#subfooter, footer {
	.menu-module {
		height: auto;
		nav ul {
			list-style-type: none;
			text-align: left;
			margin: 0;
		}
		nav a, nav .nav-link {
			padding: @padding/2.5 0;
			text-transform: none;
		}
		nav li a:hover {background-color: transparent;}
		nav li {height: auto;}
	}
}
@media screen and (max-width: 48em) {
	.menu-module {
		nav ul {text-align: center;}
		.nvmenu-overlay ul {text-align: left;}
	}
}