img {
	border:none;
}

body {
	background:#fff;
	background-image: url('/images/layout/pagebg.gif');
	background-repeat: repeat-x;
	margin:0;
	padding:0;
	font-family: verdana, arial, helvetica, geneva, sans-serif;
	font-size:0.8em;
}

body.blank {
	background:#fff;
	background-image: none;
}

#thewholebox {
	margin:0;
	padding:0;
	background:#333;
	width:1000px;
	margin-left:auto;
	margin-right:auto;
}

#banner {
	background:#1967ba;
	width:1000px;
	height:105px;
/*	border-top: 1px solid #77aadf; 
	border-bottom: 1px solid #16263f; */
}
#main {
	width:1000px;
	background:#333;
	background-image:url('/images/layout/contentbg.gif');
/*	border-top:1px solid #16263f; */
}

#main p {
	margin-left:5px;
	margin-right:5px;
}

#main p.formular {
	margin-top:0;
	margin-bottom:0;
	padding-top:0.3em;
	padding-bottom:0.3em;
	line-height:1.4em;
}

#main p.formularheader {
	margin-top:0;
	margin-bottom:0;
	font-weight:bold;
	line-height:1.4em;
}

#main input.headline {
	width:580px;
}

#main span.sameline {
	float:right;
	display:inline;
	margin:0;
	padding:0;
}

#main input.sameline {
	width:300px;
	float:right;
}

#main select.sameline {
	float:right;
}

#main textarea {
	width:590px;
}

#main textarea.staticpage {
	height: 500px;
}

#main label.firstlevel {
	font-weight:bold;
}
#main label.secondlevel {
	padding-left:20px;
}
#main label.thirdlevel {
	padding-left:40px;
	font-style:italic;
}

#content {
	margin: 0 240px 0 160px; /* should match right and left pane */
	background:#fff;
}

#content a {
	color:#cd0303;
	text-decoration:none;
}
#content a:hover {
	text-decoration:underline;
}
#content a.extern {
	color:#780303;
}

#notice {
	margin: 0em 0.2em;
	border: 1px solid gray;
	padding: 0.2em;
	text-align: center;
	font-weight: bold;
}
#notice.info {
	background: #FFEC8B;
}
#notice.error {
	background: #FFAAAA;
}
#notice.success {
	background: #CCFFCC;
}

#bottom {
	width:1000px;
	height:30px;
	background:#333;
	clear:both;
	border-top:1px solid #b9b9b9;
	text-align:right;
	color:#fff;
	padding-top:5px;
}

#bottom span {
	margin-right:1em;
}

#bottom a {
	color:#fff;
}

/* Navigation Bar on top for Teams */
#teamnav {
	background:#cd0303;
	background-image:url('/images/layout/teammenubg.gif'); 
	color:#f89595;
	width:1000px;
	height:44px;
/*	border-top:1px solid #ffa6a6;
	border-bottom:1px solid #6e0000; */
	padding:0;
	margin:0;
}

#teamnav ul {
	list-style:none;
	padding:0;
	margin:0;
}

#teamnav ul li {
	float:left;
	width:130px;
	height:30px;
	padding:7px 5px;
	margin:0;
	line-height:0.9em;
	border-right:1px solid #9b0909;
	border-left:1px solid #ec5a5a;
}
#teamnav ul li.activeteam {
	background:#ccc;
	background-image:url('/images/layout/teammenuactivebg.gif');
	border-right:1px solid #6b6b6b;
	border-left:1px solid #dcdcdc;
	color:#000;
}
#teamnav ul li.lastteam {
	border-right:none;
}

#teamnav ul li a {
	color:#fff;
	text-decoration:none;
	font-weight:bold;
}
/*
#teamnav ul li:hover {
	background:#ccc;
}
*/
#teamnav ul li a:hover {
	text-decoration:underline;
}

.activeteamname {
	font-weight:bold;
}

.leaguedesc {
	font-size:0.8em;
}


/* End Top Navigation Bar */

/* Subnavigation for selected Teams */
#teamsubnav {
	list-style:none;
	padding:5px 0;
	height:1.5em;
	margin:0;
	height:20px;
	background:#ccc;
	background-image:url('/images/layout/teamsubmenubg.gif');
}

#teamsubnav li {
	float:left;
	margin:0;
	padding:2px 9px;
	border-right:1px solid black;
}

#teamsubnav li.standalone {
	float:right;
	border-right:none;
}

