.sm_head_main {
    float: left;
    width: 100%;
    font-weight: 600;
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-top: 2px solid black;
    border-bottom: 1px solid black;
    background-color: #1D8BCB;
    color: white;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: 600;

    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.sm_head_sub {
    float: left;
    width: 100%;
    border-left: 1.5px solid black;
    border-right: 1.5px solid black;
    background-color: lightblue;

    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.sm_row {
    float: left;
    width: 100%;
    border-left: 1.5px solid black;
    border-right: 1.5px solid black;
}

.sm_head_sub {
    height: 3rem;
}

.sm_row {
    height: 3rem;
}

.sm_head_sub_trasporto {
    height: 5.5rem;
}

/**************************************************************************************/

.sm_cell_note, .sm_cell_total, .sm_cell_price, .sm_cell_qty, .sm_cell_action {
    border: 1px solid black;
    height: 100%; /* Basato sul parent, che è definito dopo */
    float: left;
    margin: 0px;
    padding: 0.3rem;
}

.sm_cell_footer {
    border-bottom: 2px solid black;
}

.sm_cell_note {
    border-left: 2px solid black;
    border-right: 2px solid black;
    width: 100%;
    min-height: 1rem;
}

@media not print {
    .sm_cell_note, .sm_cell_total, .sm_cell_price, .sm_cell_qty, .sm_cell_action {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .sm_cell_total {
        width: 20%;
    }

    .sm_cell_price {
        width: 13%
    }

    .sm_cell_qty {
        width: 4%;
    }

    .sm_cell_action {
        width: 18%;
        padding-bottom: 0px;
    }
}

@media print {
    .sm_cell_note, .sm_cell_total, .sm_cell_price, .sm_cell_qty, .sm_cell_action {
        font-size: 0.8rem;
        line-height: 0.8rem;
    }

    .sm_cell_total {
        width: 20%;
    }

    .sm_cell_price {
        width: 16%;
    }

    .sm_cell_qty {
        width: 4%;
    }

    .sm_cell_action {
        width: 0%;
        display: none;
    }
}

.sm_cell_last {
    border-top: 1px solid black;
    padding-top: 2px;
    padding-bottom: 4px;
}