@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700');

:root {
    --primary-color: #a0ce4e;
    --secondary-color: #952d28;
    --tercero: #00737a;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

a {
  color: var(--morado);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--otro);
  text-decoration: underline;
}

/* mapa */
#map_canvas{
    position: relative;
    top: 0px;
    left: 0px;
    height: 100vh; 
    width: 100%;
    z-index: 1;
}

#logo {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    top: 10px;
    left: 10px;
    z-index: 102;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#logo2 {
  position: absolute;
  background-color: rgba(247, 237, 216, 0.9);
  color: #005663;
  top: 10px;
  right: 10px;
  z-index: 102;
  padding: 5px;
  font-size: 20px;
  text-align: right;
  border-top-left-radius: 5px;
  border-bottom: #005663 1px solid;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  #logo2 {
    font-size: 14px;
    padding: 3px;
    text-align: right;
    width: 220px;
  }
}





#zoom-in {
	position: absolute;
	top: 180px; 
	left: 10px;
	z-index: 101;
	background-color: var(--secondary-color);
	border-radius: 5px;
	vertical-align: middle;
	text-align: center;
	width: 48px;
	height: 40px;
	cursor: pointer;
	font-weight: bold;
	color: #ffffff;
	font-size: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#zoom-out {
	position: absolute;
	top: 180px; 
	left: 75px;
	z-index: 101;
	background-color: var(--secondary-color);
	border-radius: 5px;
	vertical-align: middle;
	text-align: center;
	width: 48px;
	height: 40px;
	cursor: pointer;
	font-weight: bold;
	color: #ffffff;
	font-size: 24px;	
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


#acerca {
    position: absolute;
    bottom: 20px;
    right: 10px;
    text-align: center;
    z-index: 102;

    background-color: var(--secondary-color);
	border-radius: 5px;
	vertical-align: middle;
	height: 40px;
    width: 48px;
	cursor: pointer;
	color: #ffffff;
    padding-top: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#compartir {
    position: absolute;
    bottom: 75px;
    right: 10px;
    text-align: center;
    z-index: 102;

    background-color: var(--secondary-color);
	border-radius: 5px;
	vertical-align: middle;
	height: 40px;
    width: 48px;
	cursor: pointer;
	color: #ffffff;
    padding-top: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


#casos {
	position: absolute;
	color:white;
	height: 25px;
	top: 140px; 
	left: 10px;
	width: 110px;
	z-index: 2000;
	background-color: var(--tercero); 
	text-align: center;
	padding: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


#mapa_sw {
	position: absolute;
	bottom: 20px; 
	left: 10px;
	z-index: 100;
	background-color: var(--secondary-color); 
	border-radius: 5px;
	vertical-align: middle;
	text-align: center;
	width: 48px;
	height: 40px;
	padding-top: 3px;
	cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#capas {
	position: absolute;
	bottom: 170px; 
	right: 10px;
	background-color: var(--tercero);
	color: #ffffff;
	z-index: 12550;
	padding: 10px;
	text-align: left;
	width:185px;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	display: none;
}

#capas_sw {
	position: absolute;
	bottom: 130px; 
	right: 10px;
	height: 100px;
	z-index: 101;
	background-color: var(--secondary-color);
	border-radius: 5px;
	vertical-align: middle;
	text-align: center;
	width: 48px;
	height: 40px;
	padding-top: 2px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#capas_t{
	display: none;
	font-size: 12px;
	position: absolute;
	color:white;
	bottom: 190px; 
	right: 60px;
	z-index: 100;
	width: 100px;
	background-color: var(--tooltip);
	border-radius: 3px;
	text-align: center;
	padding: 3px;

}

#cerrar_capas {
	position: absolute;
	top: 0px;
	right: 10px;
	text-align: right;
}



/* custom checkbox */