#teamsubnav li.lastitem {
	border-right:none;
}

#teamsubnav a {
	text-decoration:none;
	color:#000;
}
#teamsubnav a:hover {
	text-decoration:underline;
}
/* End Team Subnavigation */

/* Ueberschriften */

/* Bereichsueberschrift */
h1 {
	font-size:120%;
	font-weight:bold;
	color:#666;
	margin:0 0 1em 0;
	padding:5px 15px;
	height:20px;
	background:#eee;
	background-image:url('/images/layout/headlinebg.gif');
}

/* Artikelueberschrift */
h2 {
	color:#cd0303;
	margin-left:5px;
	margin-right:5px;
	margin-top:0;
	font-size:100%;
	font-weight:bold;
}

/* Absatzueberschrift 1 */ 
h3 {
	font-size:95%;
	font-weight:bold;
	margin:0;
	padding-left:5px;
}

/* Absatzueberschrift 2 */
h4 {
	color:#cd0303;	
	font-size:100%;
	font-weight:normal;
	margin:0.5em 0;
	padding-left:5px;
}

h5 {
	font-size:100%;
	font-style:italic;
	margin:0;
	padding-left:5px;
	display:block;
	font-weight:normal;
}

/* Panel-Ueberschriften */
h6 {
	color:#fff;
	font-weight:bold;
	font-size:0.92em;
	padding:0px 0 0px 7px;
	margin:3px 0;
	height:16px;
	display:block;
}

.mainentry {
	margin:0;
	padding:0.5em;
}

.mainentry a {
	color:#cd0303;
}

.mainseparator {
	background:#eee;
	width:500px;
	margin-top:1em;
	height:2px;
	margin-left:50px;
}

.author {
	color:#666;
	margin:1.5em 0 0 0;
}

.newsentry {
	margin:0;
/*	padding:0.5em; */
}

.newsentry a {
	color:#cd0303;
	text-decoration:none;
}
.newsentry a:hover {
	text-decoration:underline;
}

.newscategory {
	color:#666;
	font-weight:bold;
	font-size:0.8em;
	margin-bottom:0;
	overflow:hidden;
}

div.workinprogress {
	width: 400px;
	padding: 4em 4em;
	margin: 3em 50px 0 50px;
	border: 1px solid #ccc;
	border-right-color: #999;
	border-bottom-color: #999;
	text-align: center;
	line-height:1.5em;
}

div.fieldWithErrors {
	background-color: #FFAAAA;
	display:inline;
	margin:0;
	padding:0;
}

/* classes for left pane */
#leftpane {
	width:160px;
	background:#333;
	color:#cdcdcd;
	float:left;
	min-height:400px;
	margin-top:0;
	margin-bottom:0;
/*	border-top:1px solid #b9b9b9; */
}
#leftpane ul {
	list-style:none;
	padding:0;
	margin:0;
}
.menuitem {
	background:#444;
	background-image:url('/images/layout/menubg.gif');
	color:#fff;
	height:20px;
	padding:7px 1em 3px 1em;
	margin-left:1px;
}
.activemenuitem {
	background:#ccc;
	background-image:url('/images/layout/activemenubg.gif');
	color:#000;
	height:20px;
	padding:8px 1em 2px 1em;
	margin-left:1px;
}
#leftpane ul li a {
	color:#fff;
	text-decoration:none;
}
#leftpane ul li a:hover {
	color:#fff;
	text-decoration:underline;
}

#leftpane ul li ul {
	padding:5px 15px;
	background:#292929;
}

#leftpane ul li ul li a {
	color:#ccc;
}
#leftpane ul li ul li a:hover {
	color:#ccc;
}

.aftermenu {
	border-top:1px solid #8c8c8c;
	margin-left:1px;
}

/* End left pane classes */

/* classes for right pane */

#rightpane {
	width:240px;
	background:#333;
	color:#cdcdcd;
	float:right;
	min-height:400px;
}

#rightpane a {
	color:#cdcdcd;
	text-decoration:none;
}
#rightpane a:hover {
	text-decoration:underline;
}

#paneeventscontainer {
	border-top:1px solid #898989;
	border-bottom:1px solid #000;
	margin:0;
	padding:0;
}

.paneevent {
	background:#444;
	background-image:url('/images/layout/eventbg.gif');
	color:#cdcdcd;
	margin:0 3px 1px 3px;
	padding:5px 3px;
	font-size:0.85em;
	overflow:hidden;
}

