/*
 * Selector de idioma (Caramba Moreno — Traducción). Mismas clases que el selector de Polylang 3.9.2, que son el
 * contrato con los temas; reglas escritas acá. Variables públicas: --pll-dropdown-background-color y
 * --pll-dropdown-text-color.
 */
.pll-switcher { display: block; box-sizing: border-box; width: 100%; }
.pll-switcher ul { margin: 0; padding: 0; list-style: none; line-height: normal; }
.pll-switcher li { margin: 0; }
.pll-switcher a { display: flex; align-items: center; box-sizing: border-box; width: 100%; height: 100%; padding: .25em .5em; }

/* Lista vertical y horizontal; select en fila. */
.pll-layout-vertical ul { display: flex; flex-direction: column; }
.pll-layout-horizontal ul,
.pll-layout-select { display: flex; flex-flow: row wrap; }

/* Alineación: en horizontal manda la lista; en select y desplegable, el contenedor. */
.pll-alignment-center.pll-layout-horizontal ul,
.pll-alignment-center.pll-layout-select,
.pll-alignment-center.pll-layout-dropdown { justify-content: center; }
.pll-alignment-right.pll-layout-horizontal ul,
.pll-alignment-right.pll-layout-select,
.pll-alignment-right.pll-layout-dropdown { justify-content: flex-end; }
.pll-alignment-left a { justify-content: flex-start; }
.pll-alignment-center a { justify-content: center; }
.pll-alignment-right a { justify-content: flex-end; }
.pll-alignment-stretched.pll-layout-horizontal li,
.pll-alignment-stretched.pll-layout-select select { flex-grow: 1; }
.pll-alignment-stretched .pll-switcher-inner { width: 100%; }

/* Desplegable: el idioma actual, un botón, y la lista que se abre debajo. */
.pll-layout-dropdown,
.pll-switcher-inner { display: flex; flex-flow: row nowrap; align-items: center; background-color: inherit; }
.pll-switcher-inner { position: relative; box-sizing: border-box; width: fit-content; padding: 0 .25em; }
.pll-switcher .pll-switcher-inner > a { width: auto; padding: .25em; color: inherit; text-decoration: none; }
.pll-switcher-inner .pll-submenu-toggle { padding: .2em; border: 0; line-height: 0; font-size: inherit; background: transparent; color: currentColor; cursor: pointer; }
.pll-switcher-inner .pll-submenu-toggle svg { display: block; width: .6em; height: .6em; }
.pll-switcher-inner .pll-submenu-toggle svg path { stroke: currentColor; }
.pll-switcher-inner .pll-submenu-toggle[aria-expanded="true"] svg,
.pll-switcher-inner:hover .pll-submenu-toggle:not([aria-expanded]) svg { transform: rotate(180deg); }
.pll-switcher-inner ul {
	position: absolute; z-index: 2; top: 100%; left: 0;
	display: flex; flex-direction: column; min-width: 12em;
	border: 1px solid rgba(0, 0, 0, .15);
	background-color: var(--pll-dropdown-background-color, #fff);
	visibility: hidden; opacity: 0;
}
.pll-switcher-inner .pll-submenu-toggle[aria-expanded="true"] + ul,
.pll-switcher-inner:hover .pll-submenu-toggle:not([aria-expanded]) + ul,
.pll-switcher-inner:focus-within ul { visibility: visible; opacity: 1; }
.pll-alignment-right.pll-layout-dropdown ul { left: auto; right: 0; }
:root .pll-layout-dropdown ul a { color: var(--pll-dropdown-text-color, #000); }
