* {
	padding: 0;
	margin: 0;
	border: 0;
}


body {
	font-size: 80%;
	line-height: 150%;
	background: green url(../img/a/rasen.png) fixed;
	color: #5A5A5A;
	padding-bottom: 5em;
}

body, input, button, textarea, select {
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

em, cite {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

a:link, a:active, a:visited {
	color: #00A000;
	text-decoration: none;
	border-bottom: 1px solid #CCCCCC;
}

a:hover {
	background-color: #00A000;
	color: white;
	border-bottom-color: transparent;
}

#wrapper {
	width: 720px;
	margin: 0 auto;
	background-color: white;
	margin-top: 135px;
	position: relative;
}

#top {
	position: absolute;
	top: -125px;
	left: -20px;
	background: transparent url(../img/a/top_bg.png);
	width: 283px;
	height: 78px;
	text-align: center;
	padding-top: 15px;
}

.show-countdown #top {
	background-image: url(../img/a/top_bg_countdown.png);
	height: 87px;
}

#top #ticker {
	margin-top: 10px;
}

#nav {
	background: transparent url(../img/a/nav_bg.png);
	position: absolute;
	right: -19px;
	top: -51px;
	width: 400px;
	height: 166px;
	padding: 10px 40px 0px 20px;
	list-style-type: none;
	text-align: right;
	line-height: 80%;
}

#nav li {
	display: inline;
	margin-left: 0.6em;
}

#nav li a {
	color: white;
	font-weight: normal;
	border-width: 0;
}

#nav li a:hover {
	color: #00A000;
	background-color: transparent;
}

#nav li.active a {
	font-weight: bold;
}

#nav ul {
	width: 400px;
	position: absolute;
	top: 27px;
	left: 30px;
}

#nav ul li {
	float: left; 
	list-style-type: none;
}

#nav ul li a { 
	font-size: 85%;
}

#nav li.active li a {
	font-weight: normal;
}

#nav li.active li.active a {
	font-weight: bold;
}

#zitat {
	position: absolute;
	top: 29px;
	left: 9px;
	font-size: 80%;
	width: 360px;
	line-height: 130%;
	color: #999999;
	border: 1px solid white;
	border-radius: 5px;
	-moz-border-radius: 5px;
	cursor: pointer;
}

#zitat p {
	padding: 10px 20px 10px 10px;
}

#zitat cite {
	display: block;
	text-align: right;
	margin-right: -10px;
	margin-top: 0.5em;
}

#zitat:hover {
}

#zitat.loading {
	background-image: url(../img/a/spinner.gif);
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 20px;
}

#logo {
	position: absolute;
	right: 0;
	top: -5px;
	z-index: 10;
}

#logo a, #logo a:hover {
	border-width: 0;
}

#logo a:hover {
	background-color: transparent;
}

#content {
	background: transparent url(../img/a/content_bg.png) no-repeat;
	padding: 130px 0px 0 20px;
	position: relative;
	top: -5px;
	width: 700px;
}

#content h2 {
	color: #00A000;
	font-weight: normal;
	font-size: 160%;
	border-bottom: 1px solid #CCCCCC;
	padding-bottom: 4px;
	margin-bottom: 1em;
}

#content h3 {
	color: #00A000;
	font-weight: bold;
	font-size: 120%;
	border-bottom: 1px solid #CCCCCC;
	padding-bottom: 2px;
	margin-bottom: 1em;
	margin-top: 1.5em;
}

#content p {
	margin-bottom: 1em;
}

#content li {
	margin-left: 1em;
}

#main {
	float: left;
	width: 490px;
	margin-bottom: 20px;
}

/* Gruppentabelle */
table.gruppentabelle {
	border-bottom-width: 0;
	margin-bottom: 0;
	border-top: 1px solid #CCCCCC; 
}

table.gruppentabelle thead {
	border-bottom: 1px solid #CEDCB9;	
}

table.gruppentabelle tr td.team {
	padding-left: 25px;
	background-position: left center;
	background-repeat: no-repeat; 
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

.center {
	text-align: center;
}

#features {
	float: right;
	width: 200px;
	z-index: 2;
	font-size: 85%;
}

#features div.box {
	background: transparent url(../img/a/feature_bg.png) no-repeat bottom left;
	margin-bottom: 20px;
	padding-bottom: 0.7em;
}

#features div.box h4 {
	background: transparent url(../img/a/feature_top.png) no-repeat top left;
	color: #00A000;
	font-weight: bold;
	font-size: 120%;
	padding: 5px 10px;
	margin-bottom: 0.5em;
}

#features div.box fieldset, #features div.box p {
	padding: 0 10px;
	line-height: 130%;
}

#features div.box fieldset p {
	padding: 0;
}

#features div.box input.text {
	background-color: white;
	background-image: url(../img/a/input_text_feature_bg.png);
	width: 160px;
}

#features div.box input.button {
	width: auto;
}

