
html, body {
	margin: 0;
}

#page {
	
	width: 800px;
/*	text-align: left;  */
	margin-left: auto;
	margin-right: auto;
/*	font: normal small 'Century Gothic', 'Lucida Grande', 'Trebuchet MS', Verdana, sans-serif; */
	font-family: 'Trebuchet MS', 'Lucida Grande', Lucida, Geneva, Arial, Helvetica, sans-serif;

}

#header
{
	position: relative;
	height: 125px;
	width: 100%;
	font-weight: bold;
	font-size: 20pt;
/*	background-color: #ffffff; */
/*	background-image: url(../images/wellen-skizziert.jpg); */
	background-image: url(../images/freestyle.jpg);
	background-repeat: no-repeat;
	background-position: right;
/* background: url(../images/shadow.png) repeat-y top right; */
}


#tuslogo
{
	width: 180px;
	height: 85px;
	float: left;
	position: relative;
	margin-top: 12px;
	margin-bottom: 28px;
	margin-left: 10px;
	margin-right: 10px;
	background: url(../images/TuS-Griesheim.gif) no-repeat;
/*	line-height: 90%; 
	padding: 62px 0px 0px 0px;
	background: url(../images/TuS-Logo.gif) no-repeat; */
}

/* #tuslogo:after { content: "Griesheim"; } */

#headertitle
{
	display: inline;
	position: absolute;
	left: 210px;
	width: 500px;
	height: 120px;
	top: 5px;
/*	color: #000000; */
}

#headertitle b
{
	font-weight: bold;
/*	color: #ff3300; */
	color: #ea220d;
	font-size: 40pt;
}

/*
#headertitle:before
{
	content: "Schwimmabteilung";
	font-weight: bold;
	color: #ff0000;
	font-size: 40pt;
}
*/

#headerlogo
{
	float: right;
	top: 5px;
}


#navigation
{
	position: relative; /* mit "fixed bleibt die Navigationsleiste beim scrollen stehen! (sonst: relative;) */
	float: left;
	width: 160px;
	font-size: 13pt;
	background-color: #999999;
}

#navigation a
{
	display: block;
	width: 100%;
	font-weight: bold;
	color: #ffffff;
	text-decoration: none;
	background: #999999;
	border-right: 3px solid #ff0000;
	padding: 5px 0px 5px 17px;
/*	padding: 5px 0px 5px 12px; */
}

#navigation a:hover
{
	background: #999999;
	color: #000000;
}

/* "currentitem": der Navigationslink auf die jeweils aktuelle Seite wird auf dieser hervorgehoben */
.home #startLink,
.wettkaempfe #wkLink,
.vereinsmeisterschaften #vmLink,
.veranstaltungen #veranstaLink,
.training #trainingLink,
.bestenlisten #bestlistLink,
.schwimmschule #schuleLink,
.aquafitness #aquafitLink,
.trainer #trainerLink,
.vorstand #vorstandLink,
.galerie #galerieLink,
.berichte #berichteLink,
.gaestebuch #gaesteLink,
.kontakt #kontaktLink,
.links #linksLink,
.impressum #impressLink,
.sitemap #sitemapLink
{
	padding: 5px 5px 8px 12px;
	background: #cccccc;
	color: #000000;
	border-top: 3px solid #ff0000;
	border-bottom: 3px solid #ff0000;
	border-left: 3px solid #ff0000;
	/*	border-right: 3px solid transparent; */
	border-right: 3px none;
	text-align: right;
}

#contentsection
{
	float: right;
/*	border: 3px solid #ff0000; */
	border-top: 3px solid #ff0000;
	border-right: 3px solid #ff0000;
	background-color: #cccccc;
	font-size: 10pt;
	line-height: 140%;
	width: 617px;
}

#itemcontainer
{
	margin: 8px;
}

.contentitem
{
	padding: 10px 5px 20px 5px;
	border: 1px dotted #999999;
	margin-bottom: 5px;
}

.contentitem h2, a.header2 
{
	line-height: 90%;
	text-align: left;
	font-size: 16pt;
	font-weight: bold;
}

.contentitem h3, a.header3
{
	line-height: 90%;
	text-align: left;
	font-size: 14pt;
	font-weight: bold;
}

.contentitem ul
{
/*	list-style-type: disc;
	list-style-type: square;
*/
}


.contentitem div.lbox
{
	float: left;
	position: relative;
/*	width: 50%; */
	margin-right: 20px;
}

.contentitem div.cbox
{
	position: relative;
	margin-left: 40%;
	width: 60%;
}

.contentitem div.rbox
{
	float: right;
	position: relative;
/*	width: 50%; */
}

.contentitem a.portraitzoom img
{
	width:   75px;
	height: 100px;
	border:   0px;
	margin:   2px;
}

.contentitem a.portraitzoom:hover
{
	position: relative;
}

.contentitem a.portraitzoom:hover img
{
	position: absolute;
	width:  225px;
	height: 300px;
/*	left:   -60px;
	top:   -100px;
*/
	border: 1px solid #888;
	border-color: #000;
	padding: 5px;
	background: #ccc;
}

/* hrefs to mailto's */
a.mailto:link
{
	padding-left: 13px;
	background: url(../images/mailto.gif) no-repeat left center;
}

a.mailto:hover, a.mailto:active
{
	padding-left: 13px;
	background: url(../images/mailto_hover.gif) no-repeat left center;
}


/* links to external web sites */
a.extlink:link
{
	padding-left: 13px;
	background: url(../images/extlink.gif) no-repeat left center;
}

