
/* tools */

ul.tools,
ul.tools li,
ul.footer,
ul.footer li {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.tools {
	line-height: 150%;
	margin-bottom: 0;
	padding: 0.5em;
}

ul.tools *,
ul.footer * {
	vertical-align: middle;
}

ul.tools:after,
ul.footer:after {
	/* clear floats */
	content: "."; 
	font-size: 0;
	line-height: 0%;
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

* html ul.tools,
* html ul.footer {
	/* IE/WIN fix: element will behave as if there's a clearing element inside it */
	height: 0.1em;
}


ul.tools label {
	width: auto;
	margin-right: 0.5em;
}

ul.tools.cluster input {
	width: 4em;
}

ul.tools li,
ul.footer li {  /* footer is used in delete page */
	display: block;
	float: left;
}

* html ul.tools li a,
* html ul.footer li a {
	/* This makes the whole link clickable in IE/WIN, not just the text. */
	white-space: nowrap;
	width: 0.1em;
}

ul.tools form,
ul.footer form {
	margin: 0;
	padding: 0;
}

ul.tools li,
ul.footer li {
	font-weight: bold;
	background-color: #ACAC1E;
	background-repeat: no-repeat;
	background-position: 4px;
	border: 1px solid #37492E;
	margin-right: 0.4em;
}

ul.tools li a,
ul.footer li a {
	display: block;
	text-decoration: none;
	padding: 0.125em 0.5em 0.25em 0.5em;
	margin: 0;
	padding-left: 24px;
	background-color: transparent;
	color: white;
	cursor: pointer;
}

ul.tools li a:link,
ul.tools li a:visited,
ul.footer li a:link,
ul.footer li a:visited {
	color: white;
}

li.ok, 
li.yes {
	background-image: url('graphics/ok.gif');
}

li.import {
	background-image: url('graphics/import.gif');
}

li.preview {
	background-image: url('graphics/preview.gif');
}

li.select_none {
	background-image: url('graphics/select_none.gif');
}

li.select_all {
	background-image: url('graphics/select_all.gif');
}

li.select {
	background-image: url('graphics/select.gif');
}

ul.tools li.pageSelector {
	float: right;
	background-color: transparent;
	border: none;
	margin: 0;
}

ul.tools li.pageSelector form label {
	width: auto !important;
}

ul.tools li.delete {
	background-image: url('graphics/delete.gif');
	float: right;
	margin: 0;
}

ul.tools li.add {
	background-image: url('graphics/add.gif');	
}

ul.tools li.back {
	background-image: url('graphics/back.gif');	
}

ul.tools li.list {
	background-image: url('graphics/list.gif');	
}

ul.tools li.edit {
	background-image: url('graphics/edit.gif');	
}

li.ok, 
li.yes {
	background-image: url('graphics/ok.gif');
}

li.cancel, 
li.no {
	background-image: url('graphics/cancel.gif');
}

ul.tools li.email {
	background-image: url('graphics/email.gif');	
}

#wrapper li.search {
	background-color: transparent;
	border: 0;
	cursor: default;
	margin-left: 0.5em;
}

#wrapper li.search input.button {
	padding: 0.1em;
}

/* tables */

form table {
	border: none;
	border-spacing:	0;
	border-collapse: collapse;
	border:	1px solid #ACAC1E;
	background:		#FFf;  /* for missing header elements above edit/delete cells */
	width: 96%; /* always pick full width */
	margin-right: 0.5em;
}

caption {
	font-size: 150%;
	line-height: 133%;
	background: #cecd57;
	color: #064276;
}

form table tfoot td {
	border: none;
	border-top:	1px solid #ACAC1E; /* optical effect, to compensate the 'border-bottom' of the table */
}

/* table header */


form thead th {
	text-align:		left;
	vertical-align:	top;
	background:		#fff8d5;
	color:			#CC0000;
	border: 		none;
	 /* gives a glitch in MSIE */
}


form thead th a:hover {
	text-decoration: none;
	color: #000000;
	

}

form thead th a:link,
form thead th a:visited {
	display: block;
	padding: 2px 5px;
}


* html thead th a {
	/* This makes the whole link clickable in IE/WIN, not just the text. */
	height: 0.1em;
}

form thead th.asc,
form thead th.desc {
	background: #ACAC1E;
}

form thead th.asc a:link,
form thead th.asc a:visited,
form thead th.asc a:hover {
	background: #8CAD7A url(graphics/up.gif) no-repeat right;
}

form thead th.desc a:link,
form thead th.desc a:visited,
form thead th.desc a:hover {
	background: #8CAD7A url(graphics/down.gif) no-repeat right;
}

form tbody tr.active td {
	background: #8FBCD1;
	cursor: pointer;
}

form tbody tr.active td.details,
form tbody tr.active td.edit,
form tbody tr.active td.delete {
	background: #8FBCD1;
}

/* table th/td styling */

form tbody td {
	vertical-align: top;
	padding: 2px 5px;
	border: none;
	
	background: white;
}

/* table details/edit/delete */

td.details,
td.edit,
td.delete {
	background: #F5F5DD;
	width: 16px;
}

form table tbody tr:last-child td {
	border-bottom: 0;
}

/* table odd/even effects */

form tr.odd td {
	
}

form tr.even td {
	background: #EEEEE;
}

form td.asc,
form td.desc {
	background: #f5f5dd;
	border-bottom: 1px solid #ACAC1E;
}

form tr.even td.asc,
form tr.even td.desc {
	background: #cecd57;
}

/* table row hover effects */

form tbody tr:hover td.asc,
form tbody tr.hover td.asc,
form tbody tr:hover td.desc,
form tbody tr.hover td.desc {
	background: #EEEEEE;
	color: #0076AF;
}

form tbody tr.even td.details,
form tbody tr.even td.edit,
form tbody tr.even td.delete {
	background: #cecd57;
}

form tbody tr:hover td,
form tbody tr.hover td {
	background: #CECD57;
	cursor: pointer;
}

form tbody tr:hover td.details,
form tbody tr.hover td.details,
form tbody tr:hover td.edit,
form tbody tr.hover td.edit,
form tbody tr:hover td.delete,
form tbody tr.hover td.delete {
	background: #F5F5DD;
}


/* specific styling search result */

#foundAddresses .houseNumber {
	text-align: center;
	width: 40px;
}

#foundAddresses .houseNumberExtra {
	width: 40px;
}



.tablecellYellow {
	border-right: 1px solid #ACAC1E;
}


