form fieldset {
  margin: 0 0 1.5em 0;
  padding: 0;
  border: 1px solid #BFBAB0;
  background-color: #E6E6E6;
  background-image: url(../img/fieldset_gradient.jpg);
  background-repeat: repeat-x;
}

form legend {
  margin-left: 1em;
  color: #000;
  font-weight: bold;
  padding: 0 0.5em;
  background-color: white;
}

form fieldset ol {
  padding: 1em 1em 0 1em;
  list-style: none;
}

form fieldset ol li {
  padding-bottom: 1em;
}

form fieldset.submit {
  border-style: none;
  background-color: transparent;
  background-image: none;
}

form.labelsAlignTop fieldset label {
  display: block;
}

form.labelsAlignLeft fieldset, form.labelsAlignRight fieldset {
  float: left;
  clear: left;
  width: 100%;
}

form.labelsAlignLeft fieldset ol li, form.labelsAlignRight fieldset ol li {
  float: left;
  clear: left;
  width: 100%;
}

form.labelsAlignLeft fieldset label {
  float: left;
  width: 10em;
  margin: 0.5em 1em 0.5em 0;
  padding: 5px;
}

form.labelsAlignLeft fieldset.submit, form.labelsAlignRight fieldset.submit {
  float: none;
  width: auto;
  border: 0 none #fff;
  padding-left: 12em;
  margin-left: 10px;
}

form.labelsAlignRight fieldset label {
  float: left;
  width: 10em;
  margin: 0.5em 1em 0.5em 0;
  padding: 5px;
  text-align: right;
}

form fieldset label.checkbox {
  display: inline;
  position: relative;
  top: -1px;
}