@media print {
	html.print-page body .paper { page-break-after: always; }
	html.print-page .middle-cutting-line {
		position: absolute;
		top: 50%;
		left: 0;
		width: 100%;
		height: 1px;
		border-bottom: 1px dotted #999;
	}
	html.print-page .no-page-break {
		page-break-inside: avoid;
	}
	html.print-page .page-break {
		page-break-after: always;
	}
	html.print-page table.print-table tfoot td .page-number:after {
		counter-increment: page;
		content: "Page: " counter(page);
	}
}

html.print-page body .paper {
	position: relative;
	width: 200mm;
	/* height: 287mm; */
	/* max-height: 287mm; */
	padding-left: 14mm;
	padding-right: 5mm;
	background-color: #fff;	
	-webkit-print-color-adjust: exact !important;
}
html.print-page body .paper.landscape {
	width: 287mm;
	/* height: 200mm; */
	/* max-height: 200mm; */
}
html.print-page .paper-content {
	position: relative;
}
html.print-page .paper-content .document-table {
	width: 100%;
}
html.print-page .paper-content .company-name {
	margin: 0 0 6px;
	padding-top: 4px;
	text-align: center;
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
}
html.print-page .paper-content .document-name {
	margin: 0 0 30px;
	text-align: center;
	font-size: 18px;
	font-weight: 400;
	color: #999 !important;
	line-height: 1;
}
html.print-page .paper-content table.report {
	width: 100%;
}
html.print-page .paper-content table.report thead tr {
	background-color: #666 !important;
	font-weight: 600;
}
html.print-page .paper-content table.report thead tr th {
	color: #fff !important;
}
html.print-page .paper-content table.report th,
html.print-page .paper-content table.report td {
	padding: 4px 10px;
	vertical-align: top;
	border: 1px solid #eee;
}
html.print-page .paper-content table.report tr.tfoot td,
html.print-page .paper-content table.report tfoot td {
	border-top: 2px solid #999 !important;
	border-bottom: 3px double #999;
	font-weight: 600;
}
html.print-page .paper-content table.report .amount {
	text-align: right;
}

html.print-page .paper.ledger .case-info {
	width: 100%;
	margin-bottom: 10px;
}
html.print-page table.print-table .print-table-thead-tr-th {
    padding-top: 40px;
	font-weight: 400;
}
html.print-page table.print-table .print-table-tbody-tr-td {
	vertical-align: top;
	min-height: 780px;
}
html.print-page table.print-table .print-table-tfoot-tr-td {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 20px;
	border-top: 1px solid #999;
}



/* cheque */
html.print-page body {
	margin: 0;
}
html.print-page body .paper.cheque {
	position: relative;
	height: 200mm;
	width: 287mm;
	max-width: 287mm;
	padding-left: 0;
	padding-right: 0;
	background-color: #fff;	
	-webkit-print-color-adjust: exact !important;
}

/* report */
html.print-page body .paper.report table.document-table thead {
	display: table-header-group;
}
html.print-page body .paper.report th,
html.print-page body .paper.report td {
	font-size: 10px;
}
