div.receipt-view {
  margin: 0 auto;
  min-width: 260px;
  max-width: 290px;
  font-family: "D2Coding", sans-serif !important;
}

div.btn {
  margin: 13px auto 24px !important;
  width: calc(100% - 40px) !important;
}

div.receipt-view div.line {
  position: relative;
  display: inline-block;
  margin: 0 -5px;
  padding: 0;
  width: calc(100% - -10px);
  height: 20px;
  background-image: url(/static/image/common/line.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  max-width: 300px;
}

div.receipt-view * {
  font-family: "D2Coding", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1px;
  font-size: 13px;
  line-height: 1.2rem;
  word-break: keep-all;
  word-spacing: normal;
  word-wrap: break-word;
  text-align: left;
  margin: auto;
}

.receipt-view div.wrap {
  width: fit-content;
  border: 1px solid;
  margin: 10px auto;
  position: relative;
}

.receipt-view div.wrap div {
  text-align: left;
  margin-left: 10px;
  margin-right: 10px;
}

.receipt-view div.wrap div:last-child {
  margin-bottom: 10px;
}

.receipt-view .text-bg-invert {
  color: white;
  background-color: black;
}

.receipt-view .line-feed {
  height: 5px;
}

.receipt-view .text-left {
  text-align: left !important;
}

.receipt-view .text-right {
  text-align: right !important;
}

.receipt-view .text-center {
  text-align: center !important;
  position: relative;
}

.receipt-view .text-sm {
  font-size: 12px !important;
}

.receipt-view .text-md {
  font-size: 14px;
}

.receipt-view .text-lg {
  font-size: 16px;
}

.receipt-view .fw-bold {
  font-weight: bold;
}

.receipt-view .line-height-lg {
  line-height: 2.5rem !important;
}

.receipt-view .line-space-sm {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}

.receipt-view .line-space-md {
  letter-spacing: 1px !important;
  word-spacing: 1px !important;
}

.receipt-view .line-space-lg {
  letter-spacing: 5px !important;
  word-spacing: 3px !important;
}

.receipt-view .invert-color {
  background-color: black !important;
  color: white !important;
}

.receipt-view .normal-color {
  background-color: white !important;
  color: black !important;
}

.receipt-view .barcode-img {
  margin-top: 10px;
  max-width: 300px;
  min-height: 80px !important;
  text-align: center !important;
  position: relative;
  padding: 0 !important;
  width: calc(100% * 0.9) !important;
}

.receipt-view .font-italic {
  font-style: italic !important;
}

.receipt-view .barcode-text {
  width: 100% !important;
  margin: 10px auto;
  position: relative;
  font-size: 14px;
  text-align: center !important;
}
.receipt-view .barcode-text.barcode {
  margin-bottom: 30px;
}
.receipt-view .barcode-text.barcode, .receipt-view .barcode-text.barcode canvas {
  height: 80px;
}

.receipt-view .under-line {
  text-decoration: underline;
}

.receipt-view .cut-line {
  border-bottom: 1px solid black !important;
}

.receipt-view .d-inline {
  display: inline-block !important;
}

.receipt-view .cut-line * {
  display: none !important;
}

.receipt-view .partial-cut {
  margin: 20px 0;
  font-size: 12px;
  position: relative;
  left: -10px;
}

.koces.section {
  margin: 20px 0 !important;
}

.koces.section div {
  text-align: right;
  clear: both;
}

.koces.section div span {
  float: left;
}

@media screen and (max-width: 360px) {
  div.receipt-view *, .text-md {
    font-size: 12px;
  }

  .text-lg {
    font-size: 1.1rem;
  }

  div.receipt-view {
    min-width: 230px;
    max-width: 280px;
  }
}
