/* invoice-pdf.css – v3.0 */

@page { margin: 28px 28px; }
html,
body,
table,
tr,
td,
th,
div,
span,
thead,
.name,
.totals .grand td, .lines
p {
    font-family: DejaVu Sans, sans-serif !important;
}


body {
  font-size: 12px;
  color: #222;
}

.header-table,
.top-table,
.lines,
.totals {
  width: 100%;
  border-collapse: collapse;
}

.logo-cell {
  width: 62%;
  vertical-align: top;
}

.logo {
  width: 450px;
  max-width: 450px;
  height: auto;
}

.seller-cell {
  width: 38%;
  text-align: right;
  vertical-align: top;
  line-height: 1.35;
}

.seller-name {
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 4px;
}

.seller-meta {
  font-size: 11px;
  color: #555;
}

.header-gap {
  height: 16px;
}

.meta-left,
.billto {
  vertical-align: top;
}

.meta-left {
  width: 45%;
}

.billto {
  width: 55%;
  text-align: right;
}

.meta-title {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 8px;
}

.meta-block {
  margin-top: 10px;
  line-height: 1.55;
}

.meta-label {
	line-height:1.5em;
  color: #666;
  display: inline-block;
  width: 70px;
}

.billto .label {
  font-size: 11px;
  color: #666;
  margin-bottom: 5px;
}

.billto .name {
  font-weight: 800;
  margin-bottom: 6px;
}

.billto .addr {
  font-size: 11px;
  color: #444;
  line-height: 1.4;
}

.lines {
  margin-top: 14px;
}

.lines th,
.lines td {
  border: 1px solid #ddd;
  padding: 10px 8px;
  vertical-align: top;
}

.lines th {
  background: #f2f2f2;
  font-weight: 800;
}

.num {
  text-align: right;
  white-space: nowrap;
}

.bottom {
  margin-top: 16px;
}

.totals {
  width: 42%;
  margin-left: auto;
}

.totals td {
  padding: 8px 9px;
  border: 1px solid #ddd;
}

.totals .grand td {
  font-weight: 900;
  border-top: 1px solid #CCC;
}

.footer {
  position: fixed;
  left: 28px;
  right: 28px;
  bottom: 18px;
  text-align: center;
  font-size: 10.5px;
  color: #555;
  line-height: 1.35;
}
