/* =Whitespace reset
-----------------------------------------------
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
}
img{
   margin:0;
   padding:0;
}


a img { border: 0; }

fieldset {
	border: 1px solid #666;
	padding: 10px;
}

/* =Structure
-----------------------------------------------
*/
body {
	padding-bottom: 30px;
}

#wrapper {
	width: 960px;
	margin: 0 auto;
}

#header {
	width: 960px;
	height: 196px;
	margin: 0 auto;
	position: relative;
}

#navbar {
	width: 960px;
	height: 34px;
	margin: 0 auto;
}

#content {
	width: 766px;
	float: left;
	padding-left: 15px;
}

#main {
	width: 557px;
	padding: 0 22px;
	float: right;
}

body.detailview #content,
body.searchpage #content {
	width: 781px;
	padding-left: 0px;
}

body.detailview #main,
body.searchpage #main {
	float: none;
	width: 737px;
}

.page {
	padding-top: 25px;
}

#sidebar {
	width: 150px;
	float: left;
	padding-top: 30px;
}

#sidebar2 {
	width: 150px;
	float: right;
	padding-top: 30px;
	padding-right: 15px;
	_overflow: hidden;
}

#footer {
	clear: both;
	position: relative;
}

.clearboth {
	clear: both;
}

/* Self-clearing elements
   http://www.positioniseverything.net/easyclearing.html] */
.clear { display: inline-block; }   
.clear:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }

/* =Backgrounds
-----------------------------------------------
*/
body { background: #fff url('/ezstatic/data/farmandforest/i/summer.jpg') center top no-repeat; }
#wrapper { background: transparent url('/ezstatic/data/farmandforest/i/content.gif') 180px top repeat-y; }
#footer { background: #97b1cd url('/ezstatic/data/farmandforest/i/footer.jpg') left top repeat-x; }
#main { background: transparent url('/ezstatic/data/farmandforest/i/main.jpg') left top repeat-x; }

/* seasonal overrides */
body.winter { background-image: url('/ezstatic/data/farmandforest/i/winter.jpg'); }
body.spring,
body.summer { background-image: url('/ezstatic/data/farmandforest/i/summer.jpg'); }
body.fall { background-image: url('/ezstatic/data/farmandforest/i/fall.jpg'); }

/* detailview */
body.detailview #wrapper,
body.searchpage #wrapper { background: transparent url('/ezstatic/data/farmandforest/i/content-dv.gif') 0px top repeat-y; }
/* =Header
-----------------------------------------------
*/
#logo {
	position: absolute;
	left: 0;
	top: 28px;
}

/* =Navbar
-----------------------------------------------
*/
#navbar {
	position: relative;
	background: #4b5da7 url('/ezstatic/data/farmandforest/i/navbar.png') left top no-repeat;
}

#navbar li {
	position: absolute;
	top: 0;
	list-style: none;
	height: 34px;
}

#navbar a {
	display: block;
	height: 34px;
	text-indent: -9999px;
	background: transparent url('/ezstatic/data/farmandforest/i/navbar.png') left top no-repeat;
}

#nb1 { left: 0px; width: 78px; }
#nb2 { left: 78px; width: 136px; }
#nb3 { left: 214px; width: 172px; }
#nb4 { left: 386px; width: 165px; }
#nb5 { left: 551px; width: 117px; }
#nb6 { left: 668px; width: 108px; }
#nb7 { left: 776px; width: 78px; }
#nb8 { left: 854px; width: 106px; }

#nb1 a { background-position: -0px 0; }
#nb2 a { background-position: -78px 0; }
#nb3 a { background-position: -214px 0; }
#nb4 a { background-position: -386px 0; }
#nb5 a { background-position: -551px 0; }
#nb6 a { background-position: -668px 0; }
#nb7 a { background-position: -776px 0; }
#nb8 a { background-position: -854px 0; }

#nb1 a:hover { background-position: -0px -34px; }
#nb2 a:hover { background-position: -78px -34px; }
#nb3 a:hover { background-position: -214px -34px; }
#nb4 a:hover { background-position: -386px -34px; }
#nb5 a:hover { background-position: -551px -34px; }
#nb6 a:hover { background-position: -668px -34px; }
#nb7 a:hover { background-position: -776px -34px; }
#nb8 a:hover { background-position: -854px -34px; }


/* dropdowns */
#navbar li ul {
	position: absolute;
	left: -9999px;
	display: block;
	white-space: nowrap;
	margin: 0;
	background: #c3cfe1 url('/ezstatic/data/farmandforest/i/dropdown.jpg') left top repeat-x;
	padding: 8px 18px;
	_width: 1%;
}

#navbar li:hover ul,
#navbar li.sfhover ul {
	left: 0;
	z-index: 100;
	top: 34px;
	height: auto; /* sticky suckerfish fix */
}

