/* ----- GLOBAL ----- */

@import url('../images/reset.css');
@import url('../images/thickbox.css');

body {
	margin: 0;
	padding: 0;
	font-size: 100%;
	font-family: Georgia, Palatino, 'Times New Roman', Times, serif;
	background: #524d48; /* was 6a6157 */
}

a,
a:active {
	color: #0000FF;
}

a:hover {
	text-decoration: none;
}

a:visited {
	color: #000000;
}

.hidden {
	display: none;
}



/* ----- LAYOUT ----- */

div#page {
	width: 832px;
	margin: 0 auto 12px;
	background: url('../images/bg_page3.jpg') no-repeat top #524d48; /* was cba26f */
}

div#header {
	position: relative;
	height: 172px;
}



/* ----- HEADER ----- */

h1#logo {
	float: left;
	width: 134px;
	height: 69px;
	position: relative;
	top: 49px;
	left: 64px;
	font-size: 0px;
	line-height: 0px;
	padding: 0;
	margin: 0;
	z-index: 2;
}

h1#logo a {
	width: 100%;
	height: 100%;
	position: absolute;
	text-indent: -5000px;
	background: url('../images/h1_century-21.gif') no-repeat;
}

h2#tagline {
	float: left;
	width: 392px;
	height: 31px;
	position: relative;
	top: 97px;
	left: 112px;
	font-size: 0px;
	line-height: 0px;
	padding: 0;
	margin: 0;
	z-index: 2;
}

h2#tagline a {
	width: 100%;
	height: 100%;
	position: absolute;
	text-indent: -5000px;
	background: url('../images/h2_serving-the-entire-flathead-valley.gif') no-repeat;
}

ul#navigation {
	clear: left;
	width: 768px;
	height: 40px;
	position: absolute;
	top: 133px;
	left: 32px;
}

ul#navigation li {
	float: left;
	height: 40px;
	position: relative;
	font-size: 0px;
	line-height: 0px;
	z-index: 2;
}

ul#navigation li a {
	width: 100%;
	height: 100%;
	position: absolute;
	text-indent: -5000px;
}
/*
ul#navigation li#main {
	width: 76px;
}

ul#navigation li#our-properties {
	width: 122px;
}

ul#navigation li#residential {
	width: 96px;
}

ul#navigation li#land {
	width: 54px;
}

ul#navigation li#commercial {
	width: 101px;
}

ul#navigation li#for-buyers-and-sellers {
	width: 158px;
}

ul#navigation li#news {
	width: 55px;
}

ul#navigation li#our-team {
	width: 106px;
}
*/
ul#navigation li#main {
	width: 76px;
}

ul#navigation li#our-properties {
	width: 127px;
}

ul#navigation li#residential {
	width: 100px;
}

ul#navigation li#land {
	width: 54px;
}

ul#navigation li#commercial {
	width: 107px;
}

ul#navigation li#for-rent {
	width: 83px;
}

ul#navigation li#testimonials {
	width: 109px;
}

ul#navigation li#our-team {
	width: 112px;
}

ul#navigation li#main, ul#navigation li#main a {
  background: url('../images/li_navigation_main.gif') top left no-repeat;
}
ul#navigation li#our-properties, ul#navigation li#our-properties a {
  background: url('../images/li_navigation_our-properties.gif') top left no-repeat;
}
ul#navigation li#residential, ul#navigation li#residential a {
  background: url('../images/li_navigation_residential.gif') top left no-repeat;
}
ul#navigation li#land, ul#navigation li#land a {
  background: url('../images/li_navigation_land.gif') top left no-repeat;
}
ul#navigation li#commercial, ul#navigation li#commercial a {
  background: url('../images/li_navigation_commercial.gif') top left no-repeat;
}
ul#navigation li#for-buyers-and-sellers, ul#navigation li#for-buyers-and-sellers a {
  background: url('../images/li_navigation_for-buyers-and-sellers.gif') top left no-repeat;
}
ul#navigation li#for-rent, ul#navigation li#for-rent a {
  background: url('../images/li_navigation_for-rent.gif') top left no-repeat;
}
ul#navigation li#news, ul#navigation li#news a {
  background: url('../images/li_navigation_news.gif') top left no-repeat;
}
ul#navigation li#testimonials, ul#navigation li#testimonials a {
  background: url('../images/li_navigation_testimonials.gif') top left no-repeat;
}
ul#navigation li#our-team, ul#navigation li#our-team a {
  background: url('../images/li_navigation_our-team.gif') top left no-repeat;
}
ul#navigation li#main a:hover,
ul#navigation li#our-properties a:hover,
ul#navigation li#residential a:hover,
ul#navigation li#land a:hover,
ul#navigation li#commercial a:hover,
ul#navigation li#for-buyers-and-sellers a:hover,
ul#navigation li#for-rent a:hover,
ul#navigation li#news a:hover,
ul#navigation li#testimonials a:hover,
ul#navigation li#our-team a:hover {
  background-position: bottom left;
}

/* ----- MAIN ----- */

div#main {
	width: 704px;
	margin: 20px 32px;
	padding: 32px;
	background: url('../images/bg_main.gif') repeat-x top #e3cea2;
}

div#main h2 {
	font-size: 1.75em;
	margin: 0 0 0.8125em;
}

div#main p {
	font-size: 0.8125em;
	margin: 0 0 1.0em;
	color: #444444;
	text-align: justify;
}



/* ----- FEATURED LISTING ----- */

div#listing-info,
div#listing-picture,
div#mini-listing {
	padding-top: 2.0em;
}

