body {
    margin: 0;
    padding: 0;
  }
  #map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
  }
  .marker {
    background-size: cover;
    border-radius: 30%;
    width: 200px;
    height: 200px;
    cursor: pointer;
  }
  
  #overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Ajusta el color y la opacidad según tus necesidades */
    z-index: 1; /* Asegura que el div superpuesto esté por encima del mapa */
    height: 180px; /* Ajusta la altura inicial del div */
    transition: height 0.3s ease; /* Transición CSS para animar el cambio de altura */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  @media only screen and (max-width: 480px) {
    #overlay {
      height: 250px; /* Ajusta la altura específica para pantallas de teléfono móvil */
    }
  }
  
  #overlay.collapsed {
    height: 0px; /* Ajusta la altura colapsada según tus necesidades */
    overflow: hidden;
  }
  
  .input-with-icon {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  
  .input-with-icon input[type="text"] {
    padding-left: 30px; /* Ajusta este valor según el ancho del icono */
  }
  
  .input-with-icon i {  
    position:absolute;
    left: 20px; /* Ajusta este valor para posicionar el icono horizontalmente */
    top: 50%; /* Ajusta este valor para posicionar el icono verticalmente */
    transform: translateY(-50%);
    color: #888;
  }
  
  .collapse-button {
    background-color: #b3b3b3;
    width: 35px;
    height: 30px;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 5px;
    position: absolute; /* Añadido */
    top: 10px; /* Ajusta la posición vertical del botón */
    left: 10px; /* Ajusta la posición horizontal del botón */
    z-index: 2; /* Asegura que el botón esté por encima del div overlay */
  }
  
  .checkbox-container {
  width: auto; /* Ancho deseado del contenedor de los checkboxes */
  overflow-x: scroll; /* Permite el desplazamiento horizontal */
  white-space: nowrap; /* Evita el salto de línea de los checkboxes */
  scrollbar-width: none; /* Oculta la barra de desplazamiento en navegadores compatibles */
  -ms-overflow-style: none; 
  }
  
  .checkbox-container::-webkit-scrollbar {
  display: none; /* Oculta la barra de desplazamiento en navegadores WebKit */
  }
  
  .checkbox-container label {
  white-space: nowrap;
  display: inline-block;
  margin-right: 10px;
  }
  .suggestion-item {
    cursor: pointer;
    padding: 5px;
    background-color: white;
  }
  
  .suggestion-item:hover {
    background-color: #b3b3b3;
  }
  
  #suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    background-color: white;
  }
  
  /*animación de carga*/
  #loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  #loading p {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
  }
  
  .custom-button {
    display: inline-block;
    padding: 2px 5px;
    border: 1px solid blue;
    color: gray;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 3px;
  }
  .custom-button.marked {
    background-color: orange;
    border-radius: 3px;
    color: white;  
  }
  
  .custom-button.marked-c {
    background-color: #3A7BB1;
    border-radius: 3px;
    color: white;
  }
  
  .custom-button.marked-g {
    background-color: orange;
    border-radius: 3px;
    color: white;
  }
  
  .custom-button.marked-n {
    background-color: #003C85;
    border-radius: 3px;
    color: white;
  }
  
  .custom-button.marked-st {
    background-color: #FF8000;
    border-radius: 3px;
    color: white;
  }
  
  .custom-button.marked-as {
    background-color: #004196;
    border-radius: 3px;
    color: white;
  }
  
  .custom-button.marked-ml {
    background-color: #004196;
    border-radius: 3px;
    color: white;
  }
  
  .custom-button.marked-an {
    background-color: #004196;
    border-radius: 3px;
    color: white;
  }
  
  .custom-button.marked-v {
    background-color: black;
    border-radius: 3px;
    color: white;
  }
  
  .custom-button.marked-a1 {
    background-color: black;
    border-radius: 3px;
    color: white;
  }
  .marker-cluster {
    background-color: #0088FF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
  }
  
  
  
  .navbar {
    background-color: #fff; /* Fondo blanco */
  }
  
  .buscador{
    margin-top: 100px;
  }
  @media (max-width: 768px) {
    .buscador{
      margin-top: 90px; 
    }
  }

  /* Estilos CSS para el cuadro de mensaje */
  #mensaje-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    z-index: 1;
}
#mensaje-container2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  z-index: 1;
}
#mensaje-box {
    position: absolute;
    top: 60%;
    left: 50%;            
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 2px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

#mensaje {
    font-size: 16px;
}

#boton-aceptar {
    display: block;
    margin-top: 10px;
}
#boton-aceptar2 {
  display: block;
  margin-top: 10px;
}
@media screen and (max-width: 768px) {
#mensaje-box {
width: 90%; /* Ancho del cuadro de mensaje en dispositivos móviles */
top: 60%; /* Posición vertical centrada */
transform: translate(-50%, -50%);
}
}