﻿
form 
{
  /* set width in form, not fieldset 
    (still takes up more room w/ fieldset width 
  */
  margin: 0;
  padding: 0;
  min-width: 500px;
  
  margin-left: auto;
  margin-right: auto;
}

form h1
{
  text-align:center;
  font-size:120%;
  margin:0px;
  margin-top:5px;
  margin-bottom:10px;
}

form fieldset 
{
  /* clear: both; note that this clear causes 
     inputs to break to left in ie5.x mac, commented out 
  */
  border-width:0px;
  border-top:1px solid black;
  
  /* padding in fieldset support spotty in IE */  
  padding: 10px;        
  margin:0 10px 0 10px;
}

form label 
{ 
    /* block float the labels to left column, set a width */	
	display: block;  
	float: left; 
	width: 200px; 
	padding: 0; 
	/* set top margin same as form input - textarea etc. elements */
	margin: 5px 0 0; 
	text-align: right; 
}

form fieldset legend 
{
	/* 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-size:1.1em;                       
}

form legend 
{
  margin-bottom:5px;
  padding-left:5px;
  padding-right:5px;
}

form input, form textarea, form select
{
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
    /* set width of form elements to auto-size, otherwise watch for wrap on resize */
    /* set margin on left of form elements rather than right of
       label aligns textarea better in IE */
	margin:5px 0 0 10px;
	width:auto;
}

form input#reset 
{
	/* set margin-left back to zero on reset button (set above) */
	margin-left:0px;
}

textarea { overflow: auto; }

form small 
{
	display: block;
	/* instructions/comments left margin set to align w/ right column inputs */
	margin: 0 0 5px 205px; 
	padding: 1px 3px;
	font-size: 88%;
}

form .required 
{
    /* uses class instead of div, more efficient */
    font-weight:bold;
} 

form br 
{
    /* setting clear on inputs didn't work consistently, 
       so brs added for degrade 
    */
	clear:left; 
}
