/* Allgemeine Elemente
---------------------------------------------------------------------------
--------------------------------------------------------------------------- */

body {
	color: black;
	background: white url(../images/bg.gif) top left repeat-x;
	margin: 0;
	padding: 0 0 20px 0;
	border: 0;
}

/* Schriftgröße kontrollieren */
body, td, th {
  font: normal 75%/170% Verdana, sans-serif;
}
td, th {
  font-size: 100%;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
  color: #393839;
  background-color: transparent;
  margin: 1.5em 0 1em 0;
  line-height: 140%;
}
h1 {
  font-size: 1.8em;
  margin: 0 0 1.2em 0;
}
h2 {
  margin: 1.3em 0 1em 0;
  font-size: 1.5em;
}
h3 {
  font-size: 1.4em;
}
h4 {
  margin: 1.5em 0 .7em 0;
  font-size: 1.3em;
}
h5, h6 {
  margin: 1.5em 0 .5em 0;
  font-size: 1.1em;
}

img {
	border: 0;
	vertical-align: bottom;
}

a:link {
	color: #B52421;
	background: transparent;
}
a:visited {
	color: #777;
	background: transparent;
}


/* Besondere Bereiche
---------------------------------------------------------------------------
--------------------------------------------------------------------------- */


/* Dokumentkopf
--------------------------------------------------------------------------- */
#head{
	position: absolute;
	width: 187px;
	height: 120px;
 	background: url(../images/redball.jpg) no-repeat;
	top: 0px;
	left: 0px;
	border-bottom: 2px solid #949694;
}
#header {
      	background: #3A3A3A url(../images/handball20.jpg) no-repeat;
	height: 120px;
	border-bottom: 2px solid #949694;
	margin-left: 187px;
}
#head h1 {
	margin: 0;
	padding: 0;
	position: absolute;
	left: 220px;
	top: 70px;
	font-size: 2.5em;
}
#head h1 a {
	color: #B52421;
	background-color: transparent;
	text-decoration: none;
}

/* Logo
--------------------------------------------------------------------------- */
#logo {
	position: absolute;
	width: 140px;
	height: 150px;
	background: url(../images/logo2.png) no-repeat;
	top: 10px;
	right: 10px;
}

/* Hauptmenü
--------------------------------------------------------------------------- */
#nav {
	float: left;
	margin: 40px 10px;
	width: 168px;
	border: 2px solid #949694;
	padding: 1px 11px 0px 1px;
	background: #FFFFFF;
}

#nav div {
	padding-left: 0 !important;
}
#nav div div {
	font-size: .9em;
}

#nav a {
	display: block;
	text-decoration: none;
}

#nav a:hover,
#nav a:focus,
#nav a:active {
	color: #FFFFFF;
	background: #B52421;
	border-left: 10px solid white;
	font-weight: bold;
}

div a.mainlevel {
	width: 158px;
	padding: 2px 0px 2px 10px;
}

div a.mainlevel:link,
div a.mainlevel:visited {
	color: #000000;
	background: #979997;
	border-left: 10px solid #B52421;
}

div div a.sublevel {
	padding: 2px 0px 2px 25px;
	margin: 1px 0 1px 0;
}

div div a.sublevel:link,
div div a.sublevel:visited {
	color: #000000;
	background: #b6b9b6;
	border-left: 10px solid #B52421;
}

div div div a.sublevel:link,
div div div a.sublevel:visited {
	color: #000000;
	background: #d1d3d1;
	border-left: 10px solid #B52421;
	margin: 1px 0 1px 0;
	padding: 2px 0px 2px 35px;
}


/* Sidebar --------------------------------------------------------------------------- */

#sidebar {
	float: right;
	margin: 40px 15px 0px 0px;
	font-size: .9em;
	width: 130px;
}

* html #sidebar {
	/* Für IE */
	margin-right: 5px;
}

#sidebar .box {
	color: black;
	background: #DEDEDE;
	border: 2px solid #949694;
	margin-bottom: 10px;
}

#sidebar .box .inner {
	border: 1px solid white;
	padding: 2px 2px;
}

#sidebar li {
	list-style-type: none;
}

#sidebar h2 {
	padding: 0;
	margin: 0 0 10px 0;
}

#sidebar dt {
	font-weight: bold;
}

#sidebar dd {
	margin: 0 0 10px 0;
	padding: 0;
}

#sidebar a {
	text-decoration: none;
}

#sidebar a:hover {
	text-decoration: underline;
} 

#content {
	margin: 40px 170px 0 220px;

}


/* Infoboxes
--------------------------------------------------------------------------- */
#infoboxes {
	margin: 20px 170px 0 220px;
}
#results, #nextMatches {
	float: left;
	margin-right: 10px;
}

#infoboxes .tabs a {
	color: black;
	background-color: #979997;
	padding: 2px 10px;
	border: 1px solid black;
	margin-right: 5px;
	text-decoration: none;
	position: relative;
	top: 1px;
}
#infoboxes .tabs a:hover,
#infoboxes .tabs a:focus,
#infoboxes .tabs a:active,
#infoboxes .tabs a.active {
	color: black;
	background-color: #c1c3c1;
	border-bottom: 0;
	padding-bottom: 3px;
}

