/**
 * Copyright 2025 Google LLC. All Rights Reserved.
 */
/*
   * Always set the map height explicitly to define the size of the div element
   * that contains the map.
   */


.marker-pin,
.marker-pin * {
  pointer-events: none !important;
}

img.active-marker {
  filter: hue-rotate(347deg) saturate(250%) brightness(1.3);
}

.property-map.hidden {
  display: none !important;
  pointer-events: none !important;
}

.property-main.property-map .map-popup {
  width: 420px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.map-popup img {
  width: 100%;
  display: block;
}

.map-popup h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 12px 18px;
}

.map-popup p {
  margin: 0 18px 12px;
  color: #333;
}

.map-popup .details-row {
  padding: 12px 18px;
  display: flex;
  gap: 16px;
  color: #000;
  font-size: 15px;
  font-weight: 600;
}

.map-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

#mapSection {
  display: block;
  position: fixed;
  height: calc(100vh - 90px);
  max-height: calc(100vh - 90px);
  width: 100vw;
  z-index: 9;
  top: 90px;
}

#map {
  height: 100%;
  max-height: calc(100vh - 67px);
  width: 100%;
  margin: auto;
}

@media (min-width: 768px) {
  #map {
    max-height: calc(100vh - 75px);

  }
}

.active #Ellipse_87 {
  fill: #eba21a;
}


.active #Path_7783 {
  fill: #eba21a;
}


.gmnoprint {
  opacity: 0;
}

.map-section .row {
  height: 100vh;
}

/* loader*/
#map-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.3);
  border-top: 5px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.map-section .filter-container {
  background-color: #e9ecef;
  border-radius: 8px;
  padding: 40px 0 100px 45px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.map-section .gbid {
  display: none;
}

.map-section .filter-group.reset {
  border: 0;
}

.map-section .filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 15px;
}

.map-section .filter-header h5 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.map-section .filter-header button {
  font-size: 14px;
  border: none;
  background: none;
  color: #6c757d;
  text-decoration: underline;
  cursor: pointer;
}

.map-section .filter-group {
  margin: 10px 30px 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ddd;
}

.map-section .filter-group:last-child {
  border-bottom: 0;
  margin: 10px 0;
}

.map-section .filter-group .collapse {
  margin-bottom: 10px;
}

.map-section .filter-group .form-check-input:checked {
  background-color: #0e3a58;
  border-color: #0e3a58;
}

.map-section .filter-group .btn-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  padding: 0 0 10px;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.map-section .filter-group .btn-link.reset-link-filter {
  display: flex;
  justify-content: flex-start;
  gap: 7px;
  margin-top: 40px;
  font-weight: 300;
}

.map-section .filter-group .btn-link:hover,
.map-section .filter-group .btn-link:focus {
  text-decoration: none;
  box-shadow: none;
}

.map-section .custom-btn-group {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 9;
  display: flex;
  justify-content: end;
  right: 10%;
}

.map-section .filter-group strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  color: #212529;
  margin: 0;
}

.map-section .filter-group .form-check {
  margin-left: 0;
  margin-bottom: 3px;
}

.map-section .filter-group .form-check-input {
  margin-right: 8px;
}

.map-section .full-section {
  background-color: #e9ecef;
  max-height: 100vh;
  padding: 0;
}

/* .map-section .filter-group .collapse {
    padding-left: 0; 
  } */

.map-section .btn-primary-custom {
  background-color: #00c4cc;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.map-section .btn-primary-custom:hover {
  background-color: #00adb5;
}

.property-main.property-map {
  position: absolute;
  bottom: calc(20px + 90px);
  left: 20px;
  max-width: 370px;
  border-radius: 10px;
}

@media only screen and (max-width: 767px) {
  .property-main.property-map {
    position: absolute;
    bottom: calc(20px + 170px);
    left: 0;
    right: 0;
    max-width: 370px;
    margin: auto;
  }
}

.property-main.property-map .row {
  height: auto;
}

/*
   * Property styles in unhighlighted state.
   */
.property-main.property-map {
  opacity: 1;
  transition: opacity 0.5s ease;
  background: #fff;
}

.property-main.property-map.hidden {
  opacity: 0;
  pointer-events: none;
  /* To prevent interaction when hidden */
  height: 0;
  padding: 0;
  margin: 0;
}

.property {
  align-items: center;
  background-color: transparent;
  border-radius: 50%;
  color: #263238;
  display: flex;
  font-size: 14px;
  gap: 15px;
  height: 30px;
  justify-content: center;
  padding: 4px;
  position: relative;
  width: 30px
}

.property .icon svg {
  height: 44px;
  width: auto;
}

.property .icon {
  /* width: 30px; */
}

.property.highlight .icon {
  /* display:none; */
}

.property .details {
  display: none;
  flex-direction: column;
  flex: 1;
}

