.find-a-center-map {
    color: #404040;
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    display: block;
    height: 850px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* =====================
   GEOCODER / SEARCH
   ===================== */
.find-a-center-map .geocoder {
    box-shadow: none;
    margin: 0 auto 5% !important;
    background-color: var(--wp--preset--color--dark-blue);
    padding: 40px 20px;
    border-radius: 30px;
}

.find-a-center-map .geocoder .mapboxgl-ctrl-geocoder {
    box-shadow: none;
    width: 90% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 20px;
    font-family: "Quicksand", sans-serif !important;
}

.find-a-center-map .geocoder .mapboxgl-ctrl-geocoder input {
    outline: 1px solid var(--wp--preset--color--dark-gray);
    border-radius: 30px;
}

.find-a-center-map .geocoder .mapboxgl-ctrl-geocoder--input {
    height: 45px;
}

.find-a-center-map .geocoder .mapboxgl-ctrl-geocoder--icon-search {
    left: 10px;
    top: 13px;
}

.find-a-center-map .geocoder .heading {
    background-color: transparent;
}

.find-a-center-map .geocoder .heading h1 {
    color: #fff !important;
    font-weight: bold;
    padding: 0;
    font-size: 22px;
    margin: 0;
    line-height: 20px;
}

/* =====================
   LAYOUT: SIDEBAR & MAP
   ===================== */
.find-a-center-map .sidebar {
    position: absolute;
    width: 45%;
    height: 100%;
    top: 0;
    left: 5%;
    overflow: auto;
    margin-top: 2%;
}

.find-a-center-map .sidebar .instructions {
    font-size: 35px;
    font-weight: 500;
    color: var(--wp--preset--color--dark-blue);
    margin-bottom: 5%;
}

.find-a-center-map .map {
    position: absolute;
    left: 52%;
    width: 48%;
    top: 0;
    bottom: 0;
}

/* =====================
   LISTINGS
   ===================== */
.find-a-center-map .listings {
    height: 100%;
    padding-bottom: 60px;
}

.find-a-center-map .listings .item {
    border: 1px solid #C1C1C1;
    padding: 25px;
    text-decoration: none;
    margin-bottom: 2%;
    border-radius: 30px;
    display: flex;
    gap: 20px;
}

.find-a-center-map .listings .item:last-child {
    border-bottom: none;
}

.find-a-center-map .listings .item.hidden {
    display: none !important;
}

.find-a-center-map .listings .item.active {
    background-color: #f8f8f8;
}

/* Listing: Image */
.find-a-center-map .location-image {
    width: 35%;
    overflow: hidden;
}

.find-a-center-map .location-image img {
    width: 100%;
    height: 11vw;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    margin-bottom: 10px;
}

/* Listing: Text */
.find-a-center-map .text {
    width: 65%;
}

.find-a-center-map .listings .item .title {
    display: block;
    color: var(--wp--preset--color--dark-blue);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

.find-a-center-map .listings .item .title small {
    font-weight: 400;
}

.listings .item.active .title,
.find-a-center-map .listings .item .title:hover {
    color: var(--wp--preset--color--light-blue);
}

.find-a-center-map .text p,
.find-a-center-map .text p a {
    font-size: 16px;
    color: var(--wp--preset--color--dark-gray);
    margin-bottom: 5px;
}

.find-a-center-map .text p a:hover {
    text-decoration: underline;
}

/* Listing: Location Details */
.find-a-center-map .location-details {
    display: flex;
    flex-direction: column;
}

.find-a-center-map .location-details .address .button,
.find-a-center-map .location-details .phone-number.button {
    background-image: none;
    border: 0;
    color: var(--wp--preset--color--dark-gray) !important;
    padding: 0 !important;
    text-align: left;
    width: 100%;
    text-transform: none;
    letter-spacing: 0.6px;
    font-weight: 400 !important;
    background-color: transparent;
    margin-bottom: 5px !important;
}

.find-a-center-map .location-details .phone-number.button span,
.find-a-center-map .location-details .phone-number.button:focus span,
.find-a-center-map .location-details .phone-number.button:hover span {
    text-decoration: none !important;
}

/* Listing: Buttons */
.find-a-center-map .listings .item .buttons {
    gap: 10px;
    display: flex;
    margin-top: 10px;
}

.find-a-center-map .listings .item .buttons a {
    width: 50% !important;
    text-align: center;
}

.find-a-center-map .listings .item .buttons a.explore-center {
    padding: 8px 20px !important;
}

.find-a-center-map .listings .item .buttons a.get-started {
    background-color: #EEF0F4 !important;
    padding: 8px 20px !important;
    border: 1px solid var(--wp--preset--color--dark-blue) !important;
    color: var(--wp--preset--color--dark-blue) !important;
    background-image: none;
}

.find-a-center-map .listings .item .buttons a.get-started:hover {
    background-color: #fff !important;
    text-decoration: none !important;
    transition: 0.3s;
}

/* =====================
   MAP MARKERS
   ===================== */
.find-a-center-map .marker {
    border: none;
    cursor: pointer;
    height: 56px;
    width: 56px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* =====================
   MAP POPUPS
   ===================== */
.find-a-center-map .mapboxgl-popup {
    padding-bottom: 50px;
    width: 100%;
}

.find-a-center-map .mapboxgl-popup-close-button {
    display: block;
    color: #fff;
    margin-top: -6px;
    font-size: 20px;
}

.find-a-center-map .mapboxgl-popup-content {
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', sans-serif;
    padding: 0;
    width: 100%;
}

.find-a-center-map .mapboxgl-popup-content div {
    padding: 0;
}

.find-a-center-map .mapboxgl-popup-content h3 {
    background: var(--wp--preset--color--dark-blue);
    color: #fff !important;
    margin: 0;
    padding: 10px;
    border-radius: 3px 3px 0 0;
    font-weight: 700;
    margin-top: -15px;
    font-size: 20px;
}

.find-a-center-map .mapboxgl-popup-content h4 {
    margin: 0;
    padding: 10px;
    font-weight: 400;
    font-size: 16px;
}

.find-a-center-map .mapboxgl-popup-content .address,
.find-a-center-map .mapboxgl-popup-content .phone-number {
    padding: 10px 10px 0;
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 0;
}

.find-a-center-map .mapboxgl-popup-content .button {
    width: 90%;
    display: block;
    margin: 5% auto !important;
    text-align: center;
    padding: 10px 15px !important;
}

.find-a-center-map .mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
    margin-top: 15px;
}

.find-a-center-map .mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
    border-bottom-color: var(--wp--preset--color--dark-blue);
}

/* =====================
   SCROLLBAR
   ===================== */
.find-a-center-map ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    border-left: 0;
}

