
/* -----------------------------------------------------------------------------
 * FORMS
 * -------------------------------------------------------------------------- */

form { background-color: transparent; }
fieldset {
  width: auto;
  padding: 0;
  border: 0;
  margin: 0;
  }
fieldset > *:first-child {
  margin-top: 0;
  }

/* \*/

legend {
  width: auto;
  padding: .5em 0;
  border: 0;
  margin: 0;
  text-transform: uppercase;
  font-size: 1.5em;
  font-weight: bold;
  }

/* */

@media all and (min-width: 0px) /* for Opera 8 */ { 
  legend {
    margin-bottom: 1.5em;
    }
  }

label {
  text-transform: uppercase;
  font-size: .9em;
  }
label:after {
  content: ':';
  }

input, textarea, select, button { cursor: pointer; }
input[type='text'],
input[type='password'],
input[type='search'],
textarea {
  color: #000;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  }
input[type='text']:hover,
input[type='password']:hover,
input[type='search']:hover,
textarea:hover,
input[type='text']:focus,
input[type='password']:focus,
input[type='search']:focus,
textarea:focus {
  cursor: text;
  }
input[type='hidden'] { display: none; }
input[disabled='true'],
select[disabled='true'],
textarea[disabled='true'] {
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
  }

select[multiple] { margin-bottom: .5em; }

form table th,
form table td { vertical-align: top; }

form span {
  display: block;
  margin: 0;
  padding: 1px;
  border: 1px solid #ccc;
  background-color: #fff;
  overflow: hidden;
  }

form span input,
form span textarea,
form span select {
  display: inline-block; /* default appearance */
  display: -moz-inline-box; /* default appearance */
  padding: 2px;
  border: 1px solid #ccc;
  font-size: 12px;
  font-family: inherit;
  line-height: 12px;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box: border-box;
  box-sizing: border-box;
  }
form span textarea {
  margin-bottom: -.5em;
  }
/*
input[type='checkbox'] {
  position: relative;
  bottom: -.2em;
  }
*/
textarea { height: 6em; }
textarea.tall { height: 16em; width: 100%; }

form span.tiny { width: 2.25em; }
form span.short { width: 5.25em; }
form span.medium { width: 8.25em; }

form span.note {
  display: inline;
  padding: 0;
  border: none;
  background-color: transparent;
  overflow: auto;
  }
span.inline { 
  float: left;
  margin: 0 6px;
  }
span.inline select { min-width: 64px; /* Tried to appease Opera, useless */ }

.radio {
  display: inline-block;
  background: transparent url("/images/radio_off.gif") no-repeat left top;
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  cursor: pointer;
  }
.unchecked { background-image: url("/images/check_off.gif"); }
.checked { background-image: url("/images/check_on.gif"); }
.unselected { background-image: url("/images/radio_off.gif"); }
.selected { background-image: url("/images/radio_on.gif"); }
.help {
  display: inline-block;
  background: transparent url("/images/help.gif") no-repeat left top;
  width: auto;
  height: 16px;
  padding: 0 0 0 18px;
  border: none;
  cursor: pointer;
  }
