/*-------------------------------*\
                MAP
\*-------------------------------*/

.elementor-widget-comworks-property-map,
.elementor-widget-comworks-property-map .elementor-widget-container,
.comworks_property_map {
    position: sticky !important;
    overflow: hidden !important;
    height: var(--map_height, 100%);
    top: var(--navigation_height, 0px);
}

@keyframes clusterHover {
    0% { transform: scale(1); }
    10% { transform: scale(1.15); }
    20% { transform: scale(1.25); }
    30% { transform: scale(1.5); }
    40% { transform: scale(1.25); }
    50% { transform: scale(1.15); }
    60% { transform: scale(1.0); }
    65% { transform: scale(1.15); }
    70% { transform: scale(1.25); }
    80% { transform: scale(1.5); }
    90% { transform: scale(1.25); }
    95% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
  
.cluster-animation {
    animation: clusterHover 2s ease-in-out;
}

.custom-cluster-1 {
	color: #fff;
	font-size: 16px;
	line-height: 50px;
}
.custom-cluster-2 {
	color: #fff;
	font-size: 18px;
	line-height: 60px;
}
.custom-cluster-3 {
	color: #fff;
	font-size: 20px;
	line-height: 70px;
}
/*-------------------------------*\
            INFO WINDOW
\*-------------------------------*/

.gm-style-iw-c {
    padding: 0 !important;
}
.gm-style-iw-d {
    overflow: hidden !important;
    max-height: 100% !important;
}
.gm-style-iw-d > div {
    max-width: 290px;
}
.gm-style-iw-d > div img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.gm-style-iw-d .property_post_box_content {
    padding: 22px 20px;
    font-size: 15px;
    text-align: center;
}

/* Close Button */

.gm-style .gm-style-iw-c {
    overflow: visible !important;
}
.gm-style button[title='Close'] {
    background: #fff !important;
    top: -10px !important;
    width: 37px !important;
    height: 37px !important;
    opacity: 1 !important;
    border: 2px solid #aaa395 !important;
    border-radius: 100%;
}
.gm-style button[title='Close']:hover {
    background: #d2faff !important;
    border-color: #1bbed3 !important;
}
.gm-style button[title='Close'] img,
.gm-style button[title='Close'] span {
    margin: 3px 5px 0 5px !important;
}

@media (max-width: 1600px) {
    .gm-style-iw-d > div {
        max-width: 260px;
    }
    .gm-style-iw-d > div img {
        height: 145px;
    }
    .gm-style-iw-d .property_post_box_content {
        padding: 14px;
        font-size: 14px;
    }
    .gm-style-iw-d .location_name {
        margin-bottom: 8px;
    }
}
@media (max-width: 1279px), (min-width: 1280px) and (max-height: 740px) {
    /* Hide image and highlight in infowindow */
    .gm-style-iw-d > div img,
    .gm-style-iw-d .property_carousel,
    .gm-style-iw-d .property_highlight {
        display: none !important;
    }
    /* 1 line address in infowindow */
    .gm-style-iw-d .property_address {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
@media (max-width: 768px) {
    .gm-style-iw-d .property_post_box_content {
        padding: 11px;
        font-size: 13px;
    }
}

/*-------------------------------*\
              ICONS
\*-------------------------------*/

.gm-style-iw-d > div .property_icon:before {
    font-size: 0.95em;
}
@media (max-width: 1279px) {
    .gm-style-iw-d > div .property_details {
        padding-bottom: 6px;
        margin-bottom: 6px;
        padding-right: 18px;
    }
}
