/**** TABLES ****/

/* only tables in main column - not side columns */
div#content_main table {
	border-collapse: collapse;
	margin-top: 10px;
	margin-bottom: 10px;
}
th {
	vertical-align: bottom;
}
td {
	vertical-align: top;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #000000;
	line-height: 14px;
}
/* headers with links ("sort by" columns) */
th a {
	background: url(/images/arrows/arrow_green_down.gif) no-repeat center left;
	padding-left: 8px;
}
th a:hover {
	background: url(/images/arrows/arrow_gray_down.gif) no-repeat center left;
	color: #999;
}
/* info icon links should not have any underline */
th a.info,
td a.info {
	text-decoration: none;
}
/* info icon links should not have arrow hover */
th a.info:hover,
td a.info:hover {
	background: url(/images/icons/info.png) no-repeat left center;
}
/* table styles for data - master and detail tables*/
table.master {
	border-top: 2px solid #999;
	border-bottom: 2px solid #999;
	width: 98%;
}
table.master th,
table.detail th {
	padding: 5px;
	font-size: 12px;
	font-weight: bold;
	background-color: #ccc;
	color: #333;
	border: 1px solid #ccc;
}
table.master td,
table.detail td {
	padding: 5px;
	border: 1px solid #ccc;
}
/* a.info icon links, no text so no need for so much padding */
th a.info,
td a.info {
	padding-left: 15px;
}
/* detail cel - links to detail page */
td.detail {
	background-color: #edf2db;
}
td.detail a,
td.detail a:visited {
	background: url(/images/arrows/arrow_green_right.gif) no-repeat left center;
	padding-left: 6px;
	text-decoration: none;
}
td.detail a:hover {
	background: url(/images/arrows/arrow_black_right.gif) no-repeat left center;
	color: #333;
}
/* current row, can be used to highlight any row/cell */
tr.current td,
td.current {
	background: #edf2db;
}
/* table for details - on a detail page */
table.detail th {
	background-color: #f1f0f0;
}
table.detail {
	border: none;
	margin-top: 0px;
	width: 100%;
}
/* options header row - filtering options, sorting, search, etc. */
tr.options td {
	text-align: left;
	background-color: #666;
	color: #fff;
	border-top: 4px solid #999;
	border-right: 1px solid #666;
	border-bottom: 3px solid #999;
	border-left: 1px solid #666;
	white-space: nowrap;
	vertical-align: middle;
}
/* header row - for any other random header row needed*/
tr.header td {
	text-align: left;
	background-color: #666;
	color: #fff;
	border-top: 4px solid #999;
	border-right: 1px solid #666;
	border-bottom: 3px solid #999;
	border-left: 1px solid #666;
	white-space: nowrap;
	font-weight: bold;
}
/* footer row - link to all listings, etc. */
tr.footer td {
	background-color: #f1f0f0;
}
td.footer a.arrow {
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
}
td.footer a.arrow:hover {
	text-decoration: none;
}

/**** OPTIONS TABLE ****/

/* table for options - above main data, for sorting, filters, etc. */
table.options {
	border-top: 2px solid #999;
	border-bottom: 2px solid #999;
	margin-top: 10px;
	width: 100%;
}
table.options th {
	padding: 4px 4px 4px 8px;
	font-weight: bold;
	text-align: right;
	text-transform: uppercase;
	white-space: nowrap;
	border: none;
	border-right: 4px solid #999;
	background-color: #666;
	color: #fff;
}
table.options td {
	border: none;
	background: #f1f0f0;
	width: 100%;
	padding: 4px 8px;
}

/*** NESTED TABLE WITHIN FORM ***/

/* nested tables within forms have different styling */
table.inner th {
	text-transform: uppercase;
	background: #999;
	padding: 4px;
	color: #fff;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
}
table.inner td {
	border: 1px solid #ccc;
	padding: 2px;
}
table.inner td {
	background: #fff;
}
table.inner td.noborder {
	background: none;
	border: none;
}

/*** CALENDAR TABLE ***/

table.calendar {
	border-collapse: collapse;
}
table.calendar th {
	padding: 3px;
	text-align: center;
}
table.calendar tr.header td {
	padding: 5px;
}
table.calendar td {
	border: 1px solid #ccc;
	width: 80px;
	height: 100px;
	font-size: 10px;
}
table.calendar th {
	border: 1px solid #ccc;
	background: #ccc;
}
table.calendar tr.header td {
	height: auto;
	font-size: 13px;
}
table.calendar td ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0 5px;
}
table.calendar td ul li {
	list-style: none;
	margin: 0;
	padding: 2px;
}
table.calendar strong {
	font-weight: 900;
}

/* any table/row/cell can have no border */
table.noborder,
table.noborder th,
table.noborder td,
tr.noborder th,
tr.noborder td,
th.noborder,
td.noborder {
	border: none;
	background: none;
}
/* any row/cell/header can be aligned left (default is also left for all tables/cells) */
tr.left th,
tr.left td,
td.left,
th.left {
	text-align: left;
}
/* any table/row/cell/header can be aligned right */
table.right th,
table.right td,
tr.right th,
tr.right td,
td.right,
th.right {
	text-align: right;
}
/* any table/row/cell/header can be aligned center */
table.center th,
table.center td,
tr.center th,
tr.center td,
td.center,
th.center {
	text-align: center;
}
/* any table/row/cell/header can have nowrap applied */
tr.nowrap th,
tr.nowrap td,
th.nowrap,
td.nowrap {
	white-space: nowrap;
}
