@media screen {
	h1.printable {
		display:none;
		}
	
	table.panel_table .print_show {
		display:none;
	}
	}


@page {
  size: A4; /* Or 'letter' */
  margin: 15mm;
}

	
@media print {

	h1.printable {
		display:block;
		margin:0px;
		padding:0px;
		height:30px;
		line-height:30px;
		}
		
	div.layout {
	 	margin:0px !important;
	 	padding:0px !important;
	 	left:0px !important;
	 	height:auto !important;
	    font-size: 11pt !important;
	    background: none;
		background-color:none !important;
	  	}

	/* Prevent unwanted elements from appearing on print */
	header, footer, nav, .no-print, .header, .footer, ul#control_tabs, .options, p.mobile_warning, #messages {
    	display: none;
  		}

  	/* Ensure page breaks occur properly */
  	.page-break {
    	page-break-before: always;
    }
	
	/* Prevent headings and elements from splitting across pages */
	h1, h2, h3, h4, h5, h6 {
   		break-after: avoid; /* Prevents heading from sitting alone at the bottom */
  	}
  	
  	/* Ensure images scale nicely */
	img, svg {
		max-width: 100% !important;
		height: auto;
	}
	
	.content,
	.content.right {
		flex-grow: 1;
		background-color:none;
		overflow: auto;
		padding:0px;
		min-height:none;
	}
	
	section.r {
		background-color:none;
		border:none;
	    page-break-before: always;
	}
	
	table {
		margin:0px !important;
		padding:0px !important;
		outline:none !important;
		border:none !important;
	}
	
	td, tr, th {
		padding-left:0px !important;
		padding-right:0px !important;
		margin-left:0px !important;
		text-indent:0px !important;
		border:none !important;
	}
	
	.panel_expand_row {
	    page-break-after: always;
	}
	
	.panel_table_header {
		display:none;
	}
	
	.layout.export table tr.row_title td {
		font-size:18px;
		line-height:22px;
		padding-top:14px !important;
	}
	
	table.panel_table.small {
		outline:none !important;
		border:none !important;
		margin:0px !important;
		padding:0px !important;
	}
	
	table.panel_table td.first_column,
	table.panel_table td.last_column {
		display:none !important;
	}
	
	table.panel_table .print_hide {
		opacity:0 !important;
	}
	
	table.panel_table .print_show {
		opacity:1 !important;
		display:block;
	}
	
	table.panel_table h3 {
		font-family: var(--font-body);
		font-size:16px;
		color:black;
		font-weight:500;
		margin-top:-20px;
		padding-top:0px;
	}
	
	.layout.export table tr.row_title,
	.layout.export table tr.row_title td,
	.layout.export table tr.row_title,
	.layout.export table tr.row_title td {
		border-bottom:none !important;
	}
	
	.layout.export table td,
	.layout.export table tr,
	.layout.export table th {
		border:none !important;
	}
		
}

