/** FORM STYLING **/

/** GENERAL FORM DEFINITIONS **/
form {
	line-height: 1em; }

form ol {
	list-style: none;
	margin: 0;
	padding: 0;}

form ol li {
	zoom: 1;
	-ms-zoom: 1;}

form ol li ol li, form ol li ul li {
	margin-bottom: 0;
	padding: 0 !important;}

form ol li:after, form.horizontal ol:after {
	content: '.';
	height: 0;
	display: block;
	visibility: hidden;
	clear: both;}
/*
form label {
	font-weight: bold;}

form li li label {
	font-weight: normal;}*/

form ol li ol li, form ol li ul li {
	margin-bottom: auto;}


/** HORIZONTAL FORM STYLE **/
form.horizontal ol {
	zoom: 1;
	-ms-zoom: 1;}

form.horizontal ol li {
	float: left;}

form.horizontal ol li label {
	display: inline;}


/** VERTICAL FORM STYLE **/
/*form.vertical ol li {
	padding: 0.5em 0;}*/

form.vertical ol li label {
	display: block;
	clear: both;
	float: none;
	/*margin-bottom: 0.2em;*/}

form.vertical ol li ol li label {
	display: inline;}


/** OFFSET FORM STYLE **/
form.offset ol li {
	/*padding: 0.5em;*/
	position: relative;
	padding-left: 15em;}

form.offset ol li label {
	position: absolute;
	left: 0; /* Position the label back to the left */ } 

form.offset ol li ol li, form.offset ol li ul li {
	position: static;
	left: 0;}

form.offset ol li ol li label, form.offset ol li ul li label {
	position: static;
	left: 0;}


/** FIELDSETS AND LEGENDS **/
/*
form fieldset {
	border: 0;
	padding: 0.5em;}

form fieldset.active {
	background: Blue;}

form fieldset legend {
	font-size: 120%;
	margin: 0 0 0.2em -0.5em;
	font-weight: bold;
	padding: 0;}
*/

/** HELP TEXTS **/
form ol li .help {
 	/*color: #555;
	font-size: 90%;
	margin-bottom: 0.2em;*/
	list-style: none;
	padding: 0;
	margin: 0;}

form.vertical ol li .help {
	display: block; 
	clear: both;
	/*margin: 0.2em 0;*/}


/** FORM ERRORS **/
form ul.error_list {
	display: block;
	list-style: none;
	padding: 0;
	margin: 0;
	clear: both;}

/*
form ol ul.error_list {
	margin: 0.2em 0;}

form ul.error_list li, form ul.error_list li {
 	color: #C00;
	font-size: 90%;
	margin-bottom: 2px;}

form li.error input.text, form li.error input.password, form li.error textarea, form li.error select {
	border: 1px solid #DF0000;} */

 
/* GENERAL FORM ELEMENTS **/
/*
form input, form textarea, form select {
	font: 100% Verdana, Arial, sans-serif;
	margin: 0.2em 0 0 0;}*/
/*
form input[type="text"], form input.text, form input[type="password"], form input.password, form textarea {
	padding: 0.2em; 
	min-width: 300px;}

form input[type="text"], form input.text, form input[type="password"], form input.password, form textarea, form select {
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;}

form input[type="submit"], form input[type="button"], .button {
	overflow: visible; /* Hack for IE 7 button bug */ /*
	padding: 1px 10px;
	border-top: 1px solid #CCC;
	border-left: 1px solid #CCC;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	background: #F0F0F0;}

form input[type="submit"]:hover, form input[type="button"]:hover, form input.button:hover {
	background: #E6E6E6;}

form select option {
	padding: 1px 0;} */


/** SPECIFIC FORM ELEMENTS **/
form input.checkbox, form input[type="checkbox"], form input.radio, form input[type="radio"] {
	/*border: 0;*/
	width: auto;}

form ol ul, form ol ol {
	list-style: none;
	padding-left: 0;
	margin-left: 0;}

form ol ol li label, form ol ul li label {
	display: inline !important;}
