.cofront-ls {
	--cofront-ls-accent: #93a95c;
	--cofront-ls-ink: #3b463f;
	--cofront-ls-muted: #9aa39c;
	--cofront-ls-border: #e2ded4;
	position: relative;
	display: inline-block;
	font-family: inherit;
	font-size: 16px;
	line-height: 1;
	text-align: left;
}

.cofront-ls,
.cofront-ls * {
	box-sizing: border-box;
}

.cofront-ls__toggle {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 8px 11px;
	color: #46524b;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.03em;
	text-transform: none;
	background: #fff;
	border: 1px solid var(--cofront-ls-border);
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.cofront-ls__toggle:hover {
	color: #46524b;
	background: #fbfbf8;
	border-color: #c9d3ab;
}

.cofront-ls__toggle:focus-visible {
	outline: 2px solid var(--cofront-ls-accent);
	outline-offset: 2px;
}

.cofront-ls__dot {
	width: 7px;
	height: 7px;
	flex: none;
	background: var(--cofront-ls-accent);
	border-radius: 50%;
}

.cofront-ls__chevron {
	width: 9px;
	height: 6px;
	flex: none;
	color: var(--cofront-ls-muted);
	transition: transform 0.2s ease;
}

.cofront-ls__toggle[aria-expanded="true"] .cofront-ls__chevron {
	transform: rotate(180deg);
}

.cofront-ls__list {
	position: absolute;
	top: calc(100% + 8px);
	z-index: 9999;
	min-width: 196px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	background-image: none;
	border: 1px solid #e6e2d9;
	border-radius: 10px;
	box-shadow: 0 14px 30px rgba(45, 58, 52, 0.13);
	animation: cofront-ls-in 0.18s ease-out;
}

.cofront-ls--align-right .cofront-ls__list {
	right: 0;
	left: auto;
}

.cofront-ls--align-left .cofront-ls__list {
	right: auto;
	left: 0;
}

.cofront-ls__list[hidden] {
	display: none;
}

@keyframes cofront-ls-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cofront-ls__item {
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cofront-ls__item + .cofront-ls__item {
	margin-top: 2px;
}

.cofront-ls__link {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 9px 10px;
	color: var(--cofront-ls-ink);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	background: transparent;
	border: 0;
	border-radius: 7px;
	transition: background-color 0.15s ease;
}

.cofront-ls__link:hover,
.cofront-ls__link:focus-visible {
	color: var(--cofront-ls-ink);
	text-decoration: none;
	background: #f4f6ee;
}

.cofront-ls__link:focus-visible {
	outline: 2px solid var(--cofront-ls-accent);
	outline-offset: -2px;
}

.cofront-ls__item.is-active .cofront-ls__link {
	font-weight: 700;
	background: #f4f6ee;
}

.cofront-ls__code {
	width: 20px;
	flex: none;
	color: #a2aaa3;
	font: 500 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
	letter-spacing: 0.06em;
}

.cofront-ls__name {
	flex: 1;
}

.cofront-ls__tick {
	display: inline-flex;
	flex: none;
	color: var(--cofront-ls-accent);
}

/* Dark variant for dark header or footer areas. */
.cofront-ls--dark .cofront-ls__toggle {
	color: #e8e6df;
	background: transparent;
	border-color: #4a5750;
}

.cofront-ls--dark .cofront-ls__toggle:hover {
	color: #e8e6df;
	background: rgba(255, 255, 255, 0.04);
	border-color: #7f9648;
}

.cofront-ls--dark .cofront-ls__list {
	background: #26302b;
	border-color: #3d4a43;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.cofront-ls--dark .cofront-ls__link {
	color: #e8e6df;
}

.cofront-ls--dark .cofront-ls__link:hover,
.cofront-ls--dark .cofront-ls__link:focus-visible,
.cofront-ls--dark .cofront-ls__item.is-active .cofront-ls__link {
	color: #e8e6df;
	background: rgba(147, 169, 92, 0.16);
}

.cofront-ls--dark .cofront-ls__code {
	color: #8d9a90;
}

/*
 * BeTheme integration.
 *
 * The high-specificity rules reset BeTheme's generic nested-menu styles,
 * which would otherwise also target the switcher's language list.
 */
.cofront-ls-menu-item {
	z-index: 210;
	list-style: none;
}

.mfn-header-menu > .cofront-ls-menu-item {
	display: inline-flex;
	align-items: center;
	padding-right: 10px;
	padding-left: 10px;
}

#Top_bar .menu li.cofront-ls-menu-item ul.cofront-ls__list {
	top: calc(100% + 8px);
	z-index: 9999;
	width: auto;
	min-width: 196px;
	margin: 0;
	padding: 6px;
	background-color: #fff;
	background-image: none;
	border: 1px solid #e6e2d9;
	box-shadow: 0 14px 30px rgba(45, 58, 52, 0.13);
}

#Top_bar .menu li.cofront-ls-menu-item .cofront-ls--align-right ul.cofront-ls__list {
	right: 0;
	left: auto;
}

#Top_bar .menu li.cofront-ls-menu-item .cofront-ls--align-left ul.cofront-ls__list {
	right: auto;
	left: 0;
}

#Top_bar .menu li.cofront-ls-menu-item ul.cofront-ls__list:not([hidden]) {
	display: block;
}

#Top_bar .menu li.cofront-ls-menu-item ul.cofront-ls__list[hidden] {
	display: none;
}

