/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2020 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* Always set the map height explicitly to define the size of the div
    * element that contains the map. */

#globalmap {
    position: relative;
    height: 800px;
    width:100%;
}

#map {
    height: 800px;
    width:100%;
    float:left;
}
#map-full-width {
    height: 100vh;
    width:100vw;
}
.menumap
{
    float:left;
    width:100%;

}

.menumap.hide {
    display: none;
}

nav#navmap {
    width: 100%;
    font-size: 16px;
    overflow-y: auto;
    height: 300px;
}

/* ENABLED */
.locationEnabled {
    display: none;
    margin-top: 10px;
}
.locationEnabled.show {
    display: block;
}


/* width */
nav#navmap::-webkit-scrollbar {
    width: 10px;
}

/* Track */
nav#navmap::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
nav#navmap::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
nav#navmap::-webkit-scrollbar-thumb:hover {
    background: #555;
}

nav#navmap input[type=checkbox] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: block;
    cursor: pointer;
}

nav#navmap ul {
    margin: 0;
    padding: 0;
}

nav#navmap a {
    display: block;
    padding: 15px 20px;
    color: #404040;
    text-decoration: none;
}

nav#navmap li {
    position: relative;
    float: left;
    width: 100%;
    list-style: none;
    color: #fff;
    transition: 0.5s;
    border-top: 1px solid #555;
}

nav#navmap li:first-child {
    border-top: none;
}

nav#navmap ul > li.sub > a:after {
    pointer-events: none;
    position: relative;
    float: right;
    content: '+';
    margin-top: -0.1em;
    font-size: 1.2em;
    vertical-align: middle;
    transition: 0.5s;
}

nav#navmap li:hover {
    background: #4096ee !important;
}

nav#navmap .submenu {
    max-height: 0;
    overflow: hidden;
    border-top: none;
    transition: max-height 0.5s ease-in-out;
}

nav#navmap input[type=checkbox]:checked ~ .submenu {
    max-height: 999px;
    border-top: 1px solid #555;
}

nav#navmap input[type=checkbox]:checked ~ a:after {
    transform: rotate(45deg);
}

nav#navmap .submenu a {
    padding: 10px 20px;
}

nav#navmap .submenu li {
    list-style-position: inside;
    list-style-type: square;
    background: #333;
}

nav#navmap .submenu li.sub {
    list-style: none;
}

nav#navmap .submenu li li {
    background: #3a3a3a;
}

nav#navmap .submenu li li li {
    background: #2a2a2a;
}

/* LIST MAPS */
.inditem {
    width: 100%;
    border: 1px solid #d6d6d6;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.inditem.highlight {
    background-color: #edeeed;
}

.inditem div {
    width: 100%;
    padding: 5px 10px;
}
.inditem div strong.name{
    font-size: 16px;
    color: #263238;
}

.inditem.expand div.info {
    background-color: #efefef;
}

.inditem .prodnum {
    position: absolute;
    font-size: 11px;
    bottom: 10px;
    right: 5px;
    color: #929292;
}

.inditem span.availability {
    font-weight: bold;
    font-size: 13px;
}
.inditem span.availability.open0 {
    color: #c5c5c5;
}

.inditem span.availability.open1 {
    color: #79b928ab;
}


.inditem .withproduct span.availability,
.inditem .withproduct strong.prodnum {
    color: #fff;
}

.inditem div.additional{
    display: none;
    background-color: #f9f9f9;
}

.inditem div.additional .map-address{
    display: block;
    font-size: 12px;
    margin-top: 10px;
}
.inditem div.additional .map-contact{
    font-size: 12px;
    color: #000;
    margin-top: 10px;
}

.inditem div.additional .openLabel{
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    color: #7ab929;
}


.inditem div.additional table{
    font-size: 12px;
}

.inditem > div:first-child{
    background-color: #ededed;
    position: relative;
}

.page-stores .inditem > div:first-child {
    background-color: white;
}

.inditem > div:first-child.withproduct{
    background-color: #79b928;
}

.expand.inditem {
    background-color: #f9f9f9;
}

#store .expand.inditem div:first-child{
    background-color: #f5f5f5;
}

