.aaaf-open-map {
    box-sizing: border-box;
    min-height: 260px;
    width: 100%;
}

.aaaf-store-locator {
    box-sizing: border-box;
    container-type: inline-size;
    margin: 0 auto;
    max-width: 1210px;
    min-width: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

.aaaf-map-search {
    align-items: end;
    background: #f4f4f4;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
    padding: 13px;
}

.aaaf-map-search label {
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
}

.aaaf-map-search label span {
    display: block;
    margin: 0 0 8px;
}

.aaaf-map-search .aaaf-map-location-field {
    flex: 1 1 290px;
    min-width: 0;
}

.aaaf-map-search input,
.aaaf-map-search select {
    background: #fff;
    border: 1px solid #d8d8d8;
    box-sizing: border-box;
    display: block;
    font: inherit;
    min-height: 36px;
    padding: 6px 10px;
    width: 100%;
}

/* Enfold's #top form rule adds a 20px bottom margin to every input. */
#top .aaaf-map-search input[type="search"],
#top .aaaf-map-search select {
    font: inherit;
    margin: 0;
}

.aaaf-map-search button,
.aaaf-location-results button,
.aaaf-location-results a {
    cursor: pointer;
}

.aaaf-map-search button {
    background: #006548;
    border: 1px solid #006548;
    box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
    color: #fff;
    font: inherit;
    min-height: 36px;
    padding: 0 14px;
}

.aaaf-map-search button:hover,
.aaaf-map-search button:focus {
    background: #ef9f53;
    border-color: #ef9f53;
    color: #181818;
}

.aaaf-map-search .aaaf-map-near-me {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #006548;
    text-decoration: underline;
}

.aaaf-map-search .aaaf-map-near-me:hover,
.aaaf-map-search .aaaf-map-near-me:focus {
    background: transparent;
    color: #006548;
}

.aaaf-map-search > button {
    align-self: flex-end;
}

.aaaf-map-status:empty {
    display: none;
}

.aaaf-locator-content {
    display: grid;
    grid-template-columns: minmax(240px, 32%) minmax(0, 1fr);
    min-height: 600px;
}

.aaaf-locator-results-panel {
    border-right: 1px solid #ddd;
    max-height: 600px;
    min-width: 0;
    overflow-y: auto;
}

.aaaf-locator-content .aaaf-store-locator-map {
    height: 600px !important;
    min-height: 600px;
}

.aaaf-map-origin-marker {
    background: #fff;
    border: 3px solid #ef9f53;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 35%);
    box-sizing: border-box;
    display: block;
    height: 18px;
    width: 18px;
}

.aaaf-locator-results-panel .aaaf-map-status {
    color: #555;
    font-size: 13px;
    margin: 0;
    padding: 12px 12px 5px;
}

.aaaf-location-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aaaf-store-locator .aaaf-location-results,
.aaaf-store-locator .aaaf-location-results li {
    list-style: none !important;
}

.aaaf-store-locator .aaaf-location-results li::marker {
    content: '';
}

.aaaf-location-result {
    border-bottom: 1px dotted #d5d5d5;
    padding: 13px 12px 12px;
}

.aaaf-location-result:last-child {
    border-bottom: 0;
}

.aaaf-location-title,
.aaaf-location-phone,
.aaaf-location-directions {
    color: #006548;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.aaaf-location-title:hover,
.aaaf-location-title:focus,
.aaaf-location-phone:hover,
.aaaf-location-phone:focus,
.aaaf-location-directions:hover,
.aaaf-location-directions:focus {
    text-decoration: underline;
}

.aaaf-location-focus {
    background: transparent;
    border: 0;
    color: #222;
    display: block;
    font: inherit;
    line-height: 1.45;
    overflow-wrap: anywhere;
    padding: 3px 0 0;
    text-align: left;
    width: 100%;
}

.aaaf-location-distance {
    display: block;
    font-size: 13px;
    margin: 10px 0 3px;
}

.aaaf-location-phone {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin: 3px 0;
}

.aaaf-location-directions {
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 960px) {
    .aaaf-locator-content {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .aaaf-locator-content .aaaf-store-locator-map {
        order: -1;
    }

    .aaaf-locator-results-panel {
        border-right: 0;
        max-height: none;
    }
}

@container (max-width: 760px) {
    .aaaf-locator-content {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .aaaf-locator-content .aaaf-store-locator-map {
        order: -1;
    }

    .aaaf-locator-results-panel {
        border-right: 0;
        max-height: none;
    }
}

@media (max-width: 767px) {
    .aaaf-map-search {
        align-items: stretch;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .aaaf-map-search label {
        min-width: 0;
        margin: 0;
    }

    .aaaf-map-search .aaaf-map-location-field {
        grid-column: 1 / -1;
    }

    #top .aaaf-map-search input[type="search"],
    #top .aaaf-map-search select,
    .aaaf-map-search > button {
        min-height: 44px;
    }

    .aaaf-map-search > button {
        align-self: stretch;
        margin: 0;
        width: 100%;
    }

    .aaaf-locator-content .aaaf-store-locator-map {
        height: 380px !important;
        min-height: 380px;
    }

    .aaaf-map-search .aaaf-map-near-me {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 442px) {
    .aaaf-map-search {
        grid-template-columns: minmax(0, 1fr);
    }

    .aaaf-locator-content .aaaf-store-locator-map {
        height: 320px !important;
        min-height: 320px;
    }
}


