/* 
Theme Name: Ave2
Template: hello-elementor
*/

/* stile ave 2 */

/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input[type=search]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.align-right {
    text-align: right;
}

.btn-ave:link,
.btn-ave:visited {
    border-radius: var(--ave-button-radius);
    font-family: "Inter", Sans-serif;
    padding: 8px 16px;
    font-size: var(--ave-button-font-size);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 200ms ease-in-out;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}

.btn-ave:hover,
.btn-ave.red:hover {
    border-color: var(--e-global-color-primary) !important;
    background: var(--e-global-color-primary);
    color: #fff !important;
}

.btn-ave.red {
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    color: #fff;
}

#tabella_prodotti {
    border: 0;
}

#tabella_prodotti tr {
    background: transparent;
    border: 0;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}

#tabella_prodotti th,
#tabella_prodotti td {
    border: 0;
    padding: 15px;
    vertical-align: middle;
    text-align: left;
    background: transparent;
}

#tabella_prodotti td {
    font-size: 16px;
    font-weight: 200;
}

#tabella_prodotti td.prezzo,
#tabella_prodotti td.codice {
    font-size: 19.2px;
    font-weight: bold;
}

#tabella_prodotti thead tr {
    border: 0;
}

#tabella_prodotti thead th {
    background-color: var(--e-global-color-478f046);
    font-weight: bold;
    text-transform: uppercase;
}

#tabella_prodotti img {
    width: 92px;
    height: auto;
    border: 1px solid var(--e-global-color-478f046);
    border-radius: var(--ave-button-radius);
}

#tabella_prodotti input {
    border: 1px solid var(--e-global-color-478f046);
    border-radius: var(--ave-button-radius);
}

#tabella_prodotti .btn-ave {
    display: block;
    width: 100%;
}

#tabella_prodotti a:link,
#tabella_prodotti a:visited {
    color: #000;
}

#tabella_prodotti img {
    background: url(assets/images/spinner.gif) center no-repeat;
    background-size: contain;
}

@media (max-width: 767px) {
    #tabella_prodotti thead {
        display: none;
    }

    #tabella_prodotti,
    #tabella_prodotti td {
        display: block;
    }

    #tabella_prodotti tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    #tabella_prodotti td.immagine {
        flex: 0 0 35%;
        order: 1;
        padding-bottom: 0;
    }

    #tabella_prodotti td.descrizione {
        order: 2;
        flex: 0 0 65%;
        padding-bottom: 0;
    }

    #tabella_prodotti td.codice {
        order: 3;
        flex: 0 0 35%;
        padding-top: 0;
    }

    #tabella_prodotti td.codice::before {
        content: attr(data-title);
        display: block;
        font-size: 10px;
        font-weight: 200;
        text-transform: uppercase;
    }

    #tabella_prodotti td.prezzo {
        order: 4;
        flex: 0 0 30%;
        padding-top: 0;
    }

    #tabella_prodotti td.prezzo::before {
        content: attr(data-title);
        display: block;
        font-size: 10px;
        font-weight: 200;
        text-transform: uppercase;
    }

    #tabella_prodotti td.azioni {
        order: 5;
        flex: 0 0 100%;
        display: none;
    }

    #tabella_prodotti img {
        width: 100%;
        border: 0;
    }
}


#tab_prodotto .tabs {
    display: flex;
    justify-content: flex-start;
}

#tab_prodotto .tabs .tab {
    flex: 0 0 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 100ms ease-in-out;
}

#tab_prodotto .tabs .tab.active {
    background: #fff;
    color: var(--e-global-color-primary);
}

#tab_prodotto .mobile_title {
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    display: block;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 2px;
    display: none;
    position: relative;
}

#tab_prodotto .mobile_title i {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: all 200ms ease-in-out;
}

#tab_prodotto .tab_content {
    display: none;
    background: #fff;
    padding: 25px;
}

#tab_prodotto .tab_content.active .mobile_title i {
    transform: translateY(-50%) rotate(180deg);
}

#tab_prodotto h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0px;
    background: #d53221;
    padding: 15px 15px;
    border-radius: 10px 20px 0 0;
}

#tab_prodotto table.dati {
    border-collapse: collapse;
}

#tab_prodotto table.dati,
#tab_prodotto table.dati tr,
#tab_prodotto table.dati td,
#tab_prodotto table.dati th {
    background: none;
    border: 0;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 300;
}

#tab_prodotto table.dati th {
    text-align: left;
    font-weight: 600;
    width: 65%;
}

#tab_prodotto table.dati tr {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

#tab_prodotto table.dati.download td {
    text-align: right;
}

@media (min-width: 768px) {
    #tab_prodotto .row {
        display: flex;
        justify-content: space-between;
    }

    #tab_prodotto .row .col {
        flex: 0 0 47.5%;
    }
}

@media (max-width: 767px) {
    #tab_prodotto .tabs {
        display: none;
    }

    #tab_prodotto .mobile_title {
        display: flex;
    }

    #tab_prodotto .tab_content {
        display: block;
        background: transparent;
        padding: 0;
    }

    #tab_prodotto .tab_content .tab_inner {
        display: none;
        padding: 20px;
        /* background: #fff; */
    }

    #tab_prodotto .tab_content.active .tab_inner {
        display: block;
    }

    #tab_prodotto .row .col:nth-child(2) {
        margin-top: -16px;
    }
}

img.raee {
    max-width: 43px;
    height: auto;
}

#infinite-scroll {
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#infinite-scroll img.loading {
    height: 96px;
    width: auto;
    display: none;
}

#copy_capitolato p {
    font-weight: 300;
}

.check_count_or_hide:not(.has_elements) {
    display: none;
}







@media (max-width: 767px) {

    /* Allinea immagine prodotto a sinistra */
    .product-item .product-image {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    #tabella_prodotti_2026.grid .product-image {
        min-height: 0px !important;
    }
}

@media (max-width: 767px) {
    .product-info {
        padding: 0px 15px 15px !important;
        /* top, left/right, bottom */
    }
}