@import 'mainstyle.css';

fieldset { margin: 10px; }
div.formelement {
  margin: 4px 10px;
  clear: both;
  min-height: 1.4em !important;
  height: auto;
}
div.formelement label {
  width: 6em;
  margin: 0;
  margin: 5px 0 0 0;
  float: left;
}
div.formelement input {
  width: 14.8em;
  padding: 0;
  margin: 0;
  float: left;
}
div.formelement select {
  width: auto;
  padding: 0;
  margin: 2px 0;
  float: left;
}
div.formelement textarea {
  padding: 0;
  margin: 2px 0;
  float: left;
  height: auto;
}
div.formelement label.long { width: auto; float: none;}
div.formelement input.long, div.formelement select.long { width: 20em; }
div.formelement input.small { width: 3em; }
div.formelement label.accessories {
  width: 12em;
  font-weight: bold;
}
div.formelement select.accessories {
  width: 15em;
}

div.formelement input.error { border: 1px solid red; }

div.formelement label.postnr {
  width: 6em;
  padding: 3px 0 0 0;
  margin: 0;
  float: left;
}
div.formelement input.postnr {
  width: 3em;
  float: left;
}
div.formelement label.by {
  float: left;
  padding: 3px 5px 0 5px;
  width: 2.5em;
}
div.formelement input.by {
  width: 8em;
}
div.formelement input.small {
  width: 3em;
}
/*---- BRUGES KUN TIL CHECKBOX OG RADIOBUTTONS ----*/
div.formelementCheck input, div.formelementRadio input { margin: 10px 0 0 0; width: 2em; }
div.formelementCheck label, div.formelementRadio label { float: none; width: auto; }
div.formelementCheck, div.formelementRadio { clear: both;  margin: 2px 10px; }
div.formelementCheck span, div.formelementRadio span {
  width: 20em;
  padding: 10px 0 0 0;
  margin: 0;
  float: left;
}
/*---- BRUGES KUN KNAPPERNE ----*/
div.formelementButtons {
  margin: 2px 10px;
  margin-left: 300px;
  clear: both;
}
div.formelementButtonsCenter {
  margin: 2px 10px;
  text-align: center;
  clear: both;
}
div.formelementButtons input.jsField {
  width: 4em;
  text-align: right;
  font-style: italic;
}
div.formelementButtons input { width: auto; }


