form.formapi {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font:100% Verdana, Geneva, Arial, helvetica, sans-serif;
  font-size:small;
  margin: 0 auto;
  padding: 0;
  min-width: 400px;
  max-width: 500px;
  width: 460px; 
}

form.formapi fieldset {
  /* clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
  border-color: #A0B381;
  border-width: 1px;
  border-style: solid;
  padding: 10px;        /* padding in fieldset support spotty in IE */
  margin: 0;
}

form.formapi 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  */
	font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
	color: #000000;
	font-weight:bold;
}

form.formapi label { 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 150px; 
	padding: 0; 
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
	font-weight:bolder;
	color:#666666;
}
form.formapi em{
	color: #990000;
	font-weight:bold;
}


form.formapi input, form.formapi textarea, form.formapi select, form.formapi radio {
	/* 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 */
	border:#a0b381 1px solid;
}

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

textarea { overflow: auto;
border:#a0b381 1px solid; }

form.formapi 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.formapi .required{font-weight:bold;} /* uses class instead of div, more efficient */

form.formapi br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}

input.button{
	background:#336633;
	font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
	color:#FFFFFF;
	font-size:10px;
	font-weight:bold;
	height: 18px;
}