/*
	Table (that looks like one)
*/
table.table {
  border-width: 0px;	
  border-style: hidden;
	border-bottom: solid 2px;
	border-collapse: collapse;
	margin: 1em 0em 1em 0em; 
}
table.table table.table { /* nested table */
	margin: 0em 0em 0em 0em; 
}
table.table caption {
	font-weight: bold;
	text-align: left;
	font-size: 1.2em;
	padding: 0.5em 1em 0.5em 0em;
}
/* Body */
table.table td {
	/* Hide borders in IE */
	border-width: 0px;
	/* Firefox hides border in collapse mode even if just one side is hidden. Therefore
       hide only halves that we do not use anyway. (border-bottom is used by TABLE.table) */
	border-top-style: hidden;
	border-left-style: hidden;
	text-align:left;
  /*vertical-align: top;*/
  padding: .25em .5em .25em 0.5em;  
  border-top: solid 1px;
  border-bottom: solid 1px;
}

table.table td.treeLine {
	background-position: 0.5em 0pt;	
}
table.table td.treeLine,
table.table td.noLine {
	/* change background color here */
}
table.table td.nondata, .nondata {
	vertical-align: text-top;
	text-align: left;
	border-bottom: solid 1px white;
}
table.table td.grip {
	border-right: solid 1px white;
	border-bottom:solid 1px white;
}
table.table tr.edit input,
table.table tr.edit textarea {
    border: solid 1px;
}

/* Head */
table.table thead {
	display:table-header-group;
}
table.table tr.head td,
table.table th {
	padding: 0px;
	border-width: 0px;
	border-bottom: solid 1px;
	font-weight: normal;
	text-align: center;
	vertical-align: bottom;
	line-height: 1.6em;
}
table.table tr.head td.treeLine,
table.table tr.head td.noLine,
table.table th.treeLine,
table.table th.noLine {
	border-bottom-style:none;	
}
table.table tr.head td.vert,
table.table th.vert {
	/*layout-flow:vertical-ideographic;*/
	writing-mode:tb-rl;
	text-align:right;
	direction:rtl;
}

table.table tr.head table,
table.table th table {
	/* Special inner table in header (incl. all following styles until blank line) */
  width:100%;
  height: 100%;
}
table.table tr.head table a,
table.table th table a {
	display: block;
	text-decoration: none;
	color: black;
}
table.table tr.head table td,
table.table th table td {
	border-width: 0px;
	width: 0%;
	height: 0%;
	vertical-align: middle;	
}
table.table tr.head table td.name,
table.table th table td.name {
  width: 100%;
}
table.table tr.head table td.name div,
table.table tr.head table a,
table.table th table td.name div,
table.table th table a {
	padding-left: 0.5em;
	padding-right: 0.5em;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	border-bottom: solid 2px; /* Hidden border for links */
}
table.table tr.head table a,
table.table th table a {
	padding-left: 0pt;
}
table.table tr.head table td.name a,
table.table th table td.name a {
	width:100%;
	padding-left: 0.5em;
	padding-right: 0pt;
}
table.table tr.head img.sep,
table.table th img.sep {
	width: 0px;
	height: 0.8em;
	border-right: solid 1px;
	vertical-align:middle;
}
table.table tr.head table a,
table.table th table a {
	border-bottom: solid 2px;
}

table.table td.treeline {
	/* HACK: special hack for header */
	background-position: 0.5em 0pt;	
	border-bottom-width: 0px;	
}

/* Header detail, Subhead */
table.table tr.headDetail td {
	font-size: .85em;
	border-bottom: solid 1px white;
	text-align: center;
}
table.table tr.subhead td {	
	text-align: left;
	/*border-right:solid 1px;*/
	border-bottom: solid 1px white;
}
table.table tr.subhead td {
	font-weight: bold;
}
table.table tr.alt {
	background-color: #EEE;
}

div.tableCenter table.table td {
	text-align: center;
}
div.tableCenter table.table tr.subhead td,
div.tableCenter table.table td.nondata {
	text-align: left;
}



/*
	Table (that looks like one), color-specific
*/
table.table {
	border-bottom-color:#B9CADE;
}
table.table td {
	border-bottom-color:#D2DDE9;
}
table.table tr.subhead td,
table.table td.nondata,
table .table td.grip
{	
	background:#D2DDE9;
}
table.table tr.head td,
table.table tr.head td.grip
{
	background:#9EB3D0;
	color:#D2DDE9;
}

table.table tr.headDetail td,
table.table tr.headDetail td.grip
{
	background-color:#B9CADE;
}

table.table td span.norm {
	color:#666666;	
}