/**
* 2007-2022 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-2022 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.
*/

.product-miniature-regular-price .product-detail-regular-price{
    font-size: 16px;
    line-height: 1.13;
}

.product-miniature-regular-price div{
    font-size: 14px;
}

.ktk-sap-loading{
    display: inline;
    width: 25px;
}



.pla th, .pla td {
    padding:5px 10px!important;
}

.pla .table {
    margin-bottom:10px!important;
}

#pla_matrix .ctp_checked {
    background:var(--light);
}

#pla_matrix .ctp_checked:hover {
    background:var(--light) !important;
}

article #pla_matrix thead th {
    padding:0.9rem;
    background: none;
    font-size: 15px !important;    
}

article #pla_matrix thead th.headerSortUp {
    background: none;
}

article #pla_matrix thead th.headerSortDown {
    background: none;
}
#pla_matrix thead th.pla_addtocart{ 
    text-align:right; 
    padding-right:30px;
}

#pla_matrix thead th.nosort {
    background: none !important;
    padding: 5px !important;
    margin-right: 0px !important;
    cursor: default !important;
}

#pla_matrix thead {
    cursor: pointer;
}

#pla_matrix thead.nosort {
    cursor: default;
}

#pla_matrix thead.nosort th {
    background: none !important;
    padding: 5px !important;
    margin-right: 0px !important;
    cursor: default !important;
}

#pla_matrix {
    width: 100%;
    font-size:1.0rem;
}

#pla_matrix tr.pla_matrix_row:hover {
    background:var(--light);
}

#pla_matrix tr.pla_matrix_row:hover td {}

#pla_matrix .pla_matrix_head {
    font-weight: bold;
    text-shadow: 1px 1px 0px #FFF;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #e5e5e5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0); /* IE6-9 */
}

#pla_matrix .volume_discount {
    display:block;
    clear:both;
    margin-bottom:5px;
}
#pla_matrix td, #pla_matrix th {
    text-align: center;
    vertical-align: middle;
    padding: 0.95rem;
}
#pla_matrix td.pla_cname{
    max-width:430px;
}
body#product #pla_matrix td.pla_cname {
    max-width: 240px;
}
#pla_matrix .qty {
    margin: 0px;
    border: 1px solid var(--gray-200);
    font-size: 12px;
    width: 40px; height:30px;
    text-align: center;
    position: relative;
    top:-1px;
    box-sizing: border-box;
}

.bulk_option_add_to_cart {
    display: block;
    clear: both;
    overflow: hidden;
    padding: 5px;
}

.bulk_option_add_to_cart p {
    display: block;
    clear: both;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
}

.bulk_option_add_to_cart .buttons_bottom_block {
    padding: 0px;
}

.increase_quantity, .decrease_quantity {
    cursor: pointer;
    display: inline-block;
    width:30px; height:30px;
    margin:0px; padding:0px;
    background:#000;
    text-align:center; color:#fff;
    line-height:30px;
}
.combinations_tab_price {
    text-align:right;
    margin-left:10px;
    display:block;
    float:right;
}

.pla_atr_name {
    display:inline-block;
}

.pla_attr_div {
    display:block; border: 1px dotted #DDD;
    padding:2px 0px;
    margin: 2px 0px;
}


.pla_matrix_dropdown .pla_matrix {
    display: none;
}

.pla_matrix_dropdown .pla_matrix {
    position:static;
    background:transparent;
    left:auto;
    width:100%;
}
.pla_matrix_dropdown {
    position:relative;
}
.pla_matrix_dropdown .pla_matrix_dropdown_block {
    text-align:center;
    cursor:pointer;
    padding:6px 15px;
}
.cdown::after{
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
    margin-top:0px!important;
}

.pla_matrix_dropdown .crotate {
    float: right;
}

.pla_matrix_dropdown .crotate::after {
    content: "\E5CF";
    font-family: "Material Icons";
    display: inline-block;
    font-size: 23px;
    line-height: 18px;
    color: #c0c0c0;
    margin-top:2px;
}

