/*Read the name ;)*/
#formwrapper {
	float: left;
	width: 500px;
	padding: 10px;
	/*
	border: 1px dotted #ccc;
	*/
}
/*Here are some rules shared between the normal and a half-row*/
form .row, form .row_short {
	float: left;
	width: 100%;
	padding: 10px 0 10px 0;
}
/*Set the width for a shorter row*/
form .row_short {
	width: 50%;
}
/*Input, Select or Textarea container*/
form .row .field, form .row .chkradio {
	float: left;
	position: relative; /*This box will act as a container for the required field marker o_O */
}
/*Required field marker*/
form .row .required {
	position: absolute;
	top: -3px;
	right: -3px;
	clear: both; /*IE6 bug - needs to be present on ALL absolutely positioned elements*/
	/*Below is just a sample styling*/
	color: #CC0000;
	font-size: 2em;
}
form .row .chkradio .required {
	right: -2px !important;
}
/*Nice form field separator*/
form .separator {
	border-top: 1px dotted #CCCCCC;
}
/*Create a small space between the LABEL and the actual field*/
form .row .field input, form .row .field select, form .row .field textarea {
	margin: 4px 0 0 0;
}
/*Set form element widths*/
.row .short input, .row .short select, .row .short textarea {
	width: 70px;
}
.row .medium input, .row .medium select, .row .medium textarea {
	width: 100px;
}
.row .long input, .row .long select, .row .long textarea {
	width: 200px;
}
/*Let's style the content now - YOOHOO!*/

/*Set font family for all the form elements*/
input, select, textarea {
	font-family: Arial, Helvetica, sans-serif;
}
.field input, textarea { /*Here we use .field input for the rule not to style any buttons, which are inputs too*/
	font-size: 1em;
	padding: 4px 0 3px 5px; /*This is optional and is usually based on design. Bottom padding is often 1px less then the top*/
}
/*Unfortunately we can't just use 1em to style select as IE does not increase the text size this way, so we use percentage*/
select {
	font-size: 100%;
}
/*An example of styling checkbox and radio fields*/
form .row .chkradio {
	width: 25px;
}
form .row .chkradiodesc {
	float: left;
	width: 470px;
	padding: 3px 0 0 5px;
}
/*Let's style up some error messages*/
form label span {
	display: none;
}
.error label span {
	display: inline;
	color: #CC0000;
}
