/**
 * Public styles for Store Locator plugin
 */

.store-locator-container .store-locator-search-copy {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.store-locator-container .store-locator-map {
    width: 100%;
    height: var(--store-locator-map-height, 500px);
}

.store-locator-container .page-sedi {
    margin-top: 3rem;
}

.store-locator-container .page-sedi.is-hidden {
    display: none;
}

.store-locator-container .griglia-sedi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.store-locator-container .sede {
    padding: 20px;
    border: 1px solid #666;
}

.store-locator-container .sede h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.store-locator-container .sede__nearest {
    display: none;
    margin-bottom: 10px;
    padding: 5px 10px;
    background-color: var(--green-cisl);
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.store-locator-container .sede--nearest .sede__nearest {
    display: block;
}

.store-locator-container .sede__hours {
    margin-top: 2rem;
}

.gm-style-iw-d .sede {
    width: 250px !important;
    border: none !important;
    padding: 0 0 20px !important;
}

.store-locator-container .form-sedi {
    display: none;
    position: relative;
    z-index: 1;
    margin-bottom: -24px;
}

.store-locator-container .form-sedi.is-ready {
    display: flex;
}

.store-locator-container .searchform-sedi {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.store-locator-container .searchform-sedi input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.store-locator-container .map-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    padding: 2rem;
    border: 1px dashed #ccc;
    background-color: #f4f4f4;
    text-align: center;
}

.store-locator-container .map-placeholder p {
    max-width: 600px;
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.store-locator-container .map-placeholder .iub-reconsent-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #0073e6;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.store-locator-container .map-placeholder .iub-reconsent-button:hover {
    background-color: #005bb5;
}

.store-locator-container .title-line h2 {
    /* font-size: 1.5rem; */
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

.store-locator-container .wrapper.page-sedi {
    padding: 0 20px;
}

@media screen and (max-width: 960px) {
    .store-locator-container .griglia-sedi {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .store-locator-container .griglia-sedi {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .store-locator-container .sede {
        padding: 15px;
    }
}
