@page {
	margin: 0.5in 0.5in 0.5in 0.5in;

	@bottom {
		content: flow(footer);
	}
	
	@top-right {
		content: counter(page);
		margin: 0 0 0.25in 0;
		padding: 0;
		font-family: Arial, sans-serif;
		font-size: 10pt;
		vertical-align: bottom;
		color: #999;
		border-bottom: thin solid #999;
	}

	@top-left {
		content: string(title);
		margin: 0 0 0.25in 0;
		padding: 0;
		font-family: Arial, sans-serif;
		font-size: 10pt;
		vertical-align: bottom;
		color: #999;
		border-bottom: thin solid #999;
	}
	
}
@page landscape {
	size: US-Letter landscape;
	margin: 1in 0.5in 1in 0.5in;
}

body {
	font-family: Arial, sans-serif;
	font-size: 8.5pt;	
}

h1, h2, h3, h4 {
	font-family: Arial, sans-serif;
	font-weight: bold;
	page-break-after: avoid;
}

h1, h2 {
	font-size: 150%;
}

h1 span.title {
	string-set: title content();
}

h1 span.subtitle {
	font-size: 75%;
}

body.landscape {
	page: landscape;
}
table {
	border-collapse: collapse;
}

table.grid {
	border: thin solid black;
}

table.vstripe {
	border-bottom: thin solid black;
}

table tr.even td {
	background-color: #f9f9f9;
}

table.fullsize {
	width: 100%;
}

table th[scope="col"] {
	text-align: left;
	vertical-align: bottom;
	border-bottom: thin solid black;
	padding: 0.35em;
	text-align: justify;
	text-align-last: justify;
}

table th[scope="row"] {
	text-align: left;
	vertical-align: top;
	padding: 0.35em;
}

table.grid th {
	background-color: #ccc;
	border: thin solid black;
}

table.vstripe td {
	border-left: thin solid #999999;
	border-right: thin solid #999999;
}

table td {
	vertical-align: top;
	text-align: left;
	padding: 0.35em;
}

table.grid td {
	border: thin solid black;
}

table.grid tfoot td {
	background-color: #ccc;
	font-weight: bold;
}

table td.numeric, table th.numeric {
	text-align: right;
}

td p:first-child, li p:first-child {
	margin-top: 0;
}

table tr.subtotal td, table td.subtotal {
	font-weight: bold;
}
	
table th.center, table td.center {
	text-align: center !important;
}

table th.nowrap, table td.nowrap {
	white-space: nowrap;
}

table td.amount, table th.amount {
	text-align: right;
	width: 10%;
}
table td.year, table th.year {
	text-align: right;
	width: 4%;
}

table td.title, table th.title {
	text-align: left;
	text-align: justify;
	width: 69%;
}
table td.sub-content, table th.sub-content {
	text-align: right;
	width: 25%;
}	
table td.text,table th.text{
	text-align:justify;
	width:75%;
}
p#proj-no {
	text-align: right;
}

table.p-break{
	page-break-after: always;
}
table.close-line{
	line-height:90%;
}


table td.proj-name, table th.proj-name {
	text-align: left;
	width: 67%
}

caption.subtitle, td.subtitle, th.subtitle, p.subtitle {
	font-weight:bold;
}


