/* CSS Document */


	
input.text {
	color: #333;
	background-color: #CCCCFF;
	border: 1px #00008B;
	width: 220px;
	}
form p {
	clear: left;
	margin:0;
	padding:0;
	padding-top:5px;
	}
	
form label {
	/*display: block; block float the labels to left column, set width */
	float: left;
	width: 200px;
	padding:0;
	padding-top:5px 0 0; /*set top margin same as form input - textarea etc. elements */
	font:10px verdana, helvetica, sans serif;
	}	
/* form label:first-letter { use first-letter pseudo-class to underline accesskey, note that */
	 /*text-decoration:underline;    Firefox 1.07 WIN and Explorer 5.2 Mac don't support first-letter */
                                    /* pseudo-class on legend elements, but do support it on label elements */
                                    /* we instead underline first letter on each label element and accesskey */
                                    /* each input. doing only legends would  lessens cognitive load */
                                   /* opera breaks after first letter underlined legends but not labels
								   } */
fieldset {
	border: 1px dotted #CCCCCC;
	margin-top: 16px;
	padding: 10px;         /*padding in fieldset support spotty in IE */

	padding-top:5px;
	font:bold 10px verdana, helvetica, sans serif;
		
	}
legend {
	font:bold 0.8em verdana, helvetica, sans serif;
	colour: #00008B;
	background-color: #FFFFFF;	
	}	
		
.textform{
	float: left;
	width: 360px;
	padding:10px;
	padding-top:5px 0 0; /*set top margin same as form input - textarea etc. elements */
	font:bold 10px verdana, helvetica, sans serif;
	}	

form .checks label {
	margin-left:0px; /* (label width) + 2(label margin) */
}
form .checks input {
	margin-left: 0px; /* (label width) + (label margin) */
}

/*
	The following makes Internet Explorer 6.x play nicely. 
	These fix the double float margin bug.
*/
* html form .checks input { 
	margin-left: 0px;  /* (1/2)((label width) + (label margin)) */
}
* html form .checks label { 
	margin-left: 0px; /* (label width) + (label margin) */
	height: 1em; 
}
/* 
	The following section is for reversing the display of CHECKBOX and RADIO INPUTs.
	Surround the section of items with <fieldset class="checks"></fieldset> or <div class="checks"></div>.
	It is highly recommended to use FIELDSET over DIV when there are multiple items.
	In the section, the INPUT precedes the LABEL and the BR comes last (after the label).
*/
form .checks label {
	/*
		Overrides for previously defined stuff and changes.
		Left margin must be 10pixels more than "form.awesome input, form.awesome select" etc.
	*/
	float: none;
	width: auto;
	clear: none;
	display: block;
	text-align: left;
	height: 10px;
	padding-top: 0;
	margin-bottom: -1em;
}

form .checks label:after { 
	/* 
		Makes the ":" not generated after the LABEL. 
	*/
	content: ""; 
} 

form .checks input {
	/*
		Left margin is the same value as "form.awesome input, form.awesome select" etc.
	*/
	float: right;
	text-align: right;
	margin-bottom: 0.5em;
	width: auto;
}

/* 
	End reverse checks/radios section
*/


/*
	I found my own IE CSS display bug. I call it the "IE sucks, so it redraws the top border all over the fieldset like a jerk bug."
*/
* html form. input, * html form. textarea, * html form. select,
* html form .checks input, * html form .checks label, 
* html form.awesome p.desc {
	margin-top: 0;
	margin-bottom: 0;
}
* html form. fieldset br {
	/*
		Hooray! We have a fix!
		For some crazy reason, IE lets me style its BR tag.
	*/
	line-height: 0.5em;
	font-size: 0.5em;
}
