/*************/
/* LOMAKKEET */

form
{
	font-size: 0.9em;
}

form legend
{
	font-style: italic;
	font-size: 1.1em;
}

form div.empty
{
	visibility: hidden;
}

form div.element
{
	display: block;
	clear: both;
	margin: 0.5em 0.2em;
}

form div.element label
{
	display: block;
	float: left;
	width: 8em;	
}

form div.element div.content
{
	display: block;
}

form div.fieldgroup div.element, form div.fieldgroup div.element label
{
	display: inline;
}

form div.cbfield label
{
	width: auto;
	min-width: 8em;
}
* html form div.cbfield label
{
	width: 8em;
}
form div.cbfield .hint
{
	float: none;
	padding-left: 0.5em;
	vertical-align: middle;
}

form div.cb, form div.option
{
	margin-left: 8em;
	text-align: left;
}

form div.cb label, form div.option label
{
	display: inline;
	float: none;
}

form div.cb input, form div.option input
{
	display: inline;
	margin-right: 0.4em;
}

form div.fieldgroup
{
	margin: 1em 0;
}
form fieldset
{
	margin: 0.5em;
	padding: 0.3em;
	border: 1px solid #eee;
}

form div.submit input
{
	margin: 0 1em;
	padding: 0 1.5em;
}

form div.element label:first-letter
{
	text-transform: capitalize;
}

form div.required label
{
	/*text-decoration: underline;*/
	font-weight: bold;
}

form div.field input, form div.textarea textarea, form div.file input
{
	border: 1px solid #111111;
	padding: 0.05em 0.1em 0.1em 0.1em;
	background-color: #DDD;
	color: #000;
}

form div.select select
{
	background-color: #EBE2CF;
	color: #000;
}

form div.fieldgroup div.submit input
{
	margin-left: 1em;
}

form .error
{
	clear: both;
	display: block;
	margin: 0.3em 1.5em 1em 0;
	padding: 0.5em;
	border: 1px dotted #f44;
	background-color: #333;
	color: #f22;
}

form .hint
{
	padding: 0 0.2em;
	font-size: 0.75em;
	vertical-align: top;
	float: left;
	margin-bottom: 0.5em;
	margin-left: 0em;
}

form p
{
	font-size: 0.8em;
	margin: 1em;
}
