
/* inputs */

table.Form,
table.Module {
  border: 0;
  margin: 0;
  margin-bottom: 20px;
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;
}

.ModInpHeader h2,
table.Module tr.inp th.header {
font-size: 16px; 
font-weight: bold; 
color: #5A1863;
padding-top: 15px;
text-align: left;
}

table.Form tr.inp td.label {
font-weight: bold; 
width: 100%;
}

table.Module tr.inp td.label {
font-weight: normal; 
width: 100%;
}

table tbody tr.modNav td {
  white-space: nowrap;
  text-align: right;
}

table.Form tbody tr.inp td.field,
table.Form tbody tr.inp td.field span,
table.Form tbody tr.inp td.label span,
table.Form tbody tr.inp td.leader,
table.Module tbody tr.inp td.field,
table.Module tbody tr.inp td.field span,
table.Module tbody tr.inp td.label span,
table.Module tbody tr.inp td.leader {
  white-space: nowrap;
}

table.Form tbody tr.inp td.label span.labelNote,
table.Module tbody tr.inp td.label span.labelNote {
font-weight: normal; 
}

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

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

tr.inp .req {
  color: #AF0000;
}

input, select, option, textarea {
font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 12px; 
font-style: normal; 
color: #000
}


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

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

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

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

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

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

table.Form tr.inp td.field {
white-space: nowrap;
}

#pagecontent table.Form table.Error td.field table.selectRangeItem td {
white-space: normal;
}

#pagecontent table.Form table.selectRangeItem td {
white-space: nowrap;
}

#pagecontent table.Form table.Error td.label {
    xxwidth: 10%;
}


/* Error Messages */
table.Form tr td table.Error,
table.Module tr td table.Error {
    background-color: #fff;
    border: solid 4px #5A1863;
    width: 100%;
}

table.Form tr td table.Error td.errMsg,
table.Module tr td table.Error td.errMsg {
    font-style: italic; 
    width: 90%;
}

table.Form tr td table.Error td.errMsg p.title,
table.Module tr td table.Error td.errMsg p.title {
    font-style: normal; 
    font-size: 18px; 
}

table.Form tr td table.Error table.Module,
table.Module tr td table.Error table.Module {
    margin: 0; 
    padding: 0; 
}


/* Help PopUps */
.ModHlp {
    background-color: #FFFFFF;
}

/* calc buttons */
table.Module tbody tr.nav td input {
width: 90px;
text-align: center;
cursor: pointer;
}

table.Module tbody tr.inp td.calcBtn {
padding: 0px;
margin: 0px;
}

table.Module tbody tr.inp td.calcBtn input {
text-align: left;
border: none;
background-color: #F3F6CE;
padding: 0px;
margin: 0px;
margin-bottom: 10px;
cursor: pointer;
color: #8E2F9F;  
text-decoration: underline;
font-size: 11px; 
}

table.Module tbody tr.inp td.calcBtn input.hover,
table.Module tbody tr.inp td.calcBtn input:active,
table.Module tbody tr.inp td.calcBtn input:hover {
text-decoration: underline;
color: #CC0000;  
}


/* results */

table.ModuleResult {
  border: 0;
  margin: 0;
}

table.ModuleResult thead.basedOn, table.ModuleResult tbody.basedOn {
}

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

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

table.ModuleResult h2,
table.ModuleResult tr.res th.header {
  font-size: 16px; 
  font-weight: bold;
  text-align: left;
color: #fff;
padding: 5px;
  background-color : #5A1863; 
}

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.ModRes td.label,
table.ModuleResult tbody tr.ModRes td.value,
table.ModuleResult tbody tr.resRes {
  background-color: #FBFCEA;
}

table.ModuleResult tbody.basedOn td.MRH p,
table.ModuleResult tbody.basedOn tr.resRes {
  font-size: 12px; 
  font-weight: bold;
  background-color: #FBFCEA;
  color: #FFF;
  padding: 5px;
  margin-top: 20px;
}

table.ModuleResult td.label {
  width: 100%;
}

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

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

table.Res thead, 
table.ResTable thead {
  text-align: left;
  font-size: 16px; 
  font-weight: bold;
  color : #FFF; 
  background-color : #5A1863; 
}

table.Res tbody, 
table.ResTable tbody {
  text-align: left;
}

table.Res tbody tr td,
table.ResTable tbody tr td {
  padding: 3px;
}

table.Res tbody td.RTH,
table.ResTable tbody td.RTH {
  font-weight: bold;
  color : #FFF; 
  background-color: #BDA2C1; 
}

table.Res tbody td.RTC,
table.ResTable tbody td.RTC {
  background-color: #FBFCEA; 
}

table.Res tbody td.RTHR,
table.ResTable tbody td.RTHR {
  font-weight: bold;
  color : #FFF; 
  background-color: #BDA2C1; 
  text-align: right;
}

table.Res tbody td.RTCR,
table.ResTable tbody td.RTCR {
  background-color: #FBFCEA; 
  text-align: right;
}

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: #BDA2C1; 
}

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

table.ModuleResult td.CTH {
    color: #fff;
    background-color: #5A1863;
    font-weight: bold;
}

table.ModuleResult td.MRH p span {
color: #5A1863;
    background-color: #FBFCEA;
}

table.ModuleResult td.MOT,
table.ModuleResult td.CT {
    color: rgb(0, 0, 0);
    background-color: #FBFCEA;
}

table.ModuleResult td.CTA {
    color: rgb(255, 255, 255);
    background-color: #FBFCEA;
}

table.ModuleResult td.CTA P {
    color: rgb(255, 255, 255);
    background-color: #BDA2C1;
}

table.ModuleResult td.ModRes table {
    margin: 20px 0;
}

table.ModuleResult td.BT  { /* BlockTitle */
    background-color: #BDA2C1;
    color: #FFF;
	font-weight : bold;
	font-size : 12px;
}

table.ModuleResult td.BC  { /* BlockContent */
    background-color: #FBFCEA;
}

table.Res tbody td.RTC p.note{
  margin: 0;
  font-style: italic;
  color: red; 
}

/* result calculation */

table.ModuleResult table.Calculation {
width: 100%;
border-collapse: collapse;
background-color: #FBFCEA;
margin-top: 10px;
padding: 3px 3px;
}

table.ModuleResult table.Calculation thead th {
font-size: 16px;
font-weight: bold;
text-align: left;
padding: 3px;
color: #FFF;
background-color: #BDA2C1;
}

table.ModuleResult table.Calculation tr.sub td {
font-weight: bold;
} 

table.ModuleResult table.Calculation td {
font-weight: normal;
text-align: right;
font-size: 9pt;
padding: 3px;
}

table.ModuleResult table.Calculation td.total {
border-top: 1px solid #393939; 
}

table.ModuleResult table.Calculation td.head {
font-weight: bold;
text-align: left;
}

table.ModuleResult table.Calculation td.headR {
font-weight: bold;
text-align: right;
}

table.ModuleResult table.Calculation td.label {
text-align: left;
width: 50%;
}

table.ModuleResult table.Calculation td.head p.note {
color: red;
font-weight: normal;
margin: 0px;
}






