/* Dentico header mega menu (desktop): details the Elementor Menu widget has no controls for.
   Colours, sizes, paddings and the dropdown layout stay in the widget / container settings. */

/* Thin chevron instead of the Font Awesome solid one. */
.elementor-location-header .elementor-widget-n-menu .e-n-menu-dropdown-icon svg,
.elementor-location-header .elementor-widget-n-menu .e-n-menu-dropdown-icon i {
	display: none;
}

.elementor-location-header .elementor-widget-n-menu .e-n-menu-dropdown-icon > span::before {
	content: "";
	box-sizing: border-box;
	width: 0.34em;
	height: 0.34em;
	margin-left: 0.12em;
	font-size: var(--n-menu-title-font-size);
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-25%) rotate(45deg);
}

.elementor-location-header .elementor-widget-n-menu .e-n-menu-dropdown-icon > .e-n-menu-dropdown-icon-opened::before {
	transform: translateY(25%) rotate(-135deg);
}

/* Small pointer under the open item, sitting on the top edge of the dropdown. */
.elementor-location-header .elementor-widget-n-menu .e-n-menu-title:has(> .e-n-menu-dropdown-icon[aria-expanded="true"])::before {
	content: "";
	position: absolute;
	left: 50%;
	top: calc(100% + var(--n-menu-title-distance-from-content, 0px));
	transform: translate(-50%, -100%);
	border: 9px solid transparent;
	border-top-width: 0;
	border-bottom-color: var(--dentico-menu-panel-bg, #082970);
	pointer-events: none;
	z-index: 2147483621;
}

/* Dropdown links: underline on hover (the colour comes from the Icon List widget). */
.elementor-location-header .e-n-menu-content .elementor-icon-list-item > a:hover .elementor-icon-list-text,
.elementor-location-header .e-n-menu-content .elementor-icon-list-item > a:focus-visible .elementor-icon-list-text {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
