/* Leadstart Translate — language switcher. */

.leadst-switcher {
	margin: 1em 0;
	font-size: 0.95em;
}

.leadst-switcher__label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
}

.leadst-switcher__select {
	max-width: 100%;
	padding: 0.35em 0.5em;
}

.leadst-switcher__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em 0.9em;
}

.leadst-switcher__list li {
	margin: 0;
}

.leadst-switcher--inline .leadst-switcher__list {
	display: inline-flex;
}

.leadst-switcher__list a[aria-current="true"] {
	font-weight: 700;
	text-decoration: none;
}

.leadst-switcher.leadst-floating {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	margin: 0;
	padding: 0.6rem 0.8rem;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.18 );
	max-height: 60vh;
	overflow-y: auto;
}

body.leadst-rtl .leadst-switcher.leadst-floating {
	right: auto;
	left: 1rem;
}

@media print {
	.leadst-switcher {
		display: none;
	}
}
