/* Importar la fuente Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

:root {
	--bg: #f0f0f0;
	--main: #3b71ca;
	--contrast: #ffc300;

    --bottom: 350px;
}


/* Aplicar la fuente Open Sans a todo el cuerpo del documento */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg);
  width: 100%;
  height: 100%;
}

.bgp {
    background-color: #cfe2ff;
}

.full-height {
    height: 100vh;
}

.logo {
    float: left;
    width: 70px;
    margin-right: 10px;
    margin-left: 10px;
}
.titulo {
    float: left;
    font-size: 18px;
    font-weight: 600;
}

.contenedor {
    position: relative;
	background-color: #bde0fe;
	padding: 20px;
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;

	height: 99vh;
    overflow-y: auto;

	width: 95%;
	border-radius: 5px;
}	

#foto {
    width: 100%;
    height: calc(100vh - var(--bottom));
    overflow: hidden;    
    cursor: pointer !important;
}

.foto {
    max-width: 100%;
    max-height: 100%;
}



#categorias {
    width: 100%;
    height: calc(100vh - var(--bottom));
    border-style: solid;
    border-width: 1px;
    border-color: var(--main);
    overflow-y: auto;    
}

#subcategorias {
    width: 100%;
    height: calc(100vh - var(--bottom));
    border-style: solid;
    border-width: 1px;
    border-color: var(--main);
    overflow-y: auto;    
}

#contiene {
    height: auto;
    width: 100%;
    position: relative; /* Asegura que #currentlocation se posicione dentro de este contenedor */
}

#mapa {
    width: 100%;
    height: calc(100vh - var(--bottom));
    border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
    position: relative;
}

#actualposicion {
    position: absolute; /* Cambiar a absolute para posicionarlo relativo al contenedor */
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: var(--main);
    cursor: pointer;
    color: white;
    z-index: 1000; /* Es suficiente mantener el botón por encima del mapa */
    display: flex; /* Opcional: para centrar el texto dentro del botón */
    justify-content: center; /* Centra horizontalmente el texto "here" */
    align-items: center; /* Centra verticalmente el texto "here" */
    border-radius: 50%; /* Opcional: hacerlo redondo */
}



.botones-abajo {
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 100;
    width: 100%;
}

.div-tomar-foto {
    position: absolute;
    bottom: 100px;
    left: 0px;
    z-index: 100;
    width: 100%;    
}





#wait {
	display: none;
	width: 150px;
	height: 150px;
	top: calc(50% - 75px);
	left: calc(50% - 75px);
	position: absolute;
	z-index: 10000;
	display: none;
}


