.tableresponsive tr td:nth-child(1), .tableresponsive tr th:nth-child(1), .tableresponsive tr td:nth-child(2), .tableresponsive tr th:nth-child(2) {
    text-align: left;
}

.tableresponsive.sedi tr td:nth-child(8), .tableresponsive.sedi tr th:nth-child(8) {
    text-align: center;
}

.tabelle_carrello .tableresponsive {
    margin-bottom: 20px;
}

    .tabelle_carrello .tableresponsive tr td, .tabelle_carrello .tableresponsive tr th {
        text-align: center;
    }

.tabelle_carrello.riepilogo_prodotto .tableresponsive th:nth-child(2), .tabelle_carrello.riepilogo_prodotto .tableresponsive td:nth-child(2) {
    text-align: left;
}

.tabelle_carrello.riepilogo_prodotto .sottotabella.tableresponsive th:nth-child(1), .tabelle_carrello.riepilogo_prodotto .sottotabella.tableresponsive td:nth-child(1), .tabelle_carrello.riepilogo_prodotto .sottotabella.tableresponsive th:nth-child(4), .tabelle_carrello.riepilogo_prodotto .sottotabella.tableresponsive td:nth-child(4) {
    text-align: left;
}

.tabelle_carrello.riepilogo_prodotto .sottotabella.tableresponsive tr td:nth-child(3) {
    min-width: inherit;
}

.tabelle_carrello.riepilogo_prodotto .tableresponsive tr td:nth-child(1) {
    color: var(--cc-marrone);
    font-weight: normal;
    min-width: inherit;
}

.tableresponsive tr td {
    padding: 10px 15px;
}

    .tableresponsive tr td:nth-child(12) {
        color: #ffc100;
        font-weight: bold;
        font-size: 18px;
    }

    .tableresponsive tr td:nth-child(2), .tabelle_carrello.riepilogo_prodotto .tableresponsive tr td:nth-child(3) {
        /* min-width: 405px; */
    }

.tabelle_carrello.riepilogo_prodotto .tableresponsive tr td:nth-child(2) {
    min-width: inherit;
    font-weight: normal;
    color: var(--cc-nero);
}

.tabelle_carrello .tableresponsive .field_module {
    margin-bottom: 0px;
}

.tableresponsive tr td:nth-child(2) {
    /* min-width: 160px; */
}

.riepilogo_prodotto .tableresponsive tr td:nth-child(2),
.prodotto .tableresponsive tr td:nth-child(2) {
    /* min-width: 160px; */
}

.tableresponsive tr td, .tableresponsive tr th {
    text-align: center;
}

.tableresponsive.sedi {
    width: auto;
    margin-bottom: 60px;
}
.semplice th {
}
.semplice td {
    border-bottom: none;
}
    .tableresponsive.sedi td, .tableresponsive.sedi th  {
        color: var(--cc-marrone);
        border-bottom: 1px solid var(--cc-beige);
        text-align: left;
    }
.semplice  {
  width:100%;
}

.semplice th {
    border-bottom: 1px solid var(--cc-beige);
    text-align: left;
    background-color: var(--cc-marrone);
    color: white;
    padding: 10px;
    font-size: 17px;
    font-weight: normal;
}

    .semplice td {
        font-size: 14px;
        padding: 5px;
        text-align: center;
    }

    .semplice tr:nth-child(1) td {
        font-weight: 600;
    }
    .semplice tr td:nth-child(1) {
        font-weight: 600;
    }
.tabella_promo .semplice {
    width: 100%;
}

    .tabella_promo .semplice tr td:nth-child(1),
    .tabella_promo .semplice tr td:nth-child(2),
    .tabella_promo .semplice tr td:nth-child(6) {
        color: var(--cc-marrone);
        font-weight: normal;
    }

    .tabella_promo .semplice tr td:nth-child(7) {
        color: var(--cc-rosso);
        font-weight: normal;
    }

.tableresponsive.sedi th {
    color: #fffefe;
    border-top: 2px solid var(--cc-beige);
    border-bottom: 2px solid var(--cc-beige);
    background: var(--cc-beige);
    font-weight: 600;
}

