
#reportlegend span { display: block; }
#reportlegend.readonly { padding-bottom: 1.5em; }

:focus
{
	background-color: #fffabf;
	border: 2px solid #648ec8;
}

h1
{
	width: 50%;
	float: left;
}

form
{
	width: 100%;
	margin: 36px 0;
}

input
{
	display: inline;
	border: 2px solid #ddd;
	margin: 0;
	padding: 2px 0;
}

textarea
{
	padding: 4px;
	margin: 0;
}

table, caption, tbody, tfoot, thead, tr, th, td { text-align: left; }
table { width: 100%; }

td,th
{
	padding: .5em 0 .5em .5em;
	border: 1px solid #ccc;
}

table td table td, 
table td table th
{
	padding: 0;
	border: none;
}

td.smallheader
{
	text-align: center;
	font-style: italic;
}

tr.header th, tr.header td, td.header, th.header { vertical-align: bottom; }





.hasgrid th
{
	/*padding-right: .75em;*/
	padding: 0;
}

.hasgrid td { padding: 0; }

:focus
{
	background-color: #fffabf;
	border: 2px solid #648ec8;
}

.flushleft { text-align: left; }

fieldset.buttons input
{
	display: inline;
	padding-right: 2em;
	border: none;
}

#reportlegend
{
	width: 50%;
	text-align: right;
	float: right;
}

.closed { background-color: #F6E19F; }
tr.open { background-color: transparent; }
th.closed { color: #9D3324; font-weight: bold; }
td.open, th.open { color: #444; font-weight: bold; }
tr.leftborder td, tr.leftborder th { border-left: 1px solid #444; }


td.dateline { text-align: center; padding-top: 1em; }

.tinyheads td
{
	font-size: .85em;
	padding-top: 4px;
	text-align: center;
}

.center { text-align: center; }
.nodisplay { display:none; }

#reportmessage {
	font-weight: bold;
	padding-right: 144px;
	text-align: left;
}

#reportmessage img { position: relative; top: 9px; }  /* align art with text*/

#reportmessage.ok { color: #eee; background-color: #5BA448; }
#reportmessage.fail { color: #930; background-color: #FFEF94; }

fieldset#topbuttons { text-align: right; }
fieldset#topbuttons input { border: none; padding-left: 1em; }

.hastable { border-left: none; } 
table.endtable { border-right: 1px solid #ccc; }

div.dataset
{
	border: none;
	background-color: #f6f6f6;
	padding: 1.5em;
}

.smallfields td { text-align: center;}