/* div { outline: 1px dashed black; }  /* TEST */

p { margin-top:0; margin-bottom:1em; }

h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 { font-size: 14px; }
h1, h2, h3, h4, div#top * { color: #2275b6; }
div#top {text-align: center;}
h3 a { color: inherit; }  /* front page links */

h1, h2 { text-align:center; margin:5px; }
h3, h4 { margin:0; margin-bottom:9px; }

.fineprint { font-size: 75%; }


/* Forms */
table.form th, table.form td {
 font-weight:normal;
 text-align:left;
 vertical-align:top;
}
table.form input {
 width:100%;
}


/* normal links */
a {
 color: black;
 text-decoration: none;
}
a:hover { color:blue; }

/* traditional links */
a.trad { color:blue; text-decoration:underline; }

/* nav links */
#nav a:hover, #nav input.link:hover {
 border-bottom: 1px solid #f60;
}

/* Category Listing */
div.cat {
 padding: 10px;
 background-color: #e3ecf1;
 border: 1px solid #bbb;
}
ul.cat li {
 font-size: 85%;
 padding:2px 0px; border:1px solid transparent;
 margin:0;
}
ul.cat { list-style-type:none; padding:0; margin:0; text-align:left; }

/* Company Listings */
.listing {
 /*outline:1px solid gold;*/
 padding:0.5em 0;
}
.listing_platinum {
 /*outline:1px solid silver;
 font-weight:bold;*/
}
.listing *, .listing_platinum * { padding:0; margin:0; border:none; }
/*.listing:hover { background-color:#ddd; }*/

.listing_platinum, .listing_gold {
    border-bottom: 1px solid gray;
}
.listing_platinum a, .listing_gold a {color: #900;}
.listing_platinum a:hover, .listing_gold a:hover {color: blue;}


.listing img {
    margin:5px 0 0 0;
    max-width:200px; max-height:100px;
    /*float:right;*/
}

.errorlist { color:red; font-weight:bold; }
/* color:#C00; margin:0; */

/* Layout */
body {
 margin: 0;
 padding: 0;
 color: black;
 background-color: #8fb7cf;
 background-image: url(../img/body-bg.gif);
 background-repeat: repeat-x;
 font-family: Arial, Helvetica, sans-serif;
}
#wrapper {
 width: 951px;
 margin: auto;
 background-image: url(../img/wrapper-bg.gif);
 background-repeat: repeat-y;
}
.content {
 width: 888px;
 margin: 0px 16px 0px 32px;
 padding-top: 15px;
}
.left, .middle, .right {
 /* display: inline-block;  /* not in FF2 or IE6,7 */
 vertical-align: top;
 padding: 0px;
 margin: 10px;
}
.left   { width:170px; }
.middle { margin-left:220px; margin-right:220px; }
.right  { width:200px; }

/* workaround for lack of inline-block */
.left   { float:left;}
.right  { float:right;}
.middle { min-height: 600px; width:auto; }

.footer {
 text-align: center;
}

#top {
 padding: 32px 24px 0px;
 height: 100px;
 background-image: url(../img/top-bg.gif);
 background-repeat: no-repeat;
 position: relative;
}
#bottom {
 height: 34px;
 background-image: url(../img/bottom-bg.gif);
}
#leftShadow {
 margin: 0;
 padding: 0;
 float: left;
 width: 16px;
 height: 200px;
 background-image: url(../img/leftShadow-bg.gif);
}
#rightShadow {
 margin: 0;
 padding: 0;
 float: right;
 width: 16px;
 height: 200px;
 background-image: url(../img/rightShadow-bg.gif);
}




/* Nav bar */
#nav {
 margin: 0;
 padding: 0;
 height: 40px;
 background-image: url(../img/nav-bg.gif);
 background-repeat:repeat-x;
 background-position: top center;
 text-align: center;
}
#nav_pipe {
 padding: 8px 20px 0px 20px;
}
#nav ul {
	margin-left: 0;
	padding-left: 0;
	display: inline;
} 
#nav li {
	margin-left: 0;
	padding: 2px 8px;
	border-left: 1px solid #ddd;
	list-style: none;
	display: inline;
	font-size: 14px;
}
#nav li.nav_firstlink {
	margin-left: 0;
	border-left: none;
	list-style: none;
	display: inline;
}
#nav a, #nav input.link {
 color: white;
 background: none;
 font-weight: bold;
 text-decoration: none;
 outline: none; border: none;
}
#nav form {
 display: inline;
 margin:0; padding:0;
}
#nav input {
 padding: 0;
}

