/*
 * Always set the map height explicitly to define the size of the div element
 * that contains the map.
 */
 #map {
    position: absolute;
    height: 100vh;
    width: 100%;
    overflow: hidden;
  }
  
  html,
  body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;

  }

  button {
    position: relative;
    align-items: center;
  }

/* Muestra la pestaña de la informacion sobre la ruta cuando detecta que la
pantalla del dispositivo es mayor o igual a 800px */
/*@media (min-width: 800px) {
  #informacionRecorrido {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 0%;
    bottom: 0%;
    height: auto;
    width: 100%;
    background-color: rgb(21, 151, 211);
    z-index: auto;
    align-items: center;
    visibility: hidden;
    justify-content: center;
    color: #ffffff;

  }
}

/* Muestra la pestaña de la informacion sobre la ruta cuando detecta que la
pantalla del dispositivo es menor a 800px (lo consideramos un smartphone)*/
/*@media (max-width: 800px) {
  #informacionRecorrido {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 0%;
    bottom: 0%;
    height: auto;
    width: 100%;
    background: linear-gradient(150deg, rgb(74, 92, 252) 0%, rgb(21, 151, 211) 55%, rgb(64, 92, 252) 100%);
    z-index: auto;
    align-items: center;
    overflow: hidden;
    visibility: hidden;
    color: #ffffff;
  }
}*/

#informacionRecorrido {
  position: absolute;
  display: flex;
  flex-direction: column;
  left: 0%;
  bottom: 0%;
  height: auto;
  width: 100%;
  background: linear-gradient(150deg, rgb(74, 92, 252) 0%, rgb(21, 151, 211) 55%, rgb(64, 92, 252) 100%);
  z-index: auto;
  align-items: center;
  overflow: hidden;
  visibility: hidden;
  color: #ffffff;
}

/* Muestra el menu de puntos de interes cercanos a la posición del usuario
cuando el tamaño de la pantalla es mayor o igual a 800px */ 
@media (min-width: 800px) {
  #menu {
    position: absolute;
    right: 0%;
    top: 0% ;
    height: 100%;
    width: 30%;
    background-color: rgb(21, 151, 211);
    visibility: hidden;
    display: flex;
    flex-direction: column;
  }
}

/* Muestra el menu de puntos de interes cercanos a la posicion del usuario
cuando el tamaño de la pantalla es menor de 800px (lo consideramos un smartphone) */
@media (max-width: 800px) {
  #menu {
    position: absolute;
    left: 0%;
    bottom: 0%;
    height: 50%;
    width: 100%;
    /*background: linear-gradient(90deg, rgb(68, 59, 245) 0%, rgb(67, 67, 248) 35%, rgba(0,212,255,1) 100%);*/
    background-color: rgb(21, 151, 211);
    visibility: hidden;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /*overflow-y: hidden;*/
    
  }
}
  
  #menuFiltros {
    position: relative;
    margin-top: 2%;
    top: 2%;
    left: 2%;
    background-color: rgb(240, 242, 243);
    height: 15%;
    width: initial;
    visibility: hidden;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    overflow-y: hidden;
    padding-right: 2%;
  }

  #visorPuntos {
    margin-top: 2%;
    top: 2%;
    left: 2%;
    position: relative;
    background-color: rgb(240, 242, 243);
    height: 75%;
    width: 96%;
    display: flex;
    flex-direction: column;
    size-adjust: initial;
  }

#botonMenu {
  position: absolute;
  top: 10%;
  left: 90%;
  visibility: visible;
}

@media (min-width: 800px) {
  #contenedorBotones {
    position: absolute;
    top: 2%;
    right: 2%;
    display: flex;
    flex-direction: row;
    width: 200px;
    height: 8%;
  
  }
}

@media (max-width: 800px) {
  #contenedorBotones {
    position: absolute;
    top: 10px;
    right: 1%;
    display: flex;
    flex-direction: row;
    width: 120px;
    height: 50px;
  
  }
}

