#content fieldset legend
{
    font-weight: bold;
}

#content fieldset
{
    margin-bottom: 1em;
}

#content form label
{
    float: left;
    width: 13em;
}

#content form input, form textarea
{
    border: 1px solid rgb(150,150,150);
    padding-left: 2px;
}

#content div.form_buttons
{
    text-align: right;
}

#content form select
{
    width: 30ex;
}

#content div.date select
{
    width: auto;
}

/* Long labels don't float, they get their own lines. */
#content form label.long
{
    float: none;
    display: block;
    width: 100%;
}

#content div.form_line
{
    padding-bottom: 0.5em;
}

#content div.form_line_with_errors, #content fieldset.error
{
    border: 1px solid red;
    background-color: rgb(255,246,143);
}

#content div.form_line_with_errors
{
    padding: 0 0.5em 0.5em;
    margin-bottom: 0.25em;
}

#content div.field_error
{
    color: rgb(200,0,0);
    padding-left: 4px;
    text-align: center;
    margin-bottom: 0.25em;
}
