.menu-item-object-bmm_lang_switch {
	align-items: center;
	display: inline-flex;
	line-height: inherit;
	position: relative;
	vertical-align: middle;
}

.menu-item-object-bmm_lang_switch .bmm-language-toggle {
	min-height: 0;
	padding-bottom: 0;
	padding-top: 0;
	vertical-align: middle;
}

.bmm-language-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	color: currentColor;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	gap: 7px;
	line-height: 1.2;
	padding: 8px 10px;
	text-decoration: none;
}

.bmm-language-toggle__icon {
	align-items: center;
	border: 1px solid currentColor;
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	height: 20px;
	justify-content: center;
	width: 20px;
}

.bmm-language-toggle__current {
	font-size: 12px;
	opacity: .75;
}

.bmm-language-popover {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .14);
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
	color: #14201a;
	left: 50%;
	max-width: min(480px, calc(100vw - 32px));
	min-width: min(420px, calc(100vw - 32px));
	overflow: visible;
	padding: 16px;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000002 !important;
}

.bmm-language-popover[hidden] {
	display: none !important;
}

html.bmm-language-modal-open,
body.bmm-language-modal-open {
	overflow: hidden;
}

.bmm-language-backdrop {
	background: rgba(0, 0, 0, .58);
	inset: 0;
	pointer-events: auto;
	position: fixed;
	z-index: 1000001 !important;
}

.bmm-language-backdrop[hidden] {
	display: none !important;
}

.bmm-language-popover__header {
	align-items: flex-start;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 10px;
	padding: 0 0 12px;
}

.bmm-language-popover__title {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
}

.bmm-language-popover__subtitle {
	color: #53645b;
	font-size: 13px;
	margin-top: 4px;
}

.bmm-language-close {
	align-items: center;
	background: rgba(0, 0, 0, .06);
	border: 0;
	border-radius: 999px;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font-size: 24px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	width: 34px;
}

.bmm-language-options {
	display: grid;
	gap: 6px;
	grid-template-columns: 1fr;
}

.bmm-language-option {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 10px;
	color: inherit;
	cursor: pointer;
	display: flex;
	font: inherit;
	justify-content: space-between;
	min-height: 44px;
	padding: 9px 10px;
	text-align: left;
}

.bmm-language-option:hover,
.bmm-language-option:focus-visible,
.bmm-language-option[aria-pressed="true"] {
	background: rgba(0, 128, 73, .12);
	outline: none;
}

.bmm-language-option small {
	color: #0a7a43;
	font-size: 11px;
	font-weight: 800;
}

.bmm-language-option__main {
	align-items: center;
	display: inline-flex;
	font-weight: 700;
	gap: 8px;
}

.bmm-language-option__flag {
	font-size: 20px;
	line-height: 1;
}

html.dark-mode .bmm-language-popover,
body.dark-mode .bmm-language-popover,
html[data-theme="dark"] .bmm-language-popover,
body[data-theme="dark"] .bmm-language-popover {
	background: #151917 !important;
	border-color: rgba(255, 255, 255, .16);
	color: #f2fff8 !important;
}

html:not(.dark-mode):not([data-theme="dark"]) .bmm-language-popover,
body:not(.dark-mode):not([data-theme="dark"]) .bmm-language-popover,
html.light-mode .bmm-language-popover,
body.light-mode .bmm-language-popover,
html[data-theme="light"] .bmm-language-popover,
body[data-theme="light"] .bmm-language-popover {
	background: #fff !important;
	color: #14201a !important;
}

html.dark-mode .bmm-language-popover__title,
body.dark-mode .bmm-language-popover__title,
html[data-theme="dark"] .bmm-language-popover__title,
body[data-theme="dark"] .bmm-language-popover__title {
	border-bottom-color: rgba(255, 255, 255, .12);
}

html.dark-mode .bmm-language-popover__header,
body.dark-mode .bmm-language-popover__header,
html[data-theme="dark"] .bmm-language-popover__header,
body[data-theme="dark"] .bmm-language-popover__header {
	border-bottom-color: rgba(255, 255, 255, .12);
}

html.dark-mode .bmm-language-popover__subtitle,
body.dark-mode .bmm-language-popover__subtitle,
html[data-theme="dark"] .bmm-language-popover__subtitle,
body[data-theme="dark"] .bmm-language-popover__subtitle {
	color: #aebdb5;
}

html.dark-mode .bmm-language-close,
body.dark-mode .bmm-language-close,
html[data-theme="dark"] .bmm-language-close,
body[data-theme="dark"] .bmm-language-close {
	background: rgba(255, 255, 255, .1);
}

#kol-bbm-bottom-menu-icons .bmm-language-toggle__text,
#kol-bbm-bottom-menu-icons .bmm-language-toggle__current,
.kol-mobile-menu-list .bmm-language-toggle__text,
.kol-mobile-menu-list .bmm-language-toggle__current {
	display: none;
}

@media (max-width: 520px) {
	.bmm-language-popover {
		left: 16px;
		max-width: none;
		min-width: 0;
		right: 16px;
		transform: translateY(-50%);
		width: auto;
	}
}
