div.mod-form {
	position: relative;
	top: 0;
	left: 0;
	padding: 5px 8px 0 8px;
	margin: 20px 0 0 0;
	width: 604px;
	}
	
div.mod-form li {
	background-image: none!important;
	}
div.mod-form ul,
div.mod-form ol,
div.mod-form li {
	padding-left: 0!important;
	margin-bottom: 0!important;
	}		

div.mod-form fieldset {
	margin: 0;
	padding: 0;
	border: none;
	padding-top: 1.7em;
	}

div.mod-form legend {
	margin: 0;
	padding: 0;
	margin-bottom: 0em; /* pushes fieldset content down in IE - moves legend up in FF */
	margin-left: -.5em; /* removes default legend offset */
	display: block;
	color: #000;
	}

div.mod-form legend span {
	display: block;
	position: absolute;
	top: 5px;
	left: 8px;
	width: 604px;
	font-size: 12px;
	font-weight: bold;
	background: #ccc;
	padding: 7px 0 6px 0;
	text-indent: 10px; /* instead or horizontal padding */
	z-index: 1;
	white-space: normal;
	color: #333;
	}

div.mod-form fieldset fieldset legend span {
/*	background: #ccc;*/
	color: #000;
	padding: .5em 0;
	top: 0;
	left: 0;
	line-height: 1.3em;
	}

div.mod-form fieldset fieldset fieldset legend span {
/*	background: #dfdfef;*/
	color: #000;
	font-size: 100%;
	top: 0;
	left: 0;
	}
div.mod-form fieldset fieldset fieldset {
	padding-top: 2em;
	}


li.row h3 {
	background-color: #cccfd3;
	color: #333;
	padding: 3px 3px 3px 10px;
	margin: 0;
	font-size: 12px;
	background-color: #e0e0e0;
	}



div.mod-form div.desc {
	padding: .5em 1em  .1em  1em;
	color: #666;
	font-size: 11px;
	font-style: italic;
	}

div.mod-form div.desc p {
/*	padding: .3em 0;*/
/*	margin: 0;*/
	}

div.mod-form ol.form, 
div.mod-form ul.form {
	list-style: none;
	margin: 0;
	padding: 0;
	}

.form li.row {
	padding: 0 !important;
	margin: 0 !important;
	vertical-align: top;
	position: relative;
	background-color: #eee;
	border-top: 1px solid #ccc;
	}
.form li.row li {
	padding: 0!important;
	} 	

div.mod-form li.row:after {
	content: ".";
	clear: both;
	display: block;
	height: 0;
	visibility: hidden;
	font-size: 1px;
	}


div.mod-form legend abbr { /* required indicator */
	position: absolute;
	top: .5em;
	left: 12em;
	width: 1em;
	border: none;
	}

div.mod-form label abbr { /* required indicator */
	position: absolute;
	top: .5em;
	left: 13em;
	width: 1em;
	border: none;
	}

div.mod-form p.errorkey {
	position: absolute;
	top: 5px;
	right: 10px;
	padding: 5px;
	text-align: right;
	z-index: 2;
	color: #333;
	font-style: italic;
	margin: 0;
	}

div.mod-form p.errorkey abbr {
	color: red;
	border: none;
	}

div.mod-form span.element {
	display: block;
	padding: .5em 0;
	}

div.mod-form li.textarea span.element {
	padding-left: 14em;
	} 

div.mod-form span.label {
	width: 12em;
	float: left;
	display: inline;
	padding: .5em 2em .5em 1em;
	text-align: right;
	color: #111;
	font-size: 12px;
	}

div.mod-form span.desc {
	width: 16em;
	width: auto;
	float: left;
	clear: left;
	display: inline;
	padding: .1em 1em .5em 16.5em;
	color: #666;
	font-size: 11px;
	font-style: italic;
	}

div.mod-form li.textarea span.desc {
	padding: .7em 1em 0 0em;
	float: right;
	float: none;
	display: block;
	width: auto!important;
	clear: none;
	}

div.mod-form span.desc img {
	float: left;
	display: inline;
	margin-right: .5em;
	}

div.mod-form select {
	max-width: 15em;
	background: #fff;
	border-top: 1px solid #727272;
	border-right: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
	border-left: 1px solid #727272;
	margin: 0;
	color: #666;
	font-size: 100%; 
	font-family: arial,helvetica,verdana,clean,sans-serif;
	}

div.mod-form textarea {
	width: 20em;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	border-top: 1px solid #727272;
	border-right: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
	border-left: 1px solid #727272;
	background-color: #fff;
	color: #666;
	}


