body {
  font-family: Bahnschrift, Arial;
  padding: 5px;
  --title-fg-color: #e80414;
  --highlight-bg-color: #e80414;
  --highlight-fg-color: white;
}

.meta {
  color: var(--title-fg-color);
}

.header .title {
  font-size: 150%;
  font-weight: bold;
}

.header .meta {
  text-transform: uppercase;
}

.info .meta {
  text-transform: uppercase;
}

.info .meta::after {
  color: black;
  content: " :";
}

.purchaser {
  color: var(--title-fg-color);
  display: block;
}

.block {
  padding-left: 5px;
  display: block;
}

.supplier, .items, .delivery {
  margin-top: 1em;
  margin-bottom: 1em;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

.supplier, .delivery {
  width: 100%;
  background-color: var(--highlight-fg-color);
  border: 2px solid var(--highlight-bg-color);
  border-collapse: separate;
}

.middle .title {
  color: var(--highlight-fg-color);
  background-color: var(--highlight-bg-color);
  text-transform: uppercase;
  flex: 1;
}

.middle .details {
  padding: 4px;
  background-color: var(--highlight-fg-color);
  flex: 1;
}

table.items {
  width: 100%;
  padding: 1px;
  border: 2px solid var(--highlight-bg-color);
  border-collapse: collapse;
}

table.items th {
  text-align: left;
  color: white;
  text-transform: uppercase;
  padding: 4px;
}

table.items td {
  background-color: white;
  padding: 8px;
  font-size: smaller;
}

.supplier .title, table.items th, .help .title, .delivery .title {
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: bold;
  background-color: var(--highlight-bg-color);
}

.money, .number {
  text-align: right;
}

.name {
  font-weight: bold;
}

.address {
  padding-bottom: 1em;
}

.summary {
  margin-left: auto;
}

.summary .title {
  color: var(--title-fg-color);
  padding: 3px 1rem;
  font-weight: bold
}

.summary .details {
  text-align: right;
  padding-left: 1rem;
}

.summary .total .title {
  color: var(--highlight-fg-color);
  background-color: var(--highlight-bg-color);
  padding: 10px 1rem;
  font-weight: bold
}

.summary .total .details {
  font-weight: bold;
}

.money {
  min-width: 75px;
}

div.footer_L1 {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
}

div.footer_L2 {
  display: flex;
  justify-content: space-between;
}

#footer_left, #footer_centre, #footer_right {
  flex: 1;
  text-align: center;
  max-width: 300px;
}

#footer_L2_left, #footer_L2_centre, #footer_L2_right {
  flex: 1;
  text-align: center;
  max-width: 300px;
}

div.date-tag {
  display: inline-block;
  min-width: 80px;
}

top.top {
  display: flex;
  width: 100%;
  padding:0px;
  justify-content: space-between;
  page-break-before: always;
}

top.top:first-child {
  page-break-before: avoid;
}

div.top {
  display: flex;
  width: 100%;
  padding: 0px;
  justify-content: space-between;
}

div.middle {
  display: flex;
  width: 100%;
  padding: 0px;
}

div.footer {
  width: 100%;
  color: grey;
  font-size: small;
}

.phone, .email {
  white-space: nowrap;
}

.phone::before {
  content: "\260e";
  margin-right: 0.5em;
}

.email::before {
  content: "\2709";
  margin-right: 0.5em;
}

div.instructions, .newlined, p.note {
  white-space: pre-line;
}

.app {
  position: relative;
}

.done {
  text-decoration: line-through;
}

div.column-name {
  display: inline-block;
}

.column-name {
  background: blue;
  color: white;
  margin: 2px;
  padding: 2px;
  border-radius: 2px;
  font-style: normal;
}

.column-recognized {
  background: green;
}

.column-expected {
  background: blue;
}

.column-ignored {
  background: red;
}

.help {
  padding: 1px;
  margin-top: 1em;
  margin-bottom: 1em;
  background: black;
  color: white;
}

.help .details {
  padding: 4px;
}

.help table {
  border: none;
}

.help td.key {
  text-align: right;
}

.help table {
  padding-bottom: 3px;
}

.help-close {
  display: float;
  float: right;
  max-width: 150px;
  padding: 5px;
  border-left: 1px solid white;
  border-bottom-left-radius: 5px;
  font-size: 80%;
  font-style: italic;
}

.help pre {
  display: inline-block;
  background: #ddd;
  color: #000;
  padding: 0.25em;
  margin-left: 1em;
}

.help .title {
  margin-left: 4px;
  text-transform: uppercase;
}

.status {
  padding: 4px;
}

.status .button {
  display: inline-block;
  text-decoration: none;
  color: #000080;
  background: #ddd;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 1px;
  padding-bottom: 1px;
  margin-top: 1px;
  margin-bottom: 1px;
  border-radius: 0.25em;
}

.code {
  min-width: 100px;
}

.space {
  margin-left: 60px;
}

.indent {
  margin-left: 4px;
}

.pageNumber {
  float: right;
}

.line {
  min-width: 30px;
  max-width:30px;
}
