.resource-map,
.dataset-map {
  height: 600px;
  width: 100%;
  z-index: 0;

  .map-region-name {
    margin: 5px 0;
    font-size: 10px;
  }

  .map-icons-container {
    display: flex;
    justify-content: space-between;
    div {
      display: flex;
      align-items: end;
    }
    div:first-child img {
      margin-right: 5px;
    }
    div:last-child img {
      margin: 0 5px 0 40px;
    }
  }

  .leaflet-popup-content-wrapper {
    background-color: #0f2648;
    color: #ffffff;
    font-weight: 100;
    border-radius: unset;
  }
  .leaflet-popup-content {
    margin: 10px;
  }
  .leaflet-popup-tip-container {
    display: none;
  }

  .clusterText {
    background: transparent;
    color: white;
    font-weight: bold;
    border: none;
    box-shadow: none;
    font-family: Roboto, serif;
    font-size: larger;
  }

  .clusterCircle {
    stroke: $color-blue-dark;
  }

  img.smallPin {
    margin-left: -15px;
    margin-top: -50px;
    width: 30px;
    height: 70px;
    stroke: red;
  }

  img.bigPin {
    margin-left: -30px;
    margin-top: -100px;
    width: 60px;
    height: 140px;
    transition-property: width, height;
    transition: all 1s;
    stroke: lawngreen;
  }

  path.lineSelected {
    stroke: $color-red;
    stroke-width: 7;
  }

  #resourceMap,
  #datasetMap {
    .leaflet-top {
      background-color: transparent;
    }

    .leaflet-control-zoom {
      border: none;
      border-radius: unset;
    }

    a.leaflet-control-zoom-in,
    a.leaflet-control-zoom-out {
      color: $color-white;
      background-color: $color-blue-light;
      border-radius: unset;

      &.leaflet-disabled {
        background-color: $color-grey-light-3;
      }
    }

    a.leaflet-control-zoom-in:hover,
    a.leaflet-control-zoom-out:hover {
      color: $color-grey-light-1;
      background-color: $color-blue-dark;

      &.leaflet-disabled {
        background-color: $color-grey-light-3;
      }
    }

    a.leaflet-control-zoom-in:active,
    a.leaflet-control-zoom-out:active {
      color: $color-grey-light-1;
      background-color: $color-blue-light;
    }
  }
}

.mapOptionsBtn {
  position: relative;
}

.mapOptions {
  position: absolute;
  top: 77px;
  left: calc(100% - 350px);
  width: 335px;
  height: 600px;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);

  .localizationBelt {
    color: $color-white;
    font-weight: bold;
    background-color: $color-blue-light;
  }

  .resultBelt {
    height: auto;
    color: $color-heading;
    font-weight: bold;
    background-color: $color-grey-light-2;
  }

  .points {
    overflow-y: auto;
    padding: 0;
    cursor: pointer;

    p {
      padding: 5px 20px;
      margin: 0;
    }

    .points__selected {
      background-color: $color-grey-light-6;
      transition-property: background-color, font-weight;
      transition: all 1s;
      font-weight: bold;
    }
  }

  .pointsLarge {
    height: 376px;
  }

  .pointsSmall {
    height: 166px;
  }

  button {
    width: 100%;
  }

  #sliderLabel {
    margin-top: 5px;
    width: 50px;
    text-align: center;
    border: $color-grey-light-7 1px solid;
    background-color: $color-grey-light-2;
    font-size: smaller;
    position: relative;
  }

  .validation {
    color: $color-red;
    font-weight: normal;
    font-size: smaller;
  }

  input[type='text'] {
    padding: 0 2rem 0 10px;
  }

  input[type='range'] {
    -webkit-appearance: none;
    margin: 0 7px 0 7px;
    padding: 0;
    width: 270px;
    text-align: center;

    &::-ms-tooltip {
      display: none;
    }
  }

  .clearBtn {
    font-size: 1.5rem;
    line-height: 1;
    position: absolute;
    top: 20%;
    right: 7%;
    width: auto;
    padding: 0 5px;
    border: none;
    background-color: transparent;
    color: currentColor;
  }
}

.rangeMap {
  width: 335px;
  input[type='range'] {
    -webkit-appearance: none;
    margin: 0 7px 0 7px;
    padding: 0;
    width: 270px;
    text-align: center;

    &::-ms-tooltip {
      display: none;
    }
  }

  #sliderLabel {
    margin-top: 5px;
    width: 50px;
    text-align: center;
    border: $color-grey-light-7 1px solid;
    background-color: $color-grey-light-2;
    font-size: smaller;
    position: relative;
  }
}