.pla_matrix_dropdown .pla_matrix_show {
    display:table!important;
}
@media(max-width:767){
    .pla_matrix_dropdown .pla_matrix_show {
        display:block !important;
    }    
}
.pla_matrix_dropdown .pla_matrix_show {
    border-collapse: collapse!important;
}
.pla_matrix_dropdown .nobrdown {
    border-bottom:none!important;
}
.increase_quantity img, .decrease_quantity img {
    margin:0px!important;
}
#pla_matrix .ct_submit {
    clear: none;
    display: block;
    font-size: 14px;
    padding: 7px 14px;
    margin: 0px 0px 0px 15px;
    float: right;
    color: #fff;
    text-transform: uppercase;
}
#pla_matrix .ct_submit.pla_submit_bulk {
    margin: 0px;
    padding: 7px 19px;
}
#pla_matrix .ct_submit_nostock {
    position: relative;
    top: 0px;
    opacity: 0.5;
    background:var(--gray-400);
    color:#FFF;
    cursor: not-allowed;
}

.pla_popup .crotate::after {
    content: "\E8FF" !important;
    font-family: "Material Icons";
    display: inline-block;
    font-size: 18px;
    line-height: 18px;
    color: #c0c0c0;
    right: 10px;
    position: absolute;
}

.product-miniature .thumbnail-container {
    overflow: inherit!Important;
}

.fancybox-inner #pla_matrix {
    font-weight: bold;
    text-shadow: 1px 1px 0px #FFF;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;;
}

.fancybox-inner #pla_matrix .ct_submit {
    text-shadow: none !important;
}

.pla_color_parent {
    border:1px solid #4a4a4a;
}

.pla_color_parent .pla_color {
    display: block;
    clear: both;
    min-width: 25px;
    height: 25px;
    padding: 1px;
    border: 1px solid #FFF;
}

.pla_fancy .fancybox-inner {
    height: auto !important;
}
#pla_matrix td.pla_addtocart{ 
    text-align:right; 
    min-width: 280px;
}
#pla_matrix .pla_price{
    color:var(--primary);
}
#pla_matrix .pla_price strike{
    color:var(--gray-500);
    padding-right:5px;
}

/* Responsive */
@media (max-width: 767px){
    table#pla_matrix,
    table#pla_matrix thead,
    table#pla_matrix th,
    table#pla_matrix td,
    table#pla_matrix tr,
    table#pla_matrix tbody,
    table#pla_matrix tfoot{
        display:block;
        width:100%;
    }
    /*table#pla_matrix{
        display:none;
    }*/
    table#pla_matrix thead{
        display:none;
    }
    #pla_matrix td.pla_addtocart {
        text-align: center;
    }
    table#pla_matrix th, table#pla_matrix td {
        border-top:none;
    }    
    table#pla_matrix tr{
        border-top: 1px solid #d8d8d8;
        padding:0.5rem 0rem;
    }
    #pla_matrix td, #pla_matrix th {
        text-align: center;
        vertical-align: middle;
        padding:0.5rem 0.8rem;
    }    
    #pla_matrix .ct_submit {
        margin: 0px 0px 0px 22px;
        float: right;
        width: calc(100% - 132px);
    }    
    #pla_matrix .ct_submit.pla_submit_bulk {
        margin: 0px auto;
        padding: 7px 19px;
        float: none;
    }    
}

/* Spinner */
.spinner {
    float:right;
    display:none;
    margin-left: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: conic-gradient(#0000 10%,#fff);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 2px),#000 0);
    animation: spinner-zp9dbg 1s infinite linear;
}
 
 @keyframes spinner-zp9dbg {
    to {
       transform: rotate(1turn);
    }
 }

 /* Cerca nella tabella */
.cerca-nella-tabella-wrapper{
    display:none;
    padding:13px 10px; margin:0px;
}
.cerca-nella-tabella-input-wrapper{
    display:inline-block;
    position:relative;
}
.cerca-nella-tabella{
    background: #FFFFFF;
    margin: 0px; padding: 12px 35px 12px 17px;
    border-radius: 4px;
    font-size: 12px; line-height: 1.0;
    color: #000000; text-transform: uppercase;
    color: var(--gray-500);
    border: 1px solid var(--gray-300);    
    width: 220px; max-width: 100%;    
    max-height: 35px;
}
.cerca-nella-tabella-input-wrapper .fa-search{
    position: absolute;
    right:10px; top:7px;
    color:#000;
}

@media (max-width: 1080px){
    #pla_matrix td.pla_cname { max-width: 230px; }
    body#product #pla_matrix td.pla_cname { max-width: 200px; }    
}
@media (max-width: 767px){
    .cerca-nella-tabella-wrapper{ padding:15px 10px; }
    .cerca-nella-tabella-input-wrapper{ width:100%; }
    .cerca-nella-tabella{ width:100%; max-width: 100%; }
    #pla_matrix td.pla_cname,    
    body#product #pla_matrix td.pla_cname { max-width: 100%; }    
}