body {
    padding: 0;
    margin: 0;
}

/* html, body, #mapCon, #map {
    height: 100%;
    width: 100vw;
} */
html, body {
    height: 100%;
    width: 100vw;
}

#mapCon {
    height: calc(100% - 56px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

#map {
    height: calc(100% - 56px);
    width: 90%;
    position: relative;
}

#attributionCon {
    position: absolute;
    bottom: 0;
    right: 0;
    /* width: 200px; */
    /* height: 30px; */
    /* background-color: rgba(255, 255, 255, .5); */
    /* background-color: darkslategray; */
    background-color: rgb(255, 254, 255);
    z-index: 1001;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#attributionCon > * {
    font-size: 12px;
}
#attributionCon > img {
    display: block;
}

#attributionCon > a {
    display: block;
    text-decoration: none;
}

#attributionCon > .divider {
    width: 1px;
    height: 10px;
    background-color: black;
}

#attributionCon span {
    display: block;
}


.storeList-expanBtnCon {
    display: none;
}


.mapFilterCon {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 400px;
    background-color: #fff;
    border: 1px solid #ccc;;
    border-top: none;
    z-index: 1000;
    padding: 20px;
    overflow: scroll;
    cursor: default;
}

.mapFilterTitleCon-mobile {
    display: none;
}

/* .mapFilterTitle-mobile {
    display: none;
} */

/* .leaflet-marker-icon.store-marker {
    display: none !important;
} */
.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive.store-marker {
    display: none !important;
}

.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive.store-marker.vis {
    display: block !important;
}

.leaflet-marker-shadow.store-marker {
    display: none !important;
}

.leaflet-marker-shadow.store-marker.vis {
    display: block !important;
}

#searchBar-searchBtn-con {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 20px 0;
}

#storeList-searchBar {
    display: block;
    font-size: 15px;
    padding: 5px 7px;
    /* border-radius: 10px; */
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    /* border-left: 2px solid rgb(254, 206, 17);
    border-top: 2px solid rgb(254, 206, 17);
    border-bottom: 2px solid rgb(254, 206, 17); */
    border-left: 2px solid black;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-right: none;

    background-color: var(--cs-gray);
    /* width: 100%;
    max-width: 300px; */
    width: 300px;
}
#storeList-searchBar:focus {
    /* border: 2px solid black; */
    outline: none !important;
    background-color: rgb(246, 243, 240);;
    /* outline: 1px solid var(--cs-yellow); */
    /* box-shadow: 0 0 10px var(--dm-blue); */
}

#storeList-searchBarBtn {
    display: block;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    border-top-right-radius: 20px 20px;
    border-bottom-right-radius: 20px 20px;
    background-color: black;
    border: 2px solid black;
    padding: 0 15px 0 10px;
    cursor: pointer;
}

#storeList-searchBarBtn > svg {
    aspect-ratio: 1 / 1;
    width: 25px;
}


.filterWrapper {
    display: flex;
    /* justify-content: space-between; */
    justify-content: flex-start;
    align-items: flex-end;
    gap: 0 10px;
    margin: 0 0 20px 0;
}

.filterCon {
    display: flex;
    flex-direction: column;
}



label {
    /* font-size: 20px; */
    font-size: 16px;
    cursor: pointer;
}

/* input[type="text"] {
    font-size: 16px;
    margin: 10px 0 10px 0;
    padding: 5px;
    width: 100%;
    background-color: var(--bg-sec);
    display: block;
    border: 1px solid gray;
    outline: none;
}

input[hidden] {
    display: none;
} */

input[type="text"]:focus,
select:focus {
    /* border: 1px solid aliceblue; */
    outline: 1px solid aliceblue;
}

select {
    font-size: 16px;
    background-color: var(--cs-gray);
    border: 1px solid gray;
    margin: 5px 0 0 0;
    display: block;
}

.resetPrefFiltersBtn.nearPrefFilterBtns {
    background-color: rgb(254, 206, 17);
    border: 1px solid black;
    border-radius: 15px;
    display: block;
    justify-content: center;
    align-items: center;
    height: 40px;
    height: 23.5px;
    width: 80px;
    font-size: 12px;
    cursor: pointer;
}










