/* default form styles */
form {
}
input, select, textarea {
	border: 1px solid black;
	padding: 2px;
}
.form_error_note {
	color: red;
	margin: 10px;
	font-weight: bold;
}
.form_required_note {
	font-weight: bold;
	margin: 10px;
}
.form_label_error {
	color: red;
}

/* default styles for div based form renderer */
div.form {
	border: 1px solid black;
	background: #DDDDDD;
	margin: 10px;
	padding: 10px;
	float: left;
	clear: both;
}
div.form_header {
	border: none;
	font-weight: bold;
	font-size: 1.2em;
	padding: 10px 0;
	text-decoration: underline;
	color: black;
	clear: both;
}
div.form_element {
	border: none;
	padding: 3px;
	float: left;
}
div.form_submit {
	border: none;
	padding: 3px;
	float: left;
	clear: both;
}
div.form_label {
	font-weight: bold;
	color: black;
	margin-right: 10px;
	float: left;
}
div.form_field  {
	float: left;
}


/* default styles for table based form renderer */
table.form {
	border: 1px solid black;
	background: #DDDDDD;
	margin: 10px;
	padding: 10px;
}
td.form_header {
	border: none;
	font-weight: bold;
	font-size: 1.2em;
	padding: 10px 0;
	text-decoration: underline;
	color: black;
}
td.form_element {
	border: none;
	padding: 3px;
}
td.form_submit {
	border: none;
	clear: both;
	padding: 3px;
}
td.form_label {
	font-weight: bold;
	color: black;
	clear: both;
	float: left;
	margin-right: 10px;
}
td.form_field  {
}


/* default styles for list based form renderer */
.form {}

	.form fieldset {
		border: 0;
		clear: both;
		margin: 0;
		padding: 0;
	}
	
		.form fieldset fieldset {
			border: 0;
			clear: both;
			margin: .5em 0;
			padding: 0;
		}
	
		.form fieldset legend {
			border: 0;
			clear: both;
			color: black;
			display: block;
			font-size: 1.2em;
			font-weight: bold;
			margin: 0;
			padding: 0;
			text-decoration: underline;
		}
		
		.form fieldset fieldset fieldset {
			border: 1px solid grey;
		}
		
		.form fieldset fieldset fieldset legend {
			border: 1px solid grey;
			font-style: italic;
			margin: 0 0 0 .125em;
			padding: .25em .35em .25em .25em;
			text-decoration: none;
		}
		
		.form fieldset ol {
			list-style: none;
			margin: .25em 0 1em 1em;
			padding: 0;
		}
		
		.form fieldset li {
			border: 0;
			margin: 0;
			padding: 3px 0;
		}
		
		.form fieldset fieldset li {
			border: 0;
			float: left;
			margin: 0;
			padding: 3px 0;
			width: 14em;
		}
		
		.form fieldset li span {
			clear: both;
			color: black;
			display: block;
			font-weight: bold;
			margin: .125em 0;
			margin-right: 10px;
		}
		
		.form fieldset fieldset li span {
			clear: both;
			color: black;
			display: block;
			float: left;
			font-weight: bold;
			margin: .125em 0;
			margin-right: 10px;
			width: 100%;
		}
		
		.form fieldset li span .form_label_error {
			display: inline !important;
		}
		
		.form fieldset li input[type="text"] {
			width: 90%;
		}
		
		.form fieldset li input[type="password"] {
			width: 90%;
		}
		
		.form fieldset li select {
			margin-bottom: -0.15em;
			width: 93%;
		}
		
		* html .form fieldset li select {
			margin-bottom: 0;
		}
		
		.form fieldset li.submit {
			width: 99%;
		}
		
		.form fieldset li .form_submit {
			display: inline;
		}
		
		.form fieldset li span textarea {
			height: 9em;
			width: 20em;
		}
		
		.form fieldset .boxContainer {
			margin: 0 0 0 1em;
			padding: 0;
		}
		
		.form fieldset .boxContainer .boxHeader {
			font-size: 1.2em;
			font-style: italic;
			margin-bottom: .25em;
		}
		
		.form fieldset .boxContainer .sorted_list {
			margin: 0;
			padding: 0;
		}
		
		.form fieldset .boxContainer .sorted_list .pager {
			margin: 0;
			padding: 0;
		}


.form fieldset ol:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.form fieldset ol {display: inline-block;}

/* Hides from IE-mac \*/
* html .form fieldset ol {height: 1%;}
.form fieldset ol {display: block;}
/* End hide from IE-mac */


div.form {
	background: transparent;
	border: none;
	float: none;
	margin: 0;
	padding: 0;
	width: auto;
}
	
	.form fieldset {
		background: #F5DEB3;
		border: 1px solid brown;
		margin: 0;
	}
	
	.form fieldset legend {
		background: #F5DEB3;
		border: 1px solid brown;
		color: black;
		display: block;
		font-size: 1.2em;
		font-style: italic;
		font-weight: bold;
		margin: 0 0 0 .125em;
		padding: .25em .35em .25em .25em;
		text-decoration: none;
	}

span.date {
	display: block !important;
	width: 100% !important;
}

span.date select {
	width: auto !important;
}

.form fieldset .info {
	margin-left: 1em;
	margin-right: 1em;
}

div .toggle {
	margin-bottom: 1em !important;
}
