
form.theform, 
.theform fieldset,
.theform input,
.theform select,
.theform radio, 
.theform textarea,
.theform label,
.theform p{
	margin			: 0;
	padding			: 0;
	}


.theform{
	font-size		: 1em;
	color			: #000;
	background-color: #fff;
	font-family		: Arial, Helvetica, sans-serif;
	}

.theform label.left,
.theform select,
.theform input[type=checkbox],
.theform input[type=radio],
.theform input[type=button],
.theform input[type=submit]{
	cursor			: pointer;
}

.theform fieldset{
	border			: none;
	width			: 30em;
	padding			: .5em;
	border			: 1px solid #000;
	}
	
.theform fieldset legend{
	}

/* wpapper element  */
.theform .label-element-box{
	clear			: both;
	margin			: 0 0 .5em 0;
	padding			: .5em;
	color			: #000;
	background-color: #e5e5e5;
	}


/* label of input[type=text], select */
.theform label.left{
	float			: left;
	text-align		: left;
	width			: 11em;
	padding			: 2px 0 0 0;
	}

/*   */
.theform label.top{
	text-align		: left;
	width			: auto;
	display 		: block;   
	padding			: 2px 0 0 0;
	margin			: 0 0 .4em 0; 	
	}	


/* input[type=text] */
.theform input[type=text]{
	border			: 1px solid #000;
	background-color: #fff;
	font-size		: 100%;
	padding			: 1px;
	margin			: 0;
	width			: 16em;
	font-weight		: normal;
	color			: #000;
	}

.theform input[type=text]:focus{
	background-color: #fff;
	border			: 1px solid #000;
	}
	
	
/* select */
.theform select{
	border			: 1px solid #999;
	background-color: #fff;
	font-size		: 100%;
	padding			: 1px;
	margin			: 0;
	width			: 16.3em;
	}


/* checkbox */
.theform .checkbox-left{
	float			: left;
	width			: auto;
	margin			: 0 .5em 0 0;
	padding 		: 0;
}

.theform label.label-checkbox{
	width			: auto;
}


/* radio groub */
.theform p.radio-left{
	width			: auto;
	margin			: 1em 0 0 0;
	padding 		: 0;
	clear			: both;
}

/* radio groub */
.theform p.radio-right{
	width			: 16em;
	margin			: 0 0 .3em 12em;
	padding 		: 0;	
}

.theform .radio-right label,
.theform .radio-left label{
	display			: block;
	margin			: 0 .3em .3em 0;
	}

.theform .radio-right input,
.theform .radio-left input{
	margin			: 0 .3em 0 0;
	}


.theform p.radio-inline {
	padding 		: 3px 0 0 0;
}

.theform .radio-inline label{
	margin			: 0 .7em 0 0;
}

.theform .radio-inline input{
	 margin			: 0 .3em 0 0;
}



/* textarea */
.theform label.label-textarea{
	text-align		: left;
	width			: 220px;
	padding			: 1em 0 0 0;
	margin			: 0;
	display			: block;
}

.theform textarea,
.theform .textarea{
	width			: 25em;
	font-size		: 100%;
	font-family		: Arial, Helvetica, sans-serif;
	margin			: 0;
	color			: #000;
	background-color: #fff;
	border			: 1px solid #000;
	}

.theform textarea:focus,
.theform .textarea:focus{
	background-color: #fff;
	border			: 1px solid #000;
	}



/* submit */
.theform input[type="submit"]{
	margin			: 1em 0 0 10em;
	border			: 1px solid #f00;
	font-size		: 100%;
	width			: 16em;
	padding			: 0 1em 0 1em;
	background-color: #fff;
	}

.theform input[type="submit"]#submitit:hover{
	border			: 1px solid #f00;
	background-color: #fff;
	}

.theform  input[type="submit"]#submitit:focus{
	border			: 1px solid #f00;
	color			: #f00;
	}
	




/* 
*	alerts 
*/


.ontop .alert{
	color			: #f00;
	font-weight		: bold;	

}

.theform .alert{
	color			: #000;
	}
	
.theform .alert p{	
	margin			: 0 0 .5em 0;
	padding			: 0;
	color			: #000;
	}
	

.theform label.message{	
	margin			: 0 0 .5em 0;
	padding			: 0;
	color			: #000;
	display			: block;
	font-weight		: bold;
	}


.theform .alert label.message{
		color		: #000;
	}

.theform .alert input.text{
	color			: #f00;
	text-decoration	: none;
	background-color: transparent; 
	}

.theform .alert label{
	color			: #f00;
	}


.theform .alert input[type="text"]{
	border			: #FF0000 1px solid;
	color			: #000;
	background-color: #fff;
	}



/* norequired */
.theform .norequired p,
.theform .norequired label{
	font-weight		: bold;
	color			: #000; 
	}

.theform .required{
	}

