body {
	margin: 0; 
	padding: 0;
	background: #e9f9e3;
	overflow: scroll;
}

#page{ 
	background: url(../img/back_ramp.jpg) center top repeat-x;
}

#pagewrap{ 
	background: url(../img/sb_header_border.jpg) no-repeat top center;
	min-width: 960px;
}

#wrap {
	width: 960px;
	margin: 0 auto;
	background: url(../img/sb_body.jpg) center top repeat-y;
	position: relative;
	top: -40px;
}

#top {
	height: 315px;
	position: relative;
	top: 40px;
	width: 960px;
	background: url(../img/sb_header_border.jpg) no-repeat top center;
}
#top h2 {
	margin: 0;
	padding: 0;
}
#top #logo {
	position: absolute;
	height: 221px;
	width: 155px;
	overflow: hidden;
}
#top #logo a {
	position: relative;
	top: 58px;
	left: 26px;
	float: left;
	height: 0;
	overflow: hidden;
	padding-top: 163px;
	width: 129px;
	background: url(../img/logo.jpg) no-repeat top center;
}

#top #logo a:hover {
	background: url(../img/logo_hover.jpg) no-repeat top center;
}
#top h2 a {
	position: relative;
	top: 85px;
	left: 200px;
}
#top #menu {
	position: relative;
	top: 75px;
	left: 250px;
	width: 0;
}

.align-center {
	text-align: center;
}
#main {
	padding: 0 50px;
}
#content {
	position: relative;
}
/* IE 6*/
* html #content {
	padding-top: 40px;
}

#footer {
	clear: both;
	background: url(../img/sb_bottom.jpg) center top no-repeat #e9f9e3;
	padding-top: 62px;
	text-align: center;
}

#footerLinks {
	padding: 0 0 0 250px;
}

#left {
	float: left;
	width: 180px;
}

#main-l {
	float: right;
	width: 620px;
}

#clear {
	clear: both;
}

.align-right{
	text-align: right;
}
.align-center{
	text-align: center;
}

div > p.bodytext, table.contenttable {
	padding:0 3em;
}


.csc-frame-indent table{
	width: 100%;
}
.csc-frame-indent td {
	width: 50%;
}

/** NAV **/

ul.nav, ul.nav ul {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}
ul.nav ul {
	padding-left: 1.5em;

}
ul.nav a:link, ul.nav a:visited {
	color: #555;
	text-decoration: none;
}

.nav-selected a{
	font-weight: bold;
	color: #1c680f!important;	
}

/* IE 6*/
* html .nav li.empty {
	height: 0;
}
/* IE 7*/
* + html .nav li.empty {
	border-top: 1px dotted #c3e9a6;
}

/** LAVALAMP **/
.lavaLamp {
    position: relative;
    height: 29px; width: 701px;
    padding: 15px!important; margin: 10px 0;
    overflow: hidden;
}

.lavaLamp .nav-selected a {
	font-weight: normal;
	opacity: 1;
}

    /* Force the list to flow horizontally */
    .lavaLamp li {
        float: left;
        list-style: none;
    }
        /* Represents the background of the highlighted menu-item. */
        .lavaLamp li.back {
            background: url(../img/lava.png) no-repeat right -32px;
            width: 9px; height: 32px;
            z-index: 8;
            position: absolute;
        }
            .lavaLamp li.back .left {
                background: url(../img/lava.png) no-repeat top left;
                height: 32px;
                margin-right: 9px;
            }
        /* Styles for each menu-item. */
        .lavaLamp li a {
            position: relative; overflow: hidden;
            outline: none;
            height: 30px; top: 7px;
            z-index: 10; letter-spacing: 0;
            float: left; display: block;
            margin: auto 10px;
        }

		
/* MANNSCHAFT*/
.tx-tsvteam-pi1-listrow table {
	margin: 0 auto;
}
.tx-tsvteam-pi1-listrow td {
	margin: 0;
	padding: 0;
}
.team_player_pic {
	text-align:center;
	margin: 10px;
	overflow:hidden;	
	width: 112px;
	height: 150px;
	border: 1px solid #555;
}
.team_player_sheet {
	margin: 5px;
	width: 140px;
}
.team_player_name {
	position: relative;
	top: -20px;
	text-align: center;
	background: url(../img/block_small.png) no-repeat;
	padding: 5px;
	height: 30px;
}

/* IE 6 */
* html .team_player_name {
	left: -155px;
	top: -300px;
}



/* LINKS */
a.link-pdf {
	padding-left: 18px;
	background: url(../img/pdf.png) left center no-repeat;
	color: #f33!important;
}

/* WYSIWYG */
.indent {
	margin-left: 2em;
}


/* Tabelle */

.tx-tsvteam-pi2-listrow table, .tx-tsvteam-pi3 table, .tx-tsvteam-pi4-listrow table {
	border-collapse: collapse;
	border-spacing: 0px;
}
.tx-tsvteam-pi2-listrow p, .tx-tsvteam-pi3 p, .tx-tsvteam-pi4-listrow p {
	margin: 1em 0;
}
.tx-tsvteam-pi2-listrow .vergangen {
	font-weight: bold;
}
.tx-tsvteam-pi2-listrow .anstehend {
	opacity: 0.75;
}

/* Für den IE 7 */
* + html .tx-tsvteam-pi2-listrow .gerade td, * + html .tx-tsvteam-pi3 table .gerade td, * + html .tx-tsvteam-pi4-listrow table .gerade td {
	background: #bce8aa!important;
}

* + html .tx-tsvteam-pi2-listrow .highlight td, * + html .tx-tsvteam-pi3 table .highlight td , * + html .tx-tsvteam-pi4-listrow table .highlight td {
	background: #7CCD58!important;
}

