body {
	margin: 10px 0 10px 0; padding: 0;
	font: normal 12px/12px Georgia,Times,"Times New Roman",serif;
	background: #FFFFFF url("i/page_bg.gif") repeat-x;
}

img { margin: 0; padding: 0; border: none; }

br { clear: both; height: 0; margin: 0; padding: 0; }

#wrapper {
	position: relative;
    margin: 0 auto; padding: 0;
	margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 706px;
	background: transparent url("i/wrapper_bg.gif") repeat-y;
}

#header {
	background: transparent url("i/header.gif") no-repeat;
	height: 116px;
	width: 706px;
	margin: 0; padding: 0;
	text-align: center;
}

#home #header_image,
#listings #header_image,
#selected #header_image,
#services #header_image,
#resources #header_image,
#about #header_image,
#contact #header_image,
#adminorder #header_image, 
#admincreate #header_image, 
#adminedit #header_image
 {
	height: 33px; width: 540px;
	background: transparent url("i/header_home.jpg") no-repeat;
	position: absolute;
	top: 78px; left: 161px;
}
#listings #header_image, #selected #header_image, #adminorder #header_image, #admincreate #header_image, #adminedit #header_image
 { background: transparent url("i/header_listings.jpg") no-repeat; }
#services #header_image
 { background: transparent url("i/header_services.jpg") no-repeat; }
#resources #header_image
 { background: transparent url("i/header_resources.jpg") no-repeat; }
#about #header_image
 { background: transparent url("i/header_about.jpg") no-repeat; }
#contact #header_image
 { background: transparent url("i/header_contact.jpg") no-repeat; }

#main {
	margin: 0 auto;	
	padding: 20px 20px 90px 20px;
	background: transparent url("i/watermark.gif") no-repeat bottom center;
	border: none;
	width: 668px;
}

#admin #main {
	padding: 20px 20px 90px 20px;
}

#main_left {
	float: left;
	width: 320px;
	border: 1px solid #000000;
	border-width: 0 1px 0 0;
	text-align: left;
	padding-right: 20px;
}

#main_right {
	float: right;
	width: 305px;
	margin-left: 10px;
	text-align: left;
}

.clear {
	clear: both;
}

#footer {
	margin: 0; padding: 0;
	height: 40px;
	background: #FFFFFF url("i/footer.gif") no-repeat 0 0;
	font: bold 12px/14px Georgia,Times,"Times New Roman",serif;
}

#feature {
	margin: 10px 0;
}

#feature a {
	border: 1px solid #A6A6A6;
	padding: 3px;
	width: 292px;
	height: 82px;
	display: block;
}

#feature a:hover {
	border: 1px solid #000000;
}

#feature span { display: none;}

/* ---------------------------------------------------------------------------------------------------------*/

.listing {
	margin-bottom: 30px;
}

.listing_left {
	margin: 0; padding: 7px 0 0 0;
	width: 209px;
	float: left;
	border: #000000 1px solid;
	background-color: #FFFFFF;
	position: relative;
}
.status {
	position: absolute;
	top: 7px; left: 4px;
}

.listing_right {
	margin: 0;
	padding: 7px 5px 5px 5px;
	!padding-bottom: 30px;
	width: 446px;
	position: relative;
	left: -1px;
	float: left;
	border: #000000 1px solid;
	border-width: 1px 1px 1px 0;
	background: #EEEEEE url('i/listing_right_bg.gif') top left repeat-y; 
}

.listing_left_toolbar {
	margin: 5px 0 0 0; padding: 0;
	left: -1px;
	height: 29px; width: 209px;
	background-color: #FFFFFF;
	text-align: center;
}

a.map, a.brochure, a.inquiry {
	height: 24px;
	background: transparent url("i/listing_toolbar.gif") 0 0 no-repeat; 
	margin: 1px 10px 0 0;
	display: block;
	float: left;
}

a.map span, a.brochure span, a.inquiry span {
	display: none;
}

a.map {
	width: 48px;
	background-position: 5px 0;
}

a.brochure {
	width: 74px;
	background-position: -55px 0;
}

a.inquiry {
	width: 66px;
	background-position: -138px 0;
	margin-right: 0;
}

.contactbox {
	background-color: #EEEEEE;
	margin-top: 20px;
	padding: 10px 0 20px 0;
	border: 1px solid #A6A6A6;
}

/* ---------------------------------------------------------------------------------------------------------*/

/* TYPOGRAPHY */

#home h1,
#contact h1,
#listings h1,
#selected h1,
#about h1,
#services h1,
#resources h1 {
	font: bold 13px/15px arial,helvetica,sans-serif;
	height: 40px;
	margin-left: -5px;
}

#home h1 {
	background: transparent url("i/tagline_specializing.gif") no-repeat 0 0;
}

#contact h1 {
	background: transparent url("i/tagline_contact.gif") no-repeat 0 0;
}

#listings h1,
#selected h1 {
	background: transparent url("i/tagline_specializing.gif") no-repeat 0 0;
}

#about h1 {
	background: transparent url("i/tagline_largefirm.gif") no-repeat 0 0;
}

#services h1 {
	background: transparent url("i/tagline_specializing.gif") no-repeat 0 0;
}

#resources h1 {
	background: transparent url("i/tagline_resources.gif") no-repeat 0 0;
}

