/**
 * 
 *
 * Webkrauts-Adventskalender 2007
 * Türchen Nummer 12
 * (Daten-)Tabellen gestalten
 *
 * @author	Eric Eggert
 * @date	2007-11-17
 * @copyright	Eric Eggert
 * @license	cc-by
 * 
 */


/* @group Reset
 *
 * @note Generelles Reset, produktivseiten sollten eher auf Meyer 
 * zurückgreifen: http://2big.at/uky
 *
 */

* {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: normal;
	text-align: left;
	border-collapse: collapse;
	font-size: 1em;
}

/* @end */

/* @group Body-Element 
 *
 * @note Die Grundeinstelungen für den Body 
 * sind nicht weiter ungewöhnlich.
 *
 */

body {
	color: #333333;
	background: #f3f3f3;
	font: 75%/1.5 "Lucida Grande", Lucida, Verdana, sans-serif;
}

/* @end */

/* @group Links, Hover, Focus */

a {
	color: #333;
	text-decoration: none;
}

a:hover, a:focus {
	color: #222;
	text-decoration: underline;
}

/* @end */

/* @group Tabelle */

/* @group Caption, Tabelle ausrichten */

table {
	margin: 0 auto;
	background: #fff;
}

caption {
	margin: 0 auto;
	padding-top: 2em;
	font-weight: bold;
}

/* @end */


/* @group Tabellenzeilen */

tr {
	border: 3px solid #fff;
	border-style: none solid;
}

/* @end */

/* @group Tabellenzellen (Standard) */

th, td {
	padding: 0.1em 0.5em 0.333em;
}

td {
	text-align: center;
}

/* @end */

/* @group thead */

thead th {
	position: relative;
	padding-top: 2em;
}

thead th.platz {
	text-align: center;
}

thead th.verein {
	background-color: #fdfdfd;
}

thead th span {
	display: block;
}

thead th span.desc {
	display: block;
	left: -1000em;
	top: -1000em;
	position: absolute;
	width: 7.5em;
	text-align: center;
	margin-left: -3.25em;
	border: 1px solid #7d7d7d;
	border-bottom: none;
}

thead th span.desc span {
	display: block;
	position: absolute;
	bottom: -2px;
	height: 3px;
	width: 100%;
	background: url(bottom.png) no-repeat center bottom;
}

thead th:hover span.desc {
	margin-top: -2.2em;
	display: block;
	left: auto;
	top: auto;
}

thead th:hover span.abbr {
	position: absolute;
	left: -1000em;
	top: -1000em;
}

/* @end */

/* @group tbody */

tbody tr {
	border-top: 1px solid #ccc;
}

tbody th {
	text-align: right;
}

tbody tr:hover {
	border-left-color: #333;
	border-right-color: #333;
}

tbody tr:hover a {
	text-decoration: underline;
}

/* @end */

/* @group Platzierungen */

/* @group UEFA-Cup */

tr.uefacup {
	background: #f0f0f0;
	border-color: #f0f0f0;
}

tr.uefacup .verein {
	background: #ddd;
}

/* @end */

/* @group Absteiger */

tr.absteiger {
	background: #fcc;
	border-color: #fcc;
}

tr.absteiger .verein {
	background: #ffb2b2;
}

/* @end */

/* @group UEFA-Cup */

tr.pokal {
	background: #ffc39a;
	border-color: #ffc39a;
}

tr.pokal .verein {
	background: #f1b28a;
}

/* @end */

/* @group UI-Cup */

tr.uicup {
	background: #c2f8a0;
	border-color: #c2f8a0;
}

tr.uicup .verein {
	background: #b0e196;
}

/* @end */

/* @group Championsleague */

tr.championsleague {
	background: #b7d5ff;
	border-color: #b7d5ff;
}

tr.championsleague .verein {
	background: #a8c4ea;
}

/* @end */

/* @group Meister */

tr.meister {
	background: #ff8;
	border-color: #ff8;
}

tr.meister .verein {
	background: #e9eb7f;
}

/* @end */

/* @group Normal */

.verein {
	background: #f3f3f3;
	width: 18em;
	text-align: left;
	.position: relative;
	height: 1em;
}

/* @end */



/* @end */

/* @group Labels */

.label {
	font-size: .7em;
	text-transform: uppercase;
	font-weight: bold;
	float: right;
	background: #ccc;
	line-height: 1;
	padding: .4em;
	.position: absolute; /* Darstellung in IE6 & 7*/
	.right: 4px;
}


.label span {
	display: none;
}

.aufsteiger {
	background-color: #6a6;
	color: #fff;
}

span.meister {
	background-color: #ff8;
	color: #222;
}

span.pokal {
	background-color: #9C6963;
	color: #fff;
}

/* @end */

/* @group Spalten */

td.siege {
	border-left: 1px solid #d5d5d5;
}

td.niederlagen {
	border-right: 1px solid #d5d5d5;
}

td.verhaeltnis {
	font-weight: bold;
}

td.pos {
	color: #45633e;
}

td.neg {
	color: #792c2f;
}

.siege,
.unentschieden,
.niederlagen,
.verhaeltnis {
	text-align: right;
}

/* @end */

/* @end */

td ul, td ul li {
	list-style: none;
}

#copyright {
	margin: 3em;
	border-top: 1px solid #677;
	font-weight: bold;
	padding: 1em;
}

#copyright a {
	text-decoration: underline;
}