legend {
  white-space: nowrap;
  color:#2c2c82;
}

fieldset {
  border-top:1px solid #c9c9ff;
  border-bottom:1px solid #c9c9ff;
  border-left:0px;
  border-right:0px;
}

fieldset {
 margin: 0px 0;
 padding: 10px;
}

legend {
  margin-bottom: 5px;
  margin-left: -9px;
  padding-right: 5px;
  vertical-align: middle;
  padding-bottom: 3px;
}

fieldset > legend {
  margin-left: -2px;
}

legend img {
  vertical-align: middle;
}

fieldset p {
  margin: 5px 0;
}