#home h1 span,
#contact h1 span,
#listings h1 span,
#selected h1 span,
#about h1 span,
#services h1 span,
#resources h1 span {
	display: none;
}

h2 {
	font: bold 16px/16px arial,helvetica,sans-serif;
	text-align: left;
	color: #013347;
	margin: 0; padding: 0;
}

h3 {
	font: bold 13px/13px arial,helvetica,sans-serif;
	text-align: left;
	color: #013347;
	margin: 0; padding: 5px 0;
} 

#listings h3,
#selected h3 {
	font: bold 13px/13px arial,helvetica,sans-serif;
	text-align: left;
	color: #013347;
	width: 655px;
	margin: 10px 0 0 0; padding: 5px;
	border: 1px solid black;
	border-width: 1px 1px 0 1px;
	background: #EEEEEE url('i/h3_bg.gif') bottom left repeat-x;
} 

p {
	font: bold 12px/16px Georgia,Times,"Times New Roman",serif;
	margin: 5px 0 15px 0;
	text-align: left;
}

.req { color: #FF0000; font-weight: bold; }

.listing_spacer { margin-bottom: 40px; }

/* ROWS */

div.row {
	margin: 0 auto;
	height: 13px;
	margin-bottom: 10px;
	width: 400px;
	font: normal 12px/15px Georgia,Times,"Times New Roman",serif;
	zoom: 1;
}
div.row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

div.row span.label {
	float: left;
	width: 120px;
	margin: 0; padding: 0;
	text-align: left;
	color: #013347;
}

div.row span.data {
	float: right;
	width: 270px;
	margin: 0; padding: 0;
	text-align: left;
}

div.contactrow {
	clear: both;
	margin: 0 auto;
	width: 310px;
	font: normal 12px/13px Georgia,Times,"Times New Roman",serif;
	text-align: center;
}

div.contactrow span.contactlabel {
	float: left;
	width: 100px;
	margin: 0; padding: 0;
	text-align: right;
	display: block;
	margin-bottom: 10px;
}

div.contactrow span.contactdata {
	float: right;
	width: 200px;
	margin: 0; padding: 0;
	text-align: left;
	display: block;
	margin-bottom: 10px;
} 

.contactbox .row {
	clear: both;
	margin: 0 auto;
	width: 310px;
	font: normal 12px/13px Georgia,Times,"Times New Roman",serif;
	text-align: center;
}

.contactbox .row .label {
	float: left;
	width: 70px;
	margin: 0; padding: 0;
	text-align: right;
	display: block;
	margin-bottom: 10px;
}

.contactbox .row .data {
	float: right;
	width: 230px;
	margin: 0; padding: 0;
	text-align: left;
	display: block;
	margin-bottom: 10px;
} 


ul, li {
	font: normal 12px/29px Georgia,Times,"Times New Roman",serif;
}

.bold {
	font-weight: bold;
}

#footer p {
	font: bold 12px/16px Georgia,Times,"Times New Roman",serif;
}

/* ---------------------------------------------------------------------------------------------------------*/

/* RESOURCE CITIES DIVS */

#alameda, #santaclara, #santacruz, #sanmateo {
	display: none;
	font: normal 11px/15px Georgia,Times,"Times New Roman",serif;
}

/* FIELDSETS */

fieldset {
	margin: 20px 0;
	border: 1px solid #013347;
	padding: 10px;
}

legend {
	font: bold 12px/12px Georgia,Times,"Times New Roman",serif;
	color: #000000;
}

/* ---------------------------------------------------------------------------------------------------------*/

/* LINKS */

a, a:link, a:visited {
	color: #013347;
	text-decoration: underline;
}

a:hover {
	color: #00A1E1;
}

a.toggle {
	font: normal 10px/19px arial,helvetica,sans-serif;
	margin: 10px 0 0 0;
}

a#homelink {
	padding: 50px 80px;
	width: 1px; height: 1px;
	position: absolute;
	top: 0px; left: 1px;
	background: url("i/transparent.gif");
}

#contactlink {
	font: normal 12px/13px Georgia,Times,"Times New Roman",serif;
}

a.enlarge {
	color: #868787;
	font: normal 10px/16px arial,helvetica,sans-serif;
}

#footer a {
	padding: 0;
	color: #013347;
	font: bold 12px/14px Georgia,Times,"Times New Roman",serif;
	text-decoration: underline;
}
#footer a:hover { color: #00A1E1; }

#small_left {
	margin: 1px 0 0 0; padding: 0;
	width: 162px;
	float: left;
}

#small_center {
	margin: 0; padding: 0 0 0 30px;
	text-align: left;
	width: 353px;
	float: left;
}

#small_right {
	margin: 0; padding: 0;
	width: 183px;
	float: right;
}

.line { border: 1px #000 solid; }

div.row span.formw {
	float: right;
	width: 335px;
	text-align: left;
} 

/* ---------------------------------------------------------------------------------------------------------*/

/* ADMIN */

#admintable {
	margin: 0 auto;
}

#admintable p {
	font-weight: normal;
}

#admintable p.help {
	color: #666;
}

#admintable tr td {
	text-align: left;
}

.dark_green {
	background-color: #58E4C6;
}

.light_green {
	background-color: #96F5E1;
}

.dark_blue {
	background-color: #7FCEEE;
}

.light_blue {
	background-color: #AFE4F9;
}

