@CHARSET "ISO-8859-1";

body.job_view .table>thead>tr>th, body.job_view .table>thead>tr>td {
	text-align: center;
}

body.job_view  .remarks .form-control {
	height: 34px;
}

#ticket_roles .table > tbody > tr > td, #ticket_roles .table > tbody > tr > th, #ticket_roles .table > tfoot > tr > td, #ticket_roles .table > tfoot > tr > th, #ticket_roles .table > thead > tr > td, #ticket_roles .table > thead > tr > th {
	padding: 3px;
}


@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, #select2-report_list-container {
		font-size: 8.25pt;
		font-family: monospace;
	}
	body.work_form, .work_form label, .work_form .form-control, .work_form .multiselect-native-select,
		.work_form .select2-container--default .select2-selection--single,
		.work_form .select2-container, .work_form .select2-container .select2-selection--single .select2-selection__rendered,
		.work_form .form-group-xs .select2-container--default .select2-selection,
		.work_form .form-group-xs .form-control, .work_form input[type=date].form-control, .work_form input[type=time].form-control,
		.work_form input[type=datetime-local].form-control, input[type=month].form-control,
		.work_form .select2-container--default .select2-selection--multiple,
		.work_form .select2-container--default.select2-container--focus .select2-selection--multiple,
		.work_form .table>tbody>tr>td, .work_form .table>tbody>tr>th, .work_form .table>tfoot>tr>td, .work_form .table>tfoot>tr>th,
		.work_form .table>thead>tr>td, .work_form .table>thead>tr>th, .work_form .tab-content .table th, .work_form label#label_total_amount_due.form-control,
		.work_form #select2-report_list-container {
		font-size: 6.3pt;
		font-family: calibri;
	}

	#job_philtop_view_table .table > tbody > tr > td, #job_philtop_view_table .table > tbody > tr > th
	{
		line-height: 1.88;
	}

	#ticket_roles .table > tbody > tr > td, #ticket_roles .table > tbody > tr > th
	{
		line-height: 1.88;
	}

	.print-header .address {
		font-size: 8pt;
	}
	.form-control:placeholder-shown {
		display: block;
	}
	div.table-responsive table.table input[type=number].form-control {
		min-width: auto;
	}
	
	
	body.job_view #print_head .address, body.job_view #print_head .contact,
		body.job_view #print_head br {
		display: none;
	}
	body.job_view #print_head {
		margin-bottom: .1cm;
	}
	body.job_view #print_head .print-header img.logo {
		width: 0.5cm;
		margin-right: .2cm;
	}
	body.job_view #product, body.job_view #product .table {
		max-width: 27cm !important;
	}
	body.job_view .table {
		margin-bottom: 0.1cm;
	}
	body.job_view #product  table.table>tbody>tr>td.product_id,
		body.job_view #product table.table>thead>tr>td.product_id
		{
		max-width: 5.7cm !important;
		min-width: 5.7cm !important;
		overflow: hidden;
	}
	body.job_view #product  table.table>tbody>tr>td.description,
		body.job_view #product table.table>thead>tr>td.description
		{
		width: 20% !important;
		max-width: 4.5cm !important;
		min-width: 2.5cm !important;
		overflow: hidden;
	}
	body.job_view #product table.table>tbody>tr>td.qty,
		body.job_view #product table.table>thead>tr>td.qty
		{
		width: 10% !important;
		max-width: 1.5cm !important;
		min-width: 1cm !important;
	}
	body.job_view #product table.table>tbody>tr>td.unit,
		body.job_view #product table.table>thead>tr>td.unit
		{
		width: 5% !important;
		max-width: 1.2cm !important;
		min-width: 0.5cm !important;
	}
	body.job_view #product table.table>thead>tr>td span, body.job_view #product table.table>tbody>tr>td span
		{
		white-space: nowrap;
		height: 30px;
	}
	body.job_view #product .table>tbody>tr>td, body.job_view #job_philtop_view_table .table>thead>tr:first-child,
		body.job_view #job_philtop_view_table .table>thead>tr:nth-child(2)>td
		{
		font-size: 7pt;
		font-weight: normal;
	}
	body.job_view #job_philtop_view_table .table>tbody>tr>td:first-child,
		body.job_view #job_philtop_view_table .table>thead>tr:nth-child(3)>td
		{
		font-size: 6pt;
	}
	body.job_view #job_philtop_view_table .table>tbody>tr>td, body.job_view #job_philtop_view_table .table>tfoot>tr>td
		{
		height: 0.55cm;
	}
	body.job_view .table>thead>tr:first-child>th, body.job_view .table>thead>tr:first-child>td
		{
		border-top: 1px solid #666 !important;
	}
	body.job_view .table>thead>tr>th, body.job_view .table>thead>tr>td, body.job_view .table>tbody>tr>td,
		body.job_view .table>tfoot>tr>td {
		border-bottom: 1px solid #666 !important;
		border-right: 1px solid #666 !important;
	}
	body.job_view .table>thead>tr>th:first-child, body.job_view .table>thead>tr>td:first-child,
		body.job_view .table>tbody>tr>td:first-child, body.job_view .table>tfoot>tr>td:first-child
		{
		border-left: 1px solid #666 !important;
	}
	body.job_view  .table-striped>tbody>tr:nth-of-type(odd) td {
		background-color: #f3f3f3 !important;
		-webkit-print-color-adjust: exact;
	}
	body.job_view  .remarks .form-control {
		height: 0.35cm;
	}
	body.job_view .page {
		page-break-after: always;
	}
	body.job_view #ticket_product, body.job_view #ticket_product .table {
		width: 9.5cm !important;
		max-width: 9.5cm !important;
	}
	body.job_view .form-control.fc-ba {
		padding-top: .2cm;
		padding-bottom: .2cm;
		margin-bottom: .2cm;
	}
	body.job_view .form-control.fc-ba.quota {
		margin-top: -0.4cm;
	}
	body.job_view #packing_work_order .table>thead>tr>td:first-child,
	body.job_view #packing_work_order .table>tbody>tr>td:first-child  {
		font-size: 6pt;
		padding: 0 2px;
		vertical-align: middle;
		text-align: right;
	}

	/** Sale Pay Request screen **/
	body.sale-pay-request.print-duplicate .container-fluid {
		width: 46.35%;
		max-width: 15cm;
		display: block !important;
		overflow-x: hidden;
		overflow-y: visible;
	}
	body.sale-pay-request.print-duplicate .container-fluid .table-responsive .form-control,
	body.sale-pay-request.print-duplicate .container-fluid .form-control,
	body.sale-pay-request.print-duplicate .container-fluid .table-responsive .select2-container .select2-selection--single .select2-selection__rendered,
	body.sale-pay-request.print-duplicate .container-fluid .table-responsive .table > tbody > tr > td {
		font-size: 10.5pt;
	}
	body.sale-pay-request.print-duplicate .container-fluid.original {
		margin-right: 1cm;
		float: left;
	}
	body.sale-pay-request.print-duplicate .container-fluid.duplicate {
		margin-top: 0cm;
		margin-left: 1cm;
		float: right;
	}
	body.sale-pay-request.print-duplicate .table-responsive {
		border-top-width: 0;
		width: 100%;
	}
	body.sale-pay-request.print-duplicate .table-responsive table {
		width: 100%;
	}
	body.sale-pay-request.print-duplicate form>.row:first-of-type>div>.row>.col-md-9.col-sm-8.col-xs-12>.form-control
		{
		text-align: right;
		font-weight: bold;
		font-size: 10pt;
	}
	body.sale-pay-request.print-duplicate form>.row>.col-md-10.col-sm-9.col-xs-12
		{
		width: 80%;
	}
	body.sale-pay-request.print-duplicate form>.row:nth-of-type(2) .address_details
		{
		line-height: 1;
		height: 0.6cm !important;
		font-size: 7pt;
	}
	body.sale-pay-request.print-duplicate .print-header>br, body.sale-pay-request.print-duplicate .print-header>small.address,
		body.sale-pay-request.print-duplicate .print-header>small.tin, body.sale-pay-request.print-duplicate #label_ref_no.col-form-label,
		body.sale-pay-request.print-duplicate h4.print_only>br, body.sale-pay-request.print-duplicate .table-responsive td.table-description,
		body.sale-pay-request.print-duplicate .table-responsive td.table-due_date
		{
		display: none;
	}
	body.sale-pay-request.print-duplicate .print-header>small.contact {
		display: block;
	}
	body.sale-pay-request.print-duplicate .print-header>small.contact>span {
		display: inline-block;
	}
	body.sale-pay-request.print-duplicate h4.print_only {
		text-align: right;
		margin-top: -1.6cm;
	}
	body.sale-pay-request.print-duplicate h4.print_only>small {
		display: block;
	}
	body.sale-pay-request.print-duplicate .address_details {
		font-size: 8pt;
	}
	body.sale-pay-request.print-duplicate td.table-add, body.sale-pay-request.print-duplicate td.table-remove
		{
		display: table-cell;
	}
	body.sale-pay-request.print-duplicate td.table-remove span.rownum.noprint
		{
		display: block !important;
		background: transparent;
		border: 0;
		width: auto;
		height: auto;
		font-size: 10.5pt;
		padding: 0;
		margin: 0;
	}
	body.sale-pay-request.print-duplicate .summary.discount > .col-xs-12 > .row > .discount-left-pad.print_only {
		display: none!important;
	}
	body.sale-pay-request.print-duplicate .summary.discount > .col-xs-12 > .row > .discount-details {
		width: 40%!important;
	}
	body.sale-pay-request.print-duplicate .summary.discount > .col-xs-12 > .row > .discount-offset {
		width: 10%!important;
	}
	body.sale-pay-request.print-duplicate .summary.discount > .col-xs-12 > .row > .discount-values {
		width: 50%!important;
	}
	body.sale-pay-request.print-duplicate .summary > div {
		padding: 0;
	}
	/** repeat header in counter **/
	body.sale-pay-request.print-duplicate.repeat-header .print-header {
		width: 45% !important;
		position: fixed;
	}
	body.sale-pay-request.print-duplicate.repeat-header .original .print-header
		{
		left: 0;
	}
	body.sale-pay-request.print-duplicate.repeat-header .duplicate .print-header
		{
		left: 53.5%;
	}
	body.sale-pay-request.print-duplicate.repeat-header form>.row:first-of-type
		{
		position: fixed;
		top: 1.3cm;
		margin-left: 0;
		margin-right: 0;
	}
	body.sale-pay-request.print-duplicate.repeat-header form>.row:first-of-type>div>.row>.col-md-9.col-sm-8.col-xs-12>.form-control
		{
		position: fixed;
		top: 1.3cm;
	}
	body.sale-pay-request.print-duplicate.repeat-header .original form>.row:first-of-type>div>.row>.col-md-9.col-sm-8.col-xs-12>.form-control
		{
		right: 53.5%;
	}
	body.sale-pay-request.print-duplicate.repeat-header .duplicate form>.row:first-of-type>div>.row>.col-md-9.col-sm-8.col-xs-12>.form-control
		{
		right: 0;
	}
	body.sale-pay-request.print-duplicate.repeat-header .original form>.row:first-of-type
		{
		left: 0;
	}
	body.sale-pay-request.print-duplicate.repeat-header .duplicate form>.row:first-of-type
		{
		left: 53.5%;
	}
	body.sale-pay-request.print-duplicate.repeat-header form>.row:nth-of-type(2)
		{
		position: absolute;
		top: 1.6cm;
	}
	body.sale-pay-request.print-duplicate.repeat-header form>p.print_only:first-of-type
		{
		position: absolute;
		top: 2.2cm;
		line-height: 1;
	}
	body.sale-pay-request.print-duplicate.repeat-header h4.print_only {
		top: 0;
		position: fixed;
		margin-top: 0;
	}
	body.sale-pay-request.print-duplicate.repeat-header .original h4.print_only
		{
		right: 53.5%;
	}
	body.sale-pay-request.print-duplicate.repeat-header .duplicate h4.print_only
		{
		right: 0%;
	}
	body.sale-pay-request.print-duplicate.repeat-header .table-responsive thead tr td {
		padding-top: 1.7cm;
	}
	body.sale-pay-request.print-duplicate.repeat-header .dashboard-content>br {
		display: none;;
	}
	body.sale-pay-request.print-duplicate.repeat-header .summary,
	body.sale-pay-request.print-duplicate.repeat-header .summary.discount,
	body.sale-pay-request.print-duplicate.repeat-header form>div.form-group,
	body.sale-pay-request.print-duplicate.repeat-header .timestamp,
	body.sale-pay-request.print-duplicate.repeat-header .footer {
		background: #FFFFFF!important;
		z-index: 999999;
		position: relative;
		margin: 0 -15px;
	}
	body.sale-pay-request.print-duplicate.repeat-header .footer  {
		padding-top: 1cm;
	}
	body.sale-pay-request.print-duplicate.repeat-header .timestamp {
		padding-bottom: 1.2cm;
	}
	body.sale-pay-request .bg-warning {
		background-color: yellow !important;
	}
	body.sale-pay-request .bg-warning .text-danger {
		color: red !important;
	}

	/** Sales Invoice screen **/
	.sales.invoice div.col-xs-12 {
		padding: 0;
	}
	.sales.invoice .row {
		margin: 0;
	}
	.sales.invoice, .sales.invoice .form-control,
	.sales.invoice .select2-container .select2-selection--single .select2-selection__rendered,
	.sales.invoice .table-responsive .table > tbody > tr > td {
		text-transform: uppercase;
		font-size: 10pt;
	}

	.sales.invoice .table-responsive .form-control,
	.sales.invoice .table-responsive .select2-container .select2-selection--single .select2-selection__rendered,
	.sales.invoice .table-responsive .table > tbody > tr > td {
		text-transform: uppercase;
		font-size: 10.5pt;
		padding-bottom: 0.06cm;
	}

	.sales.invoice.custom_si h4.invoice_title.si, .sales.invoice.custom_tr h4.invoice_title.tr,
		 .sales.invoice.custom_ar h4.invoice_title.tr, .sales.invoice.custom_dr h4.invoice_title.dr, .sales.invoice.custom_so h4.invoice_title.so,
		.sales.invoice>h4, .sales.invoice .footer.print_only {
		display: none !important;
	}
	.sales.invoice label, .sales.invoice .timestamp, .sales.invoice #customer_id,
		.sales.invoice .table .vat_amount {
		display: none;
	}
	.sales.invoice label.form-control {
		display: block;
	}
	.sales.invoice label.form-control[type="text"][value="-"] {
		display: none;
	}
	.sales.invoice .form-address.col-xs-12 {
		padding: 0;
	}
	.sales.invoice .form-address .form-control {
		width: 100% !important;
	}
	.sales.invoice .agent-group, .sales.invoice .tin-group {
		display: block;
	}
	.sales.invoice .courier-group, .sales.invoice .del-group {
		display: none !important;
	}
	.sales.invoice [name="lot_no[]"].form-control:placeholder-shown {
		display: none;
	}
	.sales.invoice [name="description[]"].form-control:placeholder-shown {
		display: none;
	}
	.sales.invoice .table-responsive table.table tr>td:first-child {
		display: none;
	}
	.sales.invoice .txn_date input.form-control {
		text-align: right;
	}
	.sales.invoice s.product_discount_field, .sales.invoice i.product_discount_field
		{
		display: none;
	}

	.sales.invoice {
		width: 20.5cm;
		margin: 3.2cm 0 0 0;
		padding: 0;
	}
	.sales.invoice .details>div {
		width: 9.6cm !important;
		padding: 0;
	}
	.sales.invoice .details>div:first-child {
		width: 10.8cm !important;
	}
	.sales.invoice .name.col-xs-12 {
		margin: 0 0 0 0;
		padding: 0.6cm 0 0 1.4cm;
		width: 100% !important;
	}
	.sales.invoice .name #name, .sales.invoice .name #label_name {
		width: 9.5cm !important;
		min-width: 9.5cm !important;
		height: 0.6cm !important;
		min-height: 0.5cm !important;
	}
	.sales.invoice .address.col-xs-12 {
		margin: 0 0 0 0;
		padding: 0.35cm 0 0 1.4cm;
		width: 100% !important;
	}
	.sales.invoice .address div {
		margin: 0;
		padding: 0;
	}
	.sales.invoice .address .form-address {
		width: 9.5cm !important;
		max-width: 9.5cm !important;
		height: 0.85cm !important;
		min-height: 0.85cm !important;
	}
	.sales.invoice .address .form-address.print_only.form-group {
		margin-bottom: 0;
	}
	.sales.invoice .address .address-text {
		height: 0.9cm;
		font-size: 8pt;
	}
	.sales.invoice .tin-group {
		width: 100% !important;
	}
	.sales.invoice .tin_no.col-xs-12 {
		margin: 0 0 0 6cm;
		padding: 0.6cm 0 0 0.2cm;
		width: 4.9cm !important;
	}
	.sales.invoice .tin_no #tin_no, .sales.invoice .tin_no #label_tin_no {
		width: 4.7cm !important;
		min-width: 4.7cm !important;
		height: 0.6cm !important;
		min-height: 0.6cm !important;
	}
	.sales.invoice .bus_style.col-xs-12 {
		width: 4.9cm !important;
		min-width: 4.9cm !important;
		padding: 0.6cm 0 0 0.3cm;
		margin-left: -9.8cm;
	}
	.sales.invoice .bus_style #bus_style, .sales.invoice .bus_style #label_bus_style
		{
		width: 4.6cm !important;
		min-width: 4.6cm !important;
		height: 0.6cm !important;
		min-height: 0.6cm !important;
		font-size: 8pt;
	}
	.sales.invoice .ref_no {
		margin: 0 0 0 4.85cm;
		padding: 1.9cm 0 0 0cm;
		width: 4.85cm !important;
		height: 2.4cm;
	}
	.sales.invoice .ref_no .col-xs-12,
	.sales.invoice .ref_no #ref_no, .sales.invoice .ref_no #label_ref_no {
		width: 4.85cm !important;
		min-width: 4.85cm !important;
		font-size: 9pt;
		text-align: right;
		padding: 0 0.5cm 0 0;
		text-align: right;
	}
	.sales.invoice .txn_date {
		margin: 0 0 0 4.85cm;
		padding: 0.5cm 0 0 0cm;
		width: 4.85cm !important;
		height: 1.1cm;
	}
	.sales.invoice .txn_date .col-xs-12,
	.sales.invoice .txn_date #txn_date, .sales.invoice .txn_date #label_txn_date {
		width: 4.85cm !important;
		min-width: 4.85cm !important;
		height: 0.6cm !important;
		min-height: 0.6cm !important;
		text-align: right;
	}
	.sales.invoice .terms.col-xs-12 {
		margin: -2.7cm 0 0 0;
		padding: 0.35cm 0.5cm 0 0.5cm;
		width: 4.85cm !important;
		height: 0.85cm;
	}
	.sales.invoice .terms.col-xs-12 #term_day, .sales.invoice .terms.col-xs-12 #label_term_day {
		width: 3.85cm !important;
		min-width: 3.85cm !important;
		height: 0.5cm !important;
		min-height: 0.5cm !important;
		text-align: left;
	}
	.sales.invoice .agent-group {
		display: none;
	}
	.sales.invoice .agent_id {
		display: none;
	}
	.sales.invoice .agent-group #agent_id, .sales.invoice .agent-group #label_agent_id
		{
		display: none;
	}
	.sales.invoice .order_no.col-xs-12 {
		margin: -3.5cm 0 0 0;
		padding: 0.35cm 0.5cm 0 0.5cm;
		width: 4.85cm !important;
		height: 0.85cm;
	}
	.sales.invoice .order_no.col-xs-12 #order_no, .sales.invoice .order_no #label_order_no {
		width: 3.85cm !important;
		min-width: 3.85cm !important;
		height: 0.5cm !important;
		min-height: 0.5cm !important;
		text-align: left;
	}
	.sales.invoice .order_id {
		display: none;
	}
	.sales.invoice .order-group #order_id, .sales.invoice .order-group #label_order_id
		{
		display: none;
	}
	.sales.invoice .warehouse-group {
		display: block
	}
	.sales.invoice .warehouse-group > .col-xs-12 {
		margin: -3.9cm 0 0 -3cm;
		padding: 0 0.5cm 0 0.5cm;
		height: 0.5cm;
		width: 4.85cm !important;
	}
	.sales.invoice .order_no.col-xs-12 #warehouse_id, .sales.invoice .order_no #label_warehouse_id {
		width: 3.85cm !important;
		min-width: 3.85cm !important;
		height: 0.5cm !important;
		min-height: 0.5cm !important;
		text-align: left;
	}
	.sales.invoice .details div.terms:nth-child(2) {
		display: none;
	}
	.sales.invoice .row.summary.discount {
		margin-top: -1.6cm;
		height: 1.6cm;
		text-align: right;
	}
	.sales.invoice .row.summary.discount > .col-xs-12 > .row {
		padding-left: 8.5cm;
	}
	.sales.invoice .row.summary.discount .subtotal-left-pad,
	.sales.invoice .row.summary.discount .subtotal-label,
	.sales.invoice .row.summary.discount .subtotal-value,
	.sales.invoice .row.summary.discount .discount-left-pad,
	.sales.invoice .row.summary.discount .discount-label,
	.sales.invoice .row.summary.discount .discount-account {
		display: none!important;
	}
	.sales.invoice .row.summary.discount .discount-details,
	.sales.invoice .row.summary.discount .discount-details .form-control {
		width: 5.25cm!important;
		padding: 0;
		margin: 0;
	}
	.sales.invoice .row.summary.discount .discount-offset,
	.sales.invoice .row.summary.discount .discount-offset .form-control {
		width: 1.7cm!important;
		font-size: 9pt;
		padding: 0;
		margin: 0;
	}
	.sales.invoice .row.summary.discount .discount-values,
	.sales.invoice .row.summary.discount .discount-values > .discount-group {
		width: 4.6cm!important;
		padding: 0;
		margin: 0;
	}
	.sales.invoice .row.summary.discount .discount-values > .discount-group > .form-control:first-child {
		width: 1.8cm!important;
		font-size: 9pt;
		padding: 0;
		margin: 0;
	}
	.sales.invoice .row.summary.discount .discount-values > .discount-group > .form-control:last-child {
		width: 2.8cm!important;
		font-size: 9pt;
		padding: 0;
		margin: 0;
	}
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.total,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.less_vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.nonvatable,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.sc_pwd_discount,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.amount_due,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.add_vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.total_amount_due {
		margin: 0 0 0 13cm;
		padding: 0 0.15cm 0 0;
		width: 7.51cm !important;
		height: 0.65cm;
	}
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.total #total,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.total #label_total,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.less_vat #vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.less_vat #label_vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.nonvatable #nonvatable,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.nonvatable #label_nonvatable,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.sc_pwd_discount #sc_pwd_discount,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.sc_pwd_discount #label_sc_pwd_discount,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.amount_due #amount_due,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.amount_due #label_amount_due,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.add_vat #add_vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.add_vat #label_add_vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.add_vat #vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.add_vat #label_vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.total_amount_due #total_amount_due,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.total_amount_due #label_total_amount_due {
		width: 7.36cm !important;
		height: 0.65cm;
		padding: 0;
	}
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatable,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatexempt,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatzero,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vat {
		margin: -1.3cm 0 0 7cm;
		padding: 0 0.15cm 0 0;
		width: 6cm !important;
		height: 0.65cm;
	}
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatable #vatable,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatable #label_vatable,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatexempt #vatexempt,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatexempt #label_vatexempt,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatzero #vatzero,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vatzero #label_vatzero,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vat #vat,
	.sales.invoice .summary.text-right .col-sm-3.col-xs-6.vat #label_vat {
		width: 5.85cm !important;
		height: 0.65cm;
	}
	.sales.invoice .row.summary, .sales.invoice .summary .row {
		margin-left: 0;
		margin-right: 0;
	}
	.sales.invoice .row.summary {
		height: 2.1cm;
	}
	.sales.invoice .summary>div {
		margin-bottom: 0.09cm;
	}
	.sales.invoice .summary label.form-control {
		display: block;
		font-weight: normal;
	}
	#label_total_amount_due {
		font-size: 12pt;
	}
	.sales.invoice .col-sm-3.col-xs-6.summary-label {
		display: none;
	}
	.sales.invoice .col-sm-6.hidden-xs {
		display: none !important;
	}
	.sales.invoice form > .row.notes,
	.sales.invoice.tr form > .row.notes {
		display: block;
	}
	.sales.invoice form > .row.notes > .col-xs-12,
	.sales.invoice.tr form > .row.notes > .col-xs-12 {
		margin: -6.1cm 0 0 0.9cm;
		width: 8.5cm!important;
		height: 1.6cm;
	}
	.sales.invoice .row.notes > .col-xs-12 #label_notes,
	.sales.invoice .row.notes > .col-xs-12 #notes {
		width: 7.6cm!important;
		height: 2.1cm;
	}
	.sales.invoice .table-responsive {
		border: 0;
		margin: 0;
		width: 20.6cm;
		height: 15.7cm;
	}
	.sales.invoice .table-responsive .table thead tr td {
		height: 1cm;
		border: 0 !important;
	}
	.sales.invoice .table-responsive .table>tbody>tr>td {
		padding: 0;
	}
	.sales.invoice .table-responsive .table td.qty {
		width: 2.85cm !important;
		text-align: right;
	}
	.sales.invoice .table-responsive .table td.qty>.form-control {
		width: 2.85cm !important;
		min-width: 2.85cm !important;
		text-align: right;
	}
	.sales.invoice .table-responsive .table td.unit {
		width: 1.15cm;
		padding-left: .1cm;
	}
	.sales.invoice .table-responsive .table td.product_id {
		width: 11.7cm;
	}
	.sales.invoice .table-responsive table .product_id .form-inline,
	.sales.invoice .table-responsive table .product_id .input-group,
	.sales.invoice .table-responsive table .product_id .form-control {
		width: 11.7cm!important;
	}
	.sales.invoice .table-responsive .table td.unit_price {
		width: 2.1cm;
		text-align: right;
	}
	.sales.invoice .table-responsive .table td.amount {
		width: 2.8cm !important;
		text-align: right;
	}
	
	/** for TR **/
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.total,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.less_vat,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.nonvatable,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.sc_pwd_discount,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.amount_due,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.add_vat,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.vatable,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.vatexempt,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.vatzero,
	.sales.invoice.custom_tr .summary.text-right .col-sm-3.col-xs-6.vat {
		display: none;
	}
	.sales.invoice.custom_tr .table-responsive {
		height: 19.7cm;
	}
	
	.sales.invoice.custom_tr form > .row.notes > .col-xs-12,
	.sales.invoice.tr.custom_tr form > .row.notes > .col-xs-12 {
		margin-top: -2.2cm;
	}
	
	.sales.invoice.custom_tr .tin-group {
		display: none;
	}
	.sales.invoice.custom_tr .ref_no {
		padding-top: 0.5cm;
		height: 1cm;
	}
	.sales.invoice.custom_tr .ref_no .col-xs-12, 
	.sales.invoice.custom_tr .ref_no #ref_no,
	.sales.invoice.custom_tr .ref_no #label_ref_no {
		font-size: 10pt;
	}
	.sales.invoice.custom_tr .order_no.col-xs-12 {
		margin-top: -1.8cm;
	}
	.sales.invoice.custom_tr .terms.col-xs-12 {
		margin-top: -0.9cm;
	}
	
	/** for DR **/
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.total,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.less_vat,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.nonvatable,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.sc_pwd_discount,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.amount_due,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.add_vat,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.vatable,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.vatexempt,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.vatzero,
	.sales.invoice.custom_dr .summary.text-right .col-sm-3.col-xs-6.vat {
		display: none;
	}
	
	.sales.invoice.custom_dr form > .row.notes > .col-xs-12,
	.sales.invoice.tr.custom_dr form > .row.notes > .col-xs-12 {
		margin-top: -2.2cm;
	}
	
	/** for SI **/
	.sales.invoice.custom_si .ref_no #ref_no, 
	.sales.invoice.custom_si .ref_no #label_ref_no {
		display: none;
	}
	
	.sales.invoice.custom_si .ref_no #si_no, 
	.sales.invoice.custom_si .ref_no #label_si_no {
		display: block;
		width: 4.85cm !important;
		min-width: 4.85cm !important;
		font-size: 9pt;
		text-align: right;
		padding: 0 0.5cm 0 0;
		text-align: right;
	}
}