/* Versioned separately so an old compiled LESS file cannot hide the picker. */
.bn_translate {
	position: relative;
	z-index: 1001;
	background: rgba(0, 0, 0, .18);
	color: #fff;
	font-size: 13px;
}
.bn_translate_inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px 12px;
	max-width: 1160px;
	margin: 0 auto;
	padding: 8px 16px;
}
.bn_translate_menu { position: relative; }
.bn_translate_menu summary,
.bn_translate_options button {
	display: flex;
	align-items: center;
	gap: 9px;
	border: 0;
	background: #fff;
	color: #182335;
	font: inherit;
	cursor: pointer;
}
.bn_translate_menu summary {
	list-style: none;
	min-height: 32px;
	padding: 4px 12px;
	border-radius: 5px;
}
.bn_translate_menu summary::-webkit-details-marker { display: none; }
.bn_translate img { flex: 0 0 20px; width: 20px; height: 15px; }
.bn_translate_caret {
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}
.bn_translate_options {
	position: absolute;
	top: calc(100% + 5px);
	right: 0;
	width: 230px;
	max-width: calc(100vw - 32px);
	padding: 5px;
	border: 1px solid #e2e7ef;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
}
.bn_translate_options button {
	box-sizing: border-box;
	width: 100%;
	padding: 9px 10px;
	border-radius: 4px;
	text-align: left;
}
.bn_translate_options button:hover,
.bn_translate_options button:focus-visible,
.bn_translate_options button[aria-pressed="true"] { background: #edf3fb; }
.bn_translate #bn_translate_fallback { order: -1; color: inherit; font-size: 11px; }
.bn_translate #bn_google_translate[hidden] { display: none !important; }

/* The custom picker replaces Google's top banner, like the STIKES site. */
html.bn_translation_enabled body > .skiptranslate,
html.bn_translation_enabled .goog-te-banner-frame,
html.bn_translation_enabled .VIpgJd-ZVi9od-ORHb { display: none !important; }
html.bn_translation_enabled body { top: 0 !important; }
@media print { .bn_translate { display: none; } }