#features table {
	width: 200px;
	border-collapse: collapse;
}

#features table tr.alt1 {
	background-color: #ECF4EC;
}

#features table tr td.firstcol {
	padding-left: 10px;
}

#features table tr td.date {
	width: 100px;
	line-height: 1.3;
}

#features table tr td.team {
	font-weight: bold;
	width: 50px;
	background-repeat: no-repeat;
}

#features table tr td.team.first {
	text-align: right;
	padding-right: 5px;
	background-position: left center;
}

#features table tr td.team.second {
	padding-left: 5px;
	background-position: right center;
}

#features table tr td.reminder {
	width: 30px;
}

#footer {
	clear: both;
	background: transparent url(../img/a/footer_bg.png);
	height: 30px;
	padding: 145px 20px 0 20px;
	text-align: right;
	position: relative;
	bottom: -5px;
	z-index: 1;
}



/* ANMELDEFORMULAR */

#anmeldeformular fieldset {
	line-height: 2.2em;
}

#anmeldeformular label, #tellafriend label {
	display: block;
	width: 40%;
	float: left;
	clear: both; 
}

#anmeldeformular input.text, #tellafriend input.text, #tellafriend textarea {
	width: 58%;  
}

#anmeldeformular input.button, #tellafriend input.button {
	margin-left: 40%;
}

#anmeldeformular  p, #tellafriend p {
	margin: 20px 0 20px 0px;
	line-height: 150%;
}

p.notice_rules {
	margin: 20px 0 20px 0px;
	padding-left: 60px;
	background-image: url('../img/a/achtung.png');
	background-repeat: no-repeat;
	background-position: 0 6px;
}

#tellafriend textarea {
	margin-bottom: 1em;
	height: 6em;
	font-size: 100%;
}

#tellafriend #invitegroup {
}

#tellafriend label.for_checkbox {
	display: inline;
	float: none;
	clear: none;
}

input.text, select, textarea {
	background-color: #DCEADC;
	border: 1px solid #CCCCCC;
	color: #00A000;
}
input.text, textarea {
	background: #DCEADC url(../img/a/input_text_bg.png) top right no-repeat;
	padding: 3px;
	border-width: 0px 0px 1px 1px;
}

input.button, button {
	width: auto;
	background-color: white;
	border: 1px solid #CCCCCC;
	color: #00A000;
	padding: 2px;
	font-weight: bold;
	margin: 8px 8px 0 0;
	cursor: pointer;
}

input.button {
	display: block;
}

a.button {
	float: right;
	clear: right;
	margin-bottom: 0.3em;
}

.clear {
	clear: both;
}

/* COUNTDOWN */

#cd_container {
	font-size: 90%;
	margin: 7px 5px 0 5px;
	color: #0C0C0C;
	line-height: 120%;
	padding: 0 14px;
}

#cd_container .cd_part {
	display: block;
	float: left;
	width: 36px;
	margin-left: 33px;
}

#cd_container #cd_tage {
	margin-left: 0;
}

#cd_container #cd_minuten {
	margin-left: 34px;
}

#cd_container .cd_number {
	color: #444;
	display: block;
	font-size: 160%;
	padding-top: 6px;
	padding-bottom: 10px;
}

#cd_container .cd_text {
	color: #5A5A5A;
	font-size: 90%;
}

/* TICKER */

marquee {
	color: #ccc;
	font-size: 100%;
	padding: 10px 5px;
}

/* TOPTIPPER */

div.pager {
	text-align: center;
}

div.pager a:link, div.pager a:visited { /* IE braucht's so explizit */
	border-width: 0;
}

div.pager span.current {
	margin: 0 1em;
	font-size: 80%;
}

div.pager img {
	vertical-align: middle;
}

div.pager img.inactive {
	filter:alpha(opacity=40); 	/* MSIE */
	-moz-opacity: 0.4;			/* Mozilla (veraltet) */
	opacity: 0.4;				/* CSS3 / Firefox */
}

div.pager a:hover {
	background-color: transparent;
}

table.ranking {
	font-size: 85%;
	border-collapse: collapse;
	border-spacing: 0;
	margin-top: 2em;
	margin-bottom: 2em;
	width: 480px;
	border-bottom: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
}

table.ranking a:link, table.ranking a:active, table.ranking a:visited, #watchlist_feature a:link, #watchlist_feature a:active, #watchlist_feature a:visited {
	border-bottom-width: 0;
}

table.ranking td {
	line-height: 1;
	padding: 4px 0;
}

table.ranking .left {
	text-align: left;
}

table.ranking td.center {
	text-align: center;
}

table.ranking td.right {
	text-align: right;
	padding-right: 5px;
}

table.ranking tr.on-watchlist td a.name {
	font-weight: bold;
	font-size: 120%;
}

/* WATCHLIST */

#watchlist_feature table td {
	line-height: 1;
	padding: 4px 0;
}

