/* form.custom.css */

form.custom {
  margin: 0;
  padding: 0;
  font-size: 100%;
  max-width: 500px;
  width: 500px;
}

form.custom fieldset {
  clear: both;
  font-size: 100%;
  border-color: #666666;
  border-width: 1px 0 0 0;
  border-style: solid none none none;
  padding: 10px;
  margin: 0 0 0 0;
}

form.custom fieldset legend {
  font-size: 120%;
  font-weight: normal;
  color: #000000;
  margin: 0 0 0 0;
  padding: 0 5px;
}

label.custom {
  font-size: 100%;
}

label.custom u {
  font-style: normal;
  text-decoration: underline;
}

input.custom, select.custom, textarea.custom {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 100%;
  color: #000000;
}

textarea.custom {
  overflow: auto;
  height: 180px;
}

form.custom div {
  clear: left;
  display: block;
  width: 400px;
  height: expression('1%');
  margin: 5px 0 0 0;
  padding: 1px 3px;
}

form.custom fieldset div.notes {
  float: right;
  width: 158px;
  height: auto;
  margin: 0 0 10px 10px;
  padding: 5px;
  border: 1px solid #666666;
  background-color: #F6F6F6;
  color: #666666;
  font-size: 88%;
  text-align:left;
}

form.custom fieldset div.notes h4 {
  background-image: url(/images/icon_info.gif);
  background-repeat: no-repeat;
  background-position: top left;
  padding: 3px 0 3px 27px;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #666666;
  color: #666666;
  font-size: 110%;
}

form.custom fieldset div.notes p {
  margin: 0em 0em 1.2em 0em;
  color: #666666;
}

form.custom fieldset div.notes p.last {
  margin: 0em;
}

form.custom div fieldset {
  clear: none;
  border-width: 1px;
  border-style: solid;
  border-color: #666666;
  margin: 0 0 0 144px;
  padding: 0 5px 5px 5px;
  width: 197px;
}

form.custom div fieldset legend {
  font-size: 100%;
  padding: 0 3px 0 9px;
}

form.custom div.required fieldset legend {
  font-weight: bold;
}

form.custom div label {
  display: block;
  float: left;
  width: 170px;
  padding: 3px 5px;
  margin: 0 0 5px 0;
  text-align: right;
}

form.custom div.optional label, label.optional {
  font-weight: normal;
}

form.custom div.required label, label.required {
  font-weight: bold;
}

form.custom div label.labelCheckbox, form.custom div label.labelRadio {
  float: none;
  display: block;
  width: 200px;
  height: expression('1%');
  padding: 0;
  margin: 0 0 5px 182px;
  text-align: left;
}

form.custom div fieldset label.labelCheckbox, form.custom div fieldset label.labelRadio {
  margin: 0 0 5px 0;
  width: 170px;
}

form.custom div img {
  border: 1px solid #000000;
}

p.error {
  background-color: #ffffff;
  background-image: url(/images/icon_error.gif);
  background-repeat: no-repeat;
  background-position: 3px 3px;
  color: #666666;
  padding: 3px 12px 5px 27px;
  border: 1px solid #ff0000;
  width: 460px;
  max-width: 460px;
  margin-top: 10px;
}

form.custom div.error {
  background-color: #ffffff;
  background-image: url(/images/required_bg.gif);
  background-repeat: no-repeat;
  background-position: top left;
  color: #666666;
  border: 1px solid #ff0000;
}

form.custom div.error p.error {
  background-image: url(/images/icon_error.gif);
  background-position: top left;
  background-color: transparent;
  border-style: none;
  font-size: 88%;
  font-weight: bold;
  margin: 0 0 0 118px;
  width: 350px;
  color: #ff0000;
}

form.custom div input, form.custom div select, form.custom div textarea {
  width: 200px;
  padding: 1px 3px;
  margin: 0 0 0 0;
}

form.custom div input.inputFile {
  width: 211px;
}

form.custom div select.selectOne, form.custom div select.selectMultiple {
  width: 211px;
  padding: 1px 3px;
}

form.custom div input.inputCheckbox, form.custom div input.inputRadio, input.inputCheckbox, input.inputRadio {
  display: inline;
  height: 14px;
  width: 14px;
  background-color: transparent;
  border-width: 0;
  padding: 0;
  margin: 0 0 0 140px;
}

form.custom div.submit {
  width: 440px;
  padding: 0;
}

form.custom div.submit div {
  display: inline;
  float: left;
  text-align: left;
  width: auto;
  padding: 0;
  margin: 0;
}

form.custom div input.inputSubmit, form.custom div input.inputButton, input.inputSubmit, input.inputButton {
  background-color: #cccccc;
  color: #000000;
  width: auto;
  padding: 0 6px;
  margin: 0;
}

form.custom div.submit div input.inputSubmit, form.custom div.submit div input.inputButton {
  float: left;
  margin: 0 0 0 200px;
}

form.custom div.submit div input.inputSubmitImage {
  border: none; 
  margin-top: 8px; 
  margin-left: 200px; 
}

form.custom div small {
  display: block;
  margin: 0 0 5px 175px;
  padding: 1px 3px;
  font-size: 88%;
  height: expression('1%');
  clear: both;
}
