/**
   Intelligent Web Form Style
   Version 1.0
   Part of Intelligent Web Core
   Copyright Intelligent Web, 2008
**/

.form td {
    vertical-align: top;
}

td.prop {
    text-align: right;
    margin-right: 10px;
}

table.buttons {
    width: 300px;
    text-align: right;
}

div.buttons {
    text-align: right;
    width: 300px;
}

/* Size and appearance of form elements */
.form textarea, .form input {
    border: 1px solid #a7a6aa;
    width: 200px;
    margin: 1px;
    background: #e5f0d6
}

/* Textarea */
.form textarea {
    width: 200px;
    height: 100px;
}

/* Selected elements */
.form .selected {
    width: 200px;
    border: 2px solid #6b9335;
    margin: 0px;
    background-color: white;
}

/* Required Fields */
.empty .required input, .empty .required textarea {
    background-image: url( ../sitelayout/required.gif );
    background-position: top right;
    background-repeat: no-repeat;
}

/* Required with an error */
.error .required input, .error .required textarea {
    background-image: url( ../sitelayout/required.gif );
    background-position: top right;
    background-repeat: no-repeat;
}

/* Required which have been filled in */
.notEmpty .required input, .notEmpty .required textarea {
    background-image: none;
}

/* Required Fields that are currently in use */
.required input.selected, .required textarea.selected {
}

/* Error fields */
.error input, .error textarea, {
    border: 2px solid red;
    margin: 0;
}

/** Error and selected */
.error .selected {
    width: 200px;
    border: 2px solid red;
    background-color: #c2dafa;
    margin: 0;
}

/** Error message **/
.error span.message {
    color: red;
    background: white;
    font-size: smaller;
    margin-left: 10px;
}
