/**FORM****/

div.form div.input label{
	display:block;
}
div.form div.input input,
div.form div.input select,
div.form div.input textarea{
	margin-left:15px;
}

div.form form {
	margin : 0 auto;
	text-align : center;
	width : 500px;
	font-size : 1em;
}

div.form form p {
	text-align : left;
	margin : 0.5em 0;
}

div.form fieldset, #sub {
	margin : 1em 0;
	padding : 0 1em .5em;
	border : 0 none;
	border-top : #cccccc 1px solid;
}

div.form #sub {
	border : 0 none;
}

div.form legend {
	margin : 1em;
	padding : 0 1.5em;
	background : transparent;
	font-size : 1em;
	font-weight : bold;
}

div.form legend.p {
	text-align : left;
	margin : 0.5em 0;
	padding : 0;
	font-size : 1.2em;
	font-weight : normal;
}

div.form label {
	float : left;
	width : 110px;
	padding : 0 1em;
	text-align : right;
}

div.form .required{
	font-weight: bold;
}

div.form div.input div.checkbox{
	display:block;
	width:140px;
	float:left;
	text-align: left;
}

div.form div.input div.checkfields{
	display: block;
	width: 300px;
	float: right;
}

div.form div.input div.checkbox label{
	width:60px;
}

div.form div.input div.checkbox input{
	width:30px;
}

div.form fieldset input, textarea, select {
	width : 300px;
	padding : 1px;
	margin-bottom : 0.5em;
}

div.form fieldset .date select{
	width: auto;
	margin-right:0.5em;
	margin-left:0.5em;
}

div.form input[type=submit] {
	clear : both;
	text-align : center;
	padding : 1px;
	width : 7em;
	margin : 1em auto;
}

div.form input:focus, textarea:focus {
	background : #fafafa;
}

div.form div.formok{
	background-color: green;
	color:white;
	font-weight: bold;
	padding:8px;
	text-align:center;
	width:60%;
	margin-left:auto;
	margin-right:auto;
}

div.form div.formerror{
	background-color: red;
	color:white;
	font-weight: bold;
	padding:8px;
	text-align:center;
	width:60%;
	margin-left:auto;
	margin-right:auto;
}

div.form div.error-message{
	color:red;
	font-weight: bold;
	margin-bottom:0.5em;
}