body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.leaflet-container{
	background-color: #fff !important;	
}

.leaflet-control-container_{
	display: none;
}
.leaflet-control-attribution{
	display: none;
}

.header {
/*	background: linear-gradient(to right, #49112c 50%, blue 50%);*/
	background-color: #1d3a6e;
	width: 100%;
	height: 50px;
	box-shadow: 5px 5px 15px gray;
	z-index: 1000;
	display: flex;
}

#container {
	position: relative;
	height: calc(100vh - 50px);
	overflow: hidden;
}

.sidebar {
	background-color: #FFFFFF;
	width: 250px;
	height: 100%;
	position: absolute;
	left: 0; /*-250px; */ /* Asegura que el sidebar esté oculto inicialmente */
	transition: left 0.3s ease;
	z-index: 1000; /* Incrementa el z-index para asegurar que el sidebar aparezca sobre el mapa */
	display: flex;
	flex-direction: column;
	font-size: 12px;
	border-right: 1px solid #ddd;			
}

.lista-items {
	width: 100%;
	flex-grow: 1;
	overflow-y: auto;
}

.main-content {
	height: 100%;
	width: 100%;
	position: relative;
}

#map {
	height: 100%;
	width: 100%;
	-webkit-box-shadow: inset 0px 0px 16px -5px rgba(0,0,0,0.82);
	-moz-box-shadow: inset 0px 0px 16px -5px rgba(0,0,0,0.82);
	box-shadow: inset 0px 0px 16px -5px rgba(0,0,0,0.82);
}

.toggle-btn {
	position: absolute;
	left: 0px;
	top: 40%;
	cursor: pointer;
	font-size: 12px;
	padding: 10px 6px;
	color: white;
	background-color: #24396b;
	z-index: 1001; /* Asegura que el botón esté siempre por encima del sidebar y el mapa */
	transition: left 0.3s ease;
	writing-mode: vertical-lr;
}

.print-btn {
	position: absolute;
	cursor: pointer;
	font-size: 12px;
	padding: 5px 15px;
	color: white;
	background-color: #24396b;
	z-index: 1001; /* Asegura que el botón esté siempre por encima del sidebar y el mapa */
	transition: left 0.3s ease;
	border: 1px solid #24396b;
}

.colores-desc {
	position: absolute;
	left: 10%;
	bottom: 0%;
	font-size: 12px;
	padding: 10px 6px;
	/*max-width: 100px;*/
	z-index: 1001; /* Asegura que el botón esté siempre por encima del sidebar y el mapa */
	transition: left 0.3s ease;
}

.lista-item {
	padding: 5px 0px 5px 10px;
	border-bottom: 1px solid #ddd;
	font-size: 11px;
	min-height: 35px;
	display: flex;
	justify-content: center;
	align-content: center;
	flex-direction: column;
}

.lista-item table, .lista-item-pq table{
	margin: 0;
	width: 100%;
}

.lista-item:hover, .lista-item-pq:hover{
	border-left: 3px solid red;
	cursor: pointer;
}

.lista-item table tr td, .lista-item-pq table tr td {
	font-size: 11px;
	margin: 0;
	padding: 0;
	vertical-align: center;
}

.lista-item .item-stand, .lista-item-pq .item-stand{
	width: 65px;
	text-align: right;
}

.expositores-titulo{
	padding: 5px 10px;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
	background-color: #eee;
}

.expositores-busqueda{
	border-bottom: 1px solid #ddd;
	background-color: #eee;
	padding: 3px;
}

.form-control {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

button, input {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

input {
	line-height: normal;
}

button, input, {
	margin: 0;
	font: inherit;
	color: inherit;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.p-mr{
	margin-right: 10px;
}

.p-mb{
	margin-bottom: 10px;
}		




/*.header-d-1, .header-d-2_, .header-d-3 {*/
.header-d-1 {
	width: 40%;
}

.header-d-3{
	text-align: right;
	width: 60%;
	font-size: 0;
}

.header-img-1{
	max-height: 50px;
}

.header-img-2{
	max-height: 50px;
}

.header-img-3{
	max-height: 50px;
}



/* 1) Fuerza a respetar colores al imprimir */
@media print {
	html {
		-webkit-print-color-adjust: exact;
						print-color-adjust: exact;
		background: #fff !important;
	}

	/* 2) Anula dark-mode / inversiones y mezclas */
	* {
		filter: none !important;
		mix-blend-mode: normal !important;
		-webkit-text-fill-color: initial !important;
		text-shadow: none !important;
		box-shadow: none !important;
	}

	/* 3) Asegura color de texto normal si se perdiera */
	body, body * {
		color: inherit !important;
		background: transparent !important;
	}

	/* 4) Si usas SVG para rótulos del plano, fuerza fill de texto */
	svg text {
		fill: currentColor !important;   /* o un color fijo, p.ej. #111 */
		stroke: none !important;
	}

	/* 5) Si tus etiquetas llevan clase, fija un color explícito */
	.stand-label, .etiqueta, .tag, .nombre {
		color: #111 !important;          /* cambia por el color que necesites */
	}

	/* 6) Evita que elementos con fondo oscuro ‘se coman’ el texto */
	.bg-dark, .fondo-oscuro {
		background: #000 !important;     /* si realmente quieres el fondo negro */
		-webkit-print-color-adjust: exact;
						print-color-adjust: exact;
	}
}

/* 7) Recomendado (fuera de @media print): desactiva dark-scheme */
:root {
	color-scheme: light;
}