a.extlink:visited
{
	padding-left: 13px;
	background: url(../images/extlink_visited.gif) no-repeat left center;
}

a.extlink:hover, a.extlink:active
{
	padding-left: 13px;
	background: url(../images/extlink_hover.gif) no-repeat left center;
}

/* Formulare (als Ersatz fuer Definition per Tabelle) */
div.formrow {
	margin-top: 7px;
	margin-left: 8px;
}

div.formrow span.label {
	float: left;
	margin-top: 4px;
	width: 145px;
	text-align: right;
	margin-right: 10px;
}

div.formrow span.inputfield {
/*	float: right; */
	width: 480px;
	text-align: left;
/*	display: block; */
	clear: right;
} 


/* Tabellen */
table.tableformat
{
	padding: 0;
	border-spacing: 0;
	border-collapse: collapse;
}

table.tableformat th.c1
{
	background-color: #f0f3f9;
	padding: 0.2em 0.5em 0.2em 0.5em;
	border: 3px solid #aab;
	border-width: 1px 0 3px;
	text-align: left;
}

table.tableformat th.l
{
	background-color: #fcf6e4;
	padding: 0.2em 0.5em 0.2em 0.5em;
	border: 3px solid #ca3;
	border-width: 1px 0 3px;
	text-align: center;
}

table.tableformat th.r
{
	background-color: #fcf6e4;
	padding: 0.2em 0.5em 0.2em 0.5em;
	border: 3px solid #ca3;
	border-width: 1px 0 3px;
	text-align: right;
}

table.tableformat th.c
{
	background-color: #fcf6e4;
	padding: 0.2em 0.5em 0.2em 0.5em;
	border: 3px solid #ca3;
	border-width: 1px 0 3px;
	text-align: center;
}

table.tableformat td.c1
{
	padding: 0.2em 0.5em 0.2em 0.5em;
	border: 1px solid #aab;
	border-width: 0 0 1px 0;
}
table.tableformat tr:hover td.c1
{
	background-color: #f0f3f9;
}

table.tableformat td.l
{
	padding: 0.2em 0.5em 0.2em 0.5em;
	border: 1px solid #ca3;
	border-width: 0 0 1px 0;
}
table.tableformat tr:hover td.l
{
	background-color: #fcf6e4;
}

table.tableformat td.r
{
	padding: 0.2em 0.5em 0.2em 0.5em;
	border: 1px solid #ca3;
	border-width: 0 0 1px 0;
	text-align: right;
}
table.tableformat tr:hover td.r
{
	background-color: #fcf6e4;
}

table.tableformat td.c
{
	padding: 0.2em 0.5em 0.2em 0.5em;
	border: 1px solid #ca3;
	border-width: 0 0 1px 0;
	text-align: center;
}
table.tableformat tr:hover td.c
{
	background-color: #fcf6e4;
}



table.tableformat th.c21
{
	background-color: #f0f3f9;
	padding: 0.2em 0.2em 0.2em 0.5em;
	border: 3px solid #aab;
	border-width: 1px 0 3px;
	text-align: left;
}

table.tableformat th.c2
{
	background-color: #fcf6e4;
	padding: 0.2em 0.2em 0.2em 0.5em;
	border: 3px solid #ca3;
	border-width: 1px 0 3px;
	text-align: center;
}

table.tableformat td.c21
{
	padding: 0.2em 0.2em 0.2em 0.5em;
	border: 1px solid #aab;
	border-width: 0 0 1px 0;
}
table.tableformat tr:hover td.c21
{
	background-color: #f0f3f9;
}

table.tableformat td.l2
{
	padding: 0.2em 0.2em 0.2em 0.5em;
	border: 1px solid #ca3;
	border-width: 0 0 1px 0;
}
table.tableformat tr:hover td.l2
{
	background-color: #fcf6e4;
}

table.tableformat td.r2
{
	padding: 0.2em 0.2em 0.2em 0.5em;
	border: 1px solid #ca3;
	border-width: 0 0 1px 0;
	text-align: right;
}
table.tableformat tr:hover td.r2
{
	background-color: #fcf6e4;
}

table.tableformat td.c2
{
	padding: 0.2em 0.2em 0.2em 0.5em;
	border: 1px solid #ca3;
	border-width: 0 0 1px 0;
	text-align: center;
}
table.tableformat tr:hover td.c2
{
	background-color: #fcf6e4;
}

table.tableformat td.r21
{
	padding: 0.2em 0.2em 0.2em 0.5em;
	border: 1px solid #aab;
	border-width: 0 0 1px 0;
	text-align: right;
}
table.tableformat tr:hover td.r21
{
	background-color: #f0f3f9;
}


/* float containers fix: */
.clearfix:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix
{
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix
{
	height: 1%;
}

.clearfix
{
	display: block;
}

/* printer style: printing w/o navigation */
@media print
{
	#navigation
	{
		display: none;
	}

	#header
	{
		position: relative;
		height: 125px;
		width: 100%;
		font-weight: bold;
		font-size: 16pt;
	}

	#tuslogo
	{
		width: 180px;
		height: 85px;
		float: left;
		position: relative;
		margin-top: 12px;
		margin-bottom: 28px;
		margin-left: 10px;
		margin-right: 10px; 
		content: url(../images/TuS-Griesheim.gif);
	}

	#contentsection
	{
		width:100%;
		float:none;
		border: 3px solid #ff0000;
	}

}
