div.main-bg {
  height: auto;
  padding-bottom: 75px;

  background: linear-gradient(180deg, rgb(0, 0, 0) 7%, rgb(255 255 255) 100%);
  box-shadow: none;
  margin-bottom: -50px;
}

.leaflet-popup-content-wrapper {
  overflow-y: auto;
}

.leaflet-popup-content {
  width: auto !important;
  max-height: 330px;

  /*font-size: 1.8em;*/
}

.leaflet-container a.leaflet-popup-close-button {
  right: 20px;
}


.map__wrapper {
  display: flex;
}

.map__pins_wrapper {
  display: flex;
  flex-direction: column;

  margin-left: 40px;
  flex: 1;

  max-height: 600px;
  overflow: hidden;
}


#yellow-pins, #green-pins {
  overflow-y: auto;
  margin: 0;
}

#yellow-pins li, #green-pins li {
  padding: 15px 10px;
  transition: background 250ms;
}

#yellow-pins li:hover {
  cursor: pointer;
  background: #f8eac9;
}

#green-pins li:hover {
  cursor: pointer;
  background: #cbefca;
}

.map__pins_wrapper .btn {
  background-color: #262625;
  border-color: #262625;
}

.map__pins_wrapper .btn:hover {
  background-color: #181818;
  border-color: #181818;
}

@media screen and (max-width: 991px) {
  div.main-bg {
    padding-bottom: 140px;
  }
}

@media screen and (max-width: 1400px) {
  .map__wrapper {
    flex-direction: column;
    align-content: center;
  }

  #my-map {
    z-index: 1;
    order: 1;
    margin: 0 auto;
    width: 100% !important;
  }

  .map__pins_wrapper {
    margin: 0;
    margin-bottom: 20px;
  }
}