
body {
  font-family: 'Roboto', sans-serif;
  background-color: #D0D0D0;
  text-align: center;
  margin: 0px;
  padding: 0px;
  font-size: 16px;
}
.small {
  font-size: 12px;
}
.error-image {
  margin-top: 200px;
  margin-bottom: 50px;
  width: 250px;
}
a {
  outline: none;
  border: 0px
}
.location-logo {
  margin: 30px 0px;
  max-width: 200px;
  max-height: 90px;
}
#receipt {
  width: 85vw;
  max-width: 460px;
  margin: 0px auto;
  background-color: #ffffff;
  padding: 15px;
  background:
	    linear-gradient(45deg , transparent 1.3em, #fff 1.3em),
	    linear-gradient(-45deg , transparent 1.3em, #fff 1.3em),
	    linear-gradient(45deg , transparent 1.2em, #fff 1.2em),
	    linear-gradient(-45deg , transparent 1.2em, #fff 1.2em);
	background-size: 1em 100%;
  position: relative;
}
#receipt .print {
  font-size: 35px;
  position: absolute;
  right: 20px;
  text-decoration: none;
}

#receipt .creditHeader {
  font-size: 18px;
}

#receipt .header {
  margin-top: 20px;
  font-weight: bold;
  line-height: 140%;
}
#receipt .receipt-info {
  width: 100%;
  display: block;
  margin-top: 25px;
  font-style: italic;
}
#receipt .order-info {
  width: 100%;
  margin-top: 30px;
  font-size: 0;
}
#receipt .order-info div {
  width: 50%;
  display: inline-block;
  font-size: 16px;
}
#receipt .order-info div:first-child { text-align: left }
#receipt .order-info div:nth-child(2) { text-align: right }

#receipt .line {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: block;
  margin: 6px 0px;
}
#receipt .small-line {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: block;
  margin: 3px 0px;
  letter-spacing: 5px;
}

#receipt .product-row {
  text-align: right;
  width: 100%;
  font-size: 0;
  margin: 5px 0px;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
}
#receipt .product-row div:nth-child(2) { text-align: left }
#receipt .product-row div {
  display: inline-block;
  font-size: 16px;
}
#receipt .product-row div:nth-child(1) { width: 8%; margin-right: 2% }
#receipt .product-row div:nth-child(2) { width: 56% }
#receipt .product-row div:nth-child(3) { width: 17%; background-color: #fff; }
#receipt .product-row div:nth-child(4) { width: 17%; background-color: #fff; }

#receipt .summary {
  width: 100%;
  margin: 5px 0px;
  font-size: 0;
}
#receipt .summary div {
  display: inline-block;
  font-size: 16px;
}
#receipt .summary div:first-child { text-align: left; width: 75%; }
#receipt .summary div:nth-child(2) { text-align: right; width: 25%; }

#receipt .tax-header {
  margin-top: 50px !important;
  margin-bottom: 0px !important;
}

#receipt .tax-row {
  text-align: right;
  width: 100%;
  font-size: 0;
  margin: 5px 0px;
}
#receipt .tax-row div:first-child { text-align: left }
#receipt .tax-row div {
  display: inline-block;
  font-size: 16px;
}
#receipt .tax-row div:nth-child(1) { width: 40% }
#receipt .tax-row div:nth-child(2) { width: 20% }
#receipt .tax-row div:nth-child(3) { width: 20% }
#receipt .tax-row div:nth-child(4) { width: 20% }

#receipt .terminal-info {
  text-align: left;
}

#receipt .thanks {
  margin-top: 50px;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 140%;
}

#ticket-qr > canvas {
  max-width: 40%;
  margin-bottom: 40px;
}

.powered-by {
  width: 200px;
  margin-top: 50px;
  margin-bottom: 60px;
}

@media print {
  .no-print, .no-print * { display: none !important }
  body { zoom: 0.7; background-color: #ffffff; }
  #receipt .header {
    margin-top: 20px;
  }
  #receipt {
    border: 2px solid rgb(0, 0, 0);
    filter: drop-shadow(0px 0px 0px rgb(255, 255, 255));
    background: none;
  }
  #receipt .thanks {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 480px) {
  #receipt .product-row div {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0px;
  }
}