html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
   /* overflow: hidden;*/
	-webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.mapa {
    height: 100%;
    width: 100%;
    margin: 0;
}

.barra_menu {    
    height: 45px;
	/*background-color: var(--barra_herramientas);	*/
    z-index: 500; 	
    
	top:0;
	left:0;
	display: block;
	
  position: absolute;
  width:100%;
  text-align: center;
  
    
    
}

 .menu_botones {
                 
display: inline-block;	

border-radius: 0 0 6px 6px;
				
            }




           
.boton_menu {
    width: 32px;
    height: 28px;
    float: left;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-right: 4px;
	/*margin-right:2px;*/
	/*margin-top:5px;*/
    cursor: pointer;
	border: 1px solid #ffffff;
	border-radius: 6px;
	background-color: var(--barra_herramientas);
}

.boton_menu:hover {
    background-color: var(--resalte);
}


.menu_buscar {
	            color:#ffffff;
				font-weight: 400;                
				border: 0;
				position:absolute;
				right:0;
				top:0;	
                margin-top:6px;				
            }

.opcionesBusqueda{
float:left;	
display: inline-block;	
}


.dopciones{
height: 32px;
width: 30px;
background-color:rgba(32,61,120,0.8);
border-radius: 4px 0 0 4px;
background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='30' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
background-position: center;
cursor:pointer;	
}

.selectOpciones{
position:absolute;
left:0;
display: none;
background-color:rgba(0,0,0,0.6);
width:200px;
user-select: none;
}


.itemBusqueda {
font-size:1.1em;
text-align:left;
padding-bottom:4px;
font-weight:normal;
color:#ffffff;
padding-left:4px;
	}

.opcionesBusqueda .itemBusqueda:hover {
	background-color: #ccc;
	color:var(--resalte);
	font-weight:bold;
	}
	
.busquedaMarcado, .opcionesBusqueda, .itemBusqueda:active{
	background-color: var(--resalte);
	font-size:1.1em !important;
}

.contBusqueda{
float:right;	
}

.contBusqueda .itemBusqueda:hover {
	background-color: #ccc;
	}

.buscar {
    -webkit-appearance: none;   
    margin-right: 10px;
    height: 28px;
    width: 220px;
    font-size: 14px;
    color: #888;
    background-color: #fff;    
    outline: 0;    
    border: 1px solid #aaa;
    border-radius: 0 4px 4px 0;
}

.limpiaBusqueda{
position:absolute;
right:10px;
top:4px;
height: 32px;
width: 30px;
color:#bbb;
font-size: 16px;
cursor:pointer;
border-radius: 0 4px 4px 0;
}

.selectBusqueda{
position:absolute;
left:30px;
display: none;
background-color:rgba(0,0,0,0.6);
width:200px;
user-select: none;
}


/*Diseño del menu de capas */

.menu_capas {
    
	position: absolute;	
    top: 70px;
	max-height:100%;
    width: var(--ancho_capas);
	/*height:var(--alto_capas);*/
    height:auto;
    z-index: 400;    
    background-color: var(--fondo_texto); 
    border: 1px solid #d3d3d3;		
	border-radius: 0 6px 6px 0;
}


.menu_capas .titulo {
    font-size: 1.5em;
    background-color: var(--encabezados);
    color: #ffffff;
    height: 40px;
    padding-left:40px;
    padding-top: 15px;
    font-weight: 300;
	border-radius: 0 6px 0 0;	
}


.cont_capas {
	position:relative;
    overflow: auto;		
}

.cont_grupo{
	padding-left:8px;
	display:none;	
}

.enc_grupo{
	cursor:pointer;
	font-size:1.3em;
	padding-top:6px;
	padding-bottom:6px;	
	background-color:var(--categoria);
	padding-left:5px;
	border-bottom:1px solid #fff;
}


.ckbox_capas {
    float: left;
    clear: left;
    margin: 0 4px 0 0;
    /*padding-top: 2px;*/
    height: 25px
}

.capas_normal {
    color: #424242;
    font-weight: normal;
    font-size: 1.1em; 
    min-height:21px;	
   /* height: 20px;*/
    padding-bottom: 0px;
    margin: 0px;
    padding-top: 4px;
    border-bottom: 1px solid #eee;
    
}

.capas_select {
    color: #ffffff;
    font-weight: bold;
    background-color: var(--capa_seleccionada);
    padding-top: 3px;
    border-top: 0;
}




.cont_sel_base {
    vertical-align: top;
    display: inline-block;
    /* To horizontally center images and caption */
    text-align: center;
    /* The width of the container also implies margin around the images. */
    width: 92px;
    padding: 0;
}

.capas_base {
    z-index: 533;
    right: 0;
    position: absolute;
    background-color: #fff;
    display: none;
    padding-top: 0px;
    vertical-align: middle;
    top: 0px;
}