.find-a-center-map ::-webkit-scrollbar-track {
    background: none;
}

.find-a-center-map ::-webkit-scrollbar-thumb {
    background: #00853e;
    border-radius: 0;
}

/* =====================
   LINKS
   ===================== */
.find-a-center-map a {
    color: #404040;
    text-decoration: none;
}

.find-a-center-map a:hover {
    color: #101010;
    text-decoration: underline;
}

/* =====================
   MISC / HIDDEN
   ===================== */
#find-state,
.find-by-state {
    display: none !important;
}

/* =====================
   TABLET BREAKPOINT
   ===================== */
@media (max-width: 1090px) {
    .find-a-center-map {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .find-a-center-map .map {
        position: relative;
        left: 5%;
        width: 90%;
        height: 375px;
        order: 1;
    }

    .find-a-center-map .sidebar {
        position: relative;
        width: 90%;
        height: 500px;
        left: 5%;
        top: unset;
        order: 2;
        margin-top: 20px;
    }
}

/* =====================
   MOBILE BREAKPOINT
   ===================== */
@media (max-width: 630px) {
    .find-a-center-map .listings .item {
        flex-wrap: wrap;
        margin-bottom: 5%;
    }

    .find-a-center-map .location-image {
        width: 100%;
    }

    .find-a-center-map .location-image img {
        height: 50vw;
    }

    .find-a-center-map .text {
        width: 100%;
    }

    .find-a-center-map .geocoder {
        margin: 0 auto 10% !important;
    }

    .find-a-center-map .sidebar .instructions {
        font-size: 28px;
        line-height: 30px;
    }
}

@media (max-width: 530px) {
    .find-a-center-map .listings .item .buttons {
        flex-wrap: wrap;
    }

    .find-a-center-map .listings .item .buttons a {
        width: 100% !important;
    }
}