h1, h2, h3, h4, h5, h6 {
	padding-left: 6px;
	padding-top: 8px;
	padding-bottom: 0;
}

table {
	margin-left: 16px;
}

p {
	margin-left: 8px;
}

p.caption {
	margin-left: 0;
}

div.nested_table {
	//border: 1px dotted #DDD;
	margin: 13px;
	padding-bottom: 0;
	padding-left: 8px;
	padding-top: 10px;
}

td, th,
td.nopadl {	
	font-weight: normal;
	padding-top: 2px;
	padding-bottom: 1px;
	padding-left: 10px;
	padding-right: 10px;
	white-space: nowrap;
}

td.nopadl {
	padding-left: 0px;
	padding-right: 6px;
}

.lists td, .lists th {
	padding-top: 0;
	padding-bottom: 0;
}

.numeric,
.numeric_bold,
.numeric_noleft,
.numeric_sum,
.numeric_sum_bold,
.count {
	text-align: right;
}

.numeric_bold {
	font-weight: bold;
}

.numeric_noleft {
	padding-left: 0;
}

.numeric_sum, .numeric_sum_bold {
	font-style: italic;
}

.numeric_sum_bold {
	font-weight: bold;
}

th.bottomhead, th.queryhead,
th.tophead, th.topheadc, th.topheadci, th.topheadl {
	padding-bottom: 2px;
}

th.bottomhead {
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}

th.queryhead {
	padding-right: 0;
}

th.subhead {
	text-align: right;
	border-right: 1px solid #CCC;
}

th.tophead, th.topheadc, th.topheadci, th.topheadl {
	border-bottom: 1px solid #CCC;
}

th.tophead {	
	text-align: right;
}

th.topheadc, th.topheadci {
	text-align: center;
}

th.topheadci {
	font-style: italic;
}

th.topheadl {
	text-align: left;
}

.problems td {
	border-left: 1px solid #CCC;
}

.problems th.topheadl,
.problems td.count {
	border-top: 1px solid #CCC;
	border-bottom: none;
	padding-top: 5px;
	padding-bottom: 5px;
}

.problems th.topheadl {	
	border-left: 1px solid #CCC;
}

.problems th.subhead,
.problems td.unruled,
.problems td.count,
.problems td.numeric_bold,
.problems td.numeric_sum_bold {
	border-right: none;
	border-left: none;
}

td.nopad {
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
}

td.split {
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	border-right: 1px solid #CCC;
}

td.lhslash {
	text-align: right;
	padding-right: 0;
}

td.slash {
	text-align: center;
	padding-left: 4px;
	padding-right: 3px;
}

td.rhslash, td.rhslashi {
	text-align: left;
	padding-left: 0;
}

td.rhslashi {
	font-style: italic;
}

table, td, th { border-collapse: collapse; }

caption, .caption {
	border-bottom: 1px dashed #CCC;
	border-top: 1px dashed #CCC;
	color: #666;
	font-size: 0.8em;
	line-height: 1.3em;
	margin-left: 20px;
	margin-top: 12px;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: left;
}

img {
	padding-bottom: 2px;
	padding-right: 1px;
}

