/* Invoice generator (P0045) */
.iv-cols:after { content: ""; display: table; clear: both; }
.iv-col { float: left; width: 48%; margin-right: 4%; }
.iv-col + .iv-col { margin-right: 0; }
.iv-label { display: block; font-weight: bold; margin: 8px 0 4px; }
.iv-area { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; line-height: 1.45; }
.iv-grid span { display: inline-block; margin: 0 14px 8px 0; vertical-align: top; }
.iv-grid label { display: block; font-weight: bold; margin-bottom: 4px; }
.iv-in { min-height: 44px; padding: 0 8px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; background: #FFFFFF; box-sizing: border-box; }
.iv-in[aria-invalid="true"] { border-color: #A3271F; background: #FBF1E4; }
.iv-tablewrap { overflow-x: auto; }
.iv-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.iv-table th { text-align: left; color: #4A5568; padding: 4px; }
.iv-table td { padding: 3px 4px; }
.iv-table .iv-in { width: 100%; }
.iv-table td:first-child { width: 44%; }
.iv-amt { text-align: right; font-weight: bold; font-variant-numeric: tabular-nums; white-space: nowrap; }
.iv-rm, .iv-btn { min-height: 44px; min-width: 44px; padding: 0 12px; border: 2px solid #3B6970; border-radius: 10px; background: #FFFFFF; font: inherit; font-weight: bold; cursor: pointer; }
.iv-logo-prev { max-height: 48px; vertical-align: middle; margin: 0 8px; }
.iv-openlabel { font-weight: bold; margin-left: 6px; }
.iv-paper { background: #FFFFFF; color: #000000; border: 1px solid #C9CED6; box-shadow: 0 2px 8px rgba(0,0,0,.08); padding: 36px 40px; max-width: 760px; font-size: 15px; }
.iv-p-head:after { content: ""; display: table; clear: both; }
.iv-p-from { float: left; width: 55%; }
.iv-p-meta { float: right; width: 42%; text-align: right; }
.iv-p-logo { max-height: 70px; max-width: 220px; display: block; margin-bottom: 8px; }
.iv-p-title { font-size: 2em; font-weight: bold; letter-spacing: .02em; margin-bottom: 6px; }
.iv-p-to { clear: both; margin: 22px 0 18px; }
.iv-p-label { font-weight: bold; text-transform: uppercase; font-size: .8em; color: #4A5568; }
.iv-p-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.iv-p-table th { border-bottom: 2px solid #000000; text-align: left; padding: 6px 4px; }
.iv-p-table td { border-bottom: 1px solid #DDDDDD; padding: 6px 4px; vertical-align: top; }
.iv-r, .iv-p-table th.iv-r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.iv-p-sums { margin: 14px 0 0 auto; border-collapse: collapse; min-width: 50%; }
.iv-p-sums th { text-align: left; font-weight: normal; padding: 4px 12px 4px 0; }
.iv-p-sums td { padding: 4px 4px; }
.iv-p-total th, .iv-p-total td { border-top: 2px solid #000000; font-weight: bold; font-size: 1.2em; }
.iv-p-notes { margin-top: 26px; padding-top: 10px; border-top: 1px solid #DDDDDD; }
@media (max-width: 700px) { .iv-col { float: none; width: 100%; margin: 0; } .iv-paper { padding: 18px; } }
.iv-print-copy { display: none; }
@media print {
  html.iv-printing body > * { display: none !important; }
  html.iv-printing body > .iv-print-copy { display: block !important; width: auto; max-width: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
  html:not(.iv-printing) body * { visibility: hidden; }
  html:not(.iv-printing) .iv-paper, html:not(.iv-printing) .iv-paper * { visibility: visible; }
}