.tableresponsive.sedi tr:nth-of-type(odd) {
    background: var(--cc-beige2);
}

.semplice tr:nth-of-type(odd),
.tableresponsive.sedi tr:nth-child(1) {
    background: var(--cc-beige2);
}

.tableresponsive .field_module, .tableresponsive input[type="number"].field_module,
.tabelle_carrello .tableresponsive input[type="number"] {
    padding: 6px 10px;
    border: none;
    font-size: 15px;
    float: inherit;
    width: 80px;
    color: var(--cc-rosso);
    -moz-border-radius: 5px;
    border-radius: 5px;
    height: auto;
    text-align: center;
    line-height: 22px;
    font-weight: 700;
}
/* disponibilita */
.disponibilita_yes, .disponibilita_no {
    text-shadow: 0 1px 0 white;
    font-weight: bold;
    cursor: help;
}

.disponibilita_yes {
    color: #36b34c !important;
}

.disponibilita_no {
    color: #f62d4c !important;
}
/* fine disponibilita */



table.tableresponsive input[type="image"] {
    cursor: pointer;
    z-index: 9;
    position: relative;
}

table.tableresponsive {
    width: 100%;
    position: relative;
    clear: both;
    border: none;
    /* border-bottom: 1px solid rgb(192, 159, 124); */
}

    table.tableresponsive caption {
        padding: 10px;
        color: white;
        font-size: 20px;
        text-align: left;
    }
/* Zebra striping */

.tableresponsive tr:first-child {
    background: transparent !important;
}

.tableresponsive tr:nth-of-type(even) {
    background: rgb(255 253 237 / 50%);
}