div#listing-info,
div#mini-listing p.listing-description {
	float: left;
	width: 288px;
}

div#listing-picture,
div#mini-listing a.listing-picture {
	float: right;
	width: 352px;
}

div#listing-info thead h3,
div#listing-info tfoot h4,
div#listing-picture h3,
div#mini-listing h3,
div.listing-results h3 {
	font-family: Georgia, Palatino, 'Times New Roman', Times, serif;
	font-size: 1.5em;
	color: #000000;
}
div#listing-info thead h3,
div#listing-picture h3,
div#mini-listing h3,
div.listing-results h3 {
	line-height: 2.0em;
}
div.listing-results h4 {
	font-size: 1.25em;
	line-height: 1.25em;
}

div#listing-info tfoot h4 {
	padding: 1.5em 0 4px;
	margin: 0 0 4px;
	border-bottom: 1px solid #FFFFFF;
	text-align: left !important;
}

div#listing-info tbody td  {
	padding: 8px 0;
	border-top: 1px solid #FFFFFF;
}

div#listing-info tbody td {
	padding: 4px 0;
	font-family: Verdana, Helvetica, Arial, sans-serif !important;
	font-size: 0.8125em;
	color: #444444;
}

div#listing-info td.caption {
	font-weight: bold;
}

div#listing-info tfoot  {
	margin-top: 1.0em;
	font-size: 0.8125em;
	text-align: justify;
	color: #444444;
}

div#listing-picture img,
div#mini-listing a.listing-picture img {
	border: 2px solid #FFFFFF;
}

div#listing-picture a,
div#mini-listing a.listing-picture {
	display: block;
	font-size: 0.75em;
	color: #444444;
	text-decoration: none !important;
}

div#listing-picture a strong,
div#mini-listing a.listing-picture strong {
	font-size: 1.33em;
	font-weight: bold;
	color: #000000;
}



/* ----- AGENTS and PROPERTIES ----- */

div#main.agents,
div#main.testimonials,
div#main.properties,
div#main.last-best-place {
	width: 736px;
	margin: 20px 32px;
	padding: 32px 0 32px 32px;
	background: url('../images/bg_main.gif') repeat-x top #e3cea2;
}

div#main.testimonials {
		margin-right: 25px;
}

div#main.agents p,
dl#agents,
div#main.properties p,
div#main.properties li,
div#main.last-best-place p,
dl#testimonials {
	padding-right: 32px;
}

dl#agents a,
dl#testimonials a,
ul#properties li a {
	text-decoration: none !important;
}

ul#properties li span.prop-placeholder {
	display: block;
	width: 210px;
	height: 210px;
	background: #999999;
	border: 1px solid #FFFFFF;
}

dl#agents {
	float: left;
	width: 152px;
}

ul#properties li {
	float: left;
	width: 157px;
}

dl#agents img,
ul#properties li img {
	border: 1px solid #FFFFFF;
}

ul#properties li span.caption {
	display: block;
	padding: 8px 0 32px;
	font-size: 0.8125em;
	line-height: 1.0em;
}

dl#agents dd.name {
	font-size: 0.8125em;
	line-height: 1em;
	padding-top: 8px;
	color: #000000;
}

dl#agents dd.title {
	font-size: 0.8125em;
	line-height: 1em;
	padding-bottom: 32px;
	font-style: italic;
}

dl#agents.staff {
	width: 704px;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #444444;
}

dl#agents dd {
	font-size: 0.8125em;
	color: #444444;
	padding-top: 4px;
	margin-bottom: 0px;
}

div.listing-results dl {
	font-size: 0.75em;
	color: #444444;
}

div.listing-results dl dt {
	padding-top: 1.33em;
	font-size: 1.33em;
}

div.listing-results dl dt a {
	font-weight: bold;
/*	text-transform: uppercase;*/
	color: #000000;
}

div.listing-results dl dd {
	display: inline;
}

img.bio {
	margin-right: 32px;
	margin-bottom: 32px;
	float: left;
}

dt.fn, dt.title {
	font-size: 1.75em;
}

dd.tel {
	font-size: 0.8125em;
	color: #444444;
	margin-top: 5px;
}

dd a.email {
	font-size: 0.8125em;
}

div#main p.bio {
	margin-top: 15px;
}

/* ----- LAST BEST PLACE ----- */

.lastbestplace {
        margin-right: 34px;
        border: 1px solid #FFFFFF;
        margin-bottom: 16px;
        margin-top: 16px;
}

.lastbestplacelast {
        margin-right: 0px !important;
        border: 1px solid #FFFFFF;
        margin-bottom: 16px;
        margin-top: 16px;
}

/* ----- FOOTER ----- */

div#footer {
	margin: 0 32px;
	padding: 0 0 32px;
	font-size: 0.75em;
}

div#footer a {
	color: #999999;
}

div#footer ul {
	padding: 0 0 1.5em;
	color: #FFFFFF;
}

div#footer ul li {
	margin-right: 8px;
	padding-right: 8px;
	border-right: 1px solid #000000;
	font-weight: bold;
	position: relative;
	display: inline;
}

div#footer ul li.last {
	margin-right: 0;
	padding-right: 0;
	border-right: none;
}

div#footer img.logos {
	float: left;
}

div#footer p {
	float: right;
	width: 586px;
	padding: 0 0 0 24px;
	color: #000000;
}

#montage {  
  width:  704px; 
  height: 92px; 
  padding: 0 0 32px 0;
  margin:  0;  
}
#montage img {  
  border:  0px;  
  width:  704px; 
  height: 92px; 
  top:  0; 
  left: 0 
} 

