/* -------------------------------------------------------------- 
   
   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   
   Usage:
   * For text fields, use class .title or .text
   
-------------------------------------------------------------- */

label { font-weight: bold; white-space:no-wrap; }


/* Fieldsets */
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }

/* Text fields */
input.text, input.title   { width: 300px; margin:0.5em 0.5em 0.5em 0; }
input.text, input.title   { border:1px solid #bbb; background:#f6f6f6; padding:5px; }
input.text:focus,
input.title:focus         { border:1px solid #999; background:#fff; }
input.title               { font-size:1.5em; }

/* Textareas */
input:-moz-read-write, textarea:-moz-read-write {
-moz-user-modify:read-write !important;
}

textarea {
    -moz-appearance:textfield-multiline;
    -moz-user-select:text;
    -x-system-font:none;
    background-color:-moz-field;
    background:#f6f6f6; 
    border:1px solid #bbb; 
    color:-moz-fieldtext;
    cursor:text;
    font-family:-moz-fixed;
    font-size:medium;
    font-size-adjust:none;
    font-stretch:normal;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    letter-spacing:normal;
    line-height:normal;
    margin:0.5em 0.5em 0.5em 0;
    padding:5px;
    text-align:start;
    text-indent:0;
    text-rendering:optimizelegibility;
    text-shadow:none;
    text-transform:none;
    vertical-align:text-bottom;
    word-spacing:normal;
    word-wrap:break-word;
}

textarea:focus      { border:1px solid #999; background:#fff; }

/* Select fields */
select              { border:1px solid #bbb; background:#f6f6f6; margin:0.5em 0.5em 0.5em 0; width:200px; padding:5px}
select:focus        { border:1px solid #999; background:#fff; }


/* Success, error & notice boxes for messages and errors. */
.error,
.notice, 
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
.error      { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #817134; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #529214; border-color: #C6D880; }
.error a    { color: #D12F19; }
.notice a   { color: #817134; }
.success a  { color: #529214; }