.tableresponsive th {
    font-weight: normal;
    color: white;
    font-size: 15px;
    border: none;
    padding: 10px 15px;
    line-height: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.tableresponsive td {
    padding: 5px 5px;
    text-align: left;
    line-height: 20px;
}

.tableresponsive td {
    font-size: 16px;
    padding: 10px;
}

.tableresponsive td {
    color: #fff;
    border: none;
}

.riepilogo_prodotto .tableresponsive td {
    color: var(--cc-marrone);
}

.riepilogo_prodotto .tableresponsive th {
    font-weight: normal;
    font-size: 16px;
    padding: 6px;
    border-bottom: none;
    background-color: var(--cc-beige);
    color: white;
}
/*.riepilogo_prodotto .tableresponsive.sottotabella th {
	background-color: #333
}*/


.riepilogo_prodotto .tableresponsive.sottotabella th {
    background-color: var(--cc-beige);
}

.tabelle_carrello.riepilogo_prodotto .tableresponsive tr td:nth-child(3) {
    text-align: left;
}

.riepilogo_prodotto .tableresponsive tr td:nth-child(12) {
    color: var(--cc-rosso);
}

.riepilogo_prodotto .tableresponsive tr td:nth-child(2) {
    color: var(--cc-nero);
    font-weight: bold;
    font-size: 16px;
}

.riepilogo_prodotto .tableresponsive tr td:nth-child(3) {
    /*color: var(--cc-rosso);
    font-weight: bold;
    font-size: 16px;*/
}

.riepilogo_prodotto .tableresponsive tr td:nth-child(3) {
    min-width: 55px;
}

.riepilogo_prodotto .tableresponsive .field_module, .riepilogo_prodotto .tableresponsive input[type="number"].field_module,
.tabelle_carrello .tableresponsive input[type="number"] {
    border: 1px solid #ccc;
}

.riepilogo_prodotto .tableresponsive tr {
    border-bottom: 1px dashed var(--cc-beige);
}

.riepilogo_prodotto tr:nth-of-type(even) {
    background: var(--cc-crema);
}

.tableresponsive a {
    color: var(--cc-nero);
}

.table_overflow {
    overflow-x: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 5px;
    border: 1px solid #E5E5E5;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: white;
}

.tableresponsive tr td input.box_descrizione {
    width: 260px;
    max-width: 260px;
}

.tableresponsive .btn, .tableresponsive input[type="button"].btn {
    padding: 6px 10px;
    font-size: 14px;
    font-weight: normal;
    color: #fff;
}

td.center {
    width: auto;
    text-align: center;
}



@media (max-width:820px) {
    .tableresponsive th {
        font-size: 11px;
        padding: 10px 10px;
    }

    .tableresponsive.sottotabella {
        width: 100% !important;
    }

    .tabelle_carrello .prezzo_totale {
        padding: 9px 0px;
    }

    .tableresponsive tr td, .tableresponsive tr th {
        text-align: left !important;
    }

    .tableresponsive.sedi td:before {
        color: var(--cc-marrone);
    }

    .riepilogo_prodotto .tableresponsive.sottotabella td:before {
        color: var(--cc-rosso);
    }

    .tableresponsive tr td:nth-child(8), .tableresponsive.sedi tr td {
        padding-left: 40%;
    }

    .tableresponsive .field_module, .tableresponsive input[type="number"].field_module, .tableresponsive .btn, .tableresponsive input[type="button"].btn {
        margin-top: -6px;
    }

    .tabelle_carrello.riepilogo_prodotto .tableresponsive .field_module, .tabelle_carrello.riepilogo_prodotto .tableresponsive input[type="number"].field_module, .tabelle_carrello.riepilogo_prodotto .tableresponsive .btn, .tabelle_carrello.riepilogo_prodotto .tableresponsive input[type="button"].btn {
        margin-top: -3px;
    }

    .disponibilita_yes, .disponibilita_no {
        margin: inherit;
    }

    .tableresponsive tr td, .tableresponsive tr th, .tableresponsive.sedi tr td:nth-child(8), .tableresponsive.sedi tr th:nth-child(8), .tabelle_carrello.riepilogo_prodotto .tableresponsive th:nth-child(1), .tabelle_carrello.riepilogo_prodotto .tableresponsive td:nth-child(1), .tabelle_carrello.riepilogo_prodotto .tableresponsive th:nth-child(4), .tabelle_carrello.riepilogo_prodotto .tableresponsive td:nth-child(4), .tabelle_carrello.riepilogo_prodotto .tableresponsive th:nth-child(7), .tabelle_carrello.riepilogo_prodotto .tableresponsive td:nth-child(7), .tabelle_carrello.riepilogo_prodotto .tableresponsive th:nth-child(8), .tabelle_carrello.riepilogo_prodotto .tableresponsive td:nth-child(8) {
        text-align: left;
    }

    .tableresponsive table tr td {
        display: table-cell;
        padding-left: 0%;
    }

    .tableresponsive table td:before {
        content: "" !important;
    }

    .tableresponsive table tr:nth-of-type(odd) {
        background: #fff;
        border: none;
    }

    .tableresponsive tr th {
        display: none;
    }

    .riepilogo_carrello .tableresponsive td {
        border-bottom: none;
    }

    .riepilogo_carrello .tableresponsive tr:nth-of-type(odd) {
        background: white;
    }

    table.tableresponsive caption {
        width: 100%;
        display: block;
    }

    table.tableresponsive, .tableresponsive thead, .tableresponsive tbody, .tableresponsive th, .tableresponsive td, .tableresponsive tr {
        display: block;
    }

    table.tableresponsive {
        border: none;
    }

    .tableresponsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .tableresponsive tr {
    }

    .tableresponsive td {
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.4);
        position: relative;
        padding-left: 160px !important;
        min-height: 40px;
    }

    .riepilogo_carrello .tableresponsive td {
        padding-left: 58%;
    }

    .tableresponsive td:before {
        position: absolute;
        top: 9px;
        left: 10px;
        width: 35%;
        padding-right: 10px;
        color: #fff;
        font-weight: 600;
        font-size: 14px;
    }

    .riepilogo_prodotto .tableresponsive td:before {
        color: var(--cc-marrone);
    }

    .riepilogo_prodotto .tableresponsive td {
        border-bottom: 1px solid #ccc;
    }
    .semplice td {
        font-size: 12px;
  
    }
}

@media (max-width:600px) {
    .tableresponsive td:before {
        width: 47%;
    }

    .tableresponsive td {
        padding-left: 52% !important;
    }
}
