/* --------------------------------------------------------------

   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
   * For inline forms, use .inline (even when using columns)

-------------------------------------------------------------- */

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


/* Form fields
-------------------------------------------------------------- */

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
  background-color:#fff;
  border:1px solid #bbb;
}
input[type=text]:focus, input[type=password]:focus,
input.text:focus, input.title:focus,
textarea:focus, select:focus {
  border-color:#666;
  background-color:#FAFFC0;
}

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
  margin:0.3em 0 0 0;
}

input.text,
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 390px; height: 150px; padding:5px; font-size:110%; font-family:"Helvetica Neue", Arial, Helvetica, sans-serif; }

input[type=checkbox], input[type=radio],
input.checkbox, input.radio {
  position:relative; 
  
  vertical-align: top;
}

form.inline { line-height:3; }
form.inline p { margin-bottom:0; }
form .description{ font-size:0.9em; color:#777; margin-left:10px;}
form p{margin-bottom:1.4em}

/* Success, notice and error boxes
-------------------------------------------------------------- */
ul.error,
ul.notice,
ul.success,
ul.warning	{ list-style-type:none; margin:0 0 1em 0;}

.error,
.notice,
.success,
.warning    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }

.error      { background: #FFD5D5; color: #CE2222; border-color: #E04343; }
.warning    { background: #FCF1A9; color: #514721; border-color: #fad42e; }
.notice     { background: #BFD9F2; color: #2C3E67; border-color: #4591C9; }
.success    { background: #E2FFA6; color: #638400; border-color: #99CC00; }

.error a    { color: #8a1f11; }
.notice a   { color: #514721; }
.warning a  { color: #264409; }
.success a  { color: #264409; }
