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

   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; }
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;
}

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

input.text,
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 390px; height: 250px; padding:5px; }

input[type=checkbox], input[type=radio],
input.checkbox, input.radio {
  position:relative; top:.25em;
}

form.inline { line-height:3; }
form.inline p { margin-bottom:0; }


/* Success, notice and error boxes
-------------------------------------------------------------- */

.error_list,
.notice_list,
.success_list
{
	padding: 0 6px;
	margin: 5px 34px;
	border: 1px solid #ddd;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.error_list      { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice_list     { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success_list    { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error_list a    { color: #8a1f11; }
.notice_list a   { color: #514721; }
.success_list a  { color: #264409; }

/* Form */
form ul
{
	list-style-type: none;
	margin: 0;
}

form li
{
	margin: 4px 0;
	padding: 8px;
	list-style-type: none;
	vertical-align: top;
}

form label
{
	display: -moz-inline-box; /* Firefox 2 and under*/
	display: inline-block;
	padding: 1px 2px;
	margin: 0 4px 0 0;
	vertical-align: middle;
	width: 220px;
	text-align: right;
	vertical-align: top;
	font-weight: bold;
}

form li input[type="text"],
form li input[type="password"],
form li input.text,
form li input.title,
form li textarea,
form li select
{
	margin-top: 0;
}

.error_list li,
.notice_list li,
.success_list li
{
	margin: 0;
	padding: 2px 0;
}

.error_list
{
	background-image: url(../images/led_icons/cancel.png);
	background-repeat: no-repeat;
	background-position: 6px 50%;
	padding: 2px 5px 2px 27px;
	margin-top: 6px;
}

