#herbcat .error { color:#e90000; font-weight:bold; }
#herbcat .error a { color:#e90000; text-decoration: underline; }

/* All the green boxes */
#herbcat .box,
#herbcat .genericTable {
	width: 90%;
	margin: 19px auto 0 auto;
	background: #efead3;
	padding: 10px 15px;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

#herbcat .genericTable {
	width: 100%;
	margin: 19px 0 0;
	padding: 0;
}

#herbcat table td,
#herbcat table th {
	min-width: 20%;
	font-size: 0.85em;
	text-align: center;
}

#herbcat .box .buttons {
	text-align:right;
	margin-top: 1ex;
}

#herbcat .left {
	width: 50%;
	float: left;
	margin: 19px 0 0 0;
}

#herbcat .right {
	width: 38%;
	float: right;
	margin: 19px 0 0 0;
}

#herbcat img,
#herbcat form * {
	vertical-align: middle;
}

/* Search, search results*/
#herbcat .searchlink {text-decoration:underline; font-weight:bold;}

/* Search results page */
#herbcat #statsbox table * {
	color: black;
	vertical-align: top;
	font-size: 1em;
	text-align: left;
}

/* Page x of y */
#herbcat .pagesbox { width: 100%; clear:left; margin-top: 19px;float: left;}
#herbcat .pagesbox .text { float: left; margin-left: 15px}
#herbcat .pagesbox .links { float: right; text-align: right; margin-right: 15px;}
#herbcat .pagesbox a.spaceleft { margin-left: 1em; }
#herbcat .pagesbox a.spaceright { margin-right: 1em; }
#herbcat .pagesbox a.currentPage { text-decoration: none; font-weight: bold;}

/* Search Results Table */

/* Simple Search - used on homepage */
#herbcat #searchSimple { width: 570px; }

#herbcat #downloadButtonsDetails { margin: 19px 0px 10px; text-align: right; }

/* Static Details Page */
#herbcat #staticimage {width:189px; text-align:center; float:right; margin:0 0 12px 15px;}
#herbcat #staticimage .imagespace {padding-bottom:4px;}

/* Specimen Details Page */
#herbcat #specimenbox { clear: left; margin-top: 19px; }
#herbcat #specimenbox .space {padding:10px 0 0 0;}

/* advanced search page */
#herbcat #searchbuttons {margin:0px; padding-top:4px; text-align:right;}

#herbcat #herbcat-advanced {
	border-collapse: collapse;
}

#herbcat #herbcat-advanced td,
#herbcat #herbcat-advanced th {
	width: 25%;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	padding: 5px 3px;
}
#herbcat #herbcat-advanced td {
	border-right: 1px solid white;
}
#herbcat #herbcat-advanced th {
	text-align: right;
	border-left: 1px solid white;
}

/* Hide some bits for print view */
@media print {
	#links-module,
	#herbcat #downloadbox,
	#herbcat #downloadbox,
	#herbcat #detaildownloadbox,
	#herbcat .buttons {
		display: none;
	}

	#herbcat .left {
		width: 100%;
		float: none;
	}
}