#navbar li ul li {
	position: relative;
	height: auto;
	display: block;
	float: none;
	padding: 0;
	background: transparent;
}

* html #navbar li ul li {
	height: 100%;
}

#navbar li ul li a,
#navbar li ul li a:hover {
	display: block;
	text-indent: 0;
	padding: 0 4px 0 4px;
	color: #282828;
	text-decoration: none;
	background: transparent;
	line-height: 20px;
	height: 20px;
	margin: 0;
	float: none;
	width: auto;
}

ul#navbar li ul li a:hover {
	text-decoration: underline;
	color: #282828;
}

/* level 3 navigation */
#navbar li ul ul {
	margin: -57px 0 0 100%;
}

#navbar li:hover ul ul,
#navbar li.sfhover ul ul{
	left: -9999px;
}

#navbar li ul li:hover ul,
#navbar li ul li.sfhover ul{
	left: auto;
}

#navbar li ul li ul a,
#navbar li ul li ul a:hover {
	padding: 0 4px;
	color: #e7cf6c;
	background: transparent;
}

ul#navbar li ul li ul a:hover {
	background: transparent;
	text-decoration: underline;
	color: #e7cf6c;
}


/* =Type and colors
-----------------------------------------------
*/
body {
	font: normal 0.75em/1.67 Verdana, sans-serif;
	color: #3c3c3c;
}

p,
h1,
ul,
ol,
table { margin-bottom: 13px; }

ul, ol { margin-left: 20px; }

ul ul, ol ol { margin-bottom: 0; }

li { margin-bottom: 4px;}

a {
	color: #4c5eaa;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font: bold 175%/1.05 "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	color: #fff;
}

h2 { font: bold 150%/1.05 "Lucida Grande", "Lucida Sans Unicode", sans-serif; }
h3 { font: bold 125%/1.05 "Lucida Grande", "Lucida Sans Unicode", sans-serif; }
h4 { font: bold 110%/1.05 "Lucida Grande", "Lucida Sans Unicode", sans-serif; }
h5, h6 { font: bold 100%/1.05 "Lucida Grande", "Lucida Sans Unicode", sans-serif; }

/* =Content
-----------------------------------------------
*/
/* basic contact form  */
form.contactform label { padding: 0; }

form.contactform label input,
form.contactform label select,
form.contactform label textarea,
form.contactform label.checkbox { display: block; }

form.contactform label.checkbox input { display: inline; }

form.contactform label textarea {
	width: 280px;
	height: 150px;
	font-size: 100%;
}

.page img {
	max-width: 100%;
}

.page p img{
  margin: 8px;
}


/* =Sidebars
-----------------------------------------------
*/
#sidebar h2,
#sidebar2 h2 {
	color: #4c5eaa;
	margin-bottom: 10px;
	font: normal normal 125%/1 "Century Gothic", "Apple Gothic", sans-serif;
	text-transform: uppercase;
}

#sidebar h3 {
	font-size: 100%;
	text-transform: uppercase;
}

#quicksearch,
#oneclicksearches,
#blogposts,
#loginbar,
#askaquestion {
	margin-bottom: 20px;
}

#dynamicsearchbar {
	padding: 0;
	border-width: 0;
	background: transparent;
}

#dynamicsearchbar .overlabel-wrap input {
	width: 97%;
	margin-bottom: 6px;
}

#dynamicsearchbar button {
	float: none; 
}

a#quicksearchcustomlink {
	margin-left: 0;
	background: transparent url('/ezstatic/data/ryeteam/i/btn-advanced.gif') left top no-repeat;
	width: 144px;
}

#dynamicsearchbar p {
	margin-bottom: 0;
}

#dynamicsearchbar p#sidebar-search-button {
	margin: 6px 0;
}

div.togglebox span a,
div.togglebox span a label,
div.togglebox span a label b {
	color: #4c5eaa;
	font-weight: normal;
}

#oneclicksearches a {
	font-weight: normal;
	color: #000;
}

.psslist,
#blogposts ul {
	list-style: none;
	margin-left: 0px;
}

.psslist li,
#blogposts li {
	margin-bottom: 6px;
	line-height: 1.3;
}

.psslist a,
#blogposts a {
	color: #3c3c3c;
}

.searcharrow,
.searchcnt {
	display: none;
}

.join img{
	margin: 0px;
}

#signuptab,
#logintab {
	border: 1px solid #dbdbdb;
	background: #f5f2f0;
	padding: 14px 11px;
}

#logintab .overlabel-wrap input {
	width: 95%;
	margin-bottom: 4px;
}

#loginbar .ui-tabs-nav {
	top: 0px;
}

