/* VISMASTER MENU — PC/MAC ONLY */

.vismaster-custom-menu {
	width: 100%;
	height: var(--vm-menu-height);
	background: var(--vm-menu-bg);
	box-sizing: border-box;
	border-radius: var(--vm-menu-border-radius);
}

.vismaster-custom-menu > ul {
	width: var(--vm-menu-content-width);
	max-width: var(--vm-menu-content-max-width);
	height: 100%;
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	box-sizing: border-box;
}

.vismaster-custom-menu ul,
.vismaster-custom-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vismaster-custom-menu > ul {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	width: var(--vm-menu-content-width);
	max-width: var(--vm-menu-content-max-width);
	height: 100%;
	margin: 0 auto;
}

.vismaster-custom-menu li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.vismaster-custom-menu li > a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 var(--vm-menu-item-padding-left) 0 var(--vm-menu-item-padding-right);
	box-sizing: border-box;
	color: var(--vm-menu-text);
	font-size: var(--vm-menu-font-size);
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}

.vismaster-custom-menu li > a:hover {
	background: var(--vm-menu-hover-bg);
	color: var(--vm-menu-hover-text);
}

.vismaster-custom-menu li.vm-menu-active > a::after {
	content: "";
	position: absolute;
	left: var(--vm-menu-item-padding-left);
	right: var(--vm-menu-item-padding-right);
	bottom: calc(-1 * var(--vm-menu-active-gap));
	height: var(--vm-menu-active-height);
	background: var(--vm-menu-active-bar);
	pointer-events: none;
}

.vismaster-custom-menu li > ul {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 100%;
	z-index: 9999;
	background: var(--vm-menu-bg);
}

.vismaster-custom-menu li:hover > ul {
	display: block;
}

.vismaster-custom-menu li > ul li {
	display: block;
}

.vismaster-custom-menu li > ul li > a {
	width: 100%;
	min-height: var(--vm-menu-height);
	justify-content: flex-start;
}

@media (max-width: 767px) {
	/* Mobile intentionally left empty.
	   The mobile menu will be designed separately. */
	.vismaster-custom-menu {
		/* no mobile behavior yet */
	}
}
