
/* GRUNDFORMATIERUNG DES FORMULARS */

/*  Hintergrundfarbe und Breite des Formulars einstellen */
#formbox {
	background-color: #eaecff;
	width: 450px;
	border: 1px dotted gray;
	margin: 0 10px;
	padding: 10px;
	font-size: 13px;
}

* html #formbox {
	width: 470px;
}

#formbox h3 {
	font-size: 16px;
	margin: 12px 0 0 10px;
	color: maroon;
	padding: 0;
	}

/*  haengt die Labels rechtsbuendig an 
    einer imaginaeren Mittelachse 5em 
    von links auf und kontrolliert den 
    Abstand zu den Kontrollelementen: */
label.left {
	float: left;
	text-align: right; 
	/*  die naechsten zwei sind beliebig anpassbar,
    um in das jeweilige Gestaltungsraster 
    zu passen. Bei Aenderungen aber nicht 
    vergessen, die margins bei input.right 
    entsprechend anzupassen: */
	width: 70px;
	margin-right: 4px;
}

/*  positioniert die Text- und 
    Auswahlboxen rechts daneben: */
input[type=text], select {
	float: left;
	width: 250px;
}

* html input {
	width: 250px;
}

#plz {
	width: 40px;
	margin-right: 2px;
}
#ort {
	width: 206px;
}
* html #ort {
	\width: 204px;/* for ie5 */
	widt\h: 200px;/* for ie6 */
}
textarea {
	width: 250px;
}


/*  dann werden alle checkboxen und radiobuttons,
    die mit der Klasse "right" versehen wurden,
    um den errechneten linken Abstand der input
    und select-Elemente (s.o.) nach rechts
    verschoben: */
input.right {
	float: left;
	width: auto;
	clear: both;
	margin-left: 74px;
	margin-right: 4px;
}
input.right2 { /* Selbe wie vor, mit weniger Einrückung */
	float: left;
	width: auto;
	clear: both;
	margin-left: 34px;
	margin-right: 4px;
}

.zeile2 { /* gehört zu right2 */
	float: left;
	width: auto;
	clear: both;
	margin-left: 55px;
	margin-right: 4px;
}
* html .zeile2 {
	margin-left: 60px;
}

/*  Nicht vergessen, die floats wieder aufzuheben,
    sonst floatet es munter weiter */
form br {
	clear: both;
}


/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     Spezielle Formatierungen des Formulars  */
	  
fieldset {
	border: 1px solid gray;
	padding: 8px;
	background-color: #f8f8ff;
}

legend {
	border: 1px solid gray;
	font-size: 12px;
	padding: 0 2px;
	background-color: #fafad2;
}

#formbox h4 {
	font-size: 14px;
	margin: 8px 0;
	padding: 0;
	background-image: none;
}

#formbox h5 {
	font-size: 12px;
	margin: 0 0 8px 10px;
}

input, textarea, select {
	border: 1px solid gray;
	background-color: #fffff0;
	margin-bottom: 2px;
}

input:focus, textarea:focus, select:focus {
	background-color: white;
	border: 1px solid red;
}

.nob input {
	background: none;
	border: none;
	margin-bottom: 0;
}

input.anz {
	width: 20px;
	text-align: right;
}
input.betrag {
	width: 60px;
	text-align: right;
}
input.datum {
	width:70px;
	float: none;
}
input.radio {
	width: 20px;
	background: none;
	border: none;
	margin:0;
}


/* button styles */

a.button {
	display: block;
	background-color: transparent;
	background-image: url(buttonbg.gif);
	background-repeat: no-repeat;
	width: 99px;
	height: 21px;
	margin: 4px auto;
	padding: 4px 0 0 0;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}
a.button:link, a.button:visited {
	color: #002577;
}

a.button:hover, a.button:active {
	background-position: 0 -27px;
	color: #FF7200;
}

.icon {
	display: inline-block;
	background-repeat: no-repeat;
	padding: 0 0 4px 14px;
}
a.button:hover .icon, a.button:active .icon {
	background-position: 0 -21px;
}

/* list of button icons */
#buttonOK .icon {
	background-image: url(ok.gif);
}
#buttonCancel .icon {
	background-image: url(cancel.gif);
}
#buttonImport .icon {
	background-image: url(import.gif);
}

/* Button sonstiges */
#buttonbox {
	margin-left: 100px;
}

#buttonbox br {
	clear: both;
}
