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.grade {
		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.grade {
		text-align: center;
	}
	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: 30em;
	max-height: 380px;
	overflow: auto;
}
#notesinbox2 {
	position: absolute;
	z-index: 100;
	top: 9em;
	right: 18em;
	visibility: hidden;
	border: 1px solid black;
	background: yellow;
	padding: 1em;
	width: 30em;
	max-height: 380px;
	overflow: auto;
}
#notesinbox3 {
	position: absolute;
	z-index: 100;
	top: 9em;
	right: 16em;
	visibility: hidden;
	border: 1px solid black;
	background: yellow;
	padding: 1em;
	width: 30em;
	max-height: 380px;
	overflow: auto;
}
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }
.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; border: 1px solid #1c4894; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee 50% top repeat-x; color: #333333; }
.ui-widget-content a { color: #333333; }
.ui-widget-header { border: 1px solid #1c4894; background: #1c4894 50% 50% repeat-x; color: #000; font-weight: bold; height: 8px; }
.ui-widget-header a { color: #ffffff; font-weight: normal; }
.ui-dialog .ui-dialog-titlebar-close {
    font-size: 12px;
    height: 16px;
    margin: 0;
    padding: 1px;
    position: absolute;
    right: 2em;
	text-decoration: none;
    top: 0;
    width: 10px;
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 1px; text-decoration: underline; }