#infoboxes iframe {
	border: 0;
	border: 1px solid black;
}

/* tabelle
--------------------------------------------------------------------------- */
#tabelle{
        position: absolute;
        left: 222px;
        top: 210px;
	/* margin: 20px 170px 0 220px; */
}

#tabelle .tabs a {
	color: black;
	background-color: #979997;
	padding: 2px 10px;
	border: 1px solid black;
	margin-right: 5px;
	text-decoration: none;
	position: relative;
	top: 1px;
}
#tabelle .tabs a:hover,
#tabelle .tabs a:focus,
#tabelle .tabs a:active,
#tabelle .tabs a.active {
	color: black;
	background-color: #c1c3c1;
	/* padding-bottom: 3px; */
}

/* berichte
--------------------------------------------------------------------------- */
#berichte{
        position: absolute;
        left: 297px;
        top: 210px;
	/* margin: 20px 170px 0 220px; */
}

#berichte .tabs a {
	color: black;
	background-color: #979997;
	padding: 2px 10px;
	border: 1px solid black;
	margin-right: 5px;
	text-decoration: none;
	position: relative;
	top: 1px;
}
#berichte .tabs a:hover,
#berichte .tabs a:focus,
#berichte .tabs a:active,
#berichte .tabs a.active {
	color: black;
	background-color: #c1c3c1;
	/* padding-bottom: 3px; */
}

/* shooter
--------------------------------------------------------------------------- */
#shooter{
        position: absolute;
        left: 407px;
        top: 210px;
	/* margin: 20px 170px 0 220px; */
}

#shooter .tabs a {
	color: black;
	background-color: #979997;
	padding: 2px 10px;
	border: 1px solid black;
	margin-right: 5px;
	text-decoration: none;
	position: relative;
	top: 1px;
}
#shooter .tabs a:hover,
#shooter .tabs a:focus,
#shooter .tabs a:active,
#shooter .tabs a.active {
	color: black;
	background-color: #c1c3c1;
	/* padding-bottom: 3px; */
}


/* fairplay
--------------------------------------------------------------------------- */
#fairplay{
        position: absolute;
        left: 517px;
        top: 210px;
	/* margin: 20px 170px 0 220px; */
}

#fairplay .tabs a {
	color: black;
	background-color: #979997;
	padding: 2px 10px;
	border: 1px solid black;
	margin-right: 5px;
	text-decoration: none;
	position: relative;
	top: 1px;
}
#fairplay .tabs a:hover,
#fairplay .tabs a:focus,
#fairplay .tabs a:active,
#fairplay .tabs a.active {
	color: black;
	background-color: #c1c3c1;
	/* padding-bottom: 3px; */
}

/* otherDepartments
--------------------------------------------------------------------------- */
#othermenu {
	position: absolute;
	top: 0;
	left: 222px;
}
#othermenu a {
        display: block;
        float: left;
        width: 100px;
	color: white;
	background-color: #B52421;
	padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 2px;
        text-align: center;
	border: 1px solid black;
	border-top: 0;
	margin-right: 5px;
	text-decoration: none;
}

#othermenu a:hover,
#othermenu a:focus,
#othermenu a:active,
#othermenu a.active {
	color: black;
	background-color: #c1c3c1;
	border-bottom: 0;
	padding-bottom: 3px;
}



/* Fußzeile
--------------------------------------------------------------------------- 
#footer {
	float: left;
	color: black;
	background: #DEDEDE;
	border: 2px solid #949694;
	margin: 300px 20px 10px 0px ;
	margin-left: 0px;
	margin-top: 300px;
	text-align: right;
}
#footer .inner {
	border: 1px solid white;
	padding: 5px 10px;
}
#footer ul,
#footer li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: inline;
}
#footer li {
	padding: 0 10px;
}
#footer a {
	text-decoration: none;
}
#footer a:focus,
#footer a:hover {
	text-decoration: underline;
} */

#user1 {
        margin: 20px 170px 0 220px;
}

#user2 {
        margin: 30px 170px 0 220px;
}

div.neu, span.neu,
div.bier, span.bier,
div.training, span.training,
div.allgemein, span.allgemein {		/* damit jeder Bereich grundsätzlich gleich formatiert wird */
	margin: 5px 0px 25px 0px;
	padding: 10px 30px;			/* sollte je nach Bildgöße angepasst werden! hier für ca. 25px breite Bilder */
	display: block;
	/*border-top: 1px dotted #000;*/
	border-bottom: 1px dotted #000;
        width: 500px;
}

div.bier, span.bier {				
	background-image: url(http://www.sc-huckarde-rahm.de/joomla/images/stories/Handball/ersteherren/l.png);
        background-repeat: no-repeat;
}

div.training, span.training {			
	background-image: url(http://www.sc-huckarde-rahm.de/joomla/images/stories/Handball/ersteherren/t.png);
        background-repeat: no-repeat;
}

div.allgemein, span.allgemein {	
	background-image: url(http://www.sc-huckarde-rahm.de/joomla/images/stories/Handball/ersteherren/i.png);
        background-repeat: no-repeat;
}

div.neu, span.neu{	
	background-image: url(http://www.sc-huckarde-rahm.de/joomla/images/stories/Handball/ersteherren/n.png);
        background-repeat: no-repeat;
}
