@page { size:8.5in 11in; margin: 2cm }

@media all {
	.dataTables_length { display: none; }
	.dataTables_filter { display: none; }

	label.error { 
		color: red; 
		vertical-align: top; 
		font-weight:bold
	}

	input.error {
		background-color: red;
	}

	.show_hide { display: none; }

	div.error {
		border: 2px solid red;
	}

	#sales-popup-popup {
	    width: 80%;
	    left: 10%;
	    right: 10%
	}

	div.error-div {
		color: red; 
		vertical-align: top; 
		font-weight:bold
	}

	table.dataTable td.right {
		text-align: right;
		padding: 3px 18px 3px 10px;
	}

	.page-break { display: none; }
	
	/* table.invoice { page; page-break-after: always; } */

	div#logo { padding: 3px 2px 3px 2px; width: 120px; height: 120px; }

	.bordered { border: 1px solid black; }

	table.pretty thead th { border: 1px solid black; border-bottom: none; border-top: none}
	table.pretty tbody td { border: 1px solid black; border-bottom: none; }
	table.pretty tfoot th { border: 1px solid black; border-top: 2px solid black; }
	table.pretty tfoot th.double { border: 1px solid black; border-top: thick double black; width: 100px; }

	.data-table-header {
		padding: 1px 40px 1px 40px;
		border: 2px solid black;
		border-top: 1px solid black;
		border-bottom: 1px solid black;
	}

	.nodisplay { display: none; }
	.whitebg { background: white; }
	.whitebg h1 { font-family: "Times New Roman", Georgia, Serif; margin: 10px 2px 2px 2px; padding: 2px; }
	.whitebg h2 { margin: 2px; padding: 2px; }

	.ui-field-contain { border-bottom-width: 0px; }
	.ui-btn-c { width: 100px; }
	.sure-1 { text-align: center; }
}

@media print {
	.page-break { display: block; page-break-before: always; }
	.noprint { display: none; }
	/* @page { margin: 0; }
	.whitebg { margin: 1.5cm; } */
	table tfoot tr { page-break-before: avoid; }
}
