﻿.customer-map {
    padding: 40px 0;
}

@media only screen and (max-width: 767px) {
    .customer-map {
        padding: 20px 0;
    }
}

.customer-map .customer-map-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    text-align: center;
}

.customer-map .customer-map-block .customer-map-size {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.customer-map .customer-map-block .marker-cluster-medium, .customer-map .customer-map-block .marker-cluster-small {
    background-color: #34743b;
    color: #FFF;
}

    .customer-map .customer-map-block .marker-cluster-medium div, .customer-map .customer-map-block .marker-cluster-small div {
        background-color: #34743b;
    }



.customer-map .customer-map-block .leaflet-popup.customer-popup .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    padding: 0;
}

.customer-map .customer-map-block .leaflet-popup.customer-popup .leaflet-popup-content {
    margin: 0;
    padding: 12px 14px;
    font: 14px;
}

.customer-map .customer-map-block .leaflet-popup.customer-popup .leaflet-popup-tip {
    display: none;
}

.customer-map .customer-map-block .leaflet-popup.customer-popup {
    font-size: 12px;
}

.customer-map .customer-map-block .customer-pop-title {
    margin: 0 0 6px;
    font-weight: 800;
    color: #00557d;
    font-size: 16px;
    font-family: 'Cera Pro';
}

.customer-map .customer-map-block .customer-pop-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-family: 'Cera Pro';
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .2px;
    color: #fff;
    margin: 6px 0 12px;
    white-space: nowrap;
}

    .customer-map .customer-map-block .customer-pop-badge.water {
        background: #4498bb;
    }

    .customer-map .customer-map-block .customer-pop-badge.wastewater {
        background: #34743b;
    }

    .customer-map .customer-map-block .customer-pop-badge.both {
        background: #9a432e;
    }

.customer-map .customer-map-block .customer-pop-link {
    display: inline-block !important;
    text-decoration: underline !important;
    color: #7fbf43 !important; /* green link like screenshot */
    font-weight: 700 !important;
    font-family: 'Cera Pro' !important;
}

.customer-map .customer-map-block .map-filter {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

    .customer-map .customer-map-block .map-filter li {
        margin-bottom: 0;
    }

    .customer-map .customer-map-block .map-filter .filter-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: transparent;
        border: 0;
        padding: 6px 0;
        cursor: pointer;
        color: #00557d;
        font-weight: 500;
        font-size: 18px;
    }

        .customer-map .customer-map-block .map-filter .filter-btn .dot {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: inline-block;
        }

        .customer-map .customer-map-block .map-filter .filter-btn.is-active {
            text-decoration: underline;
            text-underline-offset: 3px;
            font-weight: 700;
        }

    .customer-map .customer-map-block .map-filter .type-water .dot {
        background: #4498bb;
    }

    .customer-map .customer-map-block .map-filter .type-wastewater .dot {
        background: #34743b;
    }

    .customer-map .customer-map-block .map-filter .type-both .dot {
        background: #9a432e;
    }

    .customer-map .customer-map-block .map-filter .type-all .dot {
        background: #9aa7b1;
    }
