@import '/styles/mainstyle.css';

form {
  margin: 10px;
}
fieldset { 
  clear: both;
}
div.formelement { 
  margin: 2px 10px; 
  clear: both;
}
div.formelement label {
  width: 6em;
  padding: 3px 0 0 0;
  margin: 0;
  float: left;
}
div.formelement input {
  width: 14.8em;
  padding: 0;
  margin: 2px 0;
}
div.formelement select {
  width: auto;
  padding: 0;
  margin: 2px 0;
  float: left;
}
div.formelement textarea {
  padding: 0;
  margin: 2px 0;
  float: left;
}
div.formelement label.long { width: auto; float: none;}  
div.formelement input.long, div.formelement select.long { width: 20em; }


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 { 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: 7.2em;
  padding: 3px 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; }

