/* Tables */
#tablewrapper {
	width: 99%;
}

#tablewrapper,
div.tablewrapper {
	width: 99.9%;
}

table {
	width: 100%;
}

table td, 
table th {
	text-align: left;
	vertical-align: top;
}

table.simpletable thead th,
table.datagrid th,
table.applicationsummary th,
table.summarybox th {
	font-weight: bold;
	text-align: left;
}

/* Generic table */
table.simpletable {
	border: 0;
	border-bottom: 3px solid #354650;
	margin: 0 0 20px 0;
}

table.simpletable thead th {
	background: #354650;
	color: #ffffff;
	padding: 8px 0 8px 10px;
}

table.simpletable td, 
table.simpletable tbody th{
	background: #eeeeee;
	border-top: 1px solid #ffffff;
	font-weight: normal;
	padding: 8px 0 8px 10px;
} 

/* Application summary table */
table.applicationsummary {
	border: none;
	margin: 0 0 20px 0;
}

table.applicationsummary thead th {	
	color: #354650;
	font-size: 1.4em;	
	padding: 4px 0 4px 0;	
}

table.applicationsummary th.col1 {
	width: 50%;
}

table.applicationsummary td.col2 {
	width: 50%;
}

table.applicationsummary tbody  td, 
table.applicationsummary tbody th{
	font-weight: normal;
	padding: 4px 0 4px 0;
	text-align: left;
} 

/* Summary Popup tables */
table.summarybox {
	border: 1px solid #cccccc;	
	margin: 0 0 20px 0;
}

table.summarybox th, 
table.summarybox td {
	border: 1px solid #cccccc;
	line-height: 1.5em;
	padding: 4px 8px;
}

table.summarybox th.notopborder, 
table.summarybox td.notopborder {
	border-top: none;
}

table.summarybox th.nobottomborder, 
table.summarybox td.nobottomborder {
	border-bottom: none;
}

table.summarybox thead th {
	background: #f0f0f1;
	color: #000000;
	font-weight: bold;
}

table.summarybox thead th.summaryboxtitle {
	background: #000000;
	color: #ffffff;
	font-weight: bold;
	text-transform: uppercase;
}

table.summarybox tbody th {
	font-weight: normal;
}

table.summarybox td ul {
	font-size: 0.9em;
	margin: 10px 0 10px 20px;
}

table.summarybox .col1 {
	background: #f0f0f1;
	color: #000000;
	width: 23%;
}

table.summarybox td.aprtable,
table.summarybox th.aprtable {
 text-align: center;
}

/* Three col table */
table.summarybox .threecol2 {
	width: 55%;
}

table.summarybox .threecol3 {
	width: 25%;
}

/* Four col table */
table.summarybox .fourcol2 {
	width: 26%;
}

table.summarybox .fourcol3 {
	width: auto;
}

table.summarybox .fourcol4 {
	width: 26%;
}

/* Servicing tables */
/* summary tables */
table.summary {
	border: 0;
	font-size: 1.1em;
	margin: 0 0 20px 0;
	width: 215px;
}

table.summary thead th {	
	background: #999;
	color: #fff;		
	padding: 5px 8px;
}

#maincontent table.summary th,
#maincontent table.summary td {
	border-top: 1px solid #ffffff;
	font-weight: normal;
	padding: 5px 0 5px 5px;
}

table.summary td.col1 {
	width: 120px;
}

table.summary td.col2 {
	text-align: right;
}

table.summary td.col3 {
	width: 20px;
	padding: 5px 0 5px 3px;
}


/* Pots table */
#maincontent table.pots {
	width: 100%;
}

#maincontent table.pots thead th {
	background: #d1e2ec;
	border-right: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	font-weight: lighter;
	padding: 8px 3px 8px 6px;
}

#maincontent table.pots tbody tr.default td {
	background: #eeeeee;
}

#maincontent table.pots tbody td {
	padding: 8px 3px 8px 6px;
}

/* Statement table */
#statementcontent table {
	margin: 0;
	font-size: 1.1em;
	font-weight: normal;
	text-align: left;
	width: 100%;
}