.property .address {
  color: #9E9E9E;
  font-size: 10px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.property .features {
  align-items: flex-end;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.property .features>div {
  align-items: center;
  background: #F5F5F5;
  border-radius: 5px;
  border: 1px solid #ccc;
  display: flex;
  font-size: 10px;
  gap: 5px;
  padding: 5px;
}


/*
   * Property styles in highlighted state.
   */
.property.highlight {
  width: 100%;
  /* max-width: 320px; */
}

.property.highlight::after {
  border-top: 9px solid #FFFFFF;
}

.property.highlight .details {
  display: flex;
}

.property.highlight .icon svg {
  width: 50px;
  height: 50px;
}

.property .bed {
  color: #FFA000;
}

.property .bath {
  color: #03A9F4;
}

.property .size {
  color: #388E3C;
}


.property.highlight .map-icon {
  display: none;
}


/* Property popup */
.property-main.property-map .info-close {
  position: absolute;
  right: 5px;
  top: 5px;
  padding: 0 0 2px 0;
  background-color: #0e3957;
  color: white;
  border: none;
  width: 24px;
  height: 25px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: none;
  z-index: 99999;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-main.property-map span.popular-inner.nieuw-label {
  background: #eba219
}

.property-main.property-map .swiper {
  aspect-ratio: unset;
}

.property-main.property-map .swiper-button-prev,
.property-main.property-map .swiper-button-next {
  top: 200px !important;
  bottom: unset;
}

.property-main.property-map .swiper-button-prev,
.property-main.property-map .swiper-button-next {
  border-radius: 50px;
  aspect-ratio: 1;
  top: revert-rule;
  bottom: unset;
  height: 34px;
  margin: 0;
  width: 34px;
}

.property-main.property-map span.popular-inner {
  position: absolute;
  right: 30px;
  background: #0e3958;
  color: #fff;
  padding: 9px 37px 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 14px;
  z-index: 8;
}

.property-main.property-map .swiper .swiper-wrapper .swiper-slide img {
  height: revert-rule;
  width: revert-rule;
  max-height: 100%;
}


/* card map*/
.map-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-banner {
  position: relative;
}

.card-banner .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #0056ff;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}


.card-image {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 270px;
  aspect-ratio: 5 / 3;
}


.map-card .card-content {
  padding: 16px;
  position: relative;
  z-index: 9999999999;
  opacity: 1;
  background-color: #f5f5f5;
}

.card-title {
  margin: 0 0 8px;
  font-family: "Switzer Variable", sans-serif;
  line-height: 1;
  color: #011a33;
  font-size: 20px;
  font-weight: 500;
}

a .card-title {
  color: #011a33;
}

.card-location {
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #011a33;
  margin-top: 8px;
}

.gmnoprint.gm-style-mtc-bbw {
  display: none;
}

.card-details a {
  display: flex;
  flex-direction: row;
  gap: 8px;
  font-family: system-ui;
}

.detail {
  align-items: flex-start;
  background-color: #fff;
  padding: 5px;
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.property-main.property-map .swiper .swiper-wrapper .swiper-slide .detail img {
  width: 20px;
}

.detail img {
  width: 20px;
}

.detail .media-body p.content {
  margin-bottom: 0px;
}

span.prop-label {
  color: #212529;
  display: flex;
  flex-direction: row;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 400;
}

span.prop-label.dark {
  font-size: 15px;
  font-weight: 600;
  display: block;
  color: #212529;
}

.detail .media-body p.content {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  display: block;
  color: #212529;
}

.card-content a {
  text-decoration: none;
  /* display: flex; */
  flex-direction: row;
  gap: 10px;
}

.swiper-button-prev {
  left: unset;
  right: 45px;
}

.swiper-button-next,
.swiper-button-prev {
  margin: 5px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  content: "";
  display: block;
  width: 27px;
  height: 27px;
  border-radius: 0;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}

.swiper-button-next:after {
  background-image: url('/wp-content/themes/deskfinder/images/property/arrow-blue.svg');
}

.swiper-button-prev:after {
  background-image: url('/wp-content/themes/deskfinder/images/property/arrow-blue.svg');
  rotate: 180deg;
}

#listSection .main-property .info-div.total-product {
  margin: 0;
  gap: 20px;
}

@media only screen and (min-width: 768px) {
  #listSection .main-property .info-div.total-product {
    justify-content: flex-end;
  }
}

.maplist-section.content-section {
  position: initial;
  display: flex;
  gap: 8px;
}

.maplist-section {
  gap: 10px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 8;
  display: flex;
  justify-content: end;
  right: 32px
}

.maplist-section .button-group {
  display: flex;
  gap: 10px;
}

.maplist-section .custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  font-size: 12px;
  font-weight: 500;
  border: 0;
  border-radius: 6px;
  background-color: #fff;
  color: #011A33;
  cursor: pointer;
  transition: all 0.3s ease;
}

.maplist-section .custom-button svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  object-position: center;
}

.maplist-section .custom-button:hover {
  background-color: #fff;
}

.maplist-section .custom-button.active {
  background-color: #011A33;
  color: #fff;
  border-color: #011A33;
}

.maplist-section .custom-button.active i {
  color: white;
}

/* #mappg-mainmbsec button.custom-button.active::before {
  content: "";
  background-image: url(/wp-content/themes/deskfinder/images/icon-map.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 14px;
  height: 19px;
  display: block;
  position: absolute;
  margin: auto;
  right: 56px !important;} */

div#mappg-mainmbsec .maplist-section button.custom-button.active svg.svg-inline--fa.fa-location-pin {
  display: none !important;
}

.gmnoprint div:first-child {
  background-color: transparent !important;
  box-shadow: none !important;
}

button.gm-control-active {
  border-radius: 3px !important;
}

.btn-map::after {
  content: "";
  background-image: url("/wp-content/themes/deskfinder/images/icon-map.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 14px;
  height: 19px;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 212px;
  margin: auto;
  display: none !important;
}

/* [END maps_advanced_markers_html] */

/* Remove Google Maps AdvancedMarkerElement hover/focus selection highlight */
gmp-advanced-marker:focus,
gmp-advanced-marker:hover {
  outline: none !important;
}

gmp-advanced-marker {
  --gmp-advanced-marker-focus-offset: 0px;
}