#botonBusqueda {
  position: relative;
  height: 100%;
  width: 46%;
  visibility: visible;
  border: 0;
  margin: 2%;
  shape-outside: circle();
  clip-path: circle();
  /*background-color: rgb(109, 169, 238);*/
  background-color: white;
}

#botonInformacion {
  position: relative;
  height: 100%;
  width: 46%;
  font-size: 25px;
  border: 0;
  margin: 2%;
  shape-outside: circle();
  clip-path: circle();
  /*background-color: rgb(109, 169, 238);*/
  background-color: white;
}

.tipoPi {
  position: relative;
  width: auto;
  background-color: rgb(255, 255, 255);

}

.infoPunto {
  position: relative;
  background-color: rgb(255, 255, 255);
  height: auto;
  width: auto;
  margin-top: 1%;
  display: grid;
  flex-direction: row;
}

@media (min-width: 800px) {
  .textoPunto {
    position: relative;
  }
}

@media (max-width: 800px) {
  .textoPunto {
    position: relative;
    text-align: center;
    width: 100%;
  }
}

@media (min-width: 800px) {
  #opcionesMenu {
    position: relative;
    top: 2%;
    left: 2%;
    width: 95%;
    height: 5%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
  }
}

@media (max-width: 800px) {
  #opcionesMenu {
    position: relative;
    top: 2%;
    left: 2%;
    width: 95%;
    height: 10%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
  }
}

#btnCerrar {
  position: relative;
  margin-right: 2%;
  height: -webkit-fill-available;
  border-radius: 10px;
  background-color: #ffffff; 
}
  
.imagenPunto {
  max-width: 100%;
  max-height: 100%;
}

/* Muestra la flecha que despliega la pestaña de informacion
  y la oculta, cuando la pantalla es menor de 800px */
@media (max-width: 800px) {
  #controlInfo {
    position: relative;
    background-color: rgb(255, 255, 255);
    top: 50%;
    left: 105%;
    height: 10%;
    width: auto;
    border-radius: 5px;
  }
}

/* Muestra la flecha que despliega la pestaña de informacion
  y la oculta, cuando la pantalla es mayor o igual de 800px */
@media (min-width: 800px) {
  #controlInfo {
    position: relative;
    background-color: rgb(255, 255, 255);
    bottom: 40%;
    left: 105%;
    height: 10%;
    width: 10%;
    border-radius: 5px;
  }
}

#contenedorBtnGps {
  position: absolute;
  right: 1%;
  bottom: 20px;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  visibility: visible;
}
  
#botonGPS {
  position: relative;
  shape-outside: circle();
  clip-path: circle();
  height: 100%;
  width: 100%;
  border: 0;
  background-color: white;
}


#titulo {
  margin: 2%;
}

.parrafos {
  margin: 0 0 1% 0;
}


#informacionPuntoInteres {
  position: absolute;
  bottom: 0%;
  left: 0%;
  width: 100%;
  height: 50%;
  background-color: rgb(21, 151, 211);
  visibility: hidden;
  display: flex;
  flex-direction: column;
}

#descripcionPunto {
  position: relative;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 30%;
  background-color: rgb(8, 107, 236);
  display: flex;
  flex-direction: row;
}

#contDesc {
  position: relative;
  top: 0%;
  left: 0%;
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#nombreP {
  color: rgb(255, 255, 255);
  font-size: xx-large;
  margin: 3% 0 3% 0;
}

#img {
  position: relative;
  top: 0%;
  left: 0%;
}

#cerrarInfo {
  position: relative;
  top: 0%;
  right: 0%;
  height: 5%;
  width: 5%;
}

#infoTotal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 1% 0 1% 0;
  justify-content: space-around;
}

.contInfo {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 3%;
}

#nombreRuta {
  border-style: ridge;
  border: #ffffff;
  border-color: #ffffff;
  border-width: 5px;
}

#cabeceraRuta {
  /*box-sizing: border-box;
  border-style: solid;
  margin: 2%;
  border-width: 3px;
  border-color: skyblue;*/
  text-align: center;
}