.checkbox-wrapper-33 {
    --s-xsmall: 0.625em;
    --s-small: 1.2em;
    --border-width: 1px;
    --c-primary: #ffffff;
    --c-primary-20-percent-opacity: rgb(255 255 255 / 20%);
    --c-primary-10-percent-opacity: rgb(255 255 255 / 10%);
    --t-base: 0.4s;
    --t-fast: 0.2s;
    --e-in: ease-in;
    --e-out: cubic-bezier(.11,.29,.18,.98);
	margin-bottom: 5px;
  }

  .checkbox-wrapper-33 .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .checkbox-wrapper-33 .checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .checkbox-wrapper-33 .checkbox + .checkbox {
    margin-top: var(--s-small);
  }
  .checkbox-wrapper-33 .checkbox__symbol {
    display: inline-block;
    display: flex;
    margin-right: calc(var(--s-small) * 0.7);
    border: var(--border-width) solid var(--c-primary);
    position: relative;
    border-radius: 0.1em;
    width: 1.5em;
    height: 1.5em;
    transition: box-shadow var(--t-base) var(--e-out), background-color var(--t-base);
    box-shadow: 0 0 0 0 var(--c-primary-10-percent-opacity);
  }
  .checkbox-wrapper-33 .checkbox__symbol:after {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    width: 0.25em;
    height: 0.25em;
    background-color: var(--c-primary-20-percent-opacity);
    opacity: 0;
    border-radius: 3em;
    transform: scale(1);
    transform-origin: 50% 50%;
  }
  .checkbox-wrapper-33 .checkbox .icon-checkbox {
    width: 1em;
    height: 1em;
    margin: auto;
    fill: none;
    stroke-width: 3;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    color: var(--c-primary);
    display: inline-block;
  }
  .checkbox-wrapper-33 .checkbox .icon-checkbox path {
    transition: stroke-dashoffset var(--t-fast) var(--e-in);
    stroke-dasharray: 30px, 31px;
    stroke-dashoffset: 31px;
  }
  .checkbox-wrapper-33 .checkbox__textwrapper {
    margin: 0;
  }
  .checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol:after {
    -webkit-animation: ripple-33 1.5s var(--e-out);
            animation: ripple-33 1.5s var(--e-out);
  }
  .checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol .icon-checkbox path {
    transition: stroke-dashoffset var(--t-base) var(--e-out);
    stroke-dashoffset: 0px;
  }
  .checkbox-wrapper-33 .checkbox__trigger:focus + .checkbox__symbol {
    box-shadow: 0 0 0 0.25em var(--c-primary-20-percent-opacity);
  }

  @-webkit-keyframes ripple-33 {
    from {
      transform: scale(0);
      opacity: 1;
    }
    to {
      opacity: 0;
      transform: scale(20);
    }
  }

  @keyframes ripple-33 {
    from {
      transform: scale(0);
      opacity: 1;
    }
    to {
      opacity: 0;
      transform: scale(20);
    }
  }


.accesibilidad {
	text-align: center;
	padding: 3px;
	background-color: var(--secondary-color);
}



.contenidos-detalle {
	width: 100%;
	background-color: var(--contenidos-detallebg);
	color: #1e1e1e;
	margin: 0px;
	padding: 10px;
  }



/* Customize the scrollbar */
::-webkit-scrollbar {
	width: 8px; /* Adjust the width to your preference */
  }
  
  /* Customize the scrollbar track */
  ::-webkit-scrollbar-track {
	background: #edede9; /* Set the background color to #673689 */
  }
  
  /* Customize the scrollbar thumb (the draggable part) */
  ::-webkit-scrollbar-thumb {
	background: #d6ccc2; /* Set the thumb color (you can change it to any color you prefer) */
	border-radius: 4px; /* Add some border-radius for a rounded look */
  }
  
  /* Customize the scrollbar thumb on hover */
  ::-webkit-scrollbar-thumb:hover {
	background: #555; /* Change the thumb color on hover if desired */
  }  



  
    /* Estilos normales */
    .alto-contraste {
        background-color: #1b263b; /* Cambiar el fondo */
        color: white; /* Cambiar el color de texto */
      }
    
      /* Estilos de alto contraste */
      .alto-contraste .contenido {
        background-color: black; /* Cambiar el fondo del contenido */
        color: white; /* Cambiar el color de texto del contenido */
      }