.inditem.expand div.additional{
    background-color: #f9f9f9;
    display: block;
}

span.openmessage {
    position: relative;
    font-size: 12px;
    padding-left: 22px;
}
span.openmessage:before,
span.openmessage:after {
    content: " ";
    width: 5px;
    height: 5px;
    padding: 7px;
    position: absolute;
    border-radius: 100%;
    top: 0px;
    bottom: 0px;
    left: 0px;
    margin: auto;
}

span.openmessage:after {
    padding: 5px;
    background-color: red;
    left: 4px;
}

span.openmessage.open1 {
    color: #79b928;
}

span.openmessage.open1:before {
    border: 2px solid #79b928;
}

span.openmessage.open1:after {
    background-color: #79b928;
}

span.openmessage.open0:before {
    border: 2px solid grey;
}

span.openmessage.open0:after {
    background-color: grey;
}

span.openmessage.open0 {
    color: grey;
}

.inditem div.name {
    border-right: 1px solid #c3c3c3;
}

#description {
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
}

#infowindow-content .title {
    font-weight: bold;
}

#infowindow-content {
    display: none;
}

#map #infowindow-content {
    display: inline;
}

.pac-card {
    margin: 10px 10px 0 0;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    font-family: Roboto;
}

#pac-container {
    padding-bottom: 12px;
    margin-right: 12px;
}

.pac-controls {
    display: inline-block;
    padding: 5px 11px;
}

.pac-controls label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
}

#pac-input {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
}

#pac-input:focus {
    border-color: #4d90fe;
}

#title {
    color: #fff;
    background-color: #4d90fe;
    font-size: 25px;
    font-weight: 500;
    padding: 6px 12px;
}
#target {
    width: 345px;
}
.filter-container {
    display: none;
    padding: 9px;
    position: absolute;
    z-index: 3;
    background-color: white;
    width: 300px;
    top: 40px;
    left: 40px;
    padding-top: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

.filter-container input {
    border: 1px solid #c3bbbb;
    border-radius: 2px;
    margin-bottom: 20px;
    width: 100%;
    padding: 12px;
    background-color: #fff;
    font-size: 12px !important;
}

.filter-container button {
    border-radius: 3px;
    margin-bottom: 10px;
    width: auto;
    margin: 10px;
    padding: 12px;
    font-size: 13px !important;
    background-color: #79b928;
    color: #fff;
    font-weight: bold;
    border: none;
}
.filter-container p.text-center {
    color: #848280;
    font-size: 13px;
}

.filter-container .searchbox {
    width: 100%;
    text-align: center;
}

.filter-container .searchbutton {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.search-ui {
    padding-left: 10px;
    padding-right: 10px;
}

.ui-widget {
    display: none;
}

.ui-widget.show {
    display: block;
}

/* MAP OPTIONS */
.mapoptions {
    display: flex;
    text-align: center;
    margin-bottom: 20px;
}
.mapoptions > div:first-child {
    border-right: 1px solid #dedede;
}
.mapoptions > div {
    width: 50%;
    color: grey;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    padding-top: 15px;
    cursor: pointer;
    padding-bottom: 15px;
    background-color: #f6f6f6;
}

.mapoptions > div.active {
    color: black;
    background-color: white;
}

div.geolocation-ui {
    text-align: center;
}


/* INFOBOX */
.infobox {
    margin: 10px;
    width: 220px;
    position: relative;
    overflow: hidden;
}

.infobox img {
    display: block;
    width: 150px;
    margin: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}

.infobox strong.name {
    font-weight: bold;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.infobox p {
    font-size: 12px;
}

.infobox .btn.btn-store {
    background-color: #7ab929;
    margin-top: 15px;
    color: #fff !important;
    font-weight: bold;
    width: 100%;
    font-size: 14px;
}

.infobox .btn.btn-direction {
    position: absolute;
    right: 0px;
    bottom: 40px;
    font-size: 12px;
}

.geolocation-ui .infobox {
    width: 95%;
    text-align: left;
}

.geolocation-ui .infobox img {
    margin-left: 0px;
}

.geolocation-ui .infobox a.changestore {
    display: none;
}

button.gm-ui-hover-effect {
    right: 5px !important;
    top: 5px !important;
}

.gm-style .gm-style-iw-c {
    border-radius: 0px !important;
}

#stores #wrapper {
    padding: 0px !important
}

#stores #wrapper .page-header h1 {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px !important;
    margin-top: 20px;
    font-size: 24px;
    letter-spacing: .02em;
}

#stores #wrapper > .container {
    width: 100% !important;
    padding: 0px;
    max-width: 100%;
}

