/* custom styles */


/**************************************************************************
*
*  Nacharbeit fuer CSS-Reset in 100_allgemein_dist.css
*  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*  Reset: * { margin:0; padding:0; }
*  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*  Margin und padding fuer ausgewaehlte Elemente wieder herstellen
*
***************************************************************************/

/* Allgemeine Abstaende (1) */
h1,
h2,
h3,
p,
ul,
ol,
dl,
caption,
table {
  /* margin: .5em 0 1em; */
  margin-top:    0.5em;
  margin-bottom: 0.5em;
}

/* Allgemeine Abstaende (2) */
h1,
h2,
h3 {
  margin-top:    1em;
  margin-bottom: 0.1em;
  /* background-color: aqua; */
}

img {
	border:0;
}





/**************************************************************************
*
*	HTML-Table
*
***************************************************************************/
/*
 * table structure
 */
caption {

/* Abstand Fliesstext zu Caption der Tabelle */
  padding-top: 1em;     /* ie reagiert nicht auf margin-top  */

	/* font-weight: bold; */
	/* font-size: 0.8em; */
	font-style: italic;
	padding-bottom: 0.3em;
	text-align: left;

}

table {
	width: 98%;
	margin-left: 1px;	/* fuer FF, sonst wird die linke Border unsichtbar. Grund: Border collapse mit Border des Containers */

	/* Abstand Ende der Tabelle zum Fliesstext  */
	margin-bottom: 1em;

	border: 1px solid #CCC;
	border-width: 1px 0 0 1px;
	border-collapse: collapse;
}

th, td {
	border: 1px solid #CCC;
	border-width: 0 1px 1px 0;
	padding: 0.5em;
	vertical-align: top;
}

th p,
td p {
	margin:  0;
	border:  0;
	padding: 0;
}

/*
 * color scheme
 */
table,
td,
th {
	border-color: #CCC;
}

th,
thead td {
	background-color: #EEE;
	text-align: left;
	font-weight: normal;
	color: #999;
}

/*
=End grey colour scheme
*/










/**************************************************************************
*
*	lists
*  -ul
*  -ol - 09.09.2009 Jetzt auch im RTE verfuegbar.
*
***************************************************************************/

/* listen im content */

/* Abstand der Bullets vom linken Rand */
/* Wert von 1.2em = Linksbuendig           */
.spalte2 ul,
.spalte3 ul {
	padding-left: 1.2em;  /* ff2, ff3, ie7, ie6 */
}
.spalte2 ol,
.spalte3 ol {
	padding-left: 1.5em;  /* ff2, ff3, ie7, ie6 */
}

/* Abstand der Liste nach unten zu naechsten Headline */
/* Wert uebernehmen von p                             */
/* Wert von 1em                                      */
.spalte2 ul,
.spalte3 ul,
.spalte2 ol,
.spalte3 ol {
	margin-bottom: 1.0em;  /* ff2, ff3, ie7, ie6 */
}









/**************************************************************************
*
*  form layout
*  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*  global settings
*
***************************************************************************/
form {overflow:hidden;}


/* make fieldset invisible */
fieldset {
	border: 0px none;
	padding:0;
	margin: 0;
}

/* make legend invisible */
legend {
	display: none;
}



/* form fields and labels - font */
/* input.input-text - Rausgenommen damit an input fields vererbt wird */
input,
label,
legend,
select,
textarea {
	font-size: 1em;
	font-family:	arial, helvetica, sans-serif;
	font-weight: bold;
	/* color: #424346; */
	/* background:#fafafa; */
	color: #666;

}



label {
	display:block;
	padding:0;
	font-weight: normal;
}

/* remove block for cb and radio */
div.label-modifier label {
	display: inline;
}

/* Zeilenabstand */
label,
div.label-modifier {
	margin-top: 1em;
}

/* Abstand cb - label */
div.label-modifier label {
	margin-left: 0.3em;
}

/* form fields - visuals   */
/* input.input-cb, - wird vom FF nicht angenommen. Und IE7 interpretiert auch nicht wie gewuenscht. */
input.input-text,
select,
textarea {
	border:1px solid #C7D0BA;
}

input.input-text,
select,
textarea {
	/* siehe auch unten: zusaetzl. Breite fuer selbox */
	width: 216px;
	padding:0.2em;
	/* background:#fafafa; */

}





/* form fields - focus */
input.input-text:hover,
input.input-text:active,
input.input-text:focus,
select:hover,
select:active,
select:focus
textarea:hover,
textarea:active,
textarea:focus {
	font-weight: bold;
	color: black;

	background-color: #FAF8CF;  	/* gelb */
	background-color: #E9F5F9;		/* hp hellblau */
	background-color: #F4FEFA;		/* gruen stp */


}


/* special settings */
/* select           */
/* select box muss etwas breiter sein, fuer IE7 und FF2.x */
select {
	width: 221px;
}

/* special settings */
/* textarea         */
textarea {
	height: 8em;
}











/**************************************************************************
*
*	hr
*  So funktionierts in allen browsern
*  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*  Siehe auch 500_dvs_typo3.css
*
***************************************************************************/
hr {
	margin-top:    1.5em;
	margin-bottom: 1.5em;

	border: 0px none;

	color: 				 #CCCCCD;	/* gruen */
	background-color:  #CCCCCD;	/* gruen */

	height: 1px;
}



/**************************************************************************
*
*	<sup>
*  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*	2. Ansatz
*	Manche Browser stellen bei Textzeilen die hoch- oder tiefgestellten
* 	Text enthalten den Zeilenabstand zu gross dar.
*	--
* 	http://dev.strombild.de/2009/09/zeilenhohe-bei-sup-und-sub/
*
***************************************************************************/
sup,
sub {
	height: 0;
	line-height: 1;
	vertical-align: baseline;
	/* _vertical-align: bottom; */
	position: relative;
}

/* http://de.selfhtml.org/css/formate/wertzuweisung.htm          */
/* ex = Hoehe der Kleinbuchstaben vs. em Hoehe aller Buchstaben .*/
sup { bottom: 1ex; }
sub { top: .5ex; }

/*
sup,
sub {
	background-color: black;
	color: white;
}
*/

