/**
 * Estilos del chrome del sitio (topbar / menú móvil) que antes
 * viajaban dentro de siteGraph() / [siteGraphshortcode].
 *
 * Así las páginas con [fj_mapa] (sin radar viejo) no pierden el header.
 */

/* Menú móvil lateral */
.mbl-meu {
	position: fixed;
	right: -100%;
	top: 0;
	bottom: 0;
	background: #fff;
	padding: 40px;
	transition: 0.5s all;
	width: 100%;
	height: 100%;
	z-index: 12312;
}
.mbl-meu.active {
	right: 0;
}
.mbl-meu .close-mbl-menu {
	display: block;
	margin-left: auto;
	width: 20px;
	margin-bottom: 90px;
	cursor: pointer;
}
.mbl-meu .close-mbl-menu svg {
	color: #000;
	width: 20px;
}
.mbl-meu a {
	color: #000;
	font-size: 22px;
	width: 100%;
	display: flex;
	align-items: center;
	padding-bottom: 15px;
	text-align: left;
	min-height: 31px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 15px;
}
.mbl-meu a img {
	width: 19px !important;
	margin-bottom: 0 !important;
	margin-left: 10px;
}

.rightTopbar .mbl-menu-open {
	display: none;
	cursor: pointer;
}

.rightTopbar {
	margin-top: 0;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}
.rightTopbar a {
	color: #1d1d1b;
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0 8px;
	font-size: 14px;
}
.rightTopbar a img {
	width: 20px !important;
	margin: 0 !important;
}
.rightTopbar a:last-of-type {
	border-left: 1px solid #1d1d1d;
	padding-left: 10px;
}
.rightTopbar .searchIcon {
	padding: 15px 17px;
	border-radius: 50px;
	line-height: 0;
	transition: 0.3s all;
	cursor: pointer;
}
.rightTopbar .searchIcon:hover {
	background: #1d1d1b;
}
.rightTopbar .searchIcon svg {
	width: 16px;
}
.rightTopbar .searchIcon:hover svg {
	color: #fff;
}
.rightTopbar .language {
	position: relative;
	display: none;
}
.rightTopbar .language a {
	display: block;
	clear: both;
	height: auto;
	width: auto;
	padding: 0;
	border: unset;
}
.rightTopbar .language div {
	background: #1d1d1b;
	position: absolute;
	left: -5px;
	top: 20px;
	text-align: left;
	padding: 20px 5px;
	opacity: 0;
	visibility: hidden;
	border-radius: 10px;
}
.rightTopbar .language div a {
	color: #fff;
}
.rightTopbar .language div.active {
	opacity: 1;
	visibility: visible;
}

.rightTopbar .searchForm {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: #fff;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s all;
	border-radius: 50px;
	overflow: hidden;
}
.rightTopbar .searchForm input {
	background: #fff;
	outline: none;
	width: 100%;
	height: 100% !important;
	border: unset;
	padding-left: 60px;
}
.rightTopbar.searchActive .searchForm {
	opacity: 1;
	visibility: visible;
}
.rightTopbar.searchActive .search-icon {
	position: relative;
	z-index: 123;
	pointer-events: none;
}

.topbarControl {
	position: absolute;
	left: 0;
	right: 0;
	top: 15px;
	width: 400px;
	margin: 0 auto;
	background: #e4e5e5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-radius: 50px;
}
.topbarControl a {
	display: inline-block;
	border-radius: 50px 50px 50px 0;
	padding: 16px;
	color: #1d1d1b;
	font-size: 14px;
	transition: 0.3s all;
}
.topbarControl a:hover,
.topbarControl a.active {
	background: #1d1d1b;
	color: #fff;
}
.topbarControl a.logo {
	background: transparent;
	width: 70px;
	margin: 0 0 0 20px;
	padding: 2px 0 0;
	border-radius: 0 !important;
}
.topbarControl a.logo img {
	height: 100%;
	margin: 0;
}

.rightTopbar .topbarDropDown {
	display: none;
}

@media only screen and (max-width: 1240px) {
	.topbarControl {
		display: none;
	}

	.rightTopbar {
		margin-top: -31px;
		overflow: unset;
		background: #e4e5e5;
		padding-right: 15px;
	}
	.rightTopbar .topbarDropDown {
		position: relative;
		display: inline-block;
		margin-right: 10px;
	}
	.rightTopbar .topbarDropDown button {
		background: #1d1d1b;
		color: #fff;
		border: unset;
		padding: 12px 28px 12px 15px;
		border-radius: 50px !important;
		text-align: left;
		transition: 0.3s all;
		position: relative;
	}
	.rightTopbar .topbarDropDown button::before {
		content: "\f078";
		position: absolute;
		right: 10px;
		top: 12px;
		font-family: "FontAwesome";
		font-size: 10px;
	}
	.rightTopbar .topbarDropDown button.active {
		border-bottom-left-radius: 0 !important;
	}
	.rightTopbar .topbarDropDown div {
		position: absolute;
		left: 0;
		top: 40px;
		width: 170px;
		box-sizing: border-box;
		clear: both;
		display: block;
		float: unset;
		background: #1d1d1b;
		padding: 15px 10px 10px;
		border-radius: 0 20px 20px 20px;
		opacity: 0;
		visibility: hidden;
		transition: 0.3s all;
	}
	.rightTopbar .topbarDropDown div.active {
		opacity: 1;
		visibility: visible;
	}
	.rightTopbar .topbarDropDown a {
		display: block;
		text-align: left;
		box-sizing: border-box;
		clear: both;
		float: unset;
		height: 26px;
		line-height: 1;
		color: #fff;
		transition: 0.3s all;
		padding: 6px;
		border-radius: 4px;
	}
	.rightTopbar .topbarDropDown a.active {
		background: #e4e5e5;
		color: #1d1d1b;
	}

	.rightTopbar.searchActive .search-icon {
		z-index: 0;
	}
	.rightTopbar .searchForm input {
		padding-left: 20px;
	}

	.rightTopbar a.mobile-remove {
		display: none;
	}
	.rightTopbar a {
		margin: 0;
	}
	.rightTopbar .mbl-menu-open {
		display: block;
		margin: 0 5px 0 10px;
	}
	.rightTopbar .language {
		display: block;
	}
}

@media only screen and (max-width: 767px) {
	.rightTopbar a {
		margin: 0 5px;
		font-size: 14px;
	}
	#header-outer #top .col.span_3 #logo img {
		max-width: 115px;
	}
}