#stores .page-stores {
    width: 100%;
    margin-right: 0px;
    display: block;
    margin-left: 0px;
}

.fl-green {
    color: #7ab829 !important;
}

/* Preloader */

.preload {
    display: none;
    position: absolute;
    z-index: 999;
    background-color: white;
    height: 100%;
    width: 100%;
    background-image: url(../../loading.gif);
    background-size: 150px;
    background-repeat: no-repeat;
    background-position: center 50px;
    opacity: .97;
}

.preload.show {
    display: block;
}

/* NEAREST LOCATION  */
#fnl {
    position: fixed;
    background-color: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    margin: auto;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    display: none;
}

#fnl.show {
    display: flex!important;
    flex-direction: column;
}

#fnl .marl-close {
    position: absolute;
    z-index: 999;
    right: 12px;
    top: 12px;
    color: #000;
    padding: 0;
    cursor: pointer;
    font-size: 18px;
    width: 32px;
}


#fnl .marl-close:hover {
    color: #79B928;
}
#fnl .marl-close:before {
    font-weight: bold;
}


#fnl .marl-modal,
#fnl .fnl-selectOptions {
    padding: 15px;
    position: relative;
    width: 70%;
    margin-top: auto;
    margin-bottom: auto;
    background-color: #fff;
    cursor: auto;
    flex-shrink: 0;
    opacity: 1;
    display: none;
    height: auto;
}


#fnl .marl-modal.show {
    display: block;
}

#fnl .fnl-selectOptions.show {
    display: block;
}

#fnl .mapbody {
    display: flex;
}

#fnl .mapbody .storelist {
    width: 30%;
    padding: 0px;
    overflow-y: auto;
    height: 540px;
    position: relative;
    padding-right: 5px;
    border: 1px solid #c3c0c0;
}

#product-stock-locator-filters .storelist {
    overflow-y: auto;
    max-height: 340px;
}
/* width */
.storelist::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.storelist::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.storelist::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.storelist::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#fnl .mapbody .mapview {
    width: 70%
}


#fnl .mapbody .mapview #map{
    height: 500px;
}

#fnl .searchgroup {
    width: 100%;
    display: flex;
}

#fnl .marl-modal.optionmodal {
    text-align: center;
}
#fnl .marl-modal.optionmodal .searchgroup {
    width: 300px;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

#fnl .searchgroup input {
    width: calc(100% - 40px);
    padding: 10px;
    border-right: 0;
    border-radius: 4px 0 0 4px;
}

#fnl .searchgroup button {
    width: 50px;
    padding: 5px;
    font-size: 20px;
    border-radius: 0 4px 4px 0;
}

#fnl .searchgroup button span {
    color: #fff;
}

#fnl button.mine {
    margin: auto;
    margin-top: 20px;
}

#fnl .filters {
    border: 1px solid #bbb;
    padding: 16px;
    margin-bottom: 5px;
    margin-top: 20px;
    line-height: 12px;
}

#fnl .filters > div {
    display: inline-block;
}

#fnl .filters input {
    margin-left: 10px;
}

#marlemap-store-page {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: auto;
    max-width: none !important;
    margin-right: 10px;
}

#marlemap-store-page > i.fl-outicons-pin12 {
    margin-right: 5px;
    font-size: 21px;
    cursor: pointer;
}

#marlemap-store-page div {
    display: none;
    flex-wrap: wrap;
    width: 200px;
    position: absolute;
    left: 30px;
    top: 8px;
}
#marlemap-store-page.selct i {
    color: #79b929;
}

#marlemap-store-page:hover div {
    display: flex;
}

