
@page
{
    size:  auto;   /* auto is the initial value */
    margin: 5mm;  /* this affects the margin in the printer settings */
}

body
{
    border: none ;
    margin: 0mm; /* margin you want for the content */
    height: initial;
    background: transparent;
}

#main, #data {
  /* height:100% !important; */
  padding: 0 !important;
}

.barcode {
    font-size: 12px;
}

button, .btn, header, aside, .fixed-action-btn, .drag-target {
    display: none !important;
}

.card .card-content {
  padding: 5px;
}

h4 {
  font-size: 1.6rem;
}

.stampare *:not(.btn):not(.btn-floating):not(.modal):not(.btn_collection) {
    display: block;
}

.stampare li.collection-item {
    display: inline-block !important;
}

.stampare li.collection-item.non_stampare {
    display: none !important;
}

.stampare .select2 .selection .select2-selection--single {
  height: 2rem;
}

.stampare .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 2rem;
  height: 2rem;
}

.stampare textarea.materialize-textarea {
  padding: .5rem 0 .5rem 0 !important;
  min-height: 2rem !important;
}

.stampare p.spaziorow {
  margin: 0 !important;
}

.stampare .totale {
  line-height: 2rem !important;
}

.stampare .striped_collection {
    box-shadow: none !important;
    margin: 0 !important;
}

.stampare .collection-item.striped.testata, .stampare ul.lista_riep_timer .collection-item:last-child, .stampare ul.lista_riep_prodotti .collection-item:last-child, .stampare ul.lista_riep_lavorazioni .collection-item:last-child {
  box-shadow: none !important;
}

header, #toast-container, .non_stampare{
  display: none !important;
}

main {
  padding-top: 10px !important;
  min-height: initial !important;
}

.stampare input {
  line-height: 2rem !important;
  height: 2rem !important;
}

.stampare .collection-item input {
  line-height: 2rem !important;
  height: 2rem !important;
  margin-bottom: 0px !important;
}

.stampare h5 {
  font-size: 1.5rem !important;
  margin-bottom: 10px !important;
}

.stampare .footer_total {
  line-height: 2.2rem;
}

.stampare.gruppo h5 {
  padding-left:.75rem;
}

.row .col.p1 {
  width: 8.3333333333% !important;
  margin-left: auto;
  left: auto;
  right: auto;
}

.row .col.p2 {
  width: 16.6666666667% !important;
  margin-left: auto;
  left: auto;
  right: auto;
}

.row .col.p3 {
  width: 25% !important;
  margin-left: auto;
  left: auto;
  right: auto;
}

.row .col.p4 {
  width: 33% !important;
  margin-left: auto;
  left: auto;
  right: auto;
}

.row .col.p5 {
    width: 41.6666666667% !important;
    margin-left: auto;
    left: auto;
    right: auto;
}

.row .col.p6 {
  width: 50% !important;
  margin-left: auto;
  left: auto;
  right: auto;
}

.row .col.p8 {
  width: 66% !important;
  margin-left: auto;
  left: auto;
  right: auto;
}

.row .col.p9 {
  width: 75% !important;
  margin-left: auto;
  left: auto;
  right: auto;
}

.row .col.p12 {
  width: 100% !important;
  margin-left: auto;
  left: auto;
  right: auto;
}

.row .col.offset-p7 {
  margin-left: 58.3333333333% !important;
}

div.stampariep {
  font-size: 70%;
}
