/* FIELDSETS */
.standard_form fieldset {
  border: none;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  }
.standard_form fieldset legend {
  margin: 0 1em; padding: 20px 10px;
  color: #959595; background: transparent; 
  font-size: 107%; /* 14px */
  font-weight: bold;
  }

/* FROM ROWS */
.standard_form div.form_row,
.standard_form div.submit_row {
  margin: 1em 0;
  }
.standard_form div.submit_row {
  padding-left: 18%;
  }
.standard_form div.submit_row ul li {
  display: inline;
  list-style-type: none;
  }

/* LABELS */
.standard_form div.form_row label,
.standard_form div.form_row .label {
  float: left;
  width: 15%;
  margin: 1em 0;
  text-align: right; vertical-align: top;
  }
.standard_form div.req label,
.standard_form div.req .label {
  font-weight: bold;
  }

/* CONTROLS */
.standard_form div.control {
  float: left;
  width: 80%;
  margin: 0 1em;
  }
.standard_form div.date_range label {
  float: none;
  width: auto;
  margin-top: 0;
  vertical-align: middle;
  }
.standard_form div.control textarea,
.standard_form div.control select,
.standard_form div.control input {
  margin: 1em 0;
  color: #333;
  font-size: 107%;
  }
.standard_form div.control input:focus,
.standard_form div.control textarea:focus,
.standard_form div.control select:focus {
  background: #EFEFEF;
  color: #000;
  }
.standard_form div.control .readonly {
  color: #CCC;
  }

.standard_form div.control input.text,
.standard_form div.control textarea,
.standard_form div.control select {
  width: 100%;
  }
.standard_form div.form_row input.date {
  margin-bottom: 0;
  }
.standard_form div.form_row textarea {
  height: 300px;
  }


.standard_form div.row_note p {
  margin-top: 0;
  font-size: 85%;
  }

/* BUTTONS */
.standard_form input.submit,
.standard_form input.button {
  padding: 0 .5em; margin: 0 .5em;
  }
.standard_form input.main_submit {
  font-weight: bold;
  }

/* FLASH INFO */
.standard_form .flash_error {
  margin-bottom: 15px; padding: 1em; padding-left: 50px;
  background: url( ../images/flash_bad_icon.png ) #FFDDCC 5px 5px no-repeat;
  border: 2px solid #DD0000;
  }
.standard_form .flash_error p,
.standard_form .flash_error li {
  color: #550000;
  }
.standard_form .flash_ok {
  margin: 2em; padding: 1em; padding-left: 40px;
  background: url( ../images/flash_good_icon.gif ) #E7FBE7 3px 3px no-repeat; color: #399A39;
  border: 2px solid #399A39;
  font-weight: bold;
  }


/* ERRORS */
.standard_form form div.error {
  padding-bottom: 15px;
  background-color: #ffffE1; color: #666;
  border-top: 1px solid #FF0000;
  border-bottom: 1px solid #FF0000;
  }
.standard_form form div.error div.form_error {
  margin: 1em 0;
  color: #ff0000;
  font-weight: bold;
  }

/* NOTES */
.standard_form div.notes {
  float: right;
  width: 150px;
  margin-left: 15px; padding: 10px;
  border: 1px solid #ccc;
  background-color: #ffffe1; color: #666;
  font-size: .9em;
  }
.standard_form div.notes h4 {
  padding: 0 0 5px 25px;
  background: url( ../images/info_icon.gif ) top left no-repeat; color: #666;
  border-bottom: 1px solid #ccc;
  }

.standard_form div.tip_message,
.standard_form div.alert_message {
  padding-left: 50px; padding-right: 1.5em; margin: 1.5em 2em;
  }
.standard_form div.tip_message {
  background: #FFFFD9 url( ../images/tip_icon.png ) 4px 4px no-repeat; color: #666;
  border: 1px solid #CCC;
  }
.standard_form div.tip_message > * {
  margin-top: 1em;
  }
.standard_form div.alert_message {
  background: #FFD68F url( ../images/alert_icon.png ) 4px 4px no-repeat; color: #000;
  border: 1px solid #F57900;
  }
.standard_form div.help_message {
  background: transparent url( ../images/help_icon.png ) right top no-repeat;
  padding-top: 5px; margin-top: .5em;
  }

.standard_form .calendar table td,
.standard_form .calendar table th {
  border: none;
  }

.standard_form div#notification div.form_row textarea {
  height: 100px;
  }

