/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * 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 Goryachev Nikolay <nikol73333333@yandex.ru>
 * @copyright 2021-2022 Goryachev Nikolay
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
*/

.nglocation--loader:before,
.nglocation-modal--loader:before {
    background: url("../../img/loader.gif") no-repeat center;
    background-size: 100%;
}

.product-consumer_block .nglocation_consumer-data {
    background-color: #ffffff;
    padding: 15px 25px;
    box-shadow: 0 0 18px -10px #0089d1;
    border-radius: 16px;
    margin-top: 13px;
    font-size: 1.35em;
}
.product-miniature_info_list .nglocation_consumer-data {
    margin-bottom: 1em;
    font-size: 0.88em;
}
.nglocation_consumer-data_line {
    display: flex;
    margin-bottom: 0.55em;
    position: relative;
}
.nglocation_consumer-data_line:nth-last-child(1) {
    margin-bottom: 0;
}
.product-consumer_block .nglocation_consumer-data .nglocation_consumer-data_line:nth-last-child(1) {
    margin-bottom: 0;
}
.nglocation_consumer-data_label {
    color: #363636;
    font-size: 0.9em;
    padding-right: 0.35em;
    font-weight: 600;
}
.nglocation_consumer-data_value {
    color: #363636;
    font-size: 0.9em;
    padding-right: 0.35em;
}
.nglocation_consumer-data_link {
    display: inline;
    text-decoration: underline;
    color: #363636;
    padding-bottom: 3px;
    -webkit-transition: color 0.3s, border 0.3s;
    -moz-transition: color 0.3s, border 0.3s;
    -o-transition: color 0.3s, border 0.3s;
    transition: color 0.3s, border 0.3s;
}
.nglocation_consumer-data_focus-block {
    position: absolute;
    top: 0;
    right: -1.6em;
    width: 100vw;
    max-width: 300px;
    min-width: 100%;
    display: block !important;
    height: auto !important;
    visibility: hidden;
    opacity: 0;
    background-color: #ffffff;
    z-index: 1;
    padding: 2.3em !important;
    padding-top: 2.6em !important;
    border-radius: 1.3em;
    box-shadow: 0 0 18px -10px #0089d1;
    transform: translateY(-30%);
    -webkit-transition: opacity 0.3s, visibility 0.3s;
    -moz-transition: opacity 0.3s, visibility 0.3s;
    -o-transition: opacity 0.3s, visibility 0.3s;
    transition: opacity 0.3s, visibility 0.3s;
}
.product-miniature_info_list .nglocation_consumer-data_focus-block {
    right: 0;
}
.nglocation_consumer-data_focus-box.dropdown--open .nglocation_consumer-data_focus-block {
    visibility: visible;
    opacity: 1;
}
.nglocation_consumer-data_focus-close {
    position: absolute;
    right: 0.8em;
    top: 0.8em;
    font-size: 1.6em;
}
.nglocation_consumer-data_focus-close_icon:before {
    content: 'close';
}
.nglocation_consumer-data_line-label {
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.7em;
    font-size: 1.05em;
}
.nglocation_list-data_block {
    padding: 10px;
    margin-bottom: 10px;
}
.nglocation_list-data {
    display: flex;
    margin-bottom: 8px;
    clear: both;
}
.nglocation_list-data:nth-last-child(1) {
    margin-bottom: 0;
}
.nglocation_list-data_label {
    padding-right: 5px;
}
.nglocation_list-data_value_line {
    width: 100%;
    margin-bottom: 5px;
}
.nglocation_list-data_value_line:nth-last-child(1) {
    margin-bottom: 0;
}

.nglocation-btn-open-location {
    display: inline-flex;
}
.nglocation-btn-open-location_label {
    margin-right: 5px;
}
.nglocation-modal_content {
    border-radius: 16px;
}
.nglocation-modal_close {
    font-size: 28px;
}
.nglocation_block-location {
    display: flex;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.20);
    border-radius: 6px;
    font-size: 1.25em;
}
.mod-location-page .nglocation_block-location {
    margin-top: -20px;
}
.nglocation_block-location_elem {
    width: 140px;
    max-width: 140px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.20);
    border-radius: 6px 0 0 6px;
}
.nglocation_block-location_i {
    font-size: 5em;
    color: #008ad2;
}
.nglocation_block-location_i:before {
    content: '\E904';
}
.nglocation_block-location_data {
    -webkit-box-flex: 1;
    flex-grow: 1;
    color: #000000;
}
.nglocation_block-location_top-info {
    padding: 25px 30px;
    line-height: 1.2;
}
.nglocation_block-location_bottom-info {
    border-top: 1px solid #ececec;
    padding: 15px 30px;
    line-height: 1.2;
}
.nglocation_block-location_current {
    font-weight: 600;
    font-size: 21px;
    line-height: 1.2;
    padding-left: 15px;
}
.nglocation_block-location_btn {
    font-size: 0.8em;
    padding: 0.4em 1.85em;
    min-height: 3em;
}
@media(max-width: 768px) {
    .nglocation_block-location_top-info,
    .nglocation_block-location_bottom-info {
        padding: 20px;
    }
    .nglocation_block-location_elem {
        display: none;
    }
    .nglocation_block-location_current {
        display: block;
        width: 100%;
        padding-left: 0;
        text-align: center;
        margin-top: 10px;
    }
}
