/* form.css */

form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
	margin: 0;
	padding: 0;
	min-width: 500px;
	max-width: 750px;
	width: 580px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
form fieldset {
	clear: both; /*note that this clear causes inputs to break to left in ie5.x mac, commented out */
	border-color: #999999;
	border-width: 1px;
	border-style: solid;
	padding: 10px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 20;
	margin-left: 0;
}

form fieldset legend {
	font-size:1.3em; /* bump up legend font size, not too large or it'll overwrite border on left */
	color: #666666;                       /* be careful with padding, it'll shift the nice offset on top of border  */
	font-weight: bold;
}

/*form label { 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 300px; 
	padding: 0; 
	margin: 10px 0 0 5px; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
}
*/
form fieldset label:first-letter { /* use first-letter pseudo-class to underline accesskey, note that */
	text-decoration:none;    /* 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 */
}

form input, form textarea, form select {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	width:auto;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 5px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
	border: 1px solid #999999;
}

form input#reset {
	margin-left:0px; /* set margin-left back to zero on reset button (set above) */
}

textarea { overflow: auto; }

form small {
	display: block;
	margin: 0 0 5px 160px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 1px 3px;
	font-size: 88%;
}

form .required{font-weight:bold;} /* uses class instead of div, more efficient */

form br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}
form .n-required {
	display: block;  /* block float the labels to left column, set a width */
	float: left;
	width: 100px;
	padding: 0;
	margin: 10px 0 0 5px; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
	font-weight: bold;
}
form .n-notrequired {
	display: block;  /* block float the labels to left column, set a width */
	float: left;
	width: 100px;
	padding: 0;
	margin: 10px 0 0 5px; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
}
form .w-required {
	display: block;  /* block float the labels to left column, set a width */
	float: left;
	width: 300px;
	padding: 0;
	margin: 10px 0 0 5px; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
	font-weight: bold;
}
form .w-notrequired {
	display: block;  /* block float the labels to left column, set a width */
	float: left;
	width: 300px;
	padding: 0;
	margin: 10px 0 0 5px; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
}
form .t-required {
	display: block;  /* block float the labels to left column, set a width */
	float: left;
	width: 100px;
	padding: 0;
	margin: 10px 0 0 5px; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
	font-weight: bold;
}
form .t-notrequired {
	display: inline;  /* block float the labels to left column, set a width */
	width: 100px;
	padding: 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0;
	margin-left: 20px;
}
form .p-required {
	display: block;  /* block float the labels to left column, set a width */
	float: left;
	width: 100px;
	padding: 0;
	margin: 10px 0 0 5px; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
	font-weight: bold;
}
form .p-notrequired {
	display: inline;  /* block float the labels to left column, set a width */
	width: 100px;
	padding: 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0;
	margin-left: 20px;
}
#contentarea #SampleForm #reset {
	color: #000000;
	border: 1px solid #FF0000;
}
#contentarea #SampleForm #submit {
	color: #000000;
	border: 1px solid #FF0000;
}

.twoColFixLtHdr #container2 #mainContent #contentarea .myTable .greyborder {
	border: 1px solid #EEEEEE;
}
.twoColFixLtHdr #container2 #mainContent #contentarea .myTable .noborder {
	border: 1px solid #FFFFFF;
}
