/* Language switcher: a discreet code switch in the header, native names in the footer. */

.language-switcher ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.language-switcher li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.language-switcher a {
	text-decoration: none;
	transition: opacity .2s ease;
}

.language-switcher a[aria-current="page"] {
	pointer-events: none;
}

/* Header: small codes in the top right corner. */
.language-switcher--header {
	position: absolute;
	top: 16px;
	right: 30px;
	line-height: 1;
}

.language-switcher--header li + li::before {
	content: "|";
	padding: 0 8px;
	color: rgba(255, 255, 255, .35);
	font-size: 11px;
}

.language-switcher--header a {
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .12em;
	opacity: .55;
}

.language-switcher--header a:hover,
.language-switcher--header a:focus,
.language-switcher--header a[aria-current="page"] {
	opacity: 1;
}

/* Footer: native names under the logo. */
.language-switcher--footer {
	margin-top: 25px;
}

.language-switcher--footer li + li::before {
	content: "·";
	padding: 0 8px;
	opacity: .5;
}

.language-switcher--footer a {
	opacity: .7;
}

.language-switcher--footer a:hover,
.language-switcher--footer a:focus,
.language-switcher--footer a[aria-current="page"] {
	opacity: 1;
}

@media only screen and (max-width: 767px) {
	.language-switcher--header {
		top: 50%;
		right: 70px;
		transform: translateY(-50%);
	}
}
