/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*.store__title{*/
/*    display: none;*/
/*}*/

.store__logo{
    width: 70px;
    object-fit: contain;
}

@keyframes scrollText {
    from {
        translate: 80%
    }

    to {
        translate: -80%
    }
}

.imm-store-locator {
    margin: 80px 0 120px;
    position: relative;
    display: flex;
    /* flex-direction: row-reverse; */
    gap: 12px;
    font-family: "filson-pro", "arial", "sans serif";
}

@media(max-width: 767px) {
    .imm-store-locator {
        margin:36px 0
    }
}

.storelocator-icon{
    max-width: 24px;
}

.imm-store-locator__filter-search {
    width: 100%;
    height: 24px;
    padding: 16px 5px;
    background-color: rgba(0,0,0,0);
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 26.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Livello_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cpath d='M10,2c1.1,0,2.1,0.2,3.1,0.6s1.8,1,2.5,1.7c0.7,0.7,1.3,1.6,1.7,2.5S18,8.9,18,10c0,1.1-0.2,2.1-0.6,3.1 c-0.3,0.7-0.7,1.3-1.1,1.9l5.3,5.4c0.1,0.1,0.2,0.2,0.2,0.3c0,0.1,0.1,0.2,0.1,0.4c0,0.2,0,0.3-0.1,0.5c-0.1,0.1-0.2,0.3-0.3,0.4 C21.2,22,21,22,20.8,22c-0.1,0-0.3,0-0.4-0.1c-0.1,0-0.2-0.1-0.3-0.2l-5.4-5.4c-0.5,0.4-1.1,0.7-1.7,1c-1,0.4-2,0.6-3.1,0.6 c-1.1,0-2.1-0.2-3.1-0.6s-1.8-1-2.5-1.7C3.6,14.9,3,14,2.6,13.1S2,11.1,2,10c0-1.1,0.2-2.1,0.6-3.1s1-1.8,1.7-2.5S5.9,3,6.9,2.6 S8.9,2,10,2z M10,3.3c-0.9,0-1.8,0.2-2.6,0.5S5.9,4.7,5.3,5.3S4.2,6.6,3.8,7.4C3.5,8.2,3.3,9.1,3.3,10c0,0.9,0.2,1.8,0.5,2.6 c0.3,0.8,0.8,1.5,1.4,2.1c0.6,0.6,1.3,1.1,2.1,1.4c0.8,0.3,1.7,0.5,2.6,0.5c0.9,0,1.8-0.2,2.6-0.5c0.8-0.3,1.5-0.8,2.1-1.4 c0.6-0.6,1.1-1.3,1.4-2.1c0.3-0.8,0.5-1.7,0.5-2.6c0-0.9-0.2-1.8-0.5-2.6c-0.3-0.8-0.8-1.5-1.4-2.1s-1.3-1.1-2.1-1.4 S10.9,3.3,10,3.3z'/%3E%3C/svg%3E%0A");
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: 100%;
    border: none;
    border-bottom: 1px solid #16355B;
    appearance: none;
    -webkit-appearance: none;
    font-size: 16px;
    color: #16355B;
}

.imm-store-locator__filter-search:focus,.imm-store-locator__filter-search:focus-visible {
    outline-color: #16355B
}

.imm-store-locator__filter-position {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    color: #16355B;
    background-color: rgba(0,0,0,0);
    border: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer
}

@media(max-width: 1024px) {
    .imm-store-locator__filter-position {
        justify-content:center
    }
}

.imm-store-locator__filter-position svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: 15px;
    fill: #16355B
}

.imm-store-locator__stores {
    scrollbar-color: #16355B rgba(74,74,74,.05);
    scrollbar-width: thin
}

.imm-store-locator__stores::-webkit-scrollbar {
    width: 5px;
    border-radius: 10px
}

.imm-store-locator__stores::-webkit-scrollbar-track {
    background-color: rgba(74,74,74,.05);
    border-radius: 10px;
    border: none;
    width: 5px
}

.imm-store-locator__stores::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 10px;
    width: 5px;
    border: none
}

.imm-store-locator__stores-list-item {
    background: #F6F6F6;
    border-radius: 10px;
    overflow: hidden;
}

.imm-store-locator__stores-list-item .store-item .dett_negozio_nome {
    color: #16355B;
    display: block;
    margin-bottom: 24px;
    font-weight: 700
}

.imm-store-locator__stores-list-item .store-item > .data{
    padding: 10px 20px;
}

.imm-store-locator__stores-list-item .store-item__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px
}

.imm-store-locator__stores-list-item .store-item__contacts>p {
    display: flex;
    align-items: center;
    gap: 7px
}

.imm-store-locator__stores-list-item .store-item__contacts>p>a,.imm-store-locator__stores-list-item .store-item__contacts>p>span {
    font-size: 16px;
    color: #16355B;
    font-weight: 400;
    text-decoration: none
}

.imm-store-locator__stores-list-item .store-item__contacts>p>a:hover {
    text-decoration: underline
}

.imm-store-locator__stores-list-item .store-item__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.imm-store-locator__stores-list-item .store-item__actions>span>a {
    text-decoration: none;
}


.imm-store-locator__stores-list-item .store-item__actions .button-secondary {
    color: #16355B;
    background-color: transparent;
    box-shadow: inset 0px 0px 0px 1px #16355B;
}

.imm-store-locator__stores-list-item .store-item__link {
    margin-top: 35px
}

.imm-store-locator__stores-list-item .store-item__link .button--primary {
    padding: 7px 15px
}

.imm-store-locator__map .store-item.popup {
    background-color: #fff
}

.imm-store-locator__map .store-item.popup .store-item__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px
}

