
/*  ------------------------------------------------------
 *  tables
 */

table.matrix td {
	border-right: 1px solid #aaa;
	line-height: 1.2em;
	}

	table.matrix td#top p.coverType {
		text-align: center;
		font-size: 14px;
		font-weight: bold;
		color: #666;
		margin: 7px;
		text-transform: uppercase;
		}

/* 
 *  tabs
 */

table#tabs.matrix {
	border-bottom: 1px solid #aaa;
	/*
	width: 702px;
	width: 100%;
	*/
	width: 370px;
	}

	table#tabs.matrix td {
		line-height: 1em;
		vertical-align: bottom;
		}

	table#tabs.matrix td.tab {
		padding: 0 1px;
		}

	table#tabs.matrix td.tab div {
		background: transparent none repeat scroll 0 0;
		border: medium none;
		display: inline-block;
		height: 23px;
		padding: 0;
		position: relative;
		text-decoration: none;
		cursor: pointer;
		}

	table#tabs.matrix td.tab div .innerWrapperTab {
		display: inline-block;
		width: 88px;
		}

		table#tabs.matrix td.tab div span {
			background-repeat: no-repeat;
			display: block;
			margin: 0;
			padding: 0;
			}

		table#tabs.matrix td.tab div .trTab {
			background-image:url('../images/tab/trTab.png');
			background-position:right bottom;
			padding-right:6px;
			height: 7px;
			}

			table#tabs.matrix td.tab div.active .trTab {
				background-image: url('../images/tab/trTabActive.png');
				}

		table#tabs.matrix td.tab div .tlTab {
			background-image:url('../images/tab/tlTab.png');
			background-position:left bottom;
			padding:0 8px 0 14px;
			height: 7px;
			}

			table#tabs.matrix td.tab div.active .tlTab {
				background-image:url('../images/tab/tlTabActive.png');
				}

		table#tabs.matrix td.tab div .midTab {
			background-image:url('../images/tab/midTab.png');
			color: #fff;
			font-size: 11px;
			}

			table#tabs.matrix td.tab div.active .midTab {
				background-image:url('../images/tab/midTabActive.png');
				border-left: 1px solid #a6a6a6;
				border-right: 1px solid #a6a6a6;
				}

		table#tabs.matrix td.tab div .brTab {
			background-image:url('../images/tab/brTab.png');
			background-position:right top;
			background-color: #fff;
			padding-right:6px;
			height: 7px;
			}

			table#tabs.matrix td.tab div.active .brTab {
				background-image:url('../images/tab/brTabActive.png');
				}

		table#tabs.matrix td.tab div .blTab {
			background-image:url('../images/tab/blTab.png');
			background-position:left top;
			padding: 0 8px 0 14px;
			height: 7px;
			}

			table#tabs.matrix td.tab div.active .blTab {
				background-image:url('../images/tab/blTabActive.png');
				}

		table#tabs.matrix td.tab div p.matrixTabHead {
			text-align: center;
			font-weight: bold;
			margin: 0;
			color: #fff;
			font-size: 11px;
			background-color: transparent;
			padding: 0 1px;
			}
			
			table#tabs.matrix td.tab div.active p.matrixTabHead {
				color: #000;
				}


/*
 *  general matrix
 */

	table.matrix td#top {
		padding: 0;
		border: none;
		}

/*
 *  grid (specs)
 */

	table.matrix.grid {
		margin-top: 0px;
		margin-left: 0px;
		display: none;
		border-left: 1px solid #aaa;
		}

		/*  active / visible  */
		table.matrix.grid.active {
			display: block;
			}

		table.matrix.grid th {
			padding-top: 20px;
			background-color: transparent;
			}

			table.matrix.grid th:last-child,
			table.matrix.grid th.last
			{
				border-right: 1px solid #aaa;
				}

		table.matrix.grid td {
			font-size: 12px;
			}

		table.matrix td#top,
		table.matrix td#top td,
		table#bottom.matrix td
			{
			border: none;
			}

		/*  default column widths  */

		table.matrix th.rank {
			width: 32px;
			}

		table.matrix th.poem {
			width: 172px;
			}

		table.matrix th.author {
			width: 162px;
			}

		table.matrix th.rating {
			width: 42px;
			}


		/*    */


	td.paperType {
		color: #666;
		}

/*  default templates  */

table.matrix td.template {
	color: #666;
	}

	table.matrix td.template img {
		margin: 0 7px 0 0;
		}
	
	.matrix td.template a {
		text-decoration: none;
		font-weight: bold;
		}


/*  alternating bg colors  */

.bgStandard {
	background-color: #f4f4f4;
	}

.bgStandardAlt {
	background-color: #dbd7bd;
	background-color: #f0ebc8;
	background-color: #e3e3e3;
	}

/*
/*
 *  trim
 */

table.grid td.trim span.dims {
	color: #666;
	}


/*  
 *  bottom
 */

table#bottom.matrix td {
	padding: 0;
	border: none;
	}

table#bottom.matrix img {
	background-image: url('../images/tab/bottom.gif');
	background-repeat: no-repeat;
	height: 22px;
	width: 370px;
	margin: -2px 0 0 -2px;
		}

