.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: transparent;
  color: #fff;
  font-family: "ITCFranklinGothicStd-Med", Sans-serif;
  font-size: 16px;
  line-height: 25px;
  margin-top: 4px;
  margin-left: 3px;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: #011643a6;
  border: solid 2px #eb5d99;
}

#promo_map .leaflet-container a,
#promo_map .leaflet-bar a {
  color: #eb5d99;
}

.leaflet-popup-content:not(:has(.popup-type-first)) {
  margin: 0 !important;
  width: 250px;
}

.leaflet-popup-content-wrapper:not(:has(.popup-type-first)) {
  padding: 0px 0px 1px 0px;
}

.leaflet-popup-content-wrapper,
#promo_map .leaflet-popup-content-wrapper {
  border-radius: 0px;
}

.popup-type-second a {
  color: #fff !important;
}

.leaflet-popup-content-wrapper,
#promo_map .leaflet-popup-content-wrapper {
  background-color: #011643;
  color: #fff;
}

.leaflet-popup-tip,
#promo_map .leaflet-popup-tip {
  background: #011643;
}

.scrollable-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-content {
  max-height: 150px;
  overflow-y: hidden;
  width: 100%;
  margin: 5px 0;
}

.popup-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popup-content ul li {
  margin: 10px auto;
  font-family: "ITCFranklinGothicStd-Book", Sans-serif !important;
  font-size: 14px !important;
  cursor: pointer;
}

.scroll-button {
  cursor: pointer;
  border: none;
  background: none;
  font-size: 18px;
  padding-bottom: 0px !important;
  padding-top: 0px !important;
  width: 100%;
  height: 25px;
}

.scroll-button.disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.scroll-button:focus {
  outline: none;
}

.popup-type-second a {
  display: flex;
  flex-direction: column;
}

.popup_second_content {
  min-height: 97px;
}

.popup_second_image {
  height: 125px;
  position: relative;
}

.popup_second_image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent linear-gradient(180deg, #01164300 65%, #011643 100%);
  pointer-events: none;
}

.popup_second_image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.popup_second_image .mentions {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.popup_second_image .room,
.popup_second_image .garage {
  font-family: "ITCFranklinGothicStd-Book", Sans-serif !important;
  font-size: 12px;
  line-height: 20px;
  background-color: #fff;
  color: #011643;
  padding-left: 5px;
  padding-right: 5px;
}

.popup_second_content {
  padding: 0px 25px 30px 25px;
  text-align: center;
}

.popup_second_image .build {
  font-family: "ITCFranklinGothicStd-Book", Sans-serif;
  font-size: 20px;
  line-height: 30px;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.popup_second_content div:first-child {
  font-family: "ITCFranklinGothicStd-DmCd", Sans-serif;
  font-size: 25px;
  line-height: 30px;
  background-color: #eb5d99;
  margin-bottom: 19px;
}

.popup_second_content div:nth-child(2) {
  font-family: "ITCFranklinGothicStd-Book", Sans-serif;
  font-size: 16px;
  line-height: 25px;
}

.leaflet-popup-close-button span {
  font-size: 26px;
  color: #eb5d99;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.agences_map .leaflet-popup {
  background-color: #011643;
  padding: 15px;
}

.agences_map .leaflet-popup .leaflet-popup-tip-container {
  bottom: -20px;
}

.agences_map .leaflet-popup .leaflet-popup-tip-container .leaflet-popup-tip {
  background-color: #011643;
}

.agences_map .leaflet-popup-content-wrapper {
  border-radius: 0px;
  background-color: #011643;
}

.agences_map .leaflet-popup-content-wrapper .leaflet-popup-content a {
  color: #fff;
}

.post_status {
  text-transform: uppercase;
}

.popup-type-second .no_link {
  opacity: 0.5; /* Réduit l'opacité pour l'effet de voile */
  cursor: not-allowed; /* Change le curseur pour indiquer l'indisponibilité */
  pointer-events: none; /* Désactive les interactions */
}

.available {
  background-color: #eb5d99;
  padding: 2px;
  border-radius: 3px;
}

#map_terrain_maison .leaflet-popup-content {
  white-space: nowrap;
}

#map_terrain_maison .leaflet-popup-content-wrapper {
  width: auto !important;
  max-width: none !important;
}