/* Für den IE 6 */
* html .tx-tsvteam-pi2-listrow .gerade td, * html .tx-tsvteam-pi3 table .gerade td, * html .tx-tsvteam-pi4-listrow table .gerade td {
	background: #bce8aa!important;
}

* html .tx-tsvteam-pi2-listrow .highlight td, * html .tx-tsvteam-pi3 table .highlight td , * html .tx-tsvteam-pi4-listrow table .highlight td {
	background: #7CCD58!important;
}


html>body .tx-tsvteam-pi2-listrow .gerade, html>body .tx-tsvteam-pi3 table .gerade, html>body .tx-tsvteam-pi4-listrow table .gerade {
	background: url(../img/t.png) top left no-repeat #bce8aa;
}
.tx-tsvteam-pi2-listrow .noborder, .tx-tsvteam-pi3 table .noborder, .tx-tsvteam-pi4-listrow table .noborder {
	background: #bce8aa!important;
}
html>body .tx-tsvteam-pi2-listrow .highlight, html>body .tx-tsvteam-pi3 table .highlight, html>body .tx-tsvteam-pi4-listrow table .highlight {
	background: url(../img/t.png) top left no-repeat #7CCD58;
}
.highlight td{
	font-weight: bold;
	background-color: #7CCD58;
}

.tx-tsvteam-pi2-listrow .gerade .first, .tx-tsvteam-pi3 table .gerade .first, .tx-tsvteam-pi3 table .highlight .first, .tx-tsvteam-pi4-listrow table .gerade .first {
	background: url(../img/bl.png) bottom left no-repeat;
}
.tx-tsvteam-pi2-listrow .gerade .last, .tx-tsvteam-pi3 table .gerade .last, .tx-tsvteam-pi3 table .highlight .last, .tx-tsvteam-pi4-listrow .gerade .last {
	background: url(../img/br.png) bottom right no-repeat;
}
.tx-tsvteam-pi2-listrow .ungerade, .tx-tsvteam-pi3 table .ungerade, .tx-tsvteam-pi4-listrow .ungerade {
	
}
.tx-tsvteam-pi2-listrow td, .tx-tsvteam-pi2-listrow th, .tx-tsvteam-pi3 td, .tx-tsvteam-pi3 th, .tx-tsvteam-pi4-listrow td, .tx-tsvteam-pi4-listrow th {
	text-align: center;
}

/* Für Webkit (Safari, Chrome) */
@media screen and (-webkit-min-device-pixel-ratio:0){
	.tx-tsvteam-pi2-listrow .gerade td, .tx-tsvteam-pi3 table .gerade td, .tx-tsvteam-pi4-listrow table .gerade td {
		background-color: #bce8aa;
	}
	.tx-tsvteam-pi2-listrow .gerade .first, .tx-tsvteam-pi3 table .gerade .first, .tx-tsvteam-pi3 table .highlight .first, .tx-tsvteam-pi4-listrow .gerade .first {
		background: url(../img/bl.png) bottom left no-repeat;
	}
	.tx-tsvteam-pi2-listrow .gerade .last, .tx-tsvteam-pi3 table .gerade .last, .tx-tsvteam-pi4-listrow .gerade .last {
		background: url(../img/br.png) bottom right no-repeat, url(../img/tr.png) top right no-repeat;
		background-color: #bce8aa;
	}
	.tx-tsvteam-pi3 table .highlight .last  {
		background: url(../img/br.png) bottom right no-repeat, url(../img/tr.png) top right no-repeat;
		background-color: #7CCD58;
	}
}

.tx-tsvteam-pi2-listrow th, .tx-tsvteam-pi3 th, .tx-tsvteam-pi4-listrow th{
	border-bottom: 3px solid #555;
	padding-bottom: 5px;
}
.tx-tsvteam-pi2-listrow td, .tx-tsvteam-pi3 td, .tx-tsvteam-pi4-listrow td{
	font-size: 80%;
}



/*Spieltage*/
.tsv_tabelle_reportbox div {
	text-align: left;
}

.tsv_tabelle_reportbox .border{
	background: #a8ee8b;
	padding: 2em 1.5em;
}
.tsv_tabelle_reportbox h3{
	font-size: 1em;
	position: relative;
	top: -1em;
	padding: 0;
	margin: 0;
	text-align: center;
}
.tsv_tabelle_type{
	width: 50px;
}
.tsv_tabelle_date{
	width: 70px;
	font-size: 80%;
}



/* IE 7*/
* + html .tsv_tabelle_date{
	width: 80px;
}



.tsv_tabelle_heim, .tsv_tabelle_gast{
	width: 170px;
}
.tsv_tabelle_tore{
	width: 40px;
}
.tsv_tabelle_report{
	width: 100px;
}

/*Ranking*/

.tsv_tabelle_rank{
	width: 40px;
}
.tsv_tabelle_name{
	width: 266px;
}
.tsv_tabelle_matches{
	width: 50px;
}
.tsv_tabelle_won{
	width: 40px;
}
.tsv_tabelle_draw{
	width: 40px;
}
.tsv_tabelle_lost{
	width: 40px;
}
.tsv_tabelle_ratio{
	width: 60px;
}
.tsv_tabelle_points{
	width: 60px;
}


/*Tournaments*/
.tournament-date {
	width: 120px;
	text-align: center;
}
.tournament-location {
	width: 200px;
	text-align: center;
}

.tournament-teams {
	width: 285px;
}

.tournament-date p, .tournament-location p , .tournament-teams p {
	margin: 0;
	padding: 0;
}