form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font:100% verdana,arial,sans-serif;
  margin: 0;
  padding: 0;
  min-width: 500px;
  max-width: 600px;
  width: 590px; 
}

form fieldset {
  border-color: #000;
  border-width: 2px; /*border around groups*/
  border-style: solid;
  padding: 10px;        
  margin: 0;
  margin-bottom: 10px;	/*space between groups*/
}

form fieldset legend {
	font-size:1.0em; /* bump up legend font size */
	color:#0099FF; /* ledgend text colour */
    padding: 0 2px;
    font-weight: bold;
  }

form label {   /* input field labels */
	display: inline-block;  /* block float the labels to left column, set a width */
	/* line-height: 1.8;    */
    vertical-align: top; 
	float: left; 
	width: 120px; /* Width of labels */
	padding: 0; 
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: left; 
}


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 10px; /* 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 fieldset ol {
  margin: 0;
  padding: 0;
}
form fieldset li {
	list-style: none;
	padding: 2px;
	margin: 0;
	font-size: 12px;
}
form fieldset fieldset {
  margin: 3px 0 0;
  border: 1px solid  #AAE3FF;  
}

form fieldset fieldset legend {
	padding: 0 0 5px;
	font-weight: bolder;
	color: #000099;
	padding-left: 2px;
}
form fieldset fieldset label {
  width: 120px;
 }


form fieldset fieldset li {
	border-bottom: none;
}


form fieldset fieldset.vinyl li {
	border-bottom: 1px solid;
	border-bottom-color: #AAE3FF;
	height: 45px;
}

form fieldset fieldset.vinyl label{
  width: 240px;
 }

form fieldset fieldset.vinyl label.small {
  width: 80px;
 }


form fieldset fieldset input, form fieldset fieldset textarea, form fieldset fieldset select {
	width:auto;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin: 0px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
}


form fieldset fieldset table {
	padding: 1px;
	margin: 0px;
	font-size: 10px;
	border:none;
}
form fieldset table {
	padding: 1px;
	margin: 0px;
	font-size: 10px;
	border-bottom: 1px solid;
	border-bottom-color: #AAE3FF;
	left: 100px;
}
form fieldset table em {
  font-weight: bold;
  font-style: normal;
  color: #f00;
}


form em {
  font-weight: bold;
  font-style: normal;
  color: #f00;
}

form fieldset ol li span {
	margin: 0 0 5px 5px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 0px 5px;
	font-size: 80%;
	color: #999999;
}
form fieldset fieldset ol li span {
	margin: 0 0 5px 20px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 0px 3px 0px 3px;
	font-size: 80%;
	color: #333333;
}

/**************** Pal Plastics Colours *****************/

form fieldset li {
	border-bottom: 1px solid;
	border-bottom-color: #AAE3FF;
}

form fieldset {
   filter: progid:DXImageTransform.Microsoft.Gradient(
   GradientType=0, StartColorStr='white', EndColorStr='#EAF7FF');
}



/**************** Pal Distributors Colours *****************/
form.pad fieldset li {
	border-bottom: 1px solid;
	border-bottom-color: #BCCAFA;
}

form.pad fieldset {
   filter: progid:DXImageTransform.Microsoft.Gradient(
   GradientType=0, StartColorStr='white', EndColorStr='#EBF3FC');
}
form fieldset legend {
	color: #000099 /* ledgend text colour */
 }
form.pad fieldset fieldset {
  border: 0px;
 }
form.pad fieldset fieldset label {
  width: 160px;
 }

/**************** Foampak width *****************/
form.fop fieldset fieldset label {
  width: 160px;
 }


/***********************************************************/

/* Links generated by the Repeat Behavior */
form .duplicateLink, form .removeLink {
	font-weight: bold;
	color: #5C594E;
	font-size: 12px;
	margin-right: 10px;
	float: right;	
}
form .removeLink {
	color: #CC3300;
}

/* Validation Error Bar Format */
.validation-advice {
	margin: 5px 0;
	padding: 2px 5px 2px 3px;
	background-color: #FF3300;
	color : #FFF;
	font-weight: bold;
}
/* Validation border around field*/
input.validation-failed, textarea.validation-failed {
	border: 1px solid #FF3300;
}
/* 
input.validation-passed, textarea.validation-passed {
	border: 1px solid #00CC00;
}
*/
/* Select box formattting*/
select.pal { 
 background-color: #FFFFFF; 
}

select.pal option.a { 
 background-color: #EAF7FF; 
}