#marlemap-store-page span {
    line-height: 14px;
    background-color: white;
    /* max-width: 168px; */
    /* text-overflow: ellipsis; */
    /* overflow: hidden; */
}
#marlemap-store-page span:first-child {
    color: #000;
    font-weight: bold;
}

#marlemap-store-page span:first-child:hover {
    color: #79b929;
}

.mobileStoreName {
    text-align: center;
    display: none;
}

@media (max-width: 1200px) {
    #fnl .marl-modal {
        width: 80%;
    }
}

#fnl .warningModal,
#fnl .optionmodal,
#fnl .infoModal {
    max-width: 509px;
    width: 100% !important;
    text-align: center;
    padding: 30px;
}

#fnl .warningModal .modal-top,
#fnl .infoModal .modal-top {
    padding-bottom: 22px;
}

#fnl .warningModal h3,
#fnl .infoModal h3 {
    font-size: 30px;
    line-height: 34px;
    margin-bottom: 18px;
    margin-top: 25px;
    padding: 0;
    border:0;
    color: #000;
    font-weight: bold;
}

#fnl .warningModal p,
#fnl .infoModal p {
    font-size: 14px;
    line-height: 21px;
    color: #5d5d5d;
}
#fnl .warningModal p span,
#fnl .infoModal p span {
    display: block;
}

@media (max-width: 991px) {
    #fnl {
        padding: 0 15px;
    }
}


@media (max-width: 991px) {
    #fnl .marl-modal,
    #fnl .fnl-selectOptions {
        width: 90%;
        overflow-y: auto;
    }

    #fnl .filters {
        padding: 10px;
    }

    #fnl .filters > div {
        font-size: 13px;
    }

    #fnl .mapbody .storelist {
        width: 40%;
    }

    #fnl .mapbody .mapview {
        width: 60%;
    }
}

@media (max-width: 767px) {
    #fnl {
        padding-top: 0px;
    }

    #fnl .filters > div {
        font-size: 11px;
    }


    #fnl .searchgroup input {
        padding: 5px;
    }

    #fnl .filters > div:first-child {
        margin-bottom: 10px;
        display: block;
    }

    #fnl .filters input {
        margin-left: 0px;
    }
    #fnl .mapbody {
        flex-direction: column-reverse;
        height: 400px;
    }

    #fnl .mapbody .storelist {
        height: 400px;
        padding-right: 0px;
    }
    #fnl .mapbody .mapview,
    #fnl .mapbody .storelist {
        width: 100%;
    }

    #fnl .mapbody .mapview #map {
        display: none;
    }

    .mobileStoreName.show {
        display: block;
    }

    .filter-container {
        position: relative;
        width: 100%;
        left: 0px;
        padding: 0px;
        box-shadow: none;
        border-bottom: 1px solid #b5b1b1;
        border-top: 1px solid #e0e0e0;
    }
    .geolocation-ui .infobox a.changestore {
        display: block;
    }

    #product-stock-locator-filters .storelist {
        max-height: 630px;
    }

    #stores #wrapper .page-header h1 {
        text-align: center;
    }

    #marlemap-store-page {
        white-space: nowrap;
        align-items: center;
        margin-right: 0;
    }
    #marlemap-store-page div,
    #marlemap-store-page:hover div  {
        display: none;
    }

    #marlemap-store-page > i.fl-outicons-pin12 {
        font-size: 28px;
        margin-right: 0;
    }

    .page-stores #map {
        display: none;
    }
}

.modal-btns-buttons .btn{
    margin-bottom: 10px;
    position: static;
}


/* CHANGE STORE BUTTON */
button.changestore {
    border: none;
    font-size: 14px;
    margin: 10px 0px;
    padding: 5px 15px;
    background-color: #565656;
    color: #fff;
    font-weight: bold;
}

#product .changestore {
    display: none;
}
#product .has_product .changestore {
    display: block;
}

.modals .modalTitle {
    font-size: 14px;
}

.pac-container {
    z-index: 10000!important;
}

.single-produkty .storelist table tr td {
    border: none!important;
    font-size: 13px;
    padding: 0 5px 0 0;
}

.single-produkty .storelist table tr td:nth-child(1) {
    text-align: left;
}
.current-store {
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 14px;
    color: #000;
}
.current-store strong {
    color: #000;
}
