/* ================================================= */
/* 	 FORM AND FIELDSET CSS                         */
/* ================================================= */

form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font:12px arial,Geneva,sans-serif; margin: 5px 0; padding: 2px 0; width: 100%; }

fieldset {
  / * clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
  padding: 10px 0;        /* padding in fieldset support spotty in IE */
  margin:0 0px 15px 0;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  -khtml-border-radius:5px;
  border-radius:5px;
  background:#eef9fd;
border:1px solid #d9d9d9; 
 }

fieldset legend {
	font:bold 12px Tahoma, Helvetica, sans-serif; padding: 5px 15px; background:#005897; text-transform:uppercase;
  -moz-border-radius:5px; color:#fff;
  -webkit-border-radius:5px;
  -khtml-border-radius:5px;
  border-radius:5px;  
	/* 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  */
}

form label { 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 100px; 
	padding: 0 10px 0 0; 
	margin: 6px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
}
form dfn {margin:0 10px;}

form input, form textarea {
	/* 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 0px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
}

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 100px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 1px 3px;
	font-size: 88%;
}


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


/* ================================================= */
/* 	 INPUT FIELD CSS                                 */
/* ================================================= */

form input {
	background-color: #ffffff; background-image: url("./images/bg_box.gif");border: 1px solid #cccccc;color: #484848;padding: 2px;}


form textarea.textbox {width: 55%;}

form input[type=radio],
form input[type=checkbox]
					{border: none;}

input[type=text],
input[type=password],
textarea 
					{background: #fff url('./images/bg_box.gif') repeat-x top left;border: 1px solid #b8b8b8;padding: 5px 8px;margin: 2px 0px;}
textarea 
					{width: 97%; margin-bottom: 6px; }

input[type=text]:focus,
input[type=password]:focus,
textarea:focus {
	background: #fff url('./images/bg_box.gif') repeat-x top left;
}
input[type=submit],
input[type=button],
input[type=reset],
textarea:focus 
					{background: #ffffff}

form div input.inputCheckbox, form div input.inputRadio, input.inputCheckbox, input.inputRadio 
					{ width: auto;margin: 2px 10px;}

form fieldset p input.required{
	background: #fff url('./images/required.gif') 98% 50%  no-repeat;
}
form input.required{
	background: #fff url('./images/required.gif') 98% 50% no-repeat;
}
