@CHARSET "ISO-8859-1";

@media print {
	body, label, .form-control, .multiselect-native-select,
		.select2-container--default .select2-selection--single,
		.select2-container, .select2-container .select2-selection--single .select2-selection__rendered,
		.form-group-xs .select2-container--default .select2-selection,
		.form-group-xs .form-control, input[type=date].form-control, input[type=time].form-control,
		input[type=datetime-local].form-control, input[type=month].form-control,
		.select2-container--default .select2-selection--multiple,
		.select2-container--default.select2-container--focus .select2-selection--multiple,
		.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th,
		.table>thead>tr>td, .table>thead>tr>th, .tab-content .table th, label#label_total_amount_due.form-control,
		#select2-report_list-container {
		font-size: 11pt;
	}
	.table-responsive table.table thead th, .table-responsive table.table thead td
		{
		text-align: center;
	}
	.address-text {
		text-transform: uppercase;
		font-size: 9pt;
	}
	.timestamp {
		display: none;
	}

	/** Purchases Order **/
	.purchases.order .address_details {
		min-height: 1cm;
	}
	.purchases.order .notes, .purchases.order .notes label#label_notes {
		display: block;
		min-height: 1.5cm;
		height: auto !important;
		overflow: visible;
	}
	.purchases.order .notes div {
		height: 100%;
	}
	.purchases.order .notes textarea {
		width: 100% !important;
		height: 100%;
	}
	.purchases.order table tbody {
		counter-reset: rowNumber;
	}
	.purchases.order table tbody tr {
		counter-increment: rowNumber;
	}
	.purchases.order table tbody tr::before {
		content: counter(rowNumber);
		min-width: 1.5cm;
		margin-right: 0.5em;
	}
	.purchases.order table thead tr::before {
		content: "#";
		min-width: 1.5cm;
		margin-right: 0.5em;
	}
	.purchases.order .table-responsive {
		width: 100%;
		min-height: 15cm;
	}
	.purchases.order .table-responsive table.table {
		max-width: 19.5cm;
		width: 100%;
	}
	.purchases.order  [name=ref_no] {
		color: #a94442 !important;
	}
	.purchases.order  .table-responsive .table td.qty, .purchases.order  .table-responsive .table td.qty .form-control
		{
		width: 1.5cm !important;
	}
	.purchases.order .table-responsive .table td.product_id {
		width: 6.5cm !important;
	}
	.purchases.order .table-responsive .table td.product_id .select2-container .select2-selection--single .select2-selection__rendered,
		.purchases.order .table-responsive .table tbody td.product_id label {
		width: 6.4cm !important;
		white-space: normal;
	}
	.purchases.order  .table-responsive .table td.description, .purchases.order  .table-responsive .table td.description>.form-control
		{
		width: 3.5cm !important;
	}
	.purchases.order  .table-responsive .table td.unit_cost, .purchases.order  .table-responsive .table td.unit_cost .form-control
		{
		width: 2.25cm !important;
	}
	.purchases.order  .table-responsive .table td.amount, .purchases.order  .table-responsive .table td.amount .form-control
		{
		width: 3cm !important;
	}

	/** Sales Invoice **/
	.sales.invoice label.col-form-label {
		display: none;
	}
	.sales.invoice thead, .sales.invoice .del-group, .sales.invoice .courier-group,
		.sales.invoice.custom_so h4.invoice_title.so, .sales.invoice.custom_si h4.invoice_title.si,
		.sales.invoice.custom_dr h4.invoice_title.dr {
		display: none !important;
	}

	/** Sales Invoice SO **/
	.sales.invoice.custom_so {
		margin-top: 1cm;
		float: right;
	}
	.sales.invoice.custom_so .table-responsive {
		border: 0;
		width: 100%;
		min-height: 6cm;
		margin-top: 1cm;
	}
	.sales.invoice.custom_so .table-responsive table.table {
		max-width: 18cm;
		width: 100%;
	}
	.sales.invoice.custom_so .table-responsive .table tbody tr td {
		padding-bottom: 0;
		height: .6cm;
	}
	.sales.invoice.custom_so  .table-responsive table.table td.qty, .sales.invoice.custom_so  .table-responsive table.table td.qty .form-control
		{
		width: 1.6cm !important;
	}
	.sales.invoice.custom_so .table-responsive .table td.unit {
		width: 1.7cm !important;
		padding-left: 12px;
	}
	.sales.invoice.custom_so .table-responsive .table td.product_id {
		width: 14.9cm !important;
	}
	.sales.invoice.custom_so .table-responsive .table td.unit_cost, .sales.invoice.custom_so .table-responsive .table td.unit_price,
		.sales.invoice.custom_so .table-responsive .table td.amount, .sales.invoice.custom_so .table-responsive .table td.vat_amount,
		.sales.invoice.custom_so .summary, .sales.invoice.custom_so .footer {
		display: none !important;
	}
	.sales.invoice.custom_so .details>div:first-child {
		margin-top: 20px;
		width: 11.5cm !important;
		margin-right: .5cm;
	}
	.sales.invoice.custom_so .name {
		width: 9.5cm !important;
		margin-left: 2cm;
		height: .5cm;
	}
	.sales.invoice.custom_so .address {
		width: 10cm !important;
		height: 1cm;
		margin-left: 1.5cm;
	}
	.sales.invoice.custom_so .details>div:nth-child(2) {
		width: 6cm !important;
	}
	.sales.invoice.custom_so .ref_no {
		width: 4.5cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_so .ref_no .form-control {
		width: 4.5cm !important;
	}
	.sales.invoice.custom_so .txn_date {
		width: 4.5cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_so .txn_date .form-control {
		width: 4.5cm !important;
	}
	.sales.invoice.custom_so .terms:nth-child(2) {
		width: 3cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_so .terms:nth-child(2)>.form-control {
		width: 3cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_so .terms:nth-child(3), .sales.invoice.custom_so .terms:nth-child(3)>.form-control
		{
		width: 1.5cm !important;
		margin-left: 0cm;
		height: .5cm;
	}
	.sales.invoice.custom_so .order_no {
		width: 4.5cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_so .order_no .form-control {
		width: 4.5cm !important;
	}

	/** Sales Invoice DR **/
	.sales.invoice.custom_dr {
		margin-top: 2cm;
		float: right;
	}
	.sales.invoice.custom_dr .table-responsive {
		border: 0;
		width: 100%;
		min-height: 6.3cm;
		margin-top: .2cm;
	}
	.sales.invoice.custom_dr .table-responsive table.table {
		max-width: 19.1cm;
		width: 100%;
	}
	.sales.invoice.custom_dr .table-responsive .table tbody tr td {
		padding-bottom: 0;
		height: .605cm;
	}
	.sales.invoice.custom_dr  .table-responsive table.table td.qty, .sales.invoice.custom_dr  .table-responsive table.table td.qty .form-control
		{
		width: 1.8cm !important;
	}
	.sales.invoice.custom_dr .table-responsive .table td.unit {
		width: 1.9cm !important;
		padding-left: 12px;
	}
	.sales.invoice.custom_dr .table-responsive .table td.product_id {
		width: 16cm !important;
	}
	.sales.invoice.custom_dr .table-responsive .table td.unit_cost, .sales.invoice.custom_dr .table-responsive .table td.unit_price,
		.sales.invoice.custom_dr .table-responsive .table td.amount, .sales.invoice.custom_dr .table-responsive .table td.vat_amount,
		.sales.invoice.custom_dr .summary, .sales.invoice.custom_dr .footer {
		display: none !important;
	}
	.sales.invoice.custom_dr .details>div:first-child {
		margin-top: 20px;
		width: 12.3cm !important;
		margin-right: .5cm;
	}
	.sales.invoice.custom_dr .name {
		width: 10.3cm !important;
		margin-left: 2cm;
		height: .5cm;
	}
	.sales.invoice.custom_dr .address {
		width: 10.8cm !important;
		height: 1.5cm;
		margin-left: 1.5cm;
	}
	.sales.invoice.custom_dr .details>div:nth-child(2) {
		width: 6.3cm !important;
	}
	.sales.invoice.custom_dr .ref_no {
		width: 5.2cm !important;
		margin-left: 1cm;
		height: .5cm;
	}
	.sales.invoice.custom_dr .ref_no .form-control {
		width: 5.2cm !important;
	}
	.sales.invoice.custom_dr .txn_date {
		width: 5.2cm !important;
		margin-left: 1cm;
		height: .5cm;
	}
	.sales.invoice.custom_dr .txn_date .form-control {
		width: 5.2cm !important;
	}
	.sales.invoice.custom_dr .tin-group {
		display: block;
	}
	.sales.invoice.custom_dr .tin-group .bus_style {
		display: none;
	}
	.sales.invoice.custom_dr .tin-group .tin_no {
		margin-top: -1.6cm;
		margin-left: 14.28cm;
		width: 2.6cm;
	}
	.sales.invoice.custom_dr .tin-group .tin_no .form-control {
		font-size: 9pt;
	}
	.sales.invoice.custom_dr .terms:nth-child(2) {
		display: none;
	}
	.sales.invoice.custom_dr .terms:nth-child(3) {
		width: 1.4cm !important;
		margin-left: 5.3cm;
		height: .5cm;
	}
	.sales.invoice.custom_dr .terms:nth-child(3)>.form-control {
		width: 1.4cm !important;
		height: .5cm;
	}
	.sales.invoice.custom_dr .order_no {
		width: 5.2cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_dr .order_no .form-control {
		width: 5.2cm !important;
	}

	/** Sales Invoice SI **/
	.sales.invoice.custom_si {
		margin-top: 2cm;
		float: right;
	}
	.sales.invoice.custom_si .table-responsive {
		border: 0;
		width: 100%;
		min-height: 3.8cm;
		margin-top: 1cm;
	}
	.sales.invoice.custom_si .table-responsive table.table {
		max-width: 19.1cm;
		width: 100%;
	}
	.sales.invoice.custom_si .table-responsive .table tbody tr td {
		padding-bottom: 0;
		height: .605cm;
	}
	.sales.invoice.custom_si  .table-responsive table.table td.qty, .sales.invoice.custom_si  .table-responsive table.table td.qty .form-control
		{
		width: 1.5cm !important;
	}
	.sales.invoice.custom_si .table-responsive .table td.unit {
		width: 1.5cm !important;
		padding-left: 12px;
	}
	.sales.invoice.custom_si .table-responsive .table td.product_id {
		width: 10.2cm !important;
	}
	.sales.invoice.custom_si .table-responsive .table td.product_id .form-control
		{
		width: 10.2cm !important;
	}
	.sales.invoice.custom_si .table-responsive .table td.unit_price {
		width: 2.5cm !important;
	}
	.sales.invoice.custom_si .table-responsive .table td.amount {
		width: 2.5cm !important;
	}
	.sales.invoice.custom_si .table-responsive .table td.amount .form-control
		{
		width: 2.5cm !important;
	}
	.sales.invoice.custom_si .table-responsive .table td.unit_cost, .sales.invoice.custom_si .table-responsive .table td.vat_amount,
		.sales.invoice.custom_si .footer {
		display: none !important;
	}
	.sales.invoice.custom_si .details>div:first-child {
		width: 12.3cm !important;
		margin-top: .5cm;
		margin-right: .5cm;
	}
	.sales.invoice.custom_si .name {
		width: 10.3cm !important;
		margin-left: 2cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .address {
		width: 10.8cm !important;
		height: 1.1cm;
		margin-left: 1.5cm;
	}
	.sales.invoice.custom_si .address {
		width: 10.8cm !important;
		height: 1.1cm;
		margin-left: 1.5cm;
	}
	.sales.invoice.custom_si .address .address-text {
		height: 1.1cm;
	}
	.sales.invoice.custom_si .details>div:nth-child(2) {
		width: 6.3cm !important;
	}
	.sales.invoice.custom_si .ref_no {
		width: 5.2cm !important;
		margin-left: 1cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .ref_no .form-control {
		width: 4.2cm !important;
	}
	.sales.invoice.custom_si #ref_no, .sales.invoice.custom_si #label_ref_no
		{
		margin-top: 2.4cm;
		position: absolute;
	}
	.sales.invoice.custom_si #si_no, .sales.invoice.custom_si #label_si_no {
		display: block;
	}
	.sales.invoice.custom_si .txn_date {
		width: 4.2cm !important;
		margin-left: 1cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .txn_date .form-control {
		width: 4.2cm !important;
	}
	.sales.invoice.custom_si .tin-group {
		display: block;
	}
	.sales.invoice.custom_si .tin-group .tin_no {
		width: 5cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .tin-group .tin_no .form-control {
		width: 5cm !important;
		height: .5cm;
	}
	.sales.invoice.custom_si .tin-group .bus_style {
		width: 3.5cm !important;
		margin-left: 2cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .tin-group .bus_style .form-control {
		width: 3.5cm !important;
		height: .5cm;
		font-size: 9pt;
	}
	.sales.invoice.custom_si .terms:nth-child(2) {
		width: 2.5cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .terms:nth-child(2)>.form-control {
		width: 2.5cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .terms:nth-child(3), .sales.invoice.custom_si .terms:nth-child(3)>.form-control
		{
		width: 1.5cm !important;
		margin-left: 0cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .order_no {
		width: 4.2cm !important;
		margin-left: 1.5cm;
		height: .5cm;
	}
	.sales.invoice.custom_si .order_no .form-control {
		width: 4.2cm !important;
	}
	.sales.invoice.custom_si .summary {
		max-width: 19.2cm;
		width: 100%;
	}
	.sales.invoice.custom_si .summary .col-sm-3.col-xs-6.summary-label,
		.sales.invoice.custom_si .summary .col-sm-3.col-xs-6.less_vat, .sales.invoice.custom_si .summary .col-sm-3.col-xs-6.nonvatable,
		.sales.invoice.custom_si .summary .col-sm-3.col-xs-6.sc_pwd_discount {
		display: none;
	}
	.sales.invoice.custom_si .summary .col-sm-3.col-xs-6 {
		margin-left: 5.6cm;
		width: 2.5cm !important;
		padding-left: 0px;
		padding-right: 0px;
		height: .605cm;
	}
	.sales.invoice.custom_si .summary .col-sm-6.hidden-xs {
		display: none !important;
	}
	/** for total **/
	.sales.invoice.custom_si .summary .col-sm-6.hidden-xs+.col-sm-3.col-xs-6.summary-label+.col-sm-3.col-xs-6
		{
		margin-left: 16.3cm !important;
		width: 2.5cm !important;
	}
	.sales.invoice.custom_si .summary .col-sm-3.col-xs-6 label.form-control
		{
		width: 2.5cm !important;
		padding: 0px;
		margin: 0px;
	}
	/** for left side **/
	.sales.invoice.custom_si .summary .col-sm-3.col-xs-6.vatable, .sales.invoice.custom_si .summary .col-sm-3.col-xs-6.vatexempt,
		.sales.invoice.custom_si .summary .col-sm-3.col-xs-6.vatzero, .sales.invoice.custom_si .summary .col-sm-3.col-xs-6.vat
		{
		margin-left: 7.7cm;
	}
	.sales.invoice.custom_si .summary .col-sm-3.col-xs-6.vatable {
		margin-top: -.605cm;
	}
	.sales.invoice.custom_si .summary .col-sm-3.col-xs-6.amount_due {
		margin-top: -.605cm;
		margin-left: 6.1cm;
	}
	.sales.invoice.custom_si .summary .col-sm-3.col-xs-6.add_vat {
		margin-top: -.605cm;
		margin-left: 6.1cm;
	}
	.sales.invoice.custom_si .total_amount_due {
		margin-top: -.605cm;
	}
}