.imm-store-locator__map .store-item.popup .store-item__contacts>p {
    display: flex;
    align-items: center;
    gap: 4px;
}

.imm-store-locator__map .store-item.popup .store-item__contacts>p>img{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.imm-store-locator__map .store-item.popup .store-item__contacts>p>a,
.imm-store-locator__map .store-item.popup .store-item__contacts>p>span {
    font-family: "filson-pro", "arial", "sans serif";
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0;
    color:  #16355B;
    text-decoration: none;
}

.imm-store-locator__map .store-item.popup .store-item__contacts>p>a:hover {
    text-decoration: underline
}

.imm-store-locator__map .store-item.popup .store-item__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-direction: column
}

.imm-store-locator__map .store-item.popup .store-item__actions>span>a {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.imm-store-locator__map .store-item.popup .store-item__link {
    margin-top: 35px
}

.imm-store-locator__map .store-item.popup .store-item__link .button--primary {
    padding: 7px 15px
}

.imm-store-locator__map .store-item.popup .store__title {
    color: #16355B;
    display: block;
    margin-bottom: 20px;
    font-weight: 700
}

.imm-store-locator__map .gm-style-iw {
    padding: 25px !important;
    max-width: 380px !important;
    min-width: 300px !important;
    border-radius: 0;
    box-shadow: none
}

@media(max-width: 1024px) {
    .imm-store-locator__map .gm-style-iw {
        max-width:280px !important;
        min-width: 280px !important;
        padding: 25px 10px !important
    }
}

.imm-store-locator__map .gm-style-iw>button {
    top: 0 !important;
    right: 0 !important;
    width: 24px !important;
    height: 24px !important;
    margin: 5px !important
}

.imm-store-locator__map .gm-style-iw>button>span {
    width: 24px !important;
    height: 24px !important;
    margin: 0px !important
}

.imm-store-locator__map .gm-style-iw-d {
    overflow-x: auto !important
}

.imm-store-locator .imm-store-locator__title {
    margin-bottom: 20px
}

.imm-store-locator .imm-store-locator__filter-text {
    margin-bottom: 40px
}


@media(max-width: 1024px) {
    .imm-store-locator {
        flex-direction:column;
        position: relative
    }

    .imm-store-locator__stores {
        overflow-x: scroll;
        margin: 680px -15px 0 -15px;
        padding: 0px 15px;
    }

    .imm-store-locator__stores-list {
        max-height: 600px
    }

    .imm-store-locator__stores-list-item:not(:first-child) {
        margin-top: 15px
    }

    .imm-store-locator__map {
        position: absolute !important;
        margin-top: 370px;
        width: 100%;
        height: 600px;
        overflow: hidden
    }

    .imm-store-locator__filter {
        min-height: 320px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .imm-store-locator__filter-leggend {
        position: relative !important;
        order: 1;
        margin-top: 20px;
    }

}

@media(min-width: 1025px) {
    .imm-store-locator {
        justify-content:space-between;
        height: 800px
    }

    .imm-store-locator__sidebar {
        display: flex;
        flex-direction: column;
        flex: 0 0 40%;
        min-width: 400px
    }

    .imm-store-locator__stores {
        flex: 1;
        margin-top: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 12px
    }

    .imm-store-locator__stores-list-item:not(:first-child) {
        margin-top: 15px
    }

    .imm-store-locator__map {
        flex: 1;
        height: 100%;
        overflow: hidden;
        margin-top: 40px;
    }
}

@keyframes scrollText {
    from {
        translate: 80%
    }

    to {
        translate: -80%
    }
}

@media(max-width: 767px) {
    .pg-store-locator .store-locator {
        padding-top:60px;
        padding-bottom: 80px
    }

    .pg-store-locator .store-locator__wrapper {
        margin-top: 35px
    }
}

@media(min-width: 768px) {
    .pg-store-locator .store-locator {
        padding-top:80px;
        padding-bottom: 100px
    }

    .pg-store-locator .store-locator__wrapper {
        margin-top: 70px
    }
}


p.store__distance.p--regular {
    margin-bottom: 20px;
}

.pac-container {
   
    z-index: 1000; /* Assicura che sia sopra altri elementi */
}

/* Per mantenere il logo di Google nella posizione corretta */
.pac-container.pac-logo:after {
    height: 18px;
    padding-right: 16px;
}

/* Stile per i suggerimenti */
.pac-container .pac-item {
    padding: 8px;
    cursor: pointer;
}

.gm-style-iw-chr {
    position: absolute;
    right: 0px;
    top: 0px;
}

.store-item__top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    background-color: #16355B;
    padding: 10px 20px;
    color: white;
    min-height: 44px;
}

.store-item__top.a29-plus
{
    background-color: #00B1B2;
}

.store-item__top.a29-energy-to-build
{
    background-color: #16355B;
}

.store-item__top.a29-group
{
    background-color: #16355B;
}


.store-item__top .store-item__category
{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 700;
}

.store-item__badge
{
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    background-color: #73869D;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.store-item__badge.a29-plus
{
    background-color: #00B1B2;
}

.store-item__badge.a29-energy-to-build
{
    background-color: #16355B;
}

.store-item__badge.a29-group
{
    background-color: #73869D;
}


.imm-store-locator__filter-leggend
{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    position: absolute;
    top: 0px;
    right: 0px;
}

.imm-store-locator__filter-leggend-wrap 
{
    display: flex;
    gap: 20px;
}

.imm-store-locator__filter-leggend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.imm-store-locator__filter-leggend-item h3
{
    font-weight: 700;
}

.imm-store-locator__filter-leggend img 
{
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

