h3 {
padding: 1em 0 1em 0;
margin: 0;
font-size: 1.4em;
}

.searchform {
padding: 1em 0;
margin: 0;
}

.searchrow {
text-align: left;
}

.searchrow label {
float: left;
width: 7em;
padding-top: 0.2em;
padding-right: 1em;
text-align: right;
}


#searchterms {
width: 50%;
}

#currentsearchterms {
padding: 1em 0 0 0;
}


#sidenav {
position: absolute;
left: 0;
top: 0;
width: 17em;
background-color: #fff;
border-right: 1px solid black;
}

#content {
background: #fff;
margin: 0 0 0 17em;
 border-left: 1px solid black; 
}

#categories {
width: 100%;
padding-top: 2em;
}

#categories ul {
margin: 0;
padding: 0;
list-style-type: none;
}


#categories a, #categories #categoryheading, #categories ul #selectedCategory {
display: block;
padding-top: 0.2em;
padding-bottom: 0.2em;
padding-left: 1em;
border-bottom: 1px solid black;
margin: 0;
width: 100%;
}

#categories a {
background-color: #ddd;
color: #333;
}

#categories a:hover {
background-color: #99c;
color: #fff;
}

#categories #categoryheading {
background-color: #369;
color: white;
font-weight: bold;
}

#categories ul #selectedCategory {
background-color: #fff;
color: #000;
font-weight: bold;
}


/* --------------- TABS -------------------- */


#tabs {
background-color: #fff;
width: 100%;
clear: both;
float: left;
/*border-left: 1px solid black;*/
background:#fff url("../images/bg.gif") repeat-x bottom;
}

#tabs ul {
padding: 0;
margin: 0;
}

#tabs ul li {
 display: inline;
}

#tabs ul li a {
display: block;
margin: 0;	 
padding: 0.2em 12px;
background-color: #ddd;
color: #333;
float: left;
border-right: 1px solid black;
border-top: 1px solid black;
border-bottom: 1px solid black;
white-space: nowrap;
}

#tabs ul li a:hover {
background-color: #99c;
color: #fff;
}

#selected {
display: block;
margin: 0;	 
padding: 0.2em 12px;
background-color: #fff;
color: #000;
float: left;
border-left: 0px;       
border-right: 1px solid black;
border-top: 1px solid black;
border-bottom: 1px solid white;
white-space: nowrap; 
font-weight: bold; 
}

#directory_results {
clear: both; 
border-top: 1px solid #aaa; 
border-bottom: 1px solid #aaa; 
height: 0.01%
}

#tableftmargin {
border-left: 1px solid black; 
position: absolute; 
top: 0px; 
left: 0px; 
height: 2em;
}

.term0 {
background-color: #faa;
}

.term1 {
background-color: #afa;
}

.term2 {
background-color: #aff;
}

.term3 {
background-color: #faf;
}

.term4 {
background-color: #ffa;
}

.term5 {
background-color: #ccf;
}

.term6 {
background-color: #e95;
}

.term7 {
background-color: #ccc;
}

.term8 {
background-color: #fdc;
}

.term9 {
background-color: #7d9;
}



.imageresult {
float: left; 
border: 1px solid #ccc; 
height: 16em; 
width: 165px; 
text-align: center; 
margin-right: 2em; 
margin-bottom: 2em;
}

.imageresult .title {
height: 4.5em;
padding-top: 0.5em;
}


