

body,
input, 
select, 
textarea,
label,
p{
	margin			: 0;
	padding			: 0;
}
	

.theform{
	font-size		: 1em;
	color			: #000;
	background-color: #fff;
	font-family		: Arial, Helvetica, sans-serif;
}	

.theform  label,
.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 .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;
	}
	
/* label of input[type=text], select  */
.theform  label.top{
    text-align		: left;
    width			: auto;
	display 		: block;   
	padding			: 2px 0 0 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 .radio-left{
    display			: block;
    width			: auto;
	margin        	: 0 0 .3em  0 ;
    padding 		: 0;	
}

/* radio groub */		
.theform .radio-right{
    display			: block;
    width			: 16em;
	margin        	: 0 0 .3em 12em ;
    padding 		: 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 
*/ 
.theform .alert{
	color			: #000;
	}
	
.theform .alert p{	
    margin		    : 0 0 .5em 0;
	padding			: 0;
	color			: #000;
	}
	
.theform .alert label.alert{	
    margin		    : 0 0 .5em 0;
	padding			: 0;
	color			: #000;
	display			: block;
	}
	
.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{

}

/* a IE7 legend hack 
fieldset {
  position: relative;
  padding-top: 2.5em;
}

fieldset legend {
  display: inline;
  position: absolute;
  top: -.8em;
  left: .5em;
}*/ 
