/***** COUNTY CENTRE ARCHIVE CSS *****/
body.tax-county.archive.custom-background {
    background-color: #f4f4f4;
}

body.tax-county .container.map {
    position: relative;
}

body.tax-county #map {
    height: 540px;
    margin-top: 48px;
    margin-bottom: 32px;
}

body.tax-county #clinics-map-filters {
    background: #fff;
    bottom: 50px;
    box-shadow: 0 8px 25px rgba(112, 110, 110, .15);
    min-width: 348px;
    left: 18px;
    position: absolute !important;
    z-index: 999;
}

body.tax-county #clinics-map-filters .locatii {
    background-color: #fff;
    border: 0;
    display: block;
    padding: 0;
    z-index: 999;
}

body.tax-county .marker-cluster,
body.tax-county .marker-cluster-small,
body.tax-county .marker-cluster-medium,
body.tax-county .marker-cluster-large {
    background-color: #fff !important;
}

body.tax-county .marker-cluster div,
body.tax-county .marker-cluster-small div,
body.tax-county .marker-cluster-medium div,
body.tax-county .marker-cluster-large div {
    background-color: #da291c !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
}

body.tax-county .leaflet-control-zoom {
    border: 1px solid #999 !important;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(112, 110, 110, .15);
}

body.tax-county .leaflet-control-zoom a,
body.tax-county .leaflet-touch .leaflet-control-zoom-in,
body.tax-county .leaflet-touch .leaflet-control-zoom-out {
    background-color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #ed1d25 !important;
    font-size: 22px;
    font-weight: 700;
}

body.tax-county .leaflet-control-zoom a:first-child {
    border-bottom: 1px solid #999 !important;
}

body.tax-county .leaflet-control-zoom a:hover,
body.tax-county .leaflet-control-zoom a:focus {
    background-color: #fff !important;
    color: #ed1d25 !important;
}

body.tax-county .leaflet-container a.leaflet-popup-close-button {
    color: #ed1d25 !important;
}

body.tax-county .leaflet-control-attribution a {
    color: #ed1d25 !important;
}

body.tax-county .leaflet-popup-content-wrapper {
    border-radius: 0;
}

body.tax-county .county-map-popup-title {
    color: #ed1d25 !important;
    display: block;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 8px;
    text-decoration: none;
}

body.tax-county .county-map-popup-title:hover,
body.tax-county .county-map-popup-title:focus {
    color: #da291c !important;
}

body.tax-county .county-map-popup-address {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

body.tax-county #clinics {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}

body.tax-county #clinics .clinic {
    background-color: #F4F4F4;
    box-shadow: unset;
    width: unset;
    max-width: 324px;
    padding: 32px;
}

body.tax-county #clinics .clinic.show_center {
    display: flex;
}
body #clinics .clinic .name div,
body #clinics .clinic .address,
body #clinics .clinic .clinic-details {
    margin-left: 0;
}
body #clinics .clinic .address {
    margin-bottom: 0;
}
body.tax-county #clinics .clinic .name div,
body.tax-county #clinics .clinic .address,
body.tax-county #clinics .clinic .clinic-details {
    width: 100%;
}
body #clinics .clinic .clinic-details .title {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 20.16px;
    margin-bottom: 4px;
}
body.tax-county #clinics .clinic .buttons {
    margin-top: auto;
}
body #clinics .clinic .clinic-details .text {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20.16px;
}
body.tax-county #clinics .clinic .buttons a {
    cursor: pointer;
}
body #clinics .clinic .clinic-details {
    margin-top: 24px;
    gap: 12px;
}
body.tax-county #clinics .no-locations {
    width: 100%;
}
body .container {
    max-width: 1368px;
}
body.footer-top-visible .footer-nav-widgets-wrapper {
    margin-top: 1px;
}
body #clinics .clinic .name {
    font-size: 27px;
    font-weight: 700;
    line-height: 31.32px;
    margin-top: 8px;
}
body #clinics .clinic .address {
    font-size: 16px;
    font-weight: 400;
    line-height: 23.04px;
    letter-spacing: -0.005em;
    margin-top: 8px;
    min-height: 70px;
}
body #clinics .clinic .buttons {
    padding-top: 24px;
    justify-content: space-between;
    gap: 8px;
}
body #clinics .clinic .buttons a {
    font-size: 14px;
    font-weight: 600;
    line-height: 16.94px;
    letter-spacing: -0.005em;
}
body .red-button {
    padding: 16px 20.5px !important;
}
body .white-button {
    border: 0;
    padding: 16px 24px !important;
}

@media screen and (max-width: 1000px) {
    body.tax-county #breadcrumbs {
        margin-left: 12px !important;
    }

    body.tax-county #map {
        margin-top: 24px;
        margin-bottom: 0;
    }

    body.tax-county #clinics-map-filters {
        bottom: unset;
        box-shadow: unset;
        left: 0;
        margin-bottom: -20px;
        position: relative !important;
        transform: unset;
    }

    body.tax-county #clinics {
        display: block;
        padding-left: 0;
        padding-right: 0;
        margin-top:  32px;
    }

    body.tax-county #clinics .clinic.show_center {
        display: flex;
    }

    body.tax-county #clinics .clinic {
        max-width: unset;
    }
    body #clinics .clinic .buttons {
        justify-content: unset;
    }
    body #clinics .clinic .clinic-details {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 370px) {
    body.tax-county .red-button,
    body.tax-county .white-button {
        padding: 16px !important;
    }
}
