/**
* NOTICE OF LICENSE
*
* This source file is subject to a commercial license from SOLEDIS
* Use, copy, modification or distribution of this source file without written
* license agreement from the SOLEDIS GROUP is strictly forbidden.
*    ___  ___  _    ___ ___ ___ ___
*   / __|/ _ \| |  | __|   \_ _/ __|
*   \__ \ (_) | |__| _|| |) | |\__ \
*   |___/\___/|____|___|___/___|___/
*
*  @author    SOLEDIS <prestashop@groupe-soledis.com>
*  @copyright 2019 SOLEDIS
*  @license   All Rights Reserved
*/
.stores-map-container {
    border: 2px solid #f7f7f7;
    border-radius: 20px;
}
.stores-map-content {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
/* list stores */
.stores-map-fields {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 40px;
}
.stores-map-fields-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: #f7f7f7;
    padding: 4px 4px 4px 20px;
    border-radius: 30px;
}
.stores-map-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.stores-map-search-container {
    position: relative;
    z-index: 300;
}
.stores-map-search-label {
    margin-bottom: 0;
    margin-right: 10px;
}
.stores-map-search-field {
    min-width: 340px;
    border: none;
    background-color: transparent;
    font-size: 16px;
}
.sld-js-store-geolocation {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    margin-left: 10px;
    background-color: transparent;
    font-size: 16px;
}
.sld-js-store-geolocation span {
    text-decoration: underline;
    padding-left: 4px;
}
#stores-btn-search {
    margin-left: 20px;
    padding: 7px 10px;
    order: 1;
}
#stores-map-search-list {
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,.5);

}
#stores-map-search-list button {
    display: block;
    width: 100%;
    border-width: 0 0 1px 0;
    border-color: rgba(0,0,0,.2);
    text-align: left;
    padding: 6px 10px;
    background-color: transparent;
}
#stores-map-search-list button:hover {
    background-color: #E64C27;
    color: #fff;
}
.stores-list-container {
    background-color: #fff;
    border-radius: 20px;
    max-height: calc(700px - 40px);
    width: 100%;
}
.stores-list {
    max-height: 500px;
    max-width: 360px;
    width: 100%;
    height: 100%;
    overflow: auto;
}
#store_confirm_name span {
    display: inline-block;
    margin-right: 4px;
}
.stores-list_item {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px;
}
.stores-list_item.store-hide {
    display: none;
}
.stores-list_item.select {
    background-color: #d8d8d8;
}
.stores-list_item span {
    display: block;
    margin-bottom: 4px;
}
.stores-list-no-result {
    padding: 10px;
}
.sld-js-selected-store {
    text-transform: initial;
    font-size: 14px;
}

.stores-list::-webkit-scrollbar {
    width: 8px;
}
  
  /* Track */
.stores-list::-webkit-scrollbar-track {
    border-radius: 20px;
  }
   
  /* Handle */
.stores-list::-webkit-scrollbar-thumb {
    background: #e5e5e5; 
    border-radius: 20px;
  }
  
  /* Handle on hover */
.stores-list::-webkit-scrollbar-thumb:hover {
    background: #E64C27; 
  }

.link-underline {
    text-decoration: underline;
    font-weight: 700;
    text-transform: uppercase;
}
.link-underline:hover {
    color: #000;
}
/* map */
#sld-map-stores {
    flex: 1;
    min-width: 340px;
    min-height: 300px;
    height: 700px;
    max-height: 80vh;
}

.store-confirm {
    font-style: italic;
    padding: 20px 15px;
    display: none;
}
.store-confirm.active {
    display: block;
}
.store-confirm label {
    margin-bottom: 0;
}

.card-store {
    padding-left: 30px;
}
.card-store-location {
    border: none;
    background-color: transparent;
}
.text-underline {
    text-decoration: underline;
}

@media (min-width: 992px) {
    .stores-list-container {
        position: absolute;
        z-index: 200;
        top: 20px;
        left: 20px;
        overflow: hidden;
    }
    .stores-list-container {
        max-width: 360px;
    }
}
@media (max-width: 1219.98px) {
    .stores-map-fields {
        padding: 20px;
    }
}
@media (max-width: 991.98px) {
    .stores-map-container {
        margin-bottom: 20px;
    }
    .stores-map-content {
        flex-direction: column-reverse;
    }
    .stores-map-fields {
        justify-content: center;
    }
    .stores-map-search {
        flex-direction: column;
        align-items: flex-start;
    }
    .link-underline {
        margin-top: 20px;
    }
    .stores-list {
        max-width: 100%;
        height: 100%;
    }
    #stores-btn-search {
        margin-left: 10px;
    }
    .stores-list_item {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .stores-list_item span {
        display: inline-block;
        margin-right: 20px;
        display: flex;
        flex-direction: column;
    }
    .stores-list {
        max-height: 300px;
    }
}
@media (max-width: 575.98px) {
    .stores-map-container {
        position: relative;
    }
    .stores-map-fields-content {
        margin-bottom: 30px;
    }
    .stores-map-container,
    #bottom_section {
        margin-left: -15px;
        margin-right: -15px;
    }
    .stores-map-fields {
        padding: 10px;
    }
    .stores-map-search-field {
        min-width: 260px;
    }
    .sld-js-store-geolocation {
        margin-left: 0;
        order: 2;
        position: absolute;
        z-index: 10;
        top: 65px;
        left: 10px;
    }
}