/* $Id: autoform.css 197 2009-08-04 08:27:54Z eprev $ */

.autoform fieldset {
	margin: 10px 0; padding: 5px; border: 1px solid #aaa;
}

.autoform fieldset legend {
	padding: 5px; color: #666;
}

.autoform li > label {
	display: inline-block;
	vertical-align: top;
	width: 120px;
	line-height: 1.4em;
}

.autoform fieldset ol {
	margin: 0; padding: 0; list-style: none;
}

.autoform fieldset ol li {
	padding: 5px; margin: 0; border-top: 1px dotted #ccc;
}

.autoform fieldset ol li.combined {
	border-top-style: none;
}

.autoform fieldset ol li:first-child {
	border-top-style: none;
}

.autoform fieldset ol li div {
	display: inline-block;
}

.autoform fieldset ol li input {
	vertical-align: top;
}

.autoform fieldset ol li input[type=checkbox] {
	vertical-align: baseline;
}

.autoform fieldset ol li input[type=checkbox] + label {
	-moz-user-select: none; -khtml-user-select: none; user-select: none;
}

.autoform fieldset ol li input[type=checkbox].secondary + label {
	color: #999;
}

.autoform fieldset fieldset {
	border: none; margin: 3px 0 0;
}

.autoform fieldset fieldset legend {
	padding: 0 0 5px; font-weight: normal;
}

.autoform fieldset fieldset label {
	display: block; width: auto;
}

.autoform em {
	font-style: normal; color: #e33;
}

.autoform fieldset fieldset label {
	margin-left: 153px;
}

.autoform ul.errors {
	list-style: none inside; padding: 0; margin: 0; display: inline-block; margin-left: 10px;
}

.autoform ul.errors li {
	color: #e33; margin: 0; padding: 0; border-top-style: none;
}
.autoform ul.errors li:before {
	content: '\2014'; margin-left: -0.5ex; margin-right: 0.5ex;
}

.autoform ul.errors li:after {
	content: ';'
}

.autoform ul.errors li:last-child:after {
	content: '.'
}

.autoform span.tag-matches {
	margin: 0.5em 0 0.25em 0; display: block;
}

.autoform span.tag-matches span {
	cursor: pointer; margin-right: 0.5em; padding:0.2em;
}

