#map {
    height: 732px;
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid var(--backgrounds-card-secondary);
    margin-bottom: 32px;
}

.location-map-consent-placeholder {
    min-height: 732px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    margin-bottom: 32px;
    text-align: center;
    border: 1px solid var(--backgrounds-card-secondary);
    border-radius: var(--border-radius);
    background-color: var(--backgrounds-card-primary);
}

address {
    margin: 0;
}

address span {
    display: block;
}

.gm-style {
    font-family: var(--font-roma), Arial, sans-serif;
}

.gm-style .gm-style-iw-c {
    background-color: var(--backgrounds-card-primary);
    border: 1px solid var(--backgrounds-card-secondary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gm-style .gm-style-iw-tc::after {
    background: var(--backgrounds-card-primary);
}

.ziegler-maps-window {
    font-size: 16px;
    color: #3c3c3c;
    width: 320px;
}

.gm-ui-hover-effect > span {
    background-color: var(--text-primary);
}

.ziegler-maps-window h6 {
    font-family: var(--font-bold), sans-serif;
    font-size: 20px;
    color: var(--text-primary);
    text-transform: initial;
    margin-bottom: 8px;
    padding: 0;
}

.window-address {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    position: relative;
    margin-top: 20px;
    padding-left: 24px;
}

.window-address::before {
    content: '\f3c5';
    font-family: "Font Awesome 6 Pro", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 300;
    position: absolute;
    top: 0;
    left: 0;
}

.categories {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.categories .badge-item {
    font-family: var(--font-bold), sans-serif;
    font-size: 14px;
    line-height: normal;
    color: var(--text-primary);
    white-space: nowrap;
    padding: 4px 4px 4px 8px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    display: flex;
}

.categories .badge-item i {
    /*flex: 0 0 20px;*/
    width: 20px;
    margin-top: 2px;
}

#locationForm {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--backgrounds-card-secondary);
}

.contact-listing-top-content h1 {
    padding: 0;
    margin-bottom: 32px;
}

.location-listing-bottom-content {
    padding-top: 32px;
}

.location-listing-bottom-content .p-description {
    margin-bottom: 16px !important;
}

#ContactCount.model-listing-count {
    margin-top: 0;
    margin-bottom: 16px;
}

.location-agents {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.ziegler-maps-window .location-agents {
    margin-top: 20px;
}

.location-agent {
    background-color: var(--backgrounds-page);
    padding: 16px;
    border-radius: var(--border-radius);
    flex: 0 0 calc(34% - 16px);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    align-content: flex-start;
}

.location-agents-container {
    margin-bottom: 48px;
}

.location-agents-container .location-agents {
    margin-top: 0;
}

.location-agents-container .location-agent {
    flex: 0 0 100% !important;
}

.location-agents-container .location-agent-types {
    font-size: 16px;
    margin-bottom: 4px;
}

.ziegler-maps-window .location-agent {
    flex: 0 0 100% !important;
}

.map-pin {
    /*width: 28px;*/
    /*height: 28px;*/
}

.agent-name,
.agent-phone,
.agent-phone-mobile,
.agent-fax,
.agent-email,
.agent-web {
    font-size: 14px;
    line-height: 1.1;
    color: var(--text-primary);
    flex: 100%;
    padding-left: 26px;
    position: relative;
}

.agent-email a,
.agent-web a {
    text-decoration: none;
}

.agent-email a:hover,
.agent-web a:hover {
    text-decoration: underline;
}

.agent-name::before,
.agent-phone::before,
.agent-phone-mobile::before,
.agent-fax::before,
.agent-email::before,
.agent-web::before {
    font-family: "Font Awesome 6 Pro", sans-serif;
    font-size: 16px;
    font-weight: 300;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
}

.agent-name::before {
    content: '\f007';
}

.agent-phone::before {
    content: '\f095';
}

.agent-phone-mobile::before {
    content: '\f3ce';
}

.agent-fax::before {
    content: '\f1ac';
}

.agent-email::before {
    content: '\f0e0';
}

.agent-web::before {
    content: '\e60e';
}

#countyCol {
    display: none;
}

@media (max-width: 1199px) {
    #map {
        height: 520px;
    }

    .location-map-consent-placeholder {
        min-height: 520px;
    }

    #locationForm {
        padding-bottom: 8px;
        margin-bottom: 32px;
    }

    .location-agent {
        flex: 0 0 calc(34% - 16px);
    }
}

@media (max-width: 639px) {
    #map {
        height: 300px;
    }

    .location-map-consent-placeholder {
        min-height: 300px;
    }

    #locationForm {
        margin-bottom: 24px;
    }

    #locationForm .form-check-container {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    #locationForm .form-check-container .form-check {
        display: flex;
        flex: 0 0 calc(50% - 32px);
        padding-left: 30px;
    }

    #locationForm .form-check-container label {
        padding-left: 8px;
    }

    .ziegler-maps-window {
        width: 100%;
    }

    .ziegler-maps-window h6 {
        font-size: 16px;
    }

    .window-address {
        font-size: 12px;
        line-height: 1.5;
    }

    .window-address::before {
        line-height: 1.2;
    }

    .location-agent {
        font-size: 12px;
        flex: 0 0 100%;
    }

    .categories .badge-item {
        font-size: 12px;
    }

    .categories .badge-item i {
        /*flex: 0 0 16px;*/
        width: 16px;
        margin-top: 2px;
    }

    .map-pin {
        /*width: 24px !important;*/
        /*height: 24px !important;*/
    }

    .agent-name, .agent-phone, .agent-phone-mobile, .agent-fax, .agent-email, .agent-web {
        font-size: 12px;
    }

    .agent-name::before, .agent-phone::before, .agent-phone-mobile::before, .agent-fax::before, .agent-email::before, .agent-web::before {
        font-size: 12px;
    }
}
