/*begin laying out the form - the form has it's own container #formcontainer*/
#formcontainer
{
	width: 460px;
	/*set the width of the form container*/
	margin: 0 10px 0 30px;
	/*set the margins*/
}

/*style the inputs*/
#formcontainer input
{
	background-color: #D9CEC3;
	/*set a background colour on the form inputs*/
	color: #414F4B;
	/*set a colour for the text that is added to the inputs*/
	border: 1px solid #4C5854;
	/*set a border on the inputs - gives them a flat appearance*/
	margin: 0;
	/*zero off any margins*/
	width: 150px;
	/*set a width*/
}

/*style the textarea*/
#formcontainer textarea
{
	background-color: #D9CEC3;
	/*set the background colour*/
	color: #556660;
	/*set the text colour*/
	border: 1px solid #4C5854;
	/*add a border to give it a flat appearance*/
	margin: 0 40px 0 0;
	/*set a 60 pixel margin to the right zero off any remaining borders*/
	height: 200px;
	/*set a hegiht for the textarea*/
}

/* shows focus in the form inputs and textarea */
#formcontainer input:focus, #formcontainer textarea:focus
{
	background-color: #4F4F4F;
	/*set the background colour of the input and textarea when the cursor is inside*/
	color: #fff;
	/*set the text colour to white*/
}

/*position the textarea by floating its containing lable*/
.labelfloat
{
	float: right;
	/*float to the right*/
	padding-top: 20px;
	/*level it off with the inputs to the left by adding 20 pixels of padding to the top of the label*/
}

/*style the form element labels*/
#formcontainer label
{
	color: #4F4F4F;
	/*set the text colour*/
	font-size: 80%;
	/*scale the font size off the body selector*/
	padding-top: 5px;
	/*set a little padding to the top*/
	display: block;
	/*set the display to block to ensure each input is shown on a different line i.e. they do not run horizontally*/
}

/*style the parent fieldset*/
#formcontainer fieldset
{
	margin: 0;
	/*zero off the margins*/
	border: 1px solid #D9CEC3;
	/*add a border to define it's edges*/
	text-align: left;
	/*align the text to the left*/
	padding: 5px 5px 15px 20px;
	/*set the padding*/
	width: 410px;
	/*give it a width*/
}

/*style the nested fieldset*/
#formcontainer fieldset fieldset
{
	width: 195px;
	/*give it a width*/
	padding: 0;
	/*remove any default padding*/
	border: none;
	/*add border none to prevent inheriting a border from the parent*/
}

/*style the form legend - "Contact My COmpany" */
#formcontainer legend
{
	color: #333;
	/*set the text colour*/
	font-weight: bold;
	/*set the font weight to bold*/
	font-family: Verdana, sans-serif;
	/*set the font family*/
	background-color: #eee;
	/*set a background colour*/
	border: 1px solid #4f4f4f;
	/*set a border around the legend*/
	padding: 4px;
	/*set a little padding to give it some space against the border*/
	font-size: 100%;
	/*scale the font size against the body selector*/
}

/* our buttons take on the input style, we need to change that and we'll do it with this button class*/
#formcontainer .button
{
	background-color: #4F4F4F;
	/*set the background colour of your form buttons*/
	color: #fff;
	/*set the text colour to white*/
	width: 80px;
	/*provide a width*/
	margin-top: 15px;
	/*set a 15 pixel top margin to give some "air" below the inputs*/
}
