body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100svh;
}

/* Set the size of the div element that contains the map */

.locator {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#map {
    height: 100%;
    flex: 1;
}

[data-elementor-type="footer"], [data-elementor-type="header"] {
    width: 100%;
}

.dealers {
    width: 450px;
    overflow-y: auto;
    height: 100%;
}
.dealers ul {
    list-style: none;
    padding: 0;
}

.dealer {
    padding: 2rem;
    border-bottom: 2px solid #eee;
    color: #666;
    font-size: 0.85rem;
}

.dealer .dealer-name {
    font-family: Teko, sans-serif;
    color: #F7941D;
    font-size: 1.25rem;
}

.dealer .links {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.dealer .links a {
    background: #F7941D;
    color: white;
    display: inline-block;
    border-radius: 0.2rem;
    padding: 0.2rem 1rem;
}

.form-wrapper {
    width: 100%;
    padding: 2rem 0;
    background-color: #29348f;
}
form {
    width: 100%;
    max-width: 80%;
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 0 auto;
}

form input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0;
    background-color: #fff;
    color: #29348f;
    /* font-family: 'Teko', sans-serif; */
    font-weight: 600;
    letter-spacing: .07rem;
    text-transform: uppercase !important;
    font-size: 1rem;
}

form label {
    font-family: 'Teko', sans-serif;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    text-wrap: nowrap;
    letter-spacing: .07rem;
}

form button[type="submit"] {
    background-color: #faa61a;
    color: #fff;
    font-family: 'Teko', sans-serif;
    font-weight: 600;
    letter-spacing: .07rem;
    text-transform: uppercase !important;
    font-size: 1rem;
    border: none;
    padding: 0.75rem 1rem;
    margin: 0;
    cursor: pointer;
    margin-left: -3rem;
    border-radius: 0;
}

.select-a-dealer {
    text-align: center;
    width: 100%;
    height: 100%;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}
.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loading::after {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    border: 3px solid #F7941D;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}