.jtp-si-language-switcher {
	align-items: center;
	background: transparent;
	color: #26362b;
	display: none;
	font-size: 12px;
	gap: 4px;
	height: auto;
	justify-content: flex-end;
	line-height: 1;
	margin: 0;
	padding: 0;
	position: absolute;
	transform: translateY(-50%);
	white-space: nowrap;
	z-index: 40;
}

.jtp-si-language-switcher.is-mounted {
	display: flex;
}

.nasa-topbar-wrap > .jtp-si-language-switcher {
	right: max(20px, calc((100vw - 1200px) / 2));
	top: 50%;
}

.nasa-header-sticky > .jtp-si-language-switcher {
	right: 45px;
	top: 50%;
}

.jtp-si-language-switcher a {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 4px;
	color: #26362b;
	display: inline-flex;
	font-weight: 500;
	gap: 4px;
	min-height: 24px;
	padding: 3px 5px;
	text-decoration: none;
}

.jtp-si-language-switcher a:hover {
	color: #00a82a;
}

.jtp-si-language-switcher a:focus-visible {
	box-shadow: 0 0 0 2px rgb(0 206 51 / 25%);
	outline: 2px solid #00ce33;
	outline-offset: 1px;
}

.jtp-si-language-switcher a.is-active {
	border-color: #00ce33;
	color: #17251d;
	font-weight: 650;
	text-decoration: none;
}

.jtp-si-language-switcher .jtp-language-flag {
	border: 1px solid rgb(23 37 29 / 18%);
	border-radius: 2px;
	box-sizing: border-box;
	display: block;
	flex: 0 0 auto;
	height: 14px;
	width: 20px;
}

@media (max-width: 767px) {
	.jtp-si-language-switcher {
		gap: 1px;
	}

	.jtp-si-language-switcher a {
		gap: 2px;
		min-height: 22px;
		padding: 2px 3px;
	}

	.jtp-si-language-switcher .jtp-language-flag {
		height: 13px;
		width: 18px;
	}
}

@media (max-width: 340px) {
	.jtp-si-language-switcher a {
		padding-inline: 2px;
	}

	.jtp-si-language-switcher a span {
		font-size: 11px;
	}
}
