/* Table formatting */

.ntkTable {
	margin: 0 auto;
	font-size: x-small;
	border-collapse: collapse;
	border: none;
}
.ntkTable td, .ntkTable th {
	border: 1px solid #CCCCCC;
}
.ntkTable td {
	padding: 4px;
}
.ntkTable th {
	background: #669966;
	color: #FFFFFF;
	text-align: center;
}
.ntkTableRow {
	background: #FFFFFF;
}
.ntkTableAltRow {
	background: #E5E5E5;
}
.ntkTableGroupHeadRow {
	background: #C7DAC6;
}
.ntkTableGroupRow {
	background: #E0EBDF;
}
.ntkTableTotalRow td, .ntkTable .total td {
	font-weight: bold;
	background: #C19F9F;
}
.ntkTableSubTotalRow {
	font-weight: bold;
	background: #D5BBBB;
}
.ntkTableIbarakiRow {
	background: #FFC0CB;
}
.ntkTable .number, .ntkTable .subdivision {
	text-align: right;
}
.ntkTable .areatitle {
	text-align: center;
}
.ntkTable .spacer {
	border: none;
	background: #FFFFFF;
}


/* Miscellaneous */

#tablenoteslabel {
	float: left;
	color: #606060;
	margin: 0.5em 0 0 1.5em;
	display: inline; /* Fix for IE doubled float margin bug */
}
#tablenotes {
	float: left;
	margin: 0.5em 0 1em 0.5em;
	display: inline; /* Fix for IE doubled float margin bug */
	width: 500px;
}
#tablenotes ol {
	padding: 0;
	margin: 0 0 0 2em;
}
caption {
	font-weight: bold;
	margin-bottom: 0.5em;
}


/* Scrollable table hack */

/* define height and width of scrollable area.  */
#scrollwrapper {
	height: 384px;
	overflow: auto;
	margin: 0 auto;
}

/* Reset overflow value to hidden for all non-IE browsers. */
html>body #scrollwrapper {
	overflow: hidden;
}

/* define width of table. IE browsers only */
#scrollwrapper table {
	float: left;
}

/* set table header to a fixed position. WinIE 6.x only */
/* In WinIE 6.x, any element with a position property set to relative and is a child of */
/* an element that has an overflow property set, the relative value translates into fixed. */
/* Ex: parent element DIV with a class of tableContainer has an overflow property set to auto */
#scrollwrapper thead tr {
	position: relative;
	background: #CCCCCC;
}
#scrollwrapper tfoot tr {
	position: relative;
	top: -100%;
}
#scrollwrapper tfoot td {
	position: relative;
	top: 384px;
}

/* set THEAD element to have block level attributes. All other non-IE browsers */
/* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
html>body #scrollwrapper thead tr, html>body #scrollwrapper tfoot tr {
	display: block;
}

/* define the table content to be scrollable */
/* set TBODY element to have block level attributes. All other non-IE browsers */
/* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
/* induced side effect is that child TDs no longer accept width: auto */
html>body #scrollwrapper tbody {
	display: block;
	height: 325px;
	overflow: auto;
}

