#subform {
	display: table;
    width: 100%;
    margin: 20px 0 0 0;
}

#subform_headers span {
    float:left;
	display: table-row;
    margin: 0;
    font-size: 0.75em;
    font-weight: bold;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    text-transform: uppercase;
    color: #A5ADA8;
}

span.subform_header_text {
    width: 175px;
}

div.subform_rows {
	display: table-row-group;
}

div.subform_result {
	display: inline;
}

div.subform_result ul {
	list-style: none;
	margin: 0 0 -4px 0;
	padding: 0;
	overflow: hidden;
	background-color: #333;
}

div.subform_result ul li {
	color: #ccc;
	padding: 0;
	margin: 0 4px 4px;
	text-align: left;
}

div.subform_result ul li a {
	color: #ccc;
	display: block;
	text-decoration: none;
	background-color: transparent;
	text-shadow: #000 0px 0px 5px;
	position: relative;
	padding: 0;
	width: 100%;
}

div.subform_result ul li a:hover {
	background-color: #444;
}

div.subform_result ul li.as_highlight a:hover {
	background-color: #3366CC;
}

div.subform_result ul li a span {
	display: block;
	padding: 3px 6px;
	font-weight: bold;
}

div.subform_result ul li a span small {
	font-weight: normal;
	color: #999;
}

div.subform_result ul li.as_highlight a span small {
	color: #ccc;
}

div.subform_result ul li.as_highlight a {
	color: #fff;
	background-color: #3366CC;
	background-position: bottom right;
	background-repeat: no-repeat;
}

div.subform_result ul li.as_highlight a span {
	background-position: bottom left;
	background-repeat: no-repeat;
}

div.subform_result ul li a .tl,
div.subform_result ul li a .tr {
	background-image: transparent;
	background-repeat: no-repeat;
	width: 6px;
	height: 6px;
	position: absolute;
	top: 0;
	padding: 0;
	margin: 0;
}
div.subform_result ul li a .tr {
	right: 0;
}

div.subform_result ul li.as_highlight a .tl {
	left: 0;
	background-position: bottom left;
}

div.subform_result ul li.as_highlight a .tr {
	right: 0;
	background-position: bottom right;
}

div.subform_result ul li.as_warning {
	font-weight: bold;
	text-align: center;
}

div.subform_result ul em {
	font-style: normal;
	color: #66CCFF;
}

div.subform_row {
	display: table-row;
}

* html div.subform_row {
	display: table-row;
	margin: 0 0 0 0;
}

div.subform_cell {
    display: table-cell;
}

* html div.subform_cell {
    display: table-cell;
    margin: 0 5px 0 0;
}

input.row_text{
    width: 160px;
    margin: 0 0 3px 0;
    padding: 0 0 0 5px;
    font-size: 1.0em;
}

button.additem{
    margin: 5px 0 0 0;
    padding: 0 0 0 18px;
    color: #DF570D;
    font-size: 0.9em;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    font-weight: bold;
    background: url(/images/add-sm.png) 0 1px  no-repeat;
    border: none;
}

* html button.additem{
    padding: 0;
    background: url(/images/active_scaffold/default/add.gif) 2px 2px no-repeat;
}

button.additem:hover{
    color: #AB420A;
}

