<?php
// this little blurb of php allows us
// to use $config['css'] variables to control colors

include('localapi.php');   
$config = findConfigFile();

if (!include($config)) {
  print "Error including $config";
  exit;
}

header("Content-type: text/css");
    
?>
    
html, body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	margin: 0px;
	padding: 0px;
}

#containertable {
  width: 790px;
  margin-left: auto;
  margin-right: auto;
}

#assocMarkets {
	font-size: 70%;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	height: 85px;
	width: 350px;
	float:right;
	text-align: center;
	background-color:#FFFFFF;
}
#assocMarkets a {
	font-weight: bold;
	color: #000000;
	text-decoration: none;
}
#assocMarkets a:hover {
	font-weight: bold;
	color: #000000;
	text-decoration: underline;
}

.lefttablecell {
  background-color: #000000;
}

.lefttablecell h1 {
	font-size: 80%;
	margin: 0px;
	padding: 0px;
  color: #ffffff;
	background-color: <?php echo $config['css']['horizontalbar']; ?>;
	text-indent: 2px;
}

#indexlink a {
	font-size: 110%;
	margin: 0px;
	padding: 0px;
  color: #ffffff;
	background-color:<?php echo $config['css']['horizontalbar']; ?>;
	text-indent: 2px;
  text-decoration: none;
}

.lefttablecell ul {
	margin: 2px 0px;
	padding: 0px;
	display:block;
	list-style-type: none;
	text-indent: 4px;
}

.lefttablecell a {
	font-weight: bold;
	color: #FFFFFF;
	font-size: 70%;
	text-decoration:none;
}

.lefttablecell a:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration:underline;
}

.righttablecell {
  background-color: #cccccc;
}

.righttablecell h1 {
	color: #FFFFFF;
	font-size: 80%;
	margin: 0px;
	padding: 0px;
	background-color: <?php echo $config['css']['horizontalbar']; ?>;
	text-indent: 2px;
}

.righttablecell h2 {
	font-weight: normal;
	color:#000099;
	font-size: 100%;
	text-align: center;
}

.righttablecell ul {
	margin: 2px 0px;
	padding: 0px;
	display:block;
	list-style-type: none;
	text-indent: 4px;
}

.righttablecell a {
	font-weight: normal;
	color: #000099;
	font-size: 80%;
	text-decoration:none;
}

.righttablecell a:hover {
	font-weight: normal;
	color: #000099;
	text-decoration:underline;
}

.middletablecell h1 {
	color: #FFFFFF;
	font-size: 80%;
	margin: 0px;
	padding: 0px;
	background-color:<?php echo $config['css']['horizontalbar']; ?>;
	text-indent: 2px;
}

.small {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 70%;
}
.small a{
	text-decoration:  none;
}
.small a:hover{
	text-decoration:  underline;
}
.medium {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 75%;
}
.medium a{
	text-decoration:  none;
}
.medium a:hover{
	text-decoration:  underline;
}

.evenadrow {
  background-color: #dbdbdb;
}

.oddadrow {
  background-color: #ededed;
}

.categorycloud {
  padding:0; 
  margin:3px;
  text-align: center;
}

.categorycloud a {
  text-decoration: none;
  font-size: 75%;
}

.footer {
  text-align: center;
  font-size: 75%;
  color: #0000ff;
  font-weight: bold;
}

.footer a {
  text-align: center;
  color: #0000ff;
  text-decoration: none;
}

.footer a:hover {
  text-align: center;
  color: #0000ff;
  text-decoration: underline;
}

.copyright {
  text-align: center;
  font-size: 55%;
}

#linksgroup {
  font-weight: bold;
  font-size: 80%;
}  

#linksgroup a {
  text-decoration: none;
}  

.detailsHeader {
	padding: 0px;
	background-color: #000000;
	font-weight: bold;
	color: #FFFFFF;
}

.detailsHeader h2{
	color: #FFFFFF;
  padding: 0px;
  margin: 5px;
}

.detailsHeader h3{
	font-size: 90% ;
  padding: 0px;
  margin: 5px;
	color: #FFFFFF;
}

.detailsHeader h4{
	font-size: 70% ;
	color: #FFFFFF;
}

.detailsHeader a{
	text-decoration: none;
	color: #FFFFFF;
}



.detailsItem {
	color:#FFFF00;
	font-weight: bold;
  font-size: 80%;
  background-color : <?php echo $config['css']['horizontalbar']; ?>;
	padding: 2px 4px 2px 4px;
}

.detailsItem a {
	color:#FFFF00;
  font-size: 100%;
  text-decoration: none;
}

.detailsValue {
  font-size: 80%;
	padding: 2px 4px 2px 4px;
}

.comments, .comments td {
	margin: 5px 0px 0px;
	padding: 0px;
	clear: both;
	position: relative;
  font-size: 80%;
}

.ad_thumbnail {
  border: 1px solid #000000;
}

.contactInfo {
  background-color : #cccccc;
  font-weight: bold;
  font-size: 80%;
}

.vendorinformation {
  font-size: 80%;
}

.alert {
  color: #ff0000;
  font-weight: bold;
}

#searchform {
  z-index: 9999;
  position: absolute;
  background-color: #facb0b;
  width:400px;
  height: 200px;
  padding: 10px;
}

#searchform a {
  color: black;
  font-family: Arial, Verdana, Helvetica;
  font-size: 12px;
  font-weight: bold;
  background-image: none;
}

.boldtext {
  font-weight: bold;
}

.searchresult {
  background-color: #ededed;
  font-size: 80%;
}

.searchpager {
  background-color : <?php echo $config['css']['horizontalbar']; ?>;
}

.searchpager a {
  color : #ffffff;
  font-weight: bold;
  text-decoration: none;
  font-size: 80%;
}

.searchforavehicle {
  color : #ffffff;
  text-decoration : none;
}

.toptagline {
  color : #ffffff;
  text-decoration : none;
}

.pagedescription {
  padding:5px;
  text-align: justify;
  font-size: 90%;
}
