/* Header "Rinktis butą" button (all three header templates, desktop): our dropdown with the floor pages, parking and
   storage (design: dizainai/Pagrindinis-desktop.jpg). Same width as the button, 47px below it with a small pointer,
   white at 80% over the page; the current page and the hovered item are bold. A transparent bridge fills the gap so
   the menu stays open while the pointer moves down to it. Added by parko_header_dropdown_script() (frontend.php). */
.parko-dd {
	display: none;
}

@media (min-width: 1025px) {
	.parko-dd-host {
		position: relative;
	}

	.parko-dd-host .parko-dd {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 5;
		padding-top: 41px;                 /* bridge (the pointer sits in it): 47px from the button as in the design */
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
	}

	.parko-dd-host:hover .parko-dd,
	.parko-dd-host:focus-within .parko-dd {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
	}

	.parko-dd__list {
		position: relative;
		margin: 0;
		padding: 15px 30px 12px;
		list-style: none;
		background: rgba(255, 255, 255, 0.8);
	}

	/* pointer towards the button */
	.parko-dd__list::before {
		content: "";
		position: absolute;
		left: 11px;
		bottom: 100%;
		border: 11px solid transparent;
		border-top: 0;
		border-bottom-color: rgba(255, 255, 255, 0.8);
	}

	.parko-dd__list li {
		margin: 0;
		padding: 0;
	}

	.parko-dd__list a {
		display: block;
		font-family: "DM Sans", sans-serif;
		font-size: 17px;
		font-weight: 400;
		line-height: 34px;
		color: #3F513D;
		text-decoration: none;
		white-space: nowrap;
	}

	.parko-dd__list a:hover,
	.parko-dd__list a:focus-visible,
	.parko-dd__list a[aria-current="page"] {
		font-weight: 700;
		color: #3F513D;
	}
}

/* Elementor's sticky spacer is a hidden clone of the header (copied with our dropdown) - never show it there */
.elementor-sticky__spacer .parko-dd-host .parko-dd {
	display: none;
}
