.mapWrapperEqu {
  font-family: 'Source Sans Pro', sans-serif;
  margin-top:5px;
  position: absolute;
  background: #080C16;
  z-index: 10;
  width: 100%;
  height: calc(100vh - 10px);
}
#mapBefEqu {
    position: absolute; 
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: calc(57.5vw);
    height: 100%;
    z-index: 0;
    cursor: pointer;
}
#mapAftEqu {
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 0px;
  width: calc(42.5vw);
  height: 100%;
  z-index: 0;
  cursor: pointer;
}

#filter-wrapper-Equ {
  position: absolute;
  width: calc(18vmin + 135px);
  left: 20px;
  top: 110px;
  font-weight: 500;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-shadow: 2px 2px 4px #000000;
  z-index: 10;
}

.sessionEqu_demand {
  width: 100%;
  color: white;
  font-size: calc(1rem);
}
.sessionEqu_unit {
  width: 100%;
  color: white;
  font-size: calc(1rem);
}
.sessionEqu_trip {
  width: 100%;
  color: white;
  font-size: calc(1rem);
}
.sessionEqu_meas {
  width: 100%;
  color: white;
  font-size: calc(1rem);
}
.sliderContainerEqu {
  color: white;
  margin-top: 2vh;
}

.sliderEquContentAbsolute {
  position: absolute;
  width: 14vw;
  font-size: 1.6vmin;
  font-weight: 300;
  color: white;
}
.sliderEquContentRelative {
  position: absolute;
  width: 14vw;
  font-size: 1.6vmin;
  font-weight: 300;
  color: white;
}
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1vh;
  border-radius: 5px;
  background: #9c9c9c;
  outline: none;
  opacity: 1;
}
.slider:hover {
  opacity: 1;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: min(1.8vh, 1.8vw); /* Set a specific slider handle width */
  height: min(1.8vh, 1.8vw); /* Slider handle height */
  border-radius: 50%;
  background: #ffffff; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

#legend-wrapper {
  position: absolute;
  height: 480px;
  width: 200px;
  bottom: 2px;
  left: 12px;
  padding: 1vmin;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-shadow: 2px 2px 4px #000000;
}
.legendInfo {
  position: absolute;
  bottom: 210px;
  left: 180px;
  z-index: 30;
}

#plot-wrapper {
  background: rgba(0,0,0,0.5);
  position: absolute;
  right: 42.5%;
  transform: translateX(50%);
  top: 15vh;
  bottom: 6vh;
  padding: 0.6vmin;
  width: 370px;
  z-index: 3;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#gapSummary {
  height: 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
#scatterPlot {
  margin-top: 3%;
  height: 36%;
}
#giniSummary {
  padding-top: 0.2vh;
  height: 18%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
#lorenzCurve {
  margin-top: 3%;
  height: 34%;
}
#gapTitle {
  align-items: center;
  font-size: 2vmin;
  font-weight: 300;
  color: white;
  text-align: center;
  margin-bottom: -4%;
}
#gapSmallText {
  align-items: center;
  padding-left: 0.6vw;
  padding-right: 0.6vw;
  font-size: 1.6vmin;
  font-weight: 500;
  color: white;
  height: 20%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#gapValue {
  align-items: center;
  padding-left: 0.6vw;
  padding-right: 0.6vw;
  font-size: 3vmin;
  font-weight: 600;
  color: white;
  height: 40%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#giniTitle {
  align-items: center;
  font-size: 2vmin;
  font-weight: 300;
  color: white;
  text-align: center;
  margin-top: 6%;
  margin-bottom: -4%;
}
#giniSmallText {
  align-items: center;
  padding-left: 0.6vw;
  padding-right: 0.6vw;
  font-size: 1.6vmin;
  font-weight: 500;
  color: white;
  height: 15%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#giniValue-wrapper { 
  height: 65%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left: 0.2vw;
  margin-right: 0.2vw;
  margin-bottom: 4vh;
  margin-top: 0.8vh;
}
#giniValue {
  padding-left: 0.6vw;
  padding-right: 0.6vw;
  font-size: 3vmin;
  font-weight: 600;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.button {
  color: #fff;
  text-decoration: none;
  z-index: 25;
  font-family: monospace;
}
.material-symbols-outlined {
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease-out;
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 0,
  'opsz' 48
}
.material-symbols-outlined:hover {
  background: #ffd752;
  color: #000000;
  border-radius: 50%;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 20;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}
.popup {
  top: 15%;
  left: calc(58% + 170px);
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid white;
  border-radius: 10px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
  z-index: 25;
  flex-direction: row;
}
.popup .close {
  position: absolute;
  top: -0.2vh;
  right: 0.3vw;
  transition: all 200ms;
  font-size: 3.0vmin;
  font-weight: bold;
  text-decoration: none;
  color: white;
  z-index: 30;
}
.popup .close:hover {
  color: #ffd752;
}
.popup .content {
  margin-top: -0.2vh;
  margin-right: 0.4vw;
  margin-bottom: 0.4vw;
  overflow: auto;
  line-height: 1.5;
  font-size: 1.8vmin;
  text-align: left;
}


@media screen and (max-width: 1070px) {
  #filter-wrapper-Equ {
    display: none;
  }

}

@media screen and (max-height: 740px) {
  #legend-wrapper {
    display: none;
  }
  .legendInfo {
    display: none;
  }

}
