/* --------------------------------------------------------------

-------------------------------------------------------------- */

#content form {
margin-bottom: 1.5em;
}

#content form > ul {
margin: 0;
list-style: none;
}

#content form > ul li {
margin: 0 0 1em 0;
}

#content fieldset,
#content form > div,
#content form > ul { 
margin-bottom: 1em;
padding: 0 0 .5em 1.5em;
border-bottom: 1px solid #ccc;
position: relative;
}

#content legend {  
font-size: 1.5em;
margin-bottom: .5em;
}

#content form .submit {
padding-bottom: 1em;
}

#content label {
margin-bottom: .5em;
}

#content form p.hint {
font-size: .91em;
font-style: italic;
margin: .25em 0 0;
color: #444;
}

label,
label span { 
display: block;
}

label span {
white-space: pre;
overflow: visible;
}

/* checkboxes, radios */

fieldset.check label,
label.check {
position: relative;
padding: .25em 0;
cursor: pointer;
margin-bottom: 0;
margin-right: .5em;
padding-left: .5em;
}

fieldset.check label:hover,
label.check:hover {
background-color: #eee;
}

fieldset.check label span,
label.check span {
position: absolute;
left: 3em;
}


/* Form fields
-------------------------------------------------------------- */

input[type=text],
input[type=password],
textarea,
select {
background-color: #fff;
border: 1px solid #666;
padding: .2em;
width: 60%;
margin: 0;
}

input[type=submit] {
font-size: 1.1em;
}

input[type=text]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
border-color:#000;
}

textarea {
width: 95.5%;
height: 10em;
padding:5px;
}

input[type=checkbox],
input[type=radio] {
margin: .2em .2em;
cursor: pointer;
}

.datetime select {
width: auto;
}

/* Success, notice and error boxes
-------------------------------------------------------------- */

.error,
.snotice,
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }

.error      { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.snotice     { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a    { color: #8a1f11; }
.snotice a   { color: #514721; }
.success a  { color: #264409; }

