/**
 * 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.
   */

   #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;
  }
  .search-container {
   display: none;
  }

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

    }
  }

.active #Ellipse_87 {
    fill: #6678a2;
}

.active #Path_7783 {
    fill: #6678a2;
}
.desktop {
  display: block;
}

.mobile {
  display: none;
}
  
    
  /* .gmnoprint {
    opacity: 0;
  } */
  .gmnoprint {
    opacity: 1 !important;
    top: 60px !important;
    right: 91px !important;
	margin: 0 !important;
  }
  .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: #012d62;
  border-color: #012d62;
}

.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;
    }
    .desktop {
      display: none !important;
    }
    .mobile {
      display: block !important;
    }
  }
  
  .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;
  background-color: #0e3957;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: none;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* 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;
}


.card-content {
  padding: 16px;
  position: relative;
  z-index: 9999999999;
  opacity: 1;
}

.card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 8px;
  color: #212529;
}
a .card-title {
  color: #212529;
}

.card-location {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 34px;
  display: block;
  color: #212529;
}
.gmnoprint.gm-style-mtc-bbw {
  display: none;
}
.card-details a {
  display: flex;
  flex-direction: row;
  gap: 8px;
  font-family: system-ui;
}

.detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 40%;
}

.detail img {
  width: 20px;
  margin-right: 10px;
}
.detail .media-body p.content {
  margin-bottom: 0px;
}

span.prop-label {
  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;
}
 
.property-map .swiper .swiper-button-prev, .property-map .swiper .swiper-button-next {
    position: absolute;
    top: 50%;
}
.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; */
  /* padding: 15px 20px; */
}
.maplist-section{
      gap: 10px;
      position: absolute;
      top: 50px;
      left: 20px;
      z-index: 8;
      display: flex;
      justify-content: end;
      right: 50px;
}
.maplist-section .button-group {
  display: flex;
  gap: 10px;
}

.maplist-section .custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  border: 0;
  color: #002d62;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 15px 20px;
  background-color: #e6e7f0;
}

.maplist-section .custom-button i {
  font-size: 14px;
}

.maplist-section .custom-button i::before {
  font-size: 20px;
}

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

.maplist-section .custom-button.active {
  background-color: #002d62;
  color: #fff;
  border-color: #2590DC;
  box-shadow: none;
}

.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 {
  background-color: #002d62 !important;
  margin-bottom: 5px !important;
  margin-top: -1px !important;
}
button.gm-control-active img {
  filter: invert(1000%) brightness(1500%) !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;
}
@media screen and (max-width: 767px) {
  #listSection #searchPropertiesFrm .filter-new {
    padding: 20px;
  }
  #listSection .custom-search-input span.input-group-btn img {
    width: 17px;
}
  #listSection  .custom-search-input span.input-group-btn {
    position: absolute;
    right: unset;
    z-index: 999;
    left: -17px;
}
#mappg-mainmbsec .maplist-section {
  top: 25px;
  left: 0;
  right: 0;
  margin: 0 24px;
}
  #listSection .filter-total ul.filterSection{
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  #listSection .filter-total ul.filterSection li.list-inline-item{
    width: 100%;  
  }
  .maplist-section.content-section{
    padding: 15px 0px;
    width: 100%;
  }
  .maplist-section .custom-button {
    width: 100%;
/* 	padding: 10px 20px; */
  }
	
  .search-container input#search_property_map {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 7px 25px;
    border-color: #fff;
    text-indent: 13px;
	opacity: 0.85;
   }
   .search-container .input-group-btn{
    position: absolute;
 	left: 16px;
	top: 7px;
   }
	
   .search-container div#search_property_mapautocomplete-list {
    position: absolute;
    border: none;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 40px !important;
    left: 0;
    right: 10px;
    overflow-y: scroll;
    width: 100%;
    max-height: 330px;
}
.search-container div#search_property_mapautocomplete-list div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
  #mappg-mainmbsec .maplist-section {
    top: 30px;
    left: 0px;
    right: 0px;
    width: 86% !important;
    max-width: max-content;
    padding: 0;
    font-family: Mulish, sans-serif;
    background: none;
    margin: 0px auto 50px;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px 13px; 

  }
  #mappg-mainmbsec .maplist-section .custom-button {
    width: 48%;
    display: flex;
}
  
  #mappg-mainmbsec .search-container {
    width: 100%;
    display: block;
  }
  
  #mappg-mainmbsec .button-row {
    display: flex;
    width: 100%;
  }
  
  #mappg-mainmbsec .button-row .custom-button {
    width: 50%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
  }
  .gmnoprint {
    opacity: 0 !important;
  } 
  
}
  /* [END maps_advanced_markers_html] */