.storeList-filteredData-titleCon {
    /* border: 1px solid blue; */
    display: none;
    flex-direction: column;
    /* align-items: center;
    justify-content: center; */
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.storeList-filteredData-titleCon.vis {
    display: flex;

}


.storeList-filteredData-titleCon > h4 {
    width: 88%;
    /* border: 1px solid red; */
    margin: 0 0 10px 0;
}
.storeList-filteredData-titleCon > p {
    width: 88%;
    /* border: 1px solid red; */
    margin: 0 0 10px 0;
}


.storeList-filteredData-wrapper {
    display: none;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 30px 0;
    border: 1px solid rgba(0, 0, 0, 0);
    cursor: pointer;

}
.storeList-filteredData-wrapper.vis {
    display: flex;
}
.storeList-filteredData-wrapper.vis:hover {
    /* border: 1px solid rgba(0, 0, 0, .5); */
    box-shadow: 0 0 7px rgba(0, 0, 0, .2)
}

.storeList-filteredData-wrapper.vis.selected > 
.storeList-filteredData-mainCon > 
.storeList-singleStore-flexCon {
    flex-direction: column;
    gap: 20px 0;
}

.storeList-filteredData-wrapper.vis.selected > 
.storeList-filteredData-mainCon > 
.storeList-singleStore-flexCon > 
.left-fc {
    width: 100%;
}
.storeList-filteredData-wrapper.vis.selected > 
.storeList-filteredData-mainCon > 
.storeList-singleStore-flexCon > 
.right-fc {
    width: 100%;
    justify-content: flex-start;
}



.storeList-filteredData-mainCon {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    /* border: 1px solid blueviolet; */
    background-color: white;
    padding: 10px;
}


.storeList-singleStore-flexCon {
    display: none;
    width: 100%;
    padding: 10px;
}

.storeList-singleStore-flexCon.vis {
    display: flex;
}



.storeList-singleStore-flexCon > .left-fc {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* border: 1px solid green; */
    overflow: scroll;
}

.storeList-singleStore-flexCon > .left-fc > .shop,
.storeList-singleStore-flexCon > .left-fc > .store {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.storeList-singleStore-flexCon > .left-fc > .address {
    font-size: 12px;
    white-space: nowrap;
}
.storeList-singleStore-flexCon > .left-fc > .phone {
    font-size: 12px;
    white-space: nowrap;
}

.storeList-singleStore-flexCon > .left-fc > .zip,
.storeList-singleStore-flexCon > .left-fc > .prefecture,
.storeList-singleStore-flexCon > .left-fc > .region,
.storeList-singleStore-flexCon > .left-fc > .storeID {
    display: none;
}


.storeList-singleStore-flexCon > .right-fc {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid green; */
}

.storeList-singleStore-flexCon > .right-fc > .mapDeMiruLinkCon {
    aspect-ratio: 3 / 1;
    border-radius: 20px;
    width: 80px;
    min-width: 80px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background-color: var(--cs-gray);
    color: black;
    position: relative;
}

.storeList-singleStore-flexCon > .right-fc > .mapDeMiruLinkCon > p {
   font-size: 12px;
   white-space: nowrap;
}

/* .storeList-singleStore-flexCon > .right-fc > .mapDeMiruLinkCon > .directionsIcon-svg {
    aspect-ratio: 1 / 1;
    height: 25px;
    width: 25px;
} */
.storeList-singleStore-flexCon > .right-fc > .mapDeMiruLinkCon > .directionsIcon-png {
    aspect-ratio: 1 / 1;
    height: 25px;
    width: 25px;
    display: block;
}

.storeList-singleStore-flexCon > .right-fc > .mapDeMiruLinkCon > a {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}







/* general mapDeMiruLinkCon used for SL popups direction btn styling */
.store-popup > .mapDeMiruLinkCon {
    margin-top: 10px;
}
.mapDeMiruLinkCon {
    aspect-ratio: 3 / 1;
    border-radius: 20px;
    width: 80px;
    min-width: 80px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background-color: var(--cs-gray);
    color: black;
    position: relative;
}

.mapDeMiruLinkCon > p {
   font-size: 12px;
   white-space: nowrap;
}

.mapDeMiruLinkCon > .directionsIcon-png {
    aspect-ratio: 1 / 1;
    height: 25px;
    width: 25px;
    display: block;
}

.mapDeMiruLinkCon > a {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}






/* mobile */
/* .mapFilterWrapper {
    display: none;
    width: 0;
    height: 0;
} */




@media only screen and (max-width: 768px) {
    /* #mapCon {
    height: calc(100% - 56px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    }

    #map {
        height: calc(100% - 56px);
        width: 90%;
        position: relative;
    } */

    /* .mapFilterWrapper {
        display: flex;
        width: 100%;
        height: calc(100% - 56px);
    } */

    header {
        display: none;
    }

    footer {
        display: none;
    }

    #mapCon {
        /* height: calc(100% - 56px); */
        height: 100vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        width: 100vw;
    }

    #map {
        height: 100%;
        width: 100%;
        position: relative;
    }



    .storeList-expanBtnCon {
        display: block;
        /* background-color: red; */
        height: 30px;
        width: 60px;
        position: absolute;
        left: 50%;
        bottom: 75px;
        transform: translateX(-50%);
        z-index: 1001;
        /* border: 1px solid #ccc;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px; */
    }
    .storeList-expanBtnCon.active {
        /* left: auto; */
        left: calc(50% + 115px);
        bottom: auto;
        /* right: 90px; */
        top: 117px;
        /* transform: translateX(0); */
        transform: translateX(-50%);
        z-index: 1001;
        /* border: 1px solid #ccc;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px; */
    }
    .storeList-expanBtnCon.active > .storeList-expandBtn {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
         border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .storeList-expandBtn {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0;
        border: none;
        border: 1px solid #ccc;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        cursor: pointer;
    }

    .upArrow-svg {
        width: 20px;
        height: 20px;
        position: absolute;
        left: 50%;
        right: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.4s ease;
        transform-origin: center center;
    }
    .upArrow-svg.flip {
        /* transform: translate(-50%, -50%) rotate(180deg); */
        transform: translate(-50%, -50%) rotateX(180deg);
    }




    .mapFilterCon {
        position: absolute;
        right: 0;
        top: auto;
        bottom: 0px;
        height: 76px;
        width: 100%;
        background-color: #fff;
        /* border: 1px solid #ccc; */
        border: none;
        border-top: 1px solid #ccc;
        z-index: 1000;
        /* padding: 20px; */
        padding: 0px;
        overflow: scroll;
        cursor: default;
    }

    .mapFilterCon.expanded {
        height: 100%;
        padding-top: 95px;
    }

    .mapFilterTitleCon-mobile {
        display: block;
        position: relative;
        width: 100%;
        padding: 15px 0 25px 0;
    }

    .mapFilterTitle-mobile {
        display: block;
        text-align: center;
        /* margin: 15px 0 25px 0; */
    }

    #searchBar-searchBtn-con {
        display: flex;
        justify-content: center;
        align-items: center;
        /* margin: 20px 0 20px 0; */
        margin: 0px;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }

    .filterWrapper {
        display: flex;
        /* justify-content: space-between; */
        justify-content: flex-start;
        align-items: flex-end;
        gap: 0 10px;
        /* margin: 0 0 20px 0; */
        margin: 0;
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;

    }

    
}

@media only screen and (max-width: 450px) {
    #searchBar-searchBtn-con {
        left: auto;
        right: 7px;
        transform: translateX(0%);
        width: calc(100% - 60px);
    }
    #storeList-searchBar {
        /* width: 300px; */
        width: 100%;
    }
    .filterWrapper {
        left: auto;
        transform: translateX(0%);
        right: 7px;
    }

    label {
        font-size: 12px;
    }
    select {
        font-size: 12px;
    }
    .resetPrefFiltersBtn.nearPrefFilterBtns {
        background-color: rgb(254, 206, 17);
        border: 1px solid black;
        border-radius: 15px;
        display: block;
        justify-content: center;
        align-items: center;
        height: 40px;
        height: 23.5px;
        width: 80px;
        font-size: 12px;
        cursor: pointer;
    }
}