/*
 * Positioning and dropdown behavior previously provided by Weglot.
 * Text color and size stay with the site's existing .country-selector rules.
 */
.country-selector.aljazera-switcher {
	z-index: 100000;
	text-align: left;
	display: inline-block;
	width: auto;
	background: transparent;
	box-shadow: none;
}

.country-selector.weglot-default.aljazera-switcher {
	position: fixed;
	bottom: 0;
	right: 40px;
}

.country-selector.aljazera-switcher input {
	display: none !important;
}

.country-selector.aljazera-switcher .wgcurrent {
	position: relative;
	display: block;
	margin: 0;
	border: 1px solid #e0e0e0;
	list-style: none;
	cursor: pointer;
	min-width: 140px;
	background: #fff;
}

.country-selector.aljazera-switcher .wgcurrent:after {
	content: "";
	position: absolute;
	top: 16px;
	right: 12px;
	border: 4px solid transparent;
	border-top-color: #333;
}

.country-selector.aljazera-switcher ul {
	position: absolute;
	left: 0;
	bottom: 38px;
	min-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid #ebeef0;
	background: #fff;
	display: none;
	z-index: 1010;
	box-sizing: border-box;
}

.country-selector.aljazera-switcher li {
	width: 100%;
	margin: 0;
}

.country-selector.aljazera-switcher input:checked ~ ul {
	display: block;
}

.country-selector.aljazera-switcher a,
.country-selector.aljazera-switcher span {
	display: block;
	box-sizing: border-box;
	padding: 8px 28px 8px 10px;
	line-height: 20px;
	font-size: 13px;
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.country-selector.aljazera-switcher .aljazera-lang::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	vertical-align: -3px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.country-selector.aljazera-switcher .aljazera-lang-en::before {
	background-image: url("flags/gb.svg");
}

.country-selector.aljazera-switcher .aljazera-lang-ar::before {
	background-image: url("flags/sa.svg");
}
