
/* Visuell */
.niceform {
	margin: 10px 0 10px 0;
	padding: 10px;
}

.niceform  fieldset {
	margin: 0 0 10px 0;
	padding: 5px;
	border: 1px solid #ccc;
	background: #fafafa;
}
.niceform legend {
    font-size: 14px; 
    font-weight:normal; 
    color:#000;
}
.niceform-label,
.niceform label {
	padding: 0 0 2px 0;
    color: #666;
}

.niceform .niceform-text input,
.niceform .niceform-text textarea,
.niceform .niceform-select select  {
	border: 1px solid #ddd;
}

.niceform .niceform-text input:focus,
.niceform .niceform-text textarea:focus,
.niceform .niceform-select select:focus,
.niceform .niceform-text input:hover,
.niceform .niceform-text textarea:hover,
.niceform .niceform-select select:hover,
.niceform .niceform-text input:active,
.niceform .niceform-text textarea:active,
.niceform .niceform-select select:active {
	border: 1px solid #a66;
  background: #fff;
}

.niceform .niceform-button input {
	border-top: 1px #ddd solid;
	border-left: 1px #ddd solid;
	border-right: 1px #999 solid;
	border-bottom: 1px #999 solid;
	color: #000;
	background: #bbb;
	padding: 5px 10px;
}
.niceform .niceform-button input:hover,
.niceform .niceform-button input:active,
.niceform .niceform-button input:focus {
	border-top: 1px #999 solid;
	border-left: 1px #999 solid;
	border-right: 1px #ddd solid;
	border-bottom: 1px #ddd solid;
	background: #888;
	color: #ddd;
}
.niceform .niceform-button input.submit,
.niceform .niceform-button input[type=submit] {
	background: url(../images-layout/button_gray.png) repeat-x 0 0;
	color: #000;
}
.niceform .niceform-button input.reset,
.niceform .niceform-button input[type=reset] {
	background: url(../images-layout/button_red.png) repeat-x 0 0;
	color: #000;
}

/********************************/
/*** Vertikale Ausrichtung 		*/
/********************************/
.niceform { overflow: hidden; }
.niceform fieldset { display: block; zoom: 1; }
.niceform label { display: block; cursor: pointer; }
.niceform legend { background: transparent; border: 0; padding: 0 5px; }
.niceform .niceform-description { display: block; font-style: italic; padding: 5px 0 2px 0; color: #666; }

/* wirlich verstecken ... */
.niceform input[type=hidden] { display: none !important; }

/* sauberes clearing nach jeder zeile */
fieldset:after,
.niceform div.niceform-text:after,
.niceform div.niceform-select:after,
.niceform div.niceform-check:after,
.niceform div.niceform-button:after,
.niveform div.niceform-custom:after {
	clear: both;
	content: ".";
	display: block;
	font-size: 0;
	height: 0;
	visibility: hidden;
}

/* die haupt container */
.niceform div.niceform-text,
.niceform div.niceform-select,
.niceform div.niceform-check,
.niceform div.niceform-button,
.niceform div.niceform-custom {
	display: block;
	margin: 5px 0;
	padding: 3px 5px;  
	position: relative;
}
.niceform div.niceform-button {
	padding: 5px 0;  
}

/* Form elemente mit nahezu gleicher breite */
.niceform .niceform-text input,
.niceform .niceform-text textarea {
	display: block;
	position: relative;
	padding: 2px;
	width: 400px;
}

.niceform .niceform-select select {
	display: block;
	position: relative;
	padding: 2px 2px 2px 1px;
	width: 406px;
	cursor: pointer;
}
.niceform .niceform-select select optgroup {
	font-style: normal;
	font-weight: bold;
	padding-left: 3px;
}

.niceform .niceform-check input {	
	margin: 4px 5px 2px 0;
	padding: 0 0 0 0;

	display: block;
	clear: left;
	float: left;
	cursor: pointer;
}
/* Mandatory helper */
.niceform .niceform-check-inner {
        overflow: hidden;
}
.niceform .powermail_mandatory_helper {
        display: none;
}

.niceform .niceform-check label {
	margin: 0 0 0 0;
	padding: 4px 0 0 0;
	
	display: block;
}
.niceform .niceform-button input {
	cursor: pointer;
    overflow: visible;
    width: auto;
}
.niceform .niceform-custom {
	position: relative;
	/*width: 400px;*/
}



/********************************/
/*** Horizontale Ausrichtung 	*/
/********************************/
.niceform-horizontal .niceform-text label,
.niceform-horizontal .niceform-select label {
	float:left;
	width: 220px; /* Can be fixed width too | Kann auch eine fixe Angabe sein */
}
.niceform-horizontal div.niceform-check input,
.niceform-horizontal div.niceform-element,
.niceform-horizontal .niceform-description { 
	clear: left;
	margin-left: 220px;
}
.niceform-horizontal div.niceform-button {
	padding-left: 220px;
}
.niceform-horizontal div.niceform-text input,
.niceform-horizontal div.niceform-text textarea,
.niceform-horizontal div.niceform-select select { 
	float:left;
}


/* Verschiedene breiten */
.niceform-w100 .niceform-text label,
.niceform-w100 .niceform-select label { width: 100px }
.niceform-w100 div.niceform-check input,
.niceform-w100 div.niceform-element,
.niceform-w100 .niceform-description { margin-left: 100px;}
.niceform-w100 div.niceform-button {padding-left: 100px;}

.niceform-w200 .niceform-text label,
.niceform-w200 .niceform-select label { width: 200px; }
.niceform-w200 div.niceform-check input,
.niceform-w200 div.niceform-element,
.niceform-w200 .niceform-description { margin-left: 200px;}
.niceform-w200 div.niceform-button {padding-left: 200px;}

.niceform-w300 .niceform-text label,
.niceform-w300 .niceform-select label { width: 300px; }
.niceform-w300 div.niceform-check input,
.niceform-w300 div.niceform-element,
.niceform-w300 .niceform-description { margin-left: 300px;}
.niceform-w300 div.niceform-button { padding-left: 300px;}


/* IE fixes */
.niceform, 
.niceform div,
.niceform div * { zoom:1; }

/* ie7 fixes */
/* checkboxes */
.niceform .niceform-check input { *margin: 0; }
.niceform .niceform-check label { *padding: 4px 0 0 0; }
/* fieldset/legend */
/* alle IE */
.niceform { padding-top:0\9; }
.niceform fieldset { padding:0 5px\9; padding-top:10px\9; }
.niceform legend { position:absolute\9; top:-7px\9; *left:0\9; }
.niceform fieldset { position:relative\9; overflow:visible\9;  margin-top:15px\9; zoom:1; }

/* IE5.x, IE6 und IE7 */
.niceform legend { *padding:0 5px; }
.niceform fieldset { *padding-top:15px; }

/* IE5.x und IE6 */
* html .niceform { padding-top:10px; }