#Top_bar .menu li.cofront-ls-menu-item ul.cofront-ls__list > li {
	width: auto;
	margin: 0;
	padding: 0;
	font-weight: inherit;
}

#Top_bar .menu li.cofront-ls-menu-item ul.cofront-ls__list > li + li {
	margin-top: 2px;
}

#Top_bar .menu li.cofront-ls-menu-item a.cofront-ls__link {
	display: flex;
	padding: 9px 10px;
	color: var(--cofront-ls-ink);
	line-height: 1.2;
	background: transparent;
	border: 0;
}

#Top_bar .menu li.cofront-ls-menu-item a.cofront-ls__link:hover,
#Top_bar .menu li.cofront-ls-menu-item a.cofront-ls__link:focus-visible,
#Top_bar .menu li.cofront-ls-menu-item .is-active a.cofront-ls__link {
	color: var(--cofront-ls-ink);
	background: #f4f6ee;
}

#Top_bar .menu li.cofront-ls-menu-item a.cofront-ls__link > span {
	display: block;
	padding: 0;
	line-height: 1.2;
	border: 0;
}

@media only screen and (min-width: 1240px) {
	#Top_bar .menu.menu-main:has(> .cofront-ls-menu-item) {
		display: flex;
		align-items: stretch;
	}

	#Top_bar .menu.menu-main > .cofront-ls-menu-item {
		display: flex;
		float: none;
		align-items: center;
		padding-right: 10px;
		padding-left: 10px;
	}
}

@media only screen and (max-width: 1239px) {
	#Top_bar .menu > li.cofront-ls-menu-item {
		clear: both;
		float: none;
		width: 100%;
		padding: 10px 20px;
	}

	/*
	 * JavaScript moves the automatic switcher out of the collapsed menu and
	 * beside BeTheme's hamburger. Without JavaScript, the menu item remains
	 * available inside the opened mobile menu as a fallback.
	 */
	.cofront-ls-js #Top_bar .menu > li.cofront-ls-menu-item {
		display: none;
	}

	#Top_bar .cofront-ls--mobile-header-control {
		position: absolute;
		top: 30px;
		right: 10px;
		z-index: 205;
		display: inline-block;
		width: auto;
		transform: translateY(-50%);
	}

	#Top_bar .cofront-ls--mobile-header-control .cofront-ls__toggle {
		min-width: 54px;
		justify-content: center;
		padding: 8px 9px;
	}

	/* Make room so the switcher is immediately to the hamburger's right. */
	#Top_bar .menu_wrapper > a.responsive-menu-toggle {
		right: 90px;
	}

	/*
	 * BeTheme can make the hamburger a fixed control on the left. In that
	 * mode, place the switcher immediately to its right instead.
	 */
	#Top_bar .menu_wrapper > a.responsive-menu-toggle.is-sticky ~ .cofront-ls--mobile-header-control {
		position: fixed;
		top: 30px;
		right: auto;
		left: 54px;
	}

	.admin-bar #Top_bar .menu_wrapper > a.responsive-menu-toggle.is-sticky ~ .cofront-ls--mobile-header-control {
		top: 56px;
	}
}

/* Full-width language choices in compact/mobile menus. */
@media only screen and (max-width: 782px) {
	.cofront-ls--mobile-stack {
		display: block;
		width: 100%;
	}

	.cofront-ls--mobile-stack .cofront-ls__toggle {
		display: none;
	}

	.cofront-ls--mobile-stack .cofront-ls__list,
	#Top_bar .menu li.cofront-ls-menu-item .cofront-ls--mobile-stack .cofront-ls__list,
	#Side_slide .cofront-ls--mobile-stack .cofront-ls__list {
		position: static;
		display: flex !important;
		gap: 8px;
		min-width: 0;
		padding: 0;
		background: none;
		border: 0;
		box-shadow: none;
		animation: none;
	}

	.cofront-ls--mobile-stack .cofront-ls__item,
	#Top_bar .menu li.cofront-ls-menu-item .cofront-ls--mobile-stack .cofront-ls__item {
		flex: 1;
		width: auto;
		margin: 0;
	}

	.cofront-ls--mobile-stack .cofront-ls__link,
	#Top_bar .menu li.cofront-ls-menu-item .cofront-ls--mobile-stack .cofront-ls__link,
	#Side_slide .cofront-ls--mobile-stack .cofront-ls__link {
		justify-content: center;
		min-height: 48px;
		padding: 9px 10px;
		font-size: 13.5px;
		background: #fff;
		border: 1px solid var(--cofront-ls-border);
	}

	.cofront-ls--mobile-stack .cofront-ls__item.is-active .cofront-ls__link,
	#Top_bar .menu li.cofront-ls-menu-item .cofront-ls--mobile-stack .is-active .cofront-ls__link,
	#Side_slide .cofront-ls--mobile-stack .is-active .cofront-ls__link {
		color: #fff;
		background: var(--cofront-ls-accent);
		border-color: var(--cofront-ls-accent);
	}

	.cofront-ls--mobile-stack .cofront-ls__item.is-active .cofront-ls__tick {
		color: #fff;
	}

	.cofront-ls--mobile-stack .cofront-ls__code {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cofront-ls__list {
		animation: none;
	}

	.cofront-ls__toggle,
	.cofront-ls__chevron,
	.cofront-ls__link {
		transition: none;
	}
}
