 /*html {
  font-size: 100%;
}

body {
  font-family: Roboto, Arial, sans-serif;
  font-size: 10px;
}


button {
  all: unset;
}

* {
  box-sizing: border-box;
}
*/

#map {
  position: absolute;
  width: 100%;
  max-width: 1200px;
  height: 60vh;
  max-height: 1200px;
  margin: auto;
}

.progress {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}

.progress-icon {
  border-radius: 50%;
  padding: 7px;
  width: 30px;
  height: 30px;
  margin: 15px;
  border: 2px solid #ccc;
}

.progress-phase {
  max-width: 105px;
  height: 28px;
  border-radius: 14px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  display: flex;
  font-size: 0.75em;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 10px 15px;
}

.filled-green {
  background-color: #58a618;
  color: #ffffff;
  border: none;
}

#progress-status {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
}


#popup-card .row {
  display: flex;
  flex-wrap: wrap;
  /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
  /*padding: 30px;*/
}

#bottom-panel {
  background-color: #f0f0f0;

  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  grid-template-columns: 2fr 1fr !important;


}

.grid {
  display: grid;
}

#popup-card div>img {
  width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 25px;
  max-width: 100%;
}

#info-panel-img {
  min-width: 230px;
}

#popup-card .leaflet-popup {
  min-width: 50vw;
  min-height: 50vh;
}

#popup-overlay {
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: #17191be9;
    z-index: 1100;
    position: fixed;
    font-size: 1.6em;
    justify-content: center;
    align-items: center;
    height: 100vh;
    display: none;
    top: 0;
}

.leaflet-popup {
  display: none;
}

@media (max-width: 768px) {
  #popup-overlay.visible {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
}

#popup-card {
  width: 80%;
  margin: auto;
  z-index: 1200;
  position: absolute;
  border-radius: 25px;
  max-width: 1200px;
  background-color: #ffffff;
  max-height: 80%;
  overflow: auto;
}

.visible {
  display: flex !important;
}

#close-popup,
.textMarkers {
  cursor: pointer;
  z-index: 600;
  /*margin: auto 0 10px auto;*/
  color: #2a7d35;
  text-decoration: underline;
  line-height: 1.5;
  text-align: right;

}

#info-panel h3 {
  font-size: 2em;
  margin: auto;
}

/* List of icons used in the popup card */
#iconlist ul {
  list-style: none;
  margin: 0 0 15px 0;
  padding: 0;
  text-align: left;
}

#iconlist ul li {
  display: inline-block;
  margin-right: 15px;
}

#iconlist img {
  width: 45px;
}


/* legend of icons - used in the left sidebar aside*/
#legend {
  border: 4px solid #e3e6e7;
  border-radius: 20px;
  padding: 15px;
}

#legend figure {
  display: flex;
  flex-direction: row;
  vertical-align: top;
  padding: 5px;
  color: #333;
}

#legend img {
  margin: auto 0;
  border: 0;
  width: 45px;
  height: auto;
  max-width: 65px;
}

#legend figcaption {
  padding: 10px;
  display: inline-flex;
  align-items: center;
}


/* The following is just coloring and faux images */

#temp-header {
  background: url('images/temp-header.png') no-repeat top center;
  height: 230px;
}

#map-container {
  height: 60vh;
  margin: auto;
  position: relative;
  width: 100%;
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
}

#intro {
  margin-top: 0px;
  text-align: left;
}

#intro h1 {
  margin-top: 0px;
  text-align: left;
}

#intro-alt{
  display:none;
}
#intro{
  display:block;
}

.first-col {
  max-width: 350px;
  text-align: left !important;
  padding: 0 25px 0 25px !important;
  margin-bottom: 25px;
}

#layout {
  /* */
  max-width: 1200px;
  text-align: center;
  margin: 25px auto;
  font-size: 1.6em;
}

.column {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0px;
}

#layout .row {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
}

.second-col {
  min-width: 411px;

}

#popup-card .left,
#popup-card .right {
  flex-basis: 50%;
  justify-content: flex-start;
  padding: 30px;
}

#popup-card .right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

#popup-card .right a {
  text-decoration: none;
}

#bottom-panel .right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-basis: 30%;
}

#bottom-panel .left {
  flex-basis: 70%;
  justify-content: flex-start;
}

.button {
  background-color: #58a618;
  border: none;
  color: white;
  padding: 12px 30px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125em;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  max-width: 250px;
  height: 60px;
}

.more-info {
  background-color: #c64e13;
}

#close-popup {
  position: fixed;
  top: 4%;
  right: 4%;
}

#close-popup img {
  width: 50px;
  height: 50px;
}

@media only screen and (max-width: 768px) {

  #intro-alt{
    display:block;
  }
  #intro{
    display:none;
  }
  .first-col {
    max-width:100%;
  }

  #popup-main-row {
    flex-direction: column-reverse
  }

  #iconlist ul {
    margin-top: 15px
  }

  #progress-status {
    gap: 0;
    flex-direction: column;
  }

  .progress {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
  }

  #bottom-panel .left,
  #bottom-panel .right {
    flex-basis: 100%;
  }

  #popup-main-row .right {
    padding: 0;
  }

  #popup-card div>img {
    border-radius: 0;
  }
}

