/* Grid Styles */
.rTable {
 display: block;
 width: 100%;
 margin: 0px auto;
}

.rTableHead, .rTableBody, .rTableFoot, .rTableRow{
 clear: both;
 margin: 0px auto;
 width: 95%;
}

.pTable {
 display: block;
 width: 100%;
 margin: 0px auto;
 padding: 0px;
}


.pTableHead, .pTableBody, .pTableFoot, .pTableRow{
 clear: both;
 margin: 0px auto;
 width: 95%;
}

.rTableHead, .rTableBody, .rTableFoot,
.pTableHead, .pTableBody, .pTableFoot { 
 border: 1px solid #999999;
}
  
.rTableHead, .rTableFoot, .pTableHead, .pTableFoot { 
 background-color: #DDD; 
 height:20px; 
 overflow:hidden; 
}
  
.rTableCell, .pTableCell {
 border: 1px solid #999999;
 float: left;
 overflow: hidden;
 width: 100%;
}
  
.rTable:after, .pTable:after {
   visibility: hidden;
   display: block;
   font-size: 0;
   content: " ";
   clear: both;
   height: 0;
}
  
/* Table Styles */
#tblInvoices tbody td, th { border: solid 1px black;}
#Payable td:nth-child(2) { width:25px;text-align:center; }
#tblInvoices  tr:nth-child(even) { background-color: #ddd; }
#tblInvoices  li { height:25px; }
#tblInvoices  input[name=amtpd] {
width:99px;
margin:0px;
padding:0px;
text-align:right;
}
#Invoices thead tr { background-color: LightBlue; }

#Payables tbody td, th { border: solid 1px black;}
#Payables td:first-child { width:25px; text-align:center; }
#Payables td:nth-child(2) { width:25px;text-align:center; }
#Payables  td:last-child {width:100px;}
#Payables  tr:nth-child(even) { background-color: #ddd; }
#Payables  li { height:25px; }
#Payables  input[name=amtpd] {
width:99px;
margin:0px;
padding:0px;
text-align:right;
}
#Payables thead tr { background-color: LightBlue; }
    
#pnow {background-color: #800000;color:white}