form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
    margin: 0;
    padding: 0;
}

form fieldset {
    /* clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
    border-color: #6d562d;
    border-width: 1px 0;
    border-style: solid;
    padding: 10px;        /* padding in fieldset support spotty in IE */
    margin: 0;
}

form fieldset legend {
    font-size:1.2em;
    font-weight: bold;
}
form fieldset fieldset {
    /* clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
    border-color: #6d562d;
    border-width: 1px;
    border-style: dashed;
}

form fieldset fieldset legend {
    font-size:1em;
    font-weight: normal;
}
form label { 
    display: block;  /* block float the labels to left column, set a width */
    float: left; 
    width: 40%; 
    padding: 0; 
    text-align: right; 
    margin:5px 10px 0 0;
}

form label.rightplaced {
    display: block;  /* block float the labels to left column, set a width */
    float: left; 
    width: 58%; 
    padding: 0; 
    margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
    margin-left: 41%;
    text-align: left; 
}

form input, form button, form textarea, form select {
    margin: 5px 0 10px 10px;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 1em;
    color: #000;
}
form .element {
    margin: 5px 0 0 10px;
}
form input.input_text, form textarea, form select {
    width: 52%;
}
form input.input_num {
    width: 20%;
}
form input.input_text, form input.input_num, form textarea, form select, form input.hasDatepicker, form input.hasTimeEntry {
    border: solid 1px #000;
    margin-bottom: 20px;
}
form select.multiple {
    width: 20%;
    height: 8em;
}
form input.hasDatepicker {
    width: 6em;
}
form input.hasTimeEntry {
    width: 3em;
}
form input.button, form .upload-group {
    margin-left: 43%;
}

form .upload-group label
{
    display: inline; 
    margin: 0; 
    width: auto;
}
form input#reset {
    margin-left:0px; /* set margin-left back to zero on reset button (set above) */
}

textarea { overflow: auto; height: 25ex;}

form br { 
    clear: left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}
form span.required  { 
    color: #990000; 
}
form span.error
{
    font-size: 0.8em;
    color: #990000;
}

form span.help-text {
    font-size: 0.8em;
    color: #555555;
}
input.error-field {
    border: solid 1px #900;
}

form.compact input.input_text, form.compact select, form.compact label {
    width: auto;
    margin: 3px;
    display: inline;
    float: none;
}

form.compact {
    text-align: center;
}
form.filter-list .applied {
    border: solid 2px #900;
}

form button.multiple_button {
    margin: 0px;
}