#watchlist_feature table td.rank {
	text-align: right;
	padding-right: 4px;
	vertical-align: top;
}

#watchlist_feature table td.name {
	width: 125px;
	display: block;
	overflow: hidden;
}

#watchlist_feature table td.watchlist {
	padding: 0 2px;
}


/* TIPPABGABE */

#matchtype_nav {
	list-style-type: none;
	margin: 2em 0;
	padding: 0;
	font-size: 120%; /* MUSS SPÄTESTENS ZUM FINALE KLEINER WERDEN */
	float: left;
	width: 100%;
	border-bottom: 1px solid #CCCCCC;
	padding-left: 3px;
}

#matchtype_nav li {
	margin: 0;
	margin-right: 3px;
	float: left;
	background-color: #DCEADC;
	white-space: nowrap;
}

#matchtype_nav li a {
	color: #00A000;
	border: 1px solid white;
	border-bottom: 0;
	display: block;
	padding: 0.2em 0.4em;
}

#matchtype_nav li a:hover {
	background-color: transparent;
}

#matchtype_nav li.active a {
	font-weight: bold;
	background: white;
	border: 1px solid #DCEADC;
	border-bottom: 0;
}

div.matchtype.inactive {
	display: none;
}



#content h3.spieltyp {
	clear: both;
	margin-top: 2em;
	margin-bottom: 0;
	padding-left: 6px;
}

#tippen h4 {
	color: #00A000;
	font-size: 100%;
	font-weight: normal;
	padding-left: 6px;
}

#tippen table {
	font-size: 85%;
	border-collapse: collapse;
	width: 480px;
	border-bottom: 1px solid #CCCCCC;
}

#tippen table td, #tippen table th {
	overflow: hidden;
	white-space: nowrap;
}

#tippen table th h4 {
	text-align: left;
	color: #00A000;
	font-size: 120%;
	font-weight: normal;
}

#tippen table th {
	border-bottom: 1px solid #CCCCCC;
}

#tippen table td {
	width: 20px;
}

#tippen td.spielnummer {
	color: #BBBBBB;
	font-size: 80%;
	text-align: right;
	vertical-align: middle;
	padding-right: 5px;
	width: 20px;
}

#tippen td.datum {
	width: 80px;
}

#tippen td.team {
	width: 132px;
}

#tippen td.team.first {
	padding-right: 3px;
}

#tippen td.team.second {
	padding-left: 3px;
}

#tippen td.tipp {
	width: 60px;
	text-align: center;
}

#tippen td.ergebnis {
	width: 30px;
	text-align: center;
}

#tippen td.punkte {
	width: 20px;
	text-align: center;
}

#tippen td.team.first {
	text-align: right;
}

#tippen td.tipp input.text {
	width: 14px;
	text-align: center;
	margin: 1px 0;
	background-image: none;
	border-width: 1px;
}

#tippen td.tipp input.text.focus {
	border-color: #999999;
}

#tippen th h2 {
	margin: 0;
	border-width: 0;
	text-align: left;
}

/* TODO - bright/dark gibt es nicht mehr, heissen jetzt überall alt1/alt2 */
tr.dark {
	background-color: #ECF4EC;
}

tr.bright {
	background-color: #FFFFFF; 
}



/* Tell a friend */

form.quickform .button {
	width: auto;
	background-color: white;
	border: 1px solid #CCCCCC;
	color: #00A000;
	padding: 0 2px;
	font-weight: bold;
	margin: 8px 8px 0 0;
}
	
form.quickform .rot {
	color: red;
}

form.quickform input.stdsizeformelement {
	background: #DCEADC url(../img/a/input_text_bg.png) top right no-repeat;
	border-width: 0px 0px 1px 1px;
	border-style: solid;
	border-color: #CCCCCC;
	padding: 3px;
	color: #00A000;
	width: 58%;
}

form.quickform textarea {
	border: 1px solid #CCCCCC;
	background-color: #DCEADC; 
	width: 59%;
	color: #00A000;
	font-size: 100%;
}

form.quickform .label {
	display: block;
	width: 40%;
	float: left;
	clear: both;
}

form.quickform .button {
	margin-left: 40%;
}

form#passwort_vergessen input.text {
	width:200px;
}

form#passwort_vergessen input.button {
	width:207px;
}

/* Tippgruppen */

#startgroup label, #joingroup label {
	float: left;
	display: block;
	width: 230px;
}

#startgroup #groupname, #joingroup #groupselect, #joingroup #message {
	width: 250px;
	margin-bottom: 1em;
}

#joingroup #message {
	height: 8em;
	font-size: 100%;
}


.action_failure {
	font-weight: bold;
	color: #b00;
}

.action_success {
	font-weight: bold;
	color: #0b0;
}


/* Definitionslisten (Gewinne) */

dt {
	font-weight: bold;
	color: #333;
}

dd {
	margin-bottom: 1em;
	margin-left: 3em;
}
