
/*
aForms CSS
Form is always wrapped below <div class="aForms"> use .aForms as first selector to avoid overwriting other styles.
*/

/*form field div wrapper*/
/* wrapper om alle form elementer undtagen de med validering! */
div.aField {
/*	margin: 10px 0 10px 0;	*/
	margin: 3px 0 0 0 !important;
	width:520px !important;
	clear: both;
}


/* checkbox + radio group container */
.aForms fieldset {
/*	margin-left: 92px !important; */
/*	width: 430px !important;      */
	margin-left: 0px !important;
	margin-bottom: 10px !important;
	display: block;
	border: 0;
	background-color: #fafafa;
	width: 518px !important;
}


/* checkbox + radio group header */
.aForms fieldset legend {
	position: relative;
	left: -6px;
	top: 0;
	color: #000000;
	padding: 6px;
	background-color: #efefef;
	width: 97.5% !important;
	font-weight: bold;
}


/* checkbox + radio group items */
.aForms fieldset div {
	border-bottom: 1px solid #efefef;
	border-top: 1px solid #fff;
	padding-left: 4px;
	width: 99% !important;
/*	width: 430px;	*/
}


/* checkbox + radio group item tekster */
.aForms fieldset label {
	width:auto;
	float:none;
	display:inline;
	line-height:16px !important;
/*	margin-left: 6px;	*/
}


/* tekster foran input + textarea - desuden checkbox + radio group item tekster (!) */
.aForms label {
	width:160px !important;
	float:left;
	text-align:right;
	line-height:16px !important;
	margin-right:10px;
}

/* bruges tilsyneladende ikke ? */
.aRequired {
	font-weight:bold;
}


/* required fields container */
.aFieldaRequired{
	font-weight:bold;
	margin: 2px 0 0 0 !important;
}


/* submit + reset container */
.abutton {
	padding: 0 0 0 170px !important;
	margin-bottom: 10px !important;
}

/* submit + reset knapper */
.abutton input {
	margin-right: 6px;
	cursor: pointer;
}


.aRequired input:focus{
	border:1px solid red;
	padding:1px;
	padding-bottom:3px;
}

.aRequiredFieldText{
	/*border:1px dotted red;*/
	display:inline;


	font-weight:normal;
	color:red;
	display:none;
}

/* input text */
.aTextFld{
	width:344px;
	margin: 0;
}

/* textarea */
.aTextAreaFld{
	width:346px;
	float: right;
	display: block;
	margin-bottom: 6px;
}

/* select */
.aSelectFld{
	width:348px;

}

/* header text - added 100608 KKJ */
.aformheader {

	margin-bottom: 6px !important;
	margin-top: 2px !important;
	display: block;
/*	margin-left: 170px !important; */ /* align with form elements */
	font-weight: bold;
	color: #222;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	padding-bottom: 2px;
	padding-top: 2px;
	width: 518px;
}