body { 
  margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden; 
}
.title{
  margin: auto;
  color: #7e0c2b;
  font-family: sans-serif;
  text-shadow: rgba(0, 0, 0, 0.7) 0 -2px; 
  text-decoration: none;
}
.title p {
text-align: center;
margin: 0;
}
.p-t-en{
  font-size: 2vw;
}
.p-t-ar{
  font-size: 2.5vw;
}
#title-container{
  position: absolute;
  display: flex;
  width: 13vw;
  padding: 2vw;
  z-index: 1;
}
#map { 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  width: 100%; 
}
#waypoints-form{
      margin: 2vw;
    border: solid black 1pt;
    padding: 2vw;
    line-height: 2vw;
}
#villages-form{
  margin: 2vw;
    border: solid black 1pt;
    padding: 2vw;
    line-height: 2vw;
}
.mapboxgl-popup {
  max-width: 60vw !important;
  max-height: 60vh ;
  
  font:12px/20px 'Helvetica Neue',Arial,Helvetica,sans-serif;
}
.mapboxgl-popup-anchor-bottom{
  max-width: 60vw !important;
  max-height: 70vh !important;
  transform: translate(-50%, -100%) 
  translate(526px, 354px);
}
.mapboxgl-popup-content {
  overflow: auto;
}
#contenidos{
  position: absolute;
  z-index: 3;
    width: 85%;
    height: 85%;
    display: block;
    margin-top: 7.5vh;
    margin-right: 7.5%;
    margin-bottom: 7.5vh;
    margin-left: 7.5%;
    background: rgba(210, 196, 176, .85);
    visibility: hidden;
}
#texto{
  padding: 1vw;
  text-align: left;
  font-size: 1.2vw;
  position: relative;
  left: 2.2vw;
  top: 2.2vw;
  width: 25%;
  height: 85%;
  overflow: auto;
  font-size: 1.2vw;
  font-family: sans-serif;
}
#texto h4{
  
}
#galeria{
  overflow: auto;
  position: absolute;
  padding: 0vw;
  margin: 2.2vw;
  width: 69%;
  height: 88%;
  right: 0.25vw;
  top: 0.2vw;
}
#img{
  position: relative;
  margin: auto;
  width: 90%;
  min-height: 10%;
  display: block;
}
#btn_cerrar{
  position: absolute;
  top: 0;
  right: 0;
  width: 2.2vw;
  height: 2.2vw;
  border-width: 0px;
  background-color: rgba(210, 196, 176, .7);
  background-image: url(icons/cerrar.svg?v=6);
  cursor: pointer;
}
#pleca_superior{
  width: 100%;
  height: 1.4vw;
  position: absolute;
  top: 0;
  background-repeat: repeat-x;
  background-image: url(icons/pleca_2b.svg);
}
#pleca_inferior{
  position: absolute;
  width: 100%;
  height: 1.4vw;
  bottom: 0;
      background-repeat: repeat-x;
    background-image: url(icons/pleca_2b.svg);
}
#pleca_lateral_izq{
  position: absolute;
  width: 1.4vw;
  height: 100%;
  left: 0;
  background-image: url(icons/pleca_3b.svg);  
  background-repeat: repeat-y;
}
#pleca_lateral_der{
  position: absolute;
  width: 1.4vw;
  height: 100%;
  right: 0;
  background-image: url(icons/pleca_3b.svg); 
  background-repeat: repeat-y;
}
#pleca_superior_simbologia{
  width: 100%;
  height: 1vw;
  position: absolute;
  margin-top: -1vw;
  left: 0;
  background-repeat: repeat-x;
  background-image: url(icons/pleca_2b.svg);
}
#pleca_inferior_simbologia{
  position: absolute;
  width: 100%;
  height: 1vw;
  top: 85%;
  left: 0;
  background-repeat: repeat-x;
  background-image: url(icons/pleca_2b.svg);
}
#pleca_lateral_izq_simbologia{
  position: absolute;
  width: 1vw;
  height: 70%;
  left: 0; 
  background-image: url(icons/pleca_3b.svg);
  background-repeat: repeat-y;
}
#pleca_lateral_der_simbologia{
  position: absolute;
  width: 1vw;
  height: 70%;
  right: 0;
  background-image: url(icons/pleca_3b.svg);
  background-repeat: repeat-y;
}


#btnSimbologia {
    position: absolute;
    font-family: "Arial";
    transform: rotate(-90deg);
    top: 50%;
    left: -55px;
    height: 35px;
    border-radius: 5px;
    background-color: rgba(210, 196, 176, 1);
    border-color: rgb(126, 12, 43);
}

#simbologia {
    position: absolute;
    right: -25vw;
    width: 25vw;
    height: 100%;
    z-index: 2;
    display: flex;
}
#fondoTable{
  background-color: rgba(210, 196, 176, .85);
    height: 70%;
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    
    border-radius: 5px;
    text-align: center;
    padding: 1vw;
}
#contTable{
      height: 100%;
    overflow-y: auto;
}
#simbologia table {
    width: 100%;  
    height: 100%; 
    font-size: .9vw;
}
#simbologia table tr {
    height: 20%;
}
#simbologia table tr td {
    align-items: center;
    vertical-align: middle;
}
#simbologia table tr td img {
    width: 45%;
    height: auto;
}