body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

@media print {
  .orderLabel {
    font: 20pt Calibri, "Helvetica", "Lucida Grande", sans-serif;
    line-height: 1.5;
    background: #fff !important;
    color: #000000;
  }
}

@page {
  margin: 0
}

body {
  margin: 0
}

.sheet {
  margin: 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  page-break-after: always;
}

/* Paper sizes */
body.A3 .sheet {
  width: 297mm;
  height: 419mm
}

body.A3.landscape .sheet {
  width: 420mm;
  height: 296mm
}

body.A4 .sheet {
  width: 210mm;
  height: 296mm
}

body.A4.landscape .sheet {
  width: 297mm;
  height: 209mm
}

body.A5 .sheet {
  width: 148mm;
  height: 209mm
}

body.A5.landscape .sheet {
  width: 210mm;
  height: 147mm
}

body.letter .sheet {
  width: 216mm;
  height: 279mm
}

body.letter.landscape .sheet {
  width: 280mm;
  height: 215mm
}

body.legal .sheet {
  width: 216mm;
  height: 356mm
}

body.legal.landscape .sheet {
  width: 357mm;
  height: 215mm
}

body.zlabel .sheet {
  width: 55mm;
  height: 25mm
}

/* Padding area */
.sheet.padding-10mm {
  padding: 10mm
}

.sheet.padding-15mm {
  padding: 15mm
}

.sheet.padding-20mm {
  padding: 20mm
}

.sheet.padding-25mm {
  padding: 25mm
}

/* For screen preview */
@media screen {
  body {
    background: #e0e0e0
  }

  .sheet {
    background: white;
    box-shadow: 0 .5mm 2mm rgba(0, 0, 0, .3);
    margin: 5mm auto;
  }
}

/* Fix for Chrome issue #273306 */
@media print {
  body.A3.landscape {
    width: 420mm
  }

  body.A3,
  body.A4.landscape {
    width: 297mm
  }

  body.A4,
  body.A5.landscape {
    width: 210mm
  }

  body.A5 {
    width: 148mm
  }

  body.letter,
  body.legal {
    width: 216mm
  }

  body.letter.landscape {
    width: 280mm
  }

  body.legal.landscape {
    width: 357mm
  }

  body.zlabel {
    width: 55mm
  }
}

.zlabel {
  font-family: Courier, sans-serif;
  text-align: center;
  font-variant-numeric: tabular-nums lining-nums;
  background-color: #fff;
  color: #000;
  margin: 0px;
  margin-top: 2pt;
  font-size: 5mm;
  line-height: 5mm;
}

.label-wrap {
  font-family: Corbel, Verdana, Helvetica, sans-serif;
  text-align: left;
  font-variant-numeric: tabular-nums lining-nums;
  display: grid;
  grid-template-columns: 200px 200px;
  grid-template-rows: 1fr 3fr;
  grid-gap: 10px;
  background-color: #fff;
  color: #444;
  margin: 40px;
}

.label-wrap header {
  margin: unset;
  border-bottom: 2px solid black;
}


.label-wrap header {
  display: grid;
  grid-column: span 2;
  grid-row: 1;
  grid-template-columns: subgrid;
}

.label-wrap main {
  margin: unset;
  display: grid;
  grid-column: span 2;
  grid-row: 2;
  grid-template-columns: subgrid;
}

/*	.header-company {
		grid-column: 1;
		margin: auto;
	}
*/
.label-wrap .header-logo {
  grid-column: 1;
  margin: auto;
}

.label-wrap .header-info {
  grid-column: 2;

}

.label-wrap img.header-logo {
  width: 90%;
  margin-bottom: 8%;
}

.label-wrap .info {
  grid-column: 1;
}

.label-wrap .barcode-placement {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  align-content: flex-start;
  margin-right: -10px;
  margin-top: 17%
}

.label-wrap .barcode {
  width: 90%;
  border: none;
}

.label-wrap .barcode-text {
  width: 90%;
  text-align: center;
  margin-top: -8px;
}

.label-wrap .value {
  font-weight: bold;
}

.label-wrap .heading-date {
  display: grid;
  grid-template-columns: 4fr 7fr;
}

.label-wrap .heading-date .label {
  grid-column-start: 1;
  text-align: right;
}

.label-wrap .heading-date .value {
  grid-column-start: 2;
  text-align: right;
}

.label-wrap .info .label {
  font-variant-caps: small-caps;
  font-size: small;
  color: #aaa;
}

.label-wrap .info .value {
  margin-left: 28px;
}

.label-wrap .header-info .label {
  font-weight: lighter;
}