.cont_base {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    margin: 0;
    text-align: center;
}

.img_base {
    width: 85px;
    height: 65px;
	margin: 2px;

}

.img_base:hover {
    width: 88px;
    height: 68px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.transparencia {
    z-index: 510;
    width: 120px;
    height: 25px;
    position: absolute;
    display: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.cerrar_transparencia {
    float: right;
    margin-top: -10px;
    margin-right: -10px;
    cursor: pointer;
    display: block;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border-width: 2px;
    border-style: solid;
    border-color: #488ac5;
    border-radius: 100%;
    background: -webkit-linear-gradient(-45deg, transparent 0%, transparent 46%, white 46%, white 56%, transparent 56%, transparent 100%), -webkit-linear-gradient(45deg, transparent 0%, transparent 46%, white 46%, white 56%, transparent 56%, transparent 100%);
    background-color: #488ac5;
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
}

.transparencia-ico {
    width: 16px;
    margin-right:4px;
    z-index: 551;
    float: right;
	opacity:0.4;
	cursor:pointer;
	
}

.transparencia-ico:hover {
    opacity:0.8;
}

/***********************Ventanas de Dialogo*************************/

.ventana_encabezado {
  padding: 0px;
  margin:0;
  cursor: move;
  z-index: 451;
  background-color: var(--encabezados);
  color: #fff;
  text-align:left;
  height:35px;
  border-radius: 3px 3px 0 0;
  
}

.ventana_contenido {
  position: absolute;
  z-index: 450;
  max-width:100%;
  background-color: var(--fondo_texto);
  text-align: center;
  border: 1px solid #d3d3d3;
  min-width:200px;
  border-radius: 3px 3px 0 0;
}


.ventana_titulo{
 float:left;	
 margin-top:8px;
 margin-left:6px;
 font-size:1.2em;
 
}





/***************Area de controles de NAVEGACION del mapa */

.control_mapa{
z-index: 401;
display: flex;
flex-direction: column;	
position:absolute;
bottom:55px;
right:5px;
}

.boton_control {
    width: 24px;
    height: 24px;    
    padding: 6px;    
	margin-top:4px;
    cursor: pointer;
	border: 1px solid #ffffff;
	border-radius: 100%;
	background-color: var(--barra_herramientas);	  
}


.boton_control:hover {
    background-color: var(--resalte);
}


.ckbox {
        height: 20px;
        width: 20px;
    }
	
/*******************************Coordenadas*******************/

.coordenadas {
    position: absolute;
    bottom: 2px;
    right: 5px;
    padding: 4px;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: 'Lato', 'sans-serif';
    font-size: 11px;
    color: #fff;
    width: 18em;
    border: 1px solid #fff;
    border-radius: 4px;
    z-index: 561;
}	


/***********************Estilos consulta de atributos******************/

.titulo_resultados{
	font-size:1.2em;
	/*font-weight:bold;*/
}
.registro_multiple{
	font-size:1.1em;
}

.registro_multiple a{ 
	font-size:1.4em;
	font-weight:bold;
	cursor:pointer;
}

.t_resultados {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.t_resultados td {
   /* border: 1px solid green;*/
    padding: 4px;	
    color: #0B2659;
    font-size: .85em;
}

.t_resultados tr:nth-child(odd) {
	background-color: #f2f2f2;}

.t_resultados td:nth-child(even) {
	padding-right:10px;
	padding-left:4px;
	border-left:1px solid #e2e2e2;}

.t_resultados td:nth-child(odd) {
	padding-left:10px;}

.derecha {
    text-align: right;
}

.izquierda {
    text-align: left;
}

.tabla_bordes td, .tabla_bordes thead{
    border:1px solid #e2e2e2;
}

.centrado {
    text-align: center;
}




.centrar {
    position: absolute;
    right: 1%;
    top: 60%;
    z-index: 562;
}
/**********************************************ESTILOS VENTANAS*******************************************/
.contenidoVentana {	
    text-align:left;
	color:#555;
	padding:6px;	
	overflow:auto;
}
/**********************************************Estilo ventana medicion********************/

.medicion_div {
      display: flex;
	  margin-bottom:2em;
	  width:100%;
}

.medicion_tab {
    display: flex;
    width: 50%;
    height: 30px;
    border: 1px solid #ccc;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.medicion_tab:hover {
    background-color: #c7c7c7;
    color: #fff;
}

.medicion_resultado {
    font-size: 1.4em;
}

.medicion_seleccionado {
    background-color: var(--resalte);
    color: #fff;
    font-weight: bold;
}

/********************************************BOTONES HTML***********************************/

.boton1, .boton2{
  background-color: var(--encabezados);
  border: none;
  color: #ffffff;  
  text-align: center;
  text-decoration: none;
  display: inline-block;  
  border-radius:5px;	
  cursor:pointer;
}

.boton1 {
  padding: 8px 12px;
  text-align: center;    
  font-size: 1.2em;  
}

.boton2 {
  padding: 4px 6px;  
  font-size: 1em;  
}

.boton1:hover, .boton2:hover {
  background-color: var(--resalte);
   
}

.input_generico {
     -webkit-appearance: none;   
    height: 24px;    
    font-size: 12px;
    color: #888;
    background-color: #fff;    
    outline: 0;    
    border: 1px solid #ddd;
    border-radius: 3px;
}

.input_generico:focus {
    color: #8564bb;
}


.listaCapacidades {
    text-align:left;
	color:#424242;
	margin-bottom:6px;
	max-height:400px;
	overflow:auto;
}




.combo {     
    height: 22px;    
    font-size: 12px;
    color: #888;
    background-color: #fff;    
    outline: 0;    
    border: 1px solid #ddd;
    border-radius: 4px 4px 4px 4px;
}

/************************************ ajuste al popup generico *****/
.leaflet-popup-content {
    margin: 15px 0px 5px 0;
    line-height: 1.4;
}

.leaflet-popup-content-wrapper {
    padding: 1px 0 1px 0;
     text-align: center; 
    border-radius: 12px;
}

.leaflet-popup-scrolled {    
    border-top: 0;
}


.leaflet-container a.leaflet-popup-close-button {
    padding: 4px 8px 2px 0;
    width: 18px;
    height: 14px;
    font: 20px/14px Tahoma, Verdana, sans-serif;
    /* color: #c3c3c3; */
    
}

.leaflet-marker-icon { 
    filter: drop-shadow(2px -1px 1px #333);
}


.palette {    
    height: 38px;
    margin: 3px;
    padding: 3px;
    display: table;
    background-color: #FFF;
}


.palette .sample {
    width: 28px;
    height: 28px;
    margin: 3px;
    position: relative;
    border: 1px solid #DDD;
    float: left;
    transition: all 0.2s;
}

.palette .sample:hover {
    cursor: pointer;
    border-color: #BBB;
    transform: scale(1.15);
    border-radius: 3px;
}

/******************************************************Estilos Impresion********************************************/




.mapaPrint{
 	height: 100%;
    width: 80%;
} 

.opcionesImpresion{
	float:left;
	height:100%;
	width:20%;
	box-sizing: border-box;  
	padding:6px;
	z-index:2500;
}

.input_imprime {
    width: 100%;
    border: 1px #333 solid;
    font-size: 1.2em;
}

.btn_imprimir {
    bottom: 8%;
    background-color: #55b04f;
    padding: 4px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}


.contLeyenda{
position:absolute;
right:0;
border:1px solid #999;
padding:1px;
width:20%;
z-index:500;
height:auto;
max-height:99%;
background:#fff;
text-align: left;
overflow:hidden;
}

.mapaTitulo{
text-align:center;
background-color:#fff;
color:#333;
font-size:2em;	
z-index:800;
width:100%;
height:auto;
margin:0;
}

/*****************************************************Estilo tabla 


/************************************************ESTILOS RESPONSIVE       **********/

 .no_movil {       
        display: block;
    }

    .movil {
        
        display: none;
    }

@media screen and (max-width: 950px) {
    .menu_botones {
        display:block;

    }
}	
	
@media screen and (max-width: 750px) {
    .menu_botones {
        display:block;

    }
	
	.no_movil {       
        display: none;
    }

    .movil {
        
        display: block;
    }
	
	.menu_buscar {
		top:46px;
	}
	
	.barra_menu{
		z-index:400;
	}
	
	
}	

@media screen and (max-width: 550px) {   
		
	.menu_buscar {
	   margin-top:0;				
            }	
		
	.ventana_contenido {
	   left:1px !important;
   }
   
	.menu_capas{
		width:100%;
		height:100%;
		top:40px;
		display:none;
	}
	
	.cont_capas {
	position:relative;
    overflow: auto;
	padding-left:5px;	
	height:calc(100%-40px);
	height: -webkit-calc(100% - 100px);
	
}
   

	
}	

@media screen and (max-height: 450px) {   
		
	

	.menu_capas{		
		top:40px;
		height:100%;
	}
	
	.menu_capas .titulo {
   
    height: 25px;    
    padding-top: 2px;
    }
	
	.no_movil {       
        display: none;
    }

    .movil {
        
        display: block;
    }
	
	
}	



@media print
{

 body {
    margin: 0;    
  }
  
 .page{
 margin:0; 
 box-shadow: 0;	 
 } 

  
 
.menu_impresion{
	display: none !important;
}




}