.map-container {
position: relative;
height: 100%;
overflow: hidden;
}
.map-container .map{
background: #b1b1b1;
}
.map-container:has(#map){
position: inherit;
overflow: inherit;
height: 100vh;
}
#map,
#map-header,
#map-single {
position: relative;
left: auto;
width: 100%;
height: 100%;
overflow: hidden;
}
#map:not(.no-fixed){
height:100vh;
}
#map-header {
height: 500px;
}
#map-single {
height: 360px;
}
.map-container #map.fixed,
.map-container #map-header.fixed,
.map-container #map-single.fixed,
.map-container #map.mapboxgl-map.fixed,
.map-container #map-header.mapboxgl-map.fixed,
.map-container #map-single.mapboxgl-map.fixed {
position: fixed !important;
} .custom-marker.mapboxgl-marker{
background: #fff;
padding: 5px 20px;
border-radius: 20px;
}
.custom-marker.mapboxgl-marker:hover{
background: var(--theme-primary-color);
color: #fff;
} .mapboxgl-popup.mapboxgl-popup-anchor-bottom {
top: -35px;
}
.mapboxgl-popup.mapboxgl-popup-anchor-top {
top: 35px;
}
.mapboxgl-popup-content {
background: #fff;
border-radius: 10px;
box-shadow: 0px 10px 25px 0px #365F681A;
padding: 16px;
pointer-events: auto;
position: relative;
min-width: 412px;
}
.mapboxgl-popup-content .popup-content {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
.mapboxgl-popup-content .popup-thumb {
flex-shrink: 0;
}
.mapboxgl-popup-content .popup-thumb img {
height: 108px;
width: 162px;
object-fit: cover;
border-radius: 4px;
}
.mapboxgl-popup-content .pop-main-content {
margin-left: 15px;
}
.mapboxgl-popup-content .pop-main-content .popup-title {
color:  #121212;
font-size: 18px;
font-weight: 600;
line-height: 28px;
margin-bottom: 0px;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
margin-bottom: 5px;
}
.mapboxgl-popup-content .pop-main-content .popup-address {
color: #64666C;
font-size: 15px;
font-weight: 400;
line-height: 26px;    
margin-bottom: 3px;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
align-items: center;
gap: 7px;
}
.mapboxgl-popup-content .pop-main-content .popup-address i {
font-size: 17px;
}
.mapboxgl-popup-content .pop-main-content .popup-price {
color: var(--theme-primary-color);
font-size: 16px;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
gap: 5px;
}
.mapboxgl-popup-content .pop-main-content .popup-price .item_info_price_new .currency_amount {
color: var(--theme-primary-color);
}
.mapboxgl-popup-content .pop-main-content .popup-price .item_info_price_old .currency_amount {
font-weight: 500;
font-size: 15px;
text-decoration: line-through;
text-decoration-color: #1C1C1E;
}
.mapboxgl-popup-content .mapboxgl-popup-close-button {
padding: 0;
margin: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
background: #1c1c1e75;
color: #fff;
border-radius: 50%;
top: -15px;
right: -15px;
font-weight: 300;
font-size: 25px;
line-height: 30px;
}
.mapboxgl-popup-content .mapboxgl-popup-close-button:hover {
background: var(--theme-primary-color);
} .gm-style .gm-style-iw-c{
padding: 0;
}
.gm-style .gm-style-iw-d{
overflow: hidden !important;
}
.gm-style .gm-style-iw-d .pop-main-content{
padding: 15px;
}
.gm-style .gm-style-iw-d .popup-title{
color: #1C1C1E;
font-size: 16px;
font-weight: 600;
line-height: 150%;
margin-bottom: 0px;
}
.gm-style .gm-style-iw-d .popup-address{
color: #3A3A3C;
font-size: 12px;
font-weight: 400;
line-height: 150%;
margin-bottom: 6px;
}
.gm-style .gm-style-iw-d .popup-price{
color: var(--theme-primary-color);
font-size: 18px;
font-weight: 600;
}
@media only screen and (max-width: 1300px) {
.half-map-right .map-container,
.half-map-left .map-container {
min-height: unset;
position: relative !important;
}
.half-map-right .properties-list-wrap .group-card-item-property,
.half-map-left .properties-list-wrap .group-card-item-property {
height: unset;
overflow-x: unset;
overflow-y: unset;
}
}
@media only screen and (max-width: 1024px) {
.properties-list-wrap .tfre-my-property-search .toolbar-search-list {
justify-content: left !important;
margin-top: 20px;
}
}
@media only screen and (max-width: 767px) { .map-container #map.mapboxgl-map.fixed,
.map-container #map-header.mapboxgl-map.fixed,
.map-container #map-single.mapboxgl-map.fixed,
#map {
position: relative !important;
}
.half-map-right .map-container,
.half-map-left .map-container {
min-height: unset;
position: relative!important;
height: 500px;
}
}