/* Forms */
form, fieldset, legend { padding: 0; border: none; margin: 0; }

legend {
  font-weight: bold;
  margin: 0 0 0.5em;
}

fieldset div {
  margin: 0 0 0.4em 0;
  clear: left;
}

fieldset div br {
  clear: left;
}

form label span {
  text-align: left;
  width: 8em;
  float: left;
  padding: 0.2em 0.5em 0 0;
}

form label.long span {
  width: auto;
}

label { margin-right: 0.5em; }

label.radio input {
  display: inline;
}

fieldset {
  padding: 0 0 0.5em;
  border-bottom: 1px dotted #ccc;
  margin: 0 0 0.9em;
}

textarea {
  font-size: 0.9em;
  font-family: sans-serif;
  width: 15em; height: 6em;
  max-width: 40em;
}

input[type=text] {
  font-size: 0.9em;
  width: 15em;
  max-width: 40em;
}

button {
  font-size: 1em;
  line-height: 1.5;
}

button img, #main-content button img {
  vertical-align: middle;
  display: inline;
  margin: 0 0.2em;
  float: none;
}

input[type=checkbox], input[type=radio] {
  vertical-align: middle;
  margin: 0;
}

label input[type=checkbox] { margin-left: 0; }