/*
 * Language switcher flags, for when Weglot is deactivated.
 *
 * The switcher keeps Weglot's markup and classes (see includes/language-switcher.php), but the rules
 * that drew its flags lived in Weglot's front-css.css / new-flags.css. These are those rules for the
 * circle flags ("flag-3") this site uses, with the flag images served from this plugin instead of
 * cdn.weglot.com. Loaded only while Weglot is inactive.
 */

.weglot-flags > a:before,
.weglot-flags > span.wglanguage-name:before {
	content: "";
	display: inline-block;
	overflow: hidden;
	vertical-align: middle;
	margin-right: 10px;
	width: 24px !important;
	height: 24px !important;
	border-radius: 0 !important;
	background-repeat: no-repeat;
	background-position: center !important;
	background-size: 24px 24px !important;
}

.navbar .navbar-nav li.weglot-flags a.weglot-lang:before {
	position: static;
	transform: none;
	transition: none;
}

.weglot-flags.flag-3.wg-en > a:before { background-image: url("flags/gb.svg"); }
.weglot-flags.flag-3.wg-de > a:before { background-image: url("flags/de.svg"); }
.weglot-flags.flag-3.wg-es > a:before { background-image: url("flags/es.svg"); }
.weglot-flags.flag-3.wg-it > a:before { background-image: url("flags/it.svg"); }
.weglot-flags.flag-3.wg-fr > a:before { background-image: url("flags/fr.svg"); }
.weglot-flags.flag-3.wg-pt > a:before { background-image: url("flags/pt.svg"); }