#simbologia {
    font-size: 14px;
    position: absolute;
    color:white;
    top: 170px; 
    right: 10px;
    width: 120px;
    z-index: 102;
    background-color: var(--tercero); 
    text-align: center;
    padding: 3px;
    height: 30px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}      



.lista-colores {
    list-style: none;
    padding: 0;
}

.lista-colores li {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.color-circle {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    display: inline-block;
    margin-right: 10px;
}



#divsearch {
	height: 45px;
	padding: 3px;
	top: 70px;
	right: 5px;
	position: fixed;
	z-index: 10000;
	width: calc(100% - 150px);
	text-align: center;
	vertical-align: middle;
	padding-right: 3px;
	background-color: #f0f0f0;
	float: left;
	max-width: 200px;
  border-radius: 5px;
}

.search-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}


#filtros {
	position: absolute;
	top: 60px; 
	right: 10px;
	background-color: var(--tercero);
	color: #ffffff;
	z-index: 100;
	padding: 10px;
	text-align: left;
	width:185px;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	display: block;
}

#filtros_sw {
	position: absolute;
	top: 120px; 
	right: 10px;
	height: 100px;
	z-index: 101;
	background-color: var(--tercero);
	border-radius: 5px;
	vertical-align: middle;
	text-align: center;
	width: 120px;
	height: 40px;
	padding-top: 2px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	color: white;
}

#filtros_t{
	display: none;
	font-size: 12px;
	position: absolute;
	color:white;
	top: 70px; 
	right: 60px;
	z-index: 100;
	width: 100px;
	background-color: var(--tercero);
	border-radius: 3px;
	text-align: center;
	padding: 3px;

}




#filters {
	position: fixed;
	display: none;
	top: 0px;
	width: calc(100% - 10px);
	z-index: 15000;
	background-color:var(--tercero);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	color: white;
	margin: 5px;
	padding: 15px;
	overflow-y: auto;
	border-radius: 10px;

}

#close_filters {
	position: absolute;
	top: 10px;
	right: 10px;
	text-align: right;
	cursor:pointer;
}


.gtipo {
	float: left;
	text-transform: uppercase;
	color: white;
	font-size: 12px;
	margin-bottom: 0px;
	margin-top: 0px;

}

.bloque {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	height: auto;
	text-transform: uppercase;
	border-width: 1px;
	border-style: solid;
	border-color: white;
	border-radius: 5px;
	padding-left: 30px;
	padding-right: 10px;
	padding-top: 10px;
	width: 200px;		
}	


.bloque-titulo{
	width: 100%;
	float:left;
	padding: 5px;
	color: white;
	padding-left: 0px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: white;	
	margin-bottom: 5px;
	margin-top: 5px;
	font-size: 14px !important;	
}

.chk {
	margin-right: 5px;
	width: 15px;
	height: 15px;
}

.btn-dark {
	background-color: var(--main); /* Cambia el color de fondo a púrpura */
	color: white; /* Cambia el color del texto a blanco o el que desees */
  }
  
  .btn-dark:hover {
	background-color: var(--oscuro); /* Cambia el color al pasar el ratón por encima, si lo deseas */
  }
  


  .leaflet-control-attribution{
	position: absolute;
	bottom: 5px;
	left: 0px;
	display: block;
	z-index: 1000000000;
	font-size: 10px;
	background-color: #f0f0f0;
  }


  .e-nombre{
	font-size: 14px;
	font-weight: bold;
  }
  .e-tipo {
	color: var(--azul);
  }

  
  .contenidos-arriba {
	background-color: var(--topdetalle);
	width: 100%;
	padding: 0px;
	text-align: center;
	color: var(--topdetalle-font);
	margin-top: 10px;
  }

  .contenidos-detalle {
	width: calc( 100% - 20px );
	background-color: var(--contenidos-detallebg);
	color: #1e1e1e;
	margin: 0px;
	padding: 10px;
  }


.label100{
	color: -var(--dlabel-color);
	width: calc( 100% - 10px );
	border-bottom-color: var(--oscuro);
	border-bottom-style: solid;
	border-bottom-width: 1px;
	padding: 5px;
}
.field100 {
	padding: 5px;
	width: 100%;
	color: #1e1e1e;
	font-weight: bold;	
}