
/* inputs */

table.Form,
table.ModuleResult,
table.Module {
  border: 0;
  margin: 0;
  background-color : #EEE;
  width: 100%;
}

table.Form thead tr th,
table.Module thead tr th {
  padding: 5;
}

table.Form tbody tr td,
table.Module tbody tr td {
  padding: 5;
}

table.Form tr.Inp,
table.Module tr.Inp {
}

table.Form tr.Inp th.Header,
table.Module tr.Inp th.Header {
  font-size: 16px; 
  font-weight: bold;
  text-align: left;
  color: #FFF; 
  background-color: #999; 
}

table.Form tr.Inp th.subHeader,
table.Module tr.Inp th.subHeader {
  font-size: 12px; 
  font-weight: bold;
  text-align: left;
  color: #000; 
  background-color: #ccc; 
}

table.Form tr.Inp td.Label,
table.Module tr.Inp td.Label {
  /*width: 100%;*/
}

table.Form tr.Inp td.Leader,
table.Module tr.Inp td.Leader {
  white-space: nowrap;
}

table.Module div.helpPopup {
padding: 5px;
background-color: #FFFFE1;
border: solid 1px black;
}


input.ModInpBtn {
  font-size: 9px; 
}

span.TplDebug {
  font-size: 10px; 
  color : #666; 
}

table.Module tr.Error table {
  background-color: #F5BDC5;
  color: #AF0000;
  width: 100%;
  padding: 5;
  margin: 0;
}

tr.Inp .Req, span.Req {
  color: #AF0000;
}

tr.nav td {
  text-align: right;
}



#content table.Form tbody table.group,
#content table.Module tbody table.group {
border-collapse: collapse; /* cellspacing=0 */
border: 0;
}

#content table.Form tbody table.group td,
#content table.Module tbody table.group td {
margin: 0;
padding: 1px 6px 1px 0px;
}

#content table.Form tbody table.group td input,
#content table.Module tbody table.group td input {
margin: 4px 3px;
margin: 0;
}

#content table.Form tbody table.group td.sublabel input,
#content table.Module tbody table.group td.sublabel input {
margin: 0;
xmargin-right: 4px;
}

#content table.Form tr td.sublabel,
#content table.Module tr td.sublabel {
margin: 0;
padding: 0;
}

#content table.Form tr td small,
#content table.Form tr td.sublabel p,
#content table.Module tr td small,
#content table.Module tr td.sublabel p {
margin: 0;
padding: 0;
font-size: 10px; 
}



/* results */

table.ModuleResult {
  border: 0;
  margin: 0;
  background-color : #BADAEE; 
}

table.ModuleResult thead.basedOn, table.ModuleResult tbody.basedOn {
  background-color : #FFF; 
}

table.ModuleResult thead tr th {
  padding: 5;
}

table.ModuleResult tbody tr td {
  padding: 5;
}

table.ModuleResult tr.Res th.Header {
  font-size: 16px; 
  font-weight: bold;
  text-align: left;
  color : #FFF; 
  background-color : #2770A3; 
}

table.ModuleResult tr.Res th.BasedOn {
  font-size: 12px; 
  font-weight: normal;
  text-align: left;
  font-style: italic; 
  padding-top: 2em;
}

table.ModuleResult tr.ResInpBack {
  font-weight: bold;
}

table.ModuleResult tbody tr.ResRes {
  background-color: #DBEBF7;
}

table.ModuleResult tbody.BasedOn tr.ResRes {
  background-color: #FFF;
}

table.ModuleResult td.Label {
  /*width: 100%;*/
}

table.ModuleResult td.Value {
  white-space: nowrap;
  text-align: left;
}

table.ResTable {
  width: 100%;
  border: 0;
  padding: 3;
}

table.ResTable thead {
  font-size: 16px; 
  font-weight: bold;
  text-align: left;
  color : #FFF; 
  background-color : #2770A3; 
}

table.ResTable tbody {
  text-align: left;
  background-color: #DBEBF7; 
}

table.ResTable tbody td.RTH{
  font-weight: bold;
}

table.ModuleResult td.R {
  text-align: right;
}

table.ModuleResult td.H {
  font-size: 12px; 
  font-weight: bold;
  text-align: left;
  vertical-align: bottom;
  background-color: #DBEBF7; 
}

table.ModuleResult td.HR {
  font-size: 12px; 
  font-weight: bold;
  text-align: left;
  vertical-align: bottom;
  background-color: #DBEBF7; 
}
