/**
* 2007-2024 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-2024 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.
*/

#optologic-btn-prices {
    position: fixed;
    bottom: 10px;
    left: 10px;
    display: block;
}

#pagenotfound #optologic-btn-prices,
#authentication #optologic-btn-prices,
body.pl-not-authenticated #optologic-btn-prices
{
    display: none;
}

.optologic-public-price-label,
.optologic-your-price-label {
    color: white;
    padding: 4px 10px;
    margin-right: 10px;
    display: inline-block;
    font-size: 12px;
    line-height: 12px;
    font-weight: normal;
}

.optologic-public-price-label {
    background-color: #FB8C00;
}

.optologic-your-price-label {
    background-color: #43A047;
}

body.show-optologic-price #optologic-btn-prices 
{
    background-color: #E53935;
}

.optologic-your-price
{
    visibility: hidden;
}

body.show-optologic-price .optologic-your-price {
    visibility: visible;
}

body:not(.show-optologic-price) .modal-dialog .modal-body .cart-content>*:not(.cart-content-btn),
body:not(.show-optologic-price) .modal-dialog .modal-body .product-price
{
    display: none !important;
}


body:not(.show-optologic-price) .product-miniature .thumbnail-container .optologic-your-price{
    visibility: hidden !important;
}


body:not(.show-optologic-price)#module-pl_isell_prestashop_basic-elenchi td[data-name="prezzo"]
{
    color: transparent;
}

body.show-optologic-price#module-pl_isell_prestashop_basic-elenchi td[data-name="prezzo"]
{
    color: inherit;
}

.product-miniature .thumbnail-container .optologic-your-price-value,
.product-miniature .thumbnail-container .optologic-public-price-value
{
    padding-top: 8px;
    padding-bottom: 5px;
    display: block;
}

.product-miniature .thumbnail-container .optologic-public-price-label,
.product-miniature .thumbnail-container .optologic-your-price-label {
    margin-right: 0px;
}

#product .ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
  }