#loginbar .ui-tabs-nav a {
	background: transparent url('/ezstatic/data/farmandforest/i/tab.gif') right top no-repeat;
	padding: 2px 14px 3px 8px;
	border-left: 1px solid #dbdbdb;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 92%;
	color: #fff;
}

#loginbar .ui-tabs-nav a:hover,
#loginbar .ui-tabs-nav .ui-tabs-selected a {
	background: transparent url('/ezstatic/data/farmandforest/i/tab-active.gif') right top no-repeat;
	color: #4c5eaa;
}

#signuptab p {
	margin-bottom: 4px;
}

#signuptab ul {
	list-style: none;
	font-size: 107%;
	font-weight: bold;
	line-height: 1.33;
	color: #4c5eaa;
	margin: 0 0 10px 15px;
}

#signuptab li {
	list-style: disc;
	margin: 0;
}

#askaquestion {
	border: 1px solid #dbdbdb;
	background: #f5f2f0;
	padding: 14px 11px;
	font-size: 92%;
}

#questionbox strong {
	display: block;
}

#questionform input.text,
#questionform textarea {
	margin-bottom: 4px;
	width: 120px;
	font-size: 100%;
}

#askaquestion .send {
	text-align: right;
	margin: 0;
	padding-right: 4px;
}

.featuredagent {
	text-transform: uppercase;
	font-size: 92%;
	margin-bottom: 40px;
}

.sidebarlink {
	margin-left: -14px;
	_margin-left: 0;
}

/* Basic Overlabel styles (used with /data/js/overlabel-ala.js) */
div.overlabel-wrap {
	position:relative;
}

label.overlabel-apply {
	position:absolute;
	top:4px;
	left:5px;
	z-index:1;
	font-family: verdana,sans-serif;
	font-size: 11px;
	line-height: 1;
}

/* =Footer
-----------------------------------------------
*/
#footernavbar {
	list-style: none;
	text-align: center;
	line-height: 1;
	font-family: Arial, sans-serif;
	margin: 0;
}

#footernavbar li {
	display: inline;
	line-height: 28px;
	padding: 0 12px 0 10px;
	background: transparent url('/ezstatic/data/ryeteam/i/footernavseparator.gif') right center no-repeat;
	list-style: none;
}

#footernavbar li:last-child,
#footernavbar li#last {
	background: transparent;
	padding-right: 10px;
}

#footernavbar a {
	color: #1168b1;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 100%;
}

#footernavbar a:hover {
	text-decoration: underline;
	color: #1168b1;
}

#footer .footercolumn a {
	color: #fff;
}

.footercolumn {
	width: 33%;
	text-align: center;
	float: left;
	color: #fff;
	padding-top: 20px;
}

#usmtag {
	clear: both;
	padding: 0 20px 1em 20px;;
	text-align: right;
	margin: 0;
}

/* =Home Page
-----------------------------------------------
*/
body#home #main {
	width: 601px;
	padding: 0;
}

body#home #ezarticleviewtpl {
	padding: 0 22px 20px 22px;
}

#featuredlistingswrap {
	background: #fff url('/ezstatic/data/farmandforest/i/home-bottom.jpg') left top repeat-x;
	padding: 20px 22px 60px 22px;
}

#featuredlistingswrap h2 {
	color: #fff;
	border-bottom: 1px solid #fff;
	padding-bottom: 15px;
	margin-bottom: 25px;
}

#featuredlistingswrap .list_image {
	float: left;
	margin-bottom: 20px;
	padding-top:8px;
}

#featuredlistingswrap .list_details {
	margin-left: 220px;
	margin-bottom: 20px;
	font-size: 92%;

}

#featuredlistingswrap .Town {
	float: left;
	width: 70%;
	color: #000;
}

#featuredlistingswrap .Town a {
	text-transform: uppercase;
	color: #000;
}

#featuredlistingswrap .List_Price {
	float: right;
	text-align: right;
	font-weight: bold;
	color: #000;
	width: 30%;
}

/* =Other pages
-----------------------------------------------
*/
/* advanced search */
#advancedsearch td {
	vertical-align: top;
	padding-bottom: 12px;
}

#advancedsearch .proptype {
	width: 33%;
	float: left;
}

#advancedsearch select {
	width: 160px;
}

/* agent manager */
.agentblock {
	width: 50%;
	text-align: center;
	float: left;
	height: 350px;
}

#agentview .mlsnavbarright {
	width: 300px;
	padding-left: 206px;
}

#agentview .mlsnavbarright .plus {
	display: none;
}

.realtorright {
	width: 350px;
}

/* detail view */ 
.mlsdisclaimer img {
	background: #fff;
}

/* contact pages */
#contact input,
#contact textarea {
	display: block;
}

#contact input[type=radio] {
	display: inline;
}

/* basic auto-email overrides */
#emailcontent { width: 550px; background: #fff; }

#emailcontent td { font-size: 12px; }