﻿form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  margin: 0;
  padding: 0;
  width: 100%; 
}

form fieldset {
  border-color:#CCCCCC;
  border-width: 1px;
  border-style: solid;
  padding: 10px;        /* padding in fieldset support spotty in IE */
  margin: 0px;
  background: #F6F6F6;
}

form fieldset legend {
/*	font-size:1.1em; *//* bump up legend font size, not too large or it'll overwrite border on left */
                       /* be careful with padding, it'll shift the nice offset on top of border  */
	padding: 15px;
	padding-left: 10px;
	font-size: 1.1em;
	font-weight: bold;
	color: #0066CC;
}

form label { 
	display: block;  /* block float the labels to left column, set a width */
	float:left;
	width: 95px;
	padding: 0;
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
	height:auto;
}

form label.notification { 
	display: block;  /* block float the labels to left column, set a width */
	float:left;
	width: 330px;
	padding: 0;
	margin: 5px 0 0 10px; /* set top margin same as form input - textarea etc. elements */
	text-align: left; 
	height:auto;
}



/*form fieldset 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 */
/*}*/

form input, form textarea{
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	width:137px;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
	float:left;
}

form select{
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	width:143px;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
	float:left;
}


form input#long_text{
	/* 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 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
	float:left;
	width: 385px;
/*	color: #781351;
	background: #fee3ad;
	border: 1px solid #781351*/
}

form input.long_text{
	/* 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 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
	float:left;
	width: 385px;
/*	color: #781351;
	background: #fee3ad;
	border: 1px solid #781351*/
}

form textarea#text_box{
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of label aligns textarea better in IE */
	float:left;
	width: 385px;
}

form input.date{
	/* 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 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
	float:left;
	width: 118px;
/*	color: #781351;
	background: #fee3ad;
	border: 1px solid #781351*/
}

form img
{
	margin:5px 0 0 0;
	float:left;
}


form input#radio[type="radio"] {
	margin:7px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
	float:left;
	width:20px;
}

form label#radio { 
	display: block;  /* block float the labels to left column, set a width */
	float:left;
	width: 50px;
	padding: 0;
	margin: 5px 0 0 10px; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
	height:auto;
}


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 */
	margin: 0 0 5px 105px; /* 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 */
}
