body {
	font-size: .8em;
	font-family: Arial, Helvetica, sans-serif;
	margin: .8;
	margin-top: 0;
	padding: 0;
}
#mainnav {
	background: #6c821c;
	color: white;
	padding: 2px;
	padding-bottom: 4px;
}
#mainnav a, #mainnav span {
	margin-left: .5em;
	margin-right: .5em;
	font-weight: bold;
	color: white;
	font-size: 11px;
}
#mainnav span {
	color: #ddd;
}
#titlebar {
	background: #1c4894;
	color: white;
	font-size: 1.1em;
	padding: .35em;
	margin-bottom: 0;
	border: 1px solid black;
	border-bottom: 0;
}
.subnav {
	font-size: smaller;
}
.subnav a, .subnav span {
	color: white;
	margin: .5em;
}
.subnav span.youarehere {
	color: #ff6;
	text-decoration: none;
}
#mainnav #homelink {
	margin-left: 1em;
}
#wrap {
	border: 1px solid black;
	background: #e0e0e0;
	margin-top: 0;
	padding: 1em;
	padding-top: 0;
}
#logo {
	border: 0;
}


/* data table */
	#tabletop {
		margin-bottom: 0;
		padding: .5em;
		text-align: right;
	}
	#tabletop a, #tabletop span {
		margin: .5em;
	}
	table.datatable {
		border-collapse: collapse;
		border-spacing: 0;
		empty-cells: show;
		border: 1px solid black;
		width: 100%;
	}
	table.datatable td {
		border: 1px solid black;
		vertical-align: top;
		padding: .5em;
	}
	table.datatable th {
		border: 1px solid black;
		background: #888;
		color: white;
	}
	.unread {
		font-weight: bold;
	}
	table.datatable th a {
		color: white;
	}
	table th.basic, table td.basic {
		text-align: center;
	}
	table th.priority {
		width: 20px;
		font-weight: bold;
	}
	table th.date {
		width: 12%;
	}
	table th.policy {
		width: 12%;
	}
	table th.insp {
		width: 10%;
	}
	table th.insured {
		width: 16%;
	}
	table th.address {
		width: auto;
	}
	table th.status {
		width: 10%;
		text-align: center;
	}
	table th.status td {
		text-align: center;
	}
	
	table td.priority {
		text-align: center;
		vertical-align: top;
		padding: 0;
		padding-top: .25em;
	}
	table td.priority img {
		margin: 0;
	}
	table td.date {
		text-align: center;
	}
	table td.policy {
		text-align: center;
	}
	table td.insp {
		text-align: center;
	}
	table td.insured {
		text-align: left;
	}
	table td.address {
	}
	table td.status {
		text-align: center;
	}
	table td.unread {
		text-align: center;
	}
/* end data table */


#detailtable td {
	background: white;
}

.tablecaption {
	text-align: center;
	margin-top: .3em;
}
.tablecaption a, .tablecaption span {
	margin: .5em;
}
.nowrap {
	white-space: nowrap;
}
.evenrow {
	background: white;
}
.oddrow {
	background: #f9f9ee;
}
.viewlinks {
	display: inline;
}
#searchbox {
	position: absolute;
	z-index: 100;
	width: 40em;
	top: 2em;
	right: 1em;
	background: white;
	padding: 1em;
	border: 3px outset #1c4894;
	visibility: hidden;
}
#searchbox h2 {
	font-size: 1.1em;
	margin-top: 0;
	border-bottom: 1px dotted #d5d5d5;
}
#searchbox td, #searchbox th {
	padding: .25em;
}
#searchbox th {
	text-align: right;
}
#searchboxclose {
	text-align: right;
	margin-top: -2.8em;
	margin-bottom: 1.6em;
}
#advsearchbox {
	text-align: right;
	position: absolute;
	right: 1em;
	top: 2em;
}
#advsearchbox input {
	font-size: 10px;
}
#footer {
	text-align: center;
	margin-top: 1em;
}
.tooltip {
	font-size: smaller;
	color: #343434;
}
#searchsubmit {
	border-top: 1px dotted #d5d5d5;
	border-bottom: 1px dotted #d5d5d5;
}
#notesinbox {
	position: absolute;
	z-index: 100;
	top: 9em;
	right: 20em;
	visibility: hidden;
	border: 1px solid black;
	background: yellow;
	padding: 1em;
	width: 20em;
}