body {
  margin:0;
  overflow-y: hidden;
  overflow-x: hidden;
  background-color: #F2F2F2;
}


#map {
  width:150vw;
  height: 200vh;
}

#content {
  overflow-x: hidden;
}

.tooltip div {
  background-color: rgba(242,242,242,0.8);
  font-family: 'Courier New';
  padding: 10px;
  justify-content: center;
  border-radius: 8px;
  line-height:normal;
  border-style: dashed;
  border-width: 1px;
}

#map .concelho {
    stroke: black;
    fill:none;
    stroke-width: 0.3px;
    transform-box: fill-box;
    pointer-events: visible;
}


/* Add a black background color to the top navigation */
.topnav {
  overflow: hidden;
  color: black;
  padding-bottom: 1vh;
  padding-left: 5vh;
  padding-top: 1vh;
  border-bottom: 1px dashed  black;
  background-color: rgba(255,255,255,0.8);
  z-index: 1;
}


/* Style the links inside the navigation bar */
header a {
  color: black;
  padding-left: 1vw;
  padding-right: 1vw;
  text-align: center;
  text-decoration: none;
}

/* Change the color of links on hover */
header a:hover {
  font-weight: 550;
  font-style: italic;
}

/* Add a color to the active/current link */
header a.active {
  font-weight: 550;
  text-decoration: underline;
  font-style: italic;
}



header {
  width: 100%;
  font-family: 'Courier New';
  display: flex;
  margin-top: 2vh;
  padding-bottom: 2vh;
}

header > div{
  flex:1
}

.text-left {
  padding-left: 3vh;
}

.text-right{
  text-align: right;
  padding-right: 3vh;
}

#footnote {
  font-family: 'Courier New';
  font-size: 10px;
  position: absolute;
  width: auto;
  margin-top: 80vh;
  margin-left: 5vh;
  z-index: 1;
  padding: 0px 15px 15px 15px;
  background-color: rgba(242,242,242,0.8);;
  border-radius: 10px;
}

p {
  font-family: 'Courier New';;
  line-height: 1.5vh;
}

h3 {
  font-family:'Courier New';
  font-weight: normal;
  line-height: 1.5vh;
}

#info {
  position: absolute;
  margin-top: 8vh;
  margin-left: 5vh;
  z-index: 1;
  padding: 0px 15px 15px 15px;
  background-color: rgba(242,242,242,0.8);;
  border-radius: 10px;
  height: fit-content;
  width: fit-content;
}

#legenda {
  padding-bottom: 5px;
  font-family: 'Courier New';
}
.legenda {
  font-size: 12px;
  font-family: 'Courier New';
  display:inline-block;
  padding-right: 7px;
  padding-left: 7px;
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: center;
  line-height:0;
}

.zcontainer {
position: fixed;
margin-top: 70vh;
margin-left: 5vw;
z-index: 1;
}

#zoom_in {
  cursor: pointer;
  border-style: none;
  font-family: 'Courier New';
  font-size: 20px;
  font-weight: 600;
  padding: 2px 8px 2px 8px;
  background-color: rgba(242,242,242,0.8);
  border-radius: 5px;
}

#zoom_out {
  cursor: pointer;
  border-style: none;
  font-family: 'Courier New';
  font-size: 20px;
  font-weight: 600;
  padding: 2px 8px 2px 8px;
  background-color: rgba(242,242,242,0.8);
  border-radius: 5px;
}

  @media only screen and (max-width:600px) {
    .legenda {
    font-size: 10px;
    padding-right: 2px;
    padding-left: 2px;
    }
    .tooltip div{
    font-size: 10px;
    }
    h3 {
      font-size: 14px;
    }
    .text-left a {
      font-size: 14px;
    }
    .text-right a {
      font-size: 12px;
    }
    .zcontainer {
      margin-top:65vh;
      margin-left: 10vw;
    }
    #footnote {
      margin-top: 75vh;
      padding: 15px 15px 15px 15px;
      margin-right: 5vh;
    }
    #map {
      width: 300vw;
      height: 200vh;
    }
    #info {
      padding: 0px 0px 0px 10px;
      margin-right: 5vh;
    }
  }
  
  @media only screen and (max-width:700px) {
    .legenda {
      font-size: 12px;
    }
    .tooltip div{
      font-size: 12px;
    }
    h3 {
      font-size: 14px;
      line-height: 3vh;
    }
    .text-left a {
      font-size: 14px;
    }
    .text-right a {
      font-size: 12px;
    }
}
  
  @media only screen and (max-width:740px) {
    .legenda {
      font-size: 12px;
    }
    .tooltip div{
      font-size: 12px;
    }
    h3 {
      font-size: 14px;
    }
    .text-left a {
      font-size: 14px;
    }
    .text-right a {
      font-size: 12px;
    }
  }
  
  @media only screen and (max-width:1020px) {
    .legenda {
      font-size: 12px;
    }
    h3 {
      font-size: 15px;
    }
    .text-left a {
      font-size: 15px;
    }
    .text-right a {
      font-size: 13px;
    }
  }

  @media only screen and (max-width:1700px) {
    .legenda {
      font-size: 12px;
    }
    .tooltip div{
      font-size: 12px;
    }
    h3 {
      font-size: 15px;
    }
    .text-left a {
      font-size: 15px;
    }
    .text-right a {
      font-size: 13px;
    }
  }