/* Taalwisselaar in de header (zie mu-plugins/cv-wpml.php). De kleur van de knop volgt de header-iconen (taal.js). */
#header-outer .cv-taal { position: relative; display: flex; align-items: center; }
#header-outer .cv-taal .cv-taal__knop {
	display: inline-flex; align-items: center; gap: 7px;
	background: none; border: 0; border-radius: 0; margin: 0; padding: 8px 4px; box-shadow: none;
	font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: .08em;
	color: inherit; cursor: pointer; transition: color .2s ease, opacity .2s ease;
}
#header-outer .cv-taal .cv-taal__knop:hover { opacity: .75; }
#header-outer .cv-taal .cv-taal__knop svg { transition: transform .2s ease; }
#header-outer .cv-taal.is-open .cv-taal__knop svg { transform: rotate(180deg); }
#header-outer .cv-taal .cv-taal__knop:focus-visible { outline: 2px solid #fba824; outline-offset: 3px; }

#header-outer .cv-taal .cv-taal__lijst {
	position: absolute; top: calc(100% + 10px); right: -12px; z-index: 10001;
	display: block; width: 190px; margin: 0; padding: 6px 0;
	background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.2);
	border-top: 4px solid #fba824;
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
#header-outer .cv-taal.is-open .cv-taal__lijst { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
#header-outer #top .cv-taal .cv-taal__lijst a {
	display: flex; align-items: center; gap: 12px; float: none; position: static;
	width: auto; height: auto; padding: 11px 18px; margin: 0;
	color: #000; background: none; font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.2;
	letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; opacity: 1;
}
#header-outer #top .cv-taal .cv-taal__lijst a:hover,
#header-outer #top .cv-taal .cv-taal__lijst a:focus-visible { background: #f6f2e6; color: #000; outline: none; }
#header-outer .cv-taal .cv-taal__code { display: inline-block; min-width: 24px; font-weight: 700; letter-spacing: .08em; }
#header-outer .cv-taal .cv-taal__naam { display: inline; }
#header-outer #top .cv-taal .cv-taal__lijst a.is-actief .cv-taal__code { color: #fba824; }
#header-outer #top .cv-taal .cv-taal__lijst a.is-actief::after { content: ""; width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #fba824; }

/* Desktop: in de knoppenrij. */
#header-outer #top nav > ul.buttons > li.cv-taal-item { display: flex; align-items: center; margin-right: 8px; }

/* Mobiel/tablet: naast de iconen. */
@media only screen and (max-width: 999px) {
	#header-outer #top .nectar-mobile-only.mobile-header { display: flex !important; align-items: center; margin-right: 12px; }
	#header-outer #top .nectar-mobile-only.mobile-header .inner { display: flex; align-items: center; }
	#header-outer .cv-taal .cv-taal__knop { font-size: 14px; padding: 8px 2px; }
}
