* {
	/* Space to keep the bottom border visible on link text */
	line-height: 2.7ex;	
}
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus
{
	border-bottom-color: #a29CAA;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	color: #2662b4; /*  #404040; /* */
	text-decoration: none;
}
a:visited 
{
	border-bottom-style: dashed;
	border-bottom-color: #a29CAA; /* #c2c2c2; */
}
a:hover
{
	border-bottom-color: #2662b4; /* #999999; */
}
body,
form *,
td,
th {
/*	background-color: white;
*/	color: #404040;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
	letter-spacing: 0.085ex;
}
fieldset,
img {
	border: 0;
	display: inline;
}
hr
{
	height: 2px;
}
.quiet,
.quiet a,
.quiet a:link,
.quiet a:visited,
.quiet a:hover,
.quiet a:active,
.quiet a:focus
{
	border-bottom-style: none;
	text-decoration: none;
}
/*
	The reason for doing this, rather than using <sub> and <sup>, 
	goes beyond the current theology of markup. The old tags mess up 
	the line spacing wheras this way it remains uniform.
*/

.sSub,
.sSup
{
	position: relative;
	font-size: 1.5ex;
}
.sSub
{
	top: 0.3ex;
}
.sSup
{
	bottom: 0.8ex; 	
}
.sSmallCaps
{
	font-variant: small-caps;
}
.sControlledPending
{
	background-color: #FEE0C5; 
}
.sProposed
{
	background-color: #FFFFC1;
}
.logo
{
	vertical-align: middle;
	padding-top: 1px;	/* Improves the alignment of the text baseline and the image */
}
/*
	SAFS styles
*/
div#dBanner
{
	width: 100%;
	height: 164px;
	background-image:url('http://forendex.southernforensic.org/images/banner_slice.png');
	text-align: center;
}
div#dMyBanner
{
	width: 100%;
	height: 110px;
	background-color: #808185; 
	text-align: center;
}
div#dFooter
{
	clear: both;
	width: 100%;
	text-align: center;
	font-size: small;
	margin-top: 1ex;
	line-height: 1.2ex;;
}
table.tGrid,
table.tGrid table {
	border-collapse: collapse;
	border: none;
	width: 100%;
}
table.tGrid td,
table.tGrid th
{
	background-color: #f0f0f0;
	border: thin white solid;
	padding: 0.75ex;
	text-align: left;
}
table.tGrid td.quiet {
	width: 16px;
}
table.tGrid img {
	display: block;
	margin: 0.5ex;
}
/*
	To avoid the flash of unstyled content (i.e. tabs as a vanilla unordered list)
*/
#tabs  {
	visibility: hidden;
}
/*
	Tablesorter stuff
*/
table.tablesorter {
	border-collapse: collapse;
	width: 100%;
}
table.tablesorter thead th {
	font-weight: normal;
	text-align: left;
}
table.tablesorter th.quiet { /* th here is critical to keep the column width fixed. *.quiet doesn't do it */
	width: 16px;
	padding: 4px;
}
table.tablesorter * .editable td * {
	margin: 4px 0;
	vertical-align: middle;
}
table.tablesorter input,
table.tablesorter select {
	width: 94%;
}
table.tablesorter * .editable td select,
table.tablesorter * .editable td option
{
	padding: 2px;
}
/* Ajax stuff: Big box with list of options */
#ajax_listOfOptions
{
	font-size: medium;
	position: absolute;	/* Never change this one */
	width: 60ex;	/* Width of box */
	height: 40ex;	/* Height of box */
	overflow: auto;	/* Scrolling features */
	background-color: #FFF;	/* White background color */
	text-align: left;
	z-index: 100;
}
/* 
	Ajax-based substance name lookup. 
*/
#ajax_listOfOptions div
{	
	margin: 4px;		
	padding: 1px;
	cursor: pointer;
	font-size: medium;
}
/* Div for each item in list */
#ajax_listOfOptions .optionDiv
{	
}
/* Selected item in the list */
#ajax_listOfOptions .optionDivSelected 
{ 
	background-color: #317082;
	color: #FFF;
}
#ajax_listOfOptions_iframe
{
	background-color: #F00;
	position: absolute;
	z-index: 5;
}
/*
	Ajax upload button container table. !!! Don't nig with this, it's fragile.
*/
table.tUpload {
	width: 100%;
}
table.tUpload input,
table.tUpload select {
	width: 94%;
}
table.tUpload td.quiet {
	width: 16px;
	padding: 4px;
	vertical-align: middle;
}
table.tUpload,
table.tUpload td { 
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background-color: inherit !important;
}
/*
	Previous and next substance controls on detail pages, static bullet on others
*/
.substanceIdNav {
	color: white;
	font-style: bold;
	padding-left: 1ex; 
	padding-right: 1ex;
}
.substanceIdNav a {
	color: white;
}
.substanceIdNav a:hover {
	color: #99cc99;
}	