/* sets of radio or checkboxes */

div.mod-form li.set {
	padding-top: 0em;
	}

div.mod-form li.set li.row {
	border: none;
	
	}

div.mod-form li.set fieldset {
	padding-top: 0em;
	}

div.mod-form li.set fieldset div.desc {
	margin-left: 15.5em;
	}
div.mod-form li.set legend {
	color: #000;
	}
div.mod-form li.set legend span {
	font-size: 100%;
	background-color: transparent;
	text-indent: 0;
	width: 11em;
	padding-left: 1em;
	color: #111;
	text-align: right;
	font-weight: normal !important;
	}

div.mod-form li.radio span.element {
	width: 15em;
	float: left;
	display: inline;
	text-align: right;
	}
div.mod-form li.checkbox span.element {
	width: 15em;
	float: left;
	display: inline;
	text-align: right;
	}
div.mod-form li.radio span.label {
	padding-left: 0;
	padding-right: 0;
	width: 16em;
	text-align: left;
	color: #666;
	}
div.mod-form li.checkbox span.label {
	padding-left: 0;
	padding-right: 0;
	width: 16em;
	text-align: left;
	color: #666;
	}

/* Compact - multiple elements on one line */

div.mod-form li.compact {
	padding-left: 14em;
	}

div.mod-form li.compact li.row {
	float: left;
	display: inline;
/*	width: auto;*/
/*	padding: 0;*/
	border: none;
	}

div.mod-form li.compact li.row:after {
	display: none;
	}

div.mod-form li.compact span.element {
	width: auto;
	text-align: left;
	}
div.mod-form li.compact span.label {
	width: auto;
	}

/* Group of independent elements  */

/*
li.group {
	border: none; 
	}
*/
div.mod-form li.subhead div {
	padding: 0 1em;
	}


/* Inline error notification */

/*
div.mod-form legend strong,
div.mod-form label strong {
	background: red;
	color: #fff;
	display: none;
	}

div.mod-form label strong {
	position: absolute;
	top: 0;
	left: 0;
	text-indent: 14em;
	}

/	Make space for error notification /

div.mod-form li.error {
	padding-top: 2em;  
	background-color: #fee;
	}

div.mod-form li.set.error {
	padding-top: 1.5em;
	}

div.mod-form li.error strong {
	position: absolute;
	width: 100%;
	display: block;
	line-height: 1.5em;
	}

/	Move legend down for error notification /

div.mod-form li.error fieldset legend span {
	padding-top: 1.5em; 
	}
div.mod-form li.error.set fieldset legend span {
	padding-top: 2em;
	}


div.mod-form li.error fieldset strong {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-indent: 14em;
	z-index: 2;
	}


/	required indicators /

div.mod-form li.error legend strong.required { 
	z-index: 3;
	color: #fff;
	left: 13em;
	cursor: help;
	border: none;
	}
div.mod-form li.error label strong.required {
	z-index: 3;
	color: #fff;
	cursor: help;
	border: none;
	}

*/

/* Required indicators */
strong.required {
	color: #cc0033;
	}
li.row strong.required {
	position: absolute;
	left: 12.2em;
	top: .2em;
	width: 1em;
	padding: 5px 5px 0px 7px;
	}
li.row fieldset strong.required {
	left: 178px;
	}



div.mod-form div.buttons {
	/*background: url(../library/bg-filter-bottom-2.png) no-repeat 0 100%;*/
	margin-left: -6px;
	margin-right: -6px;
	padding: 5px 6px;
	text-indent: 180px;
	}



/* patches */
/* IE only */

div.mod-form li.row {
	zoom: 1; 
	}

/*
div.mod-form select {
	width: 15em;
	}
*/

/* Dynamic element controls */

div.mod-form li.button span.element {
	padding: .5em 0 .5em 14em;
	}

div.mod-form .item {
	width: 38em;
	}


div.mod-form li.optionitem span,
div.mod-form li.optionitem.
div.mod-form li.item span,
div.mod-form li.item {
	cursor: move;
	}

div.mod-form li.text input {
	width: 20em;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	border-top: 1px solid #727272;
	border-right: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
	border-left: 1px solid #727272;
	background-color: #fff;
	color: #666;
	}
	
.buttons input {
	/*color: #fff;
	background-color: #0066cc;
	border: 1px solid #000;
	font-weight: bold;
	padding-top: 4px;
	padding-bottom: 4px;*/
	}	