span.paneeventdate {
	font-weight:bold;
	display:block;
}

div.calendarlink {
	text-align:right;
	margin:0.4em 0.7em;
}
div.calendarlink a {
	color:#cdcdcd;
	text-decoration:underline;
}

#panesponsorscontainer {
	border-top:1px solid #8c8c8c;
/*	border-bottom:1px solid #000; */
}
#panesponsors {
	margin:0 19px 8px 19px;
	padding:1em 0 1em 0;
	text-align:center;
	background:#fff;
}
#panesponsors img {
	margin:0.5em 0;
}

/* Elemente nur fuer den Admin-Bereich */
#adminactions {
	background:#eee;
	margin:1em 0.5em;
	border: 1px dotted #525252;
	min-height: 10em;
	padding:0.2em;
}
#adminactions div {
	margin:0.5em 1em;
	background:#fff;
	
}

.adminaction {
	background:#eee;
	margin:0.4em 1em;
	border:1px dotted #525252;
	padding:0.2em;
	min-height:3em;
}

.left4em { width:4em; float:left; }
.left5em { width:5em; float:left; }
.left6em { width:6em; float:left; }
.left7em { width:7em; float:left; }
.left8em { width:8em; float:left; }

ul.links {
	list-style:none;
	padding-left:1em;
}

a.linkcategory {
	text-decoration:none;
	color:#cd0303;
	font-weight:bold;
}

li.sortable_item {
	margin: 0.4em 5em 0.4em 0;
	padding:0.4em;
	background: #eee;
	border: 1px dotted black;
}
span.adminactions {
	float: right;
}
.active-droppable {
	background: #FFEC8B;
}
#teammembers {
	margin: 1em;
	min-height: 20em;
	border: 1px dotted black;
}
#wastebasket {
	margin: 0 1em 1em 1em;
	width: 8em;
	height: 20em;
	border: 1px dotted black;
	float: right;
}
.teammembertable {
	margin: 0 1em;
	width: 90%;
}
#teammembers a.activepositionlink {
	color:#44FF44;
}
teammembers a.positionlink {
	color:#FF4444;
}

.maintable {
	width: 590px;
	margin-top:1em;
	margin-left:5px;
}

.maintable th {
	color:#cd0303;
	text-align:left;
	font-weight:normal;
}

table.helptable {
	border:1px solid black;
	border-collapse:separate;
}
table.helptable th {
	text-align: left;
}
table.helptable td {
	border: 1px solid black;
	padding: 5px;
	border-collapse: separate;
}

table,tr,td {
	border:none;
	border-collapse:collapse;
	margin:0;
}

table.wide {
	width: 100%;
}

th.stringheader {
	text-align:left;
}

td.adminaction {
	background: #eee;
	border:none;
}

td.number,th.number {
	text-align: center;
}

.maintable .newsection {
	border-top: 1pt solid black;
}

.maintable .spacer {
	line-height: 2em;
}

.maintable .name {
	font-weight:bold;
}

tr.standingtable td {
	padding:5px 0;
}

.maintablecolor0 {
	background:#fff;
}
.maintablecolor1 {
	background: #eee;
}

.ownteam {
	font-weight:bold;
}

.hint {
	color:#555;
	font-style:italic;
}

div.imagecontainer {
	width: 100%;
	text-align: center;
}
form.inplaceeditor-form {
	display: inline;
}
.edithint {
	color:#555;
	font-style:italic;
	font-size:0.8em;
}

.length_ok {
	color: #390;
	font-weight:bold;
}
.length_warning {
	color: #fc0;
	font-weight:bold;
}
.length_exceeded {
	color:#cd0303;
	font-weight:bold;
}
.adminnav {
	background: #eee;
	text-align:right;
	border: 1px dotted #333;
	float: right;
	padding-right: 2em;
}
.adminnav ul {
	list-style:none;
}

.editlinks {
	text-align:right;
}
.editlinksrow {
	margin-bottom:3em;
}

.map {
	text-align:center;
}

.teaser {
	font-style:italic;
}

.loginlink {
	text-align:right;
	padding-right:19px;
}

.statsnumberfield {
	width: 2em;
}
.error {
	background: #FFAAAA;
	padding:5px;
	border: 1px solid red;
}

.firstanswer {
	margin-left: 40px;
}
.secondanswer {
	margin-left: 10px;
}