/* Statement date */
#statementcontent .header {
	background: url(../graphics/backgrounds/roundedTopLeft.gif) top left no-repeat;
	color: #ffffff;
	font-size: 1.3em;
	font-weight: bold;
	padding: 5px 0 10px 20px;
	text-align: left;
	width: 275px;
}


#statementcontent table thead th {
	background: #F7F3F7;
	color: #354650;
	margin: 0;
	padding: 6px;	
	vertical-align: top;	
	width: auto;
}


#statementcontent thead th.statementheader {
	background: #EFF4FC;
	font-size: 1em;
	text-align: center;
	text-transform: uppercase;
}

#statementcontent table tbody th, 
#statementcontent table tbody td {
	background: #ffffff;	
	border-top: 1px solid #EFF4FC;
	padding: 6px;
	vertical-align: top;
} 

#statementcontent table th.col4,
#statementcontent table td.col4 {
	text-align: right;
	padding-right: 20px;
}

#statementcontent table tfoot td {
	padding: 0 0 0 10px;
}

#statementcontent tfoot tr.blank td {
	background: #ffffff;	
}

#statementcontent tfoot tr.pager td {
	background: url(../graphics/backgrounds/roundedBottomRight.gif) bottom right no-repeat;
 	color: #ffffff;
	height: 25px;
	text-align: center;
}

#statementcontent tfoot tr.pager td div.pageof,
#statementcontent tfoot tr.pager td div.jumppage,
#statementcontent tfoot tr.pager td div.navigation {
	height: 25px;
	margin: 0;
	width: 25%;
}

#statementcontent tfoot tr.pager td div.pageof {
	float: left;
	margin: -2px 0 0 10px;
	text-align: left;
}

#statementcontent tfoot tr.pager td div.jumppage {
	float: left;
	text-align: center;
	width: 45%;
}


#statementcontent tfoot tr.pager td div.navigation {
	float: right;
	text-align: right;
	width: 150px;
}

#statementcontent tfoot tr.pager td div.navigation a {
	color: #ffffff;
}

#statementcontent tfoot tr.pager td div.jumppage select,
#statementcontent tfoot tr.pager td div.jumppage input {
	font-size: 1em;
}	

/* Account Snapshot table */
#snapshot table,
#lastlogon table {
	border: 1px solid #939598;
	border-right: none;
	font-size: 1.2em;
	text-align: left;	
	width: 100%;
}

#snapshot table thead th,
#lastlogon table thead th {
	background: #939598;
	color: #ffffff;
	font-size: 1.2em;
	font-weight: bold;
	padding: 5px;	
}

#snapshot table th,
#lastlogon table th {
	background: #ffffff;
	color: #565659;
	font-size: 0.9em;
	font-weight: normal;
	padding: 5px;	
}

#snapshot table td,
#lastlogon table td {
	background: #ffffff;
	border-right: 1px solid #939598;	
	font-size: 0.9em;
	padding: 5px;
	vertical-align:  top;
}

/* Messages table */
#maincontent table.messages {
	width: 100%;
}

#maincontent table.messages thead th.topleft {
	background: #D1E2EC url("../graphics/backgrounds/roundedTopLeft.gif") top left no-repeat;
}

#maincontent table.messages thead th.topright {
	background: #D1E2EC url("../graphics/backgrounds/roundedTopRight.gif") top right no-repeat;
}

#maincontent table.messages th,
#maincontent table.messages td {
	margin: 0;
	padding: 5px 5px 10px 15px;
	vertical-align: top;
}

#maincontent table.messages tfoot td.bottomleft {
	background: #D1E2EC url("../graphics/backgrounds/roundedBottomLeft.gif") bottom left no-repeat;
}

#maincontent table.messages tfoot td.bottomright {
	background: #D1E2EC url("../graphics/backgrounds/roundedBottomRight.gif") bottom right no-repeat;
}

/* Alternate rows */
table.simpletable tr.alternate th, 
table.simpletable tr.alternate td,
table.applicationsummary tr.alternate th, 
table.applicationsummary tr.alternate td,
table.summary tr.alternate th, 
table.summary tr.alternate td,
#statementcontent tr.alternate th, 
#statementcontent tr.alternate td {
}

#statementcontent tr.pending th, 
#statementcontent tr.pending td {
	background: #ffffcc;
}
