/*begin laying out the form - the form has it's own container #formcontainer*/
#formcontainer {
	width: 500px;/*set the width of the form container*/
	margin: 0px 0px 0px 0px;/*margins are set in content div*/
}

/*set the h1 element in the form container*/

/*style the p in the form container*/
#formcontainer p {
	font-size: 90%;/*scale the font size against the body selector*/
	margin: 0 0 20px 0;/*set a 20 pixel margin on the bottom, zero the rest*/
	padding: 0;/*zero the padding*/
}

/*style the inputs*/
#formcontainer input {
	background-color: #008fd4;/*set a background colour on the form inputs*/
	color: #000;/*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: #008fd4;/*set the background colour*/
	color: #000;/*set the text colour*/
	border: 1px solid #4C5854;/*add a border to give it a flat appearance*/
	margin: 0 25px 0 0;/*set a 25 pixel margin to the right zero off any remaining borders*/
	height: 200px;/*set a height for the textarea*/
}

/* shows focus in the form inputs and textarea */
#formcontainer input:focus, #formcontainer textarea:focus {
	background-color: #FFFFCC; /*set the background colour of the input and textarea when the cursor is inside*/
   color: #333; /*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: #000000;/*set the text colour*/
	font-size: 14px;/*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*/
	font-family: Geneva, Arial, Helvetica, sans-serif;
}

/*style the parent fieldset*/
#formcontainer fieldset {
	margin: 0;/*zero off the margins*/
	border: 1px solid #5C6231;/*add a border to define it's edges*/
	text-align: left;/*align the text to the left*/
	padding: 10px 5px 20px 20px;/*set the padding*/
	width: 450px;/*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: #4f4f4f;/*set the text colour*/
	font-weight: bold;/*set the font weight to bold*/
	font-family: Geneva, Arial, Helvetica, sans-serif;/*set the font family*/
	background-color: #EAEEDD;/*set a background colour*/
	border: 1px solid #000;/*set a border around the legend*/
	padding: 4px;/*set alittle 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: 20px;/*set a 20 pixel top margin to give some "air" below the inputs*/
}
