
.section {
  margin-top: 1em;
  border-top: 0.1em solid #eee;
  padding-top: 1em;
}

/* -------------------------------------------
 - Success, error, and notification messages -
 ------------------------------------------ */

.success {
  padding: 1em;
  margin: 1em 0;
  -moz-border-radius: 0.4em;
  border-radius: 0.4em;
  border: 0.1em solid #8b8;
  background: #efe url('/images/success.png') no-repeat 0.5em 0.5em;
  padding-left: 50px;
  /*border: 0.2em solid #dfe;*/
  min-height: 20px;
}

.notice, .error {
  padding: 1em;
  border: 0.1em solid #999;
  -moz-border-radius: 0.4em;
  border-radius: 0.4em;
  margin: 1em 0;
  padding-left: 50px;
  min-height: 20px;
}

.notice {
  background: #ff9 url('/images/warning.png') no-repeat 0.5em 0.5em;
}

.error {
  background: #fcc url('/images/error.png') no-repeat 0.5em 0.5em;
  color: #a00;
}

.error li {
  margin-left: 2em;
}


/* -----------------------------------------
 - Forms -----------------------------------
 ---------------------------------------- */

input[type='text'], input[type='password'] {
  width: 17em;
}

input[type='text'].number {
  width: 3em;
}

textarea {
  width: 75%;
  height: 8em;
}

input.zip-code {
  width: 5em;
}

input.zip-code-last-4 {
  width: 4em;
}

input.congressional-district {
  width: 2em;
}

form div {
  padding: 0.2em 0;
}

form.new-form {
  max-width: 50em;
}

form.new-form fieldset {
  margin: 0 1em 0 1em;
  padding: 1.5em 0 0.4em 0;
  border: none;
  border-bottom: 0.1em solid #ddd;
}

form.new-form fieldset ol, ol.values {
  list-style: none;
  margin: 0;
}

form.new-form fieldset li, ol.values li {
  margin-bottom: 1.2em;
  float: left;
  clear: left;
  width: 100%;
}

form.new-form fieldset li label, ol.values li .label {
  clear: both;
  float: left;
  width: 12em;
  margin-right: 1em;
  text-align: right;
  font-weight: bold;
}

form.new-form fieldset li.checkbox input {
  float: left;
  margin: 0.2em 1em 0 3.5em;
}

form.new-form fieldset li.checkbox label {
  float: left;
  clear: none;
  width: 40em;
  text-align: left;
  font-weight: normal;
}

form.new-form fieldset li.radio-button-set label {
  float: none;
  width: 100%;
  text-align: left;
  /*font-weight: normal;*/
}

form.new-form fieldset li.radio-button-set li, form.new-form fieldset li.checkbox-set li {
  float: left;
  clear: none;
  padding: 0.5em;
  margin: 0;
  width: auto;
}

form.new-form fieldset li.checkbox-set li {
  border-right: 0.1em solid #eee;
  padding-right: 0.6em;
}
form.new-form fieldset li.checkbox-set li:last-child {
  border: none;
}

label.error {
  float: left;
  width: 100%;
  margin: 0 1em 1em 1.5em;
  text-align: left;
  color: #a44;
  font-weight: bold;
}

form .submit {
  text-align: right;
  padding: 0.5em;
  /*background-color: #fffcb1;*/
  background-color: #efe; /*#cec;*/
  border: 0.1em solid #bdb;
  -moz-border-radius: 0.2em;
  border-radius: 0.2em;
  margin: 2em 0 1em;
}


/* XXX: These styles are presently only used for the Candidates form, so should be placed
        somewhere more specific... */

form#candidate-application fieldset#links li {
  float: none;
}

form#candidate-application fieldset#links li label {
  float: none;
  width: auto;
  text-align: left;
  margin: 0;
}

form#candidate-application fieldset#links li input {
  margin-top: 0.8em;
  width: 45em;
}
