/********************************/
/*  CSS used for Admin Print   */
/********************************/

/* print view screen */
.print-wrap #admin-list-page-holder {
    margin: 0;
    border-radius: 3px;
}
.print-title {font-size: 1.75em;font-weight: bold;margin:10px 0 10px 0;}
.single-admin-area.print-wrap {padding: 1rem 2rem;font-size: .865rem;color: #000;background-color: #fff;}
.main-table.printPreview {max-width: 794px; font-size: .83333;}
.main-table.printPreview td {max-width: 256px;}
.print-wrap * {color: #000;}
.print-wrap table {max-width: 795px;}
.print-wrap th {font-weight: bold; padding:0 .3em .5em; vertical-align: bottom;border-top: 1px solid #aaa;}
.print-wrap th.print-main-title {font-size: 1.5em; padding: 1.25em 0 .25em;text-decoration:underline}
.print-wrap th.print-sub-title {font-size: 1.25em; padding: 1em 0 .125em;}
.print-wrap td {padding:.125em 0;border-top:1px solid #aaa;}
.print-wrap td:first-child:not([colspan]) { word-wrap: break-word;padding-right: 1em;width:30%}
.print-wrap .listPrintView td:first-child {width: unset;}
.print-wrap .listPrintView th, .listPrintView td {font-size: 1em; padding: .375em .25em;border-bottom:1px solid #808080;}
.print-wrap .listPrintView td .emp {font-style: italic;color: #666;}
.print-wrap td, .print-wrap th {font-size: 1em;font-family:Arial, sans-serif;}
.print-wrap .dividerTitle {font-weight: bold; font-style: italic; padding:.25em 0 .25em 1em;}
.print-none, .print-wrap .quickeditlink {display: none;}

.main-table.printPreview {background-color: #fff;}
.printPreview td {padding: 0 .3em; border-right: 1px dotted #aaa;}
.print-wrap .printPreview .aggregate {background-color: transparent;}
.main-table.printPreview tr:last-child td { border-bottom: 1px solid #aaa; }
.main-table.printPreview tr td:first-child,.main-table.printPreview tr th:first-child { border-left: 1px solid #aaa; min-width: unset;}

/* list of elements on print view */
table.listPrintView {border-collapse: collapse; width:100%;}

.print-wrap table.main-table tr.row0:hover, .print-wrap table.main-table tr.row1:hover {background-color: #eee;}

/* physical print */
@media print {
	body {
		background: none white;
		color:black;
		font-size: 10pt;
	}
	div.print-title {
		font-size: 2.25em;
		font-weight: bold;
		margin:10px 0 10px 0;
	}
	div.float-right {
		float:right;
		margin-left:20px;
		text-align:center;
	}
	div.float-right img {padding:5px;}
	h3 {margin:15px 0 5px 0;}
	/* also defined in admin.css */

	table.printer {border:0;}
	table.printer td, table.printer th {border:1px solid #000;padding:3px;font-size:11px;}
	table.printer td.qc {width:500px;}
	table.printer td.qc-no-border {border:0;}
	div.checkbox {width:12px;height:12px;border:1px solid #000;display:inline;}

	/* DO NOT PRINT elements */
	.qtip, .qtip-tip, .qtip-content, .topLine, #feedBackDiv, #iconLine,.single-admin-tabrow, .box-rounded, .foot-top-cell, .foot-bottom-cell, .foot-content iframe, .print-none, #sysfoot, #searchTButton, #admin-list-page-holder .corner-image, #search-layer, .edit-link, .push-button, .subtabList, .checkout-button  {
		display: none !important;
	}

	img, input, select, textarea {
		border: none;
	}

	a {
		color: black;
		text-decoration: none;
	}

	.content-text, .print-wrap th, .print-wrap td, #admin-list-page-holder td, .navigation-div, .single-admin-area, .elementid-div, .feedback  {
		font: normal 1em Arial, Helvetica, sans-serif;
	}

	.iFrameBody .main-part {
		font: normal 1em Arial, Helvetica, sans-serif;
	}

	/* hide all H1 tags as they cause issues, use div.print-title as the main title for print views */
	h1 { display:none; }

	h2, .feedback  {
		font-size: 1.6em;
		font-weight: bold;
		margin:0;
	}

	.elementid-div {
		font-size: 1.2em;
		font-weight: bold;
	}

	.navigation-div {
		font-size: .9em;
	}
	.print-wrap th, .print-wrap td {
		border-top: 1px solid #aaa;
	}

	.print-wrap th {
		font-weight: bold;
	}

	th.print-main-title {
		font-size: 1.4em;
		text-decoration:underline;
		text-align: center;
	}

	th.print-sub-title {
		font-size: 1.2em;
	}
	.print-wrap td {
		overflow-wrap: anywhere;
	}
	.print-wrap td:first-child {
		min-width: 30%;
		max-width: 30%;
	}
	.print-wrap .listPrintView td:first-child {
		min-width: unset;
		max-width: unset;
	}
	.listPrintView th, .listPrintView td {
		font: normal 0.9em  Arial, Helvetica, sans-serif;
		padding: .6ex .7em .8ex;
	}

	.listPrintView tr th {
		background-color:#E8E8E8;
		border-bottom:1px solid gray;
	}

	.listPrintView tr.row0 {
		background-color:#F3F3F3;
	}

	.listPrintView tr.row1 {
		background-color:#E8E8E8;
	}

	.listPrintView td .emp {
		font-style: italic;
		color: #666;
	}

	.main-table.printPreview {
		width: 100%;
		max-width: 28cm;
	}
	.main-table th, .main-table td {
		padding: 0 3pt;
		border-right: .25pt dotted #eee;
	}
	.main-table th {
		padding: 10pt;
		text-align: center;
		border-bottom: 0.1pt solid #ddd;
		border-top: 0.2pt solid #ddd;
	}
	.main-table td {
		border-top: 0.1pt solid #ddd;
		max-width: 7cm;
	}
	.main-table tr:last-child td {
		border-bottom: 0.2pt solid #ddd;
	}
	.main-table tr td:first-child,.main-table tr th:first-child {
		border-left: .25pt dotted #eee;
	}
	.main-table tr { page-break-inside:avoid; page-break-after:auto; }
	.print-wrap .row1 {
		background-color: #f3f3f3;
	}
	.print-wrap .aggregate {
		background-color: #ddd;
	}
	.mobdesk, .targetIcon {
		display: none;
	}

	div.chartHeader { page-break-after: always;}

	#foot-top, .errFbWarnOpener, #feedback-holder  {
		display: none;
	}
}
