/* =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, img, 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;
}

a img { border: 0; }

a:active { outline: none; }

p,
h3,
h4,
h5,
h6,
ul,
ol { margin-bottom: 19px; }

ul, ol { margin-left: 20px; }

ul ul, ol ol { margin-bottom: 0; }

li { margin-bottom: 4px;}

fieldset {
	border: 1px solid #666;
	padding: 10px;
}

/* 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;
}

/* =Structure
-----------------------------------------------
*/
#wrapper {
	width: 960px;
	margin: 0 auto;
}

#header {
	width: 100%;
	height: 143px;
	position: relative;
	z-index: 10;
}

#navbar {
	height: 32px;
	margin: 0;
	list-style: none;
}

#content {
	margin: 0 16px 16px 16px;
}

#main {
	float: left;
	width: 690px;
	padding: 0 20px 20px 20px;
}

#sidebar {
	float: right;
	width: 182px;
	padding-bottom: 55px;
}

#footer {
	clear: both;
	height: 186px;
	position: relative;
}

/* 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; }

/* =Background
-----------------------------------------------
*/
body { background: #fff url('/ezstatic/data/stowevermontrealestate/i/body.gif') center top repeat-y; }
#wrapper { background: #fff; }
#header { background: transparent url('/ezstatic/data/stowevermontrealestate/i/header.jpg') left top no-repeat; }
#navbar { background: transparent url('/ezstatic/data/stowevermontrealestate/i/navbar.gif') left top no-repeat; }
#content { background: #fff url('/ezstatic/data/stowevermontrealestate/i/content-int.gif') left top repeat-y; }
#footer { background: transparent url('/ezstatic/data/stowevermontrealestate/i/reciprocity-logos.gif') 762px 130px no-repeat; }

/* =Type and colors
-----------------------------------------------
*/
body {
	font: normal 0.6875em/1.45 Verdana, sans-serif;
	color: #444e62;
}

h1,
h2,
p,
ul,
ol { margin-bottom: 18px; }


h3,
h4,
h5,
h6,
ul ul,
ol ol { margin-bottom: 0; }

li { margin-bottom: 4px;}

ul, ol { margin-left: 20px; }

a {
	color: #444e82;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font: normal bold 164%/41px "Trebuchet MS", sans-serif;
	color: #fff;
	background: #88a6c1;
	margin: 0 -20px 18px -20px;
	padding: 0 20px;
}

h2 { font: normal bold 145%/1 "Trebuchet MS", sans-serif; }
h3 { font: normal bold 127%/1 "Trebuchet MS", sans-serif; }
h4 { font: normal bold 100%/1 Verdana, sans-serif; }
h5, h6 { font: normal bold 100%/1 Verdana, sans-serif; }

/* =Header
-----------------------------------------------
*/
#logolink {
	position: absolute;
	left: 16px;
	top: 0;
	width: 215px;
	height: 143px;
}

#logolink a {
	display: block;
	width: 215px;
	height: 143px;
	text-indent: -9999px;
}

#socialicons {
	position: absolute;
	right: 32px;
	top: 12px;
}

#headernav {
	position: absolute;
	right: 16px;
	top: 54px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 135px;
	font: normal normal 14px/1.5 "Gill Sans", "Trebuchet MS", Tahoma, sans-serif
}

#headernav li {
	margin: 0;
	padding: 0;
	text-align: right;
}

#headernav a {
	font-weight: normal;
}

#headernav li ul {
	width: 130px;
	list-style: none;
	background: #fff;
	position: absolute;
	left: -9999px;
	top: -1.5em;
	border: 1px solid #96A8BC;
	line-height: 1;
}

#headernav ul li {
	margin: 0;
}

#headernav ul li a {
	display: block;
	width: auto;
	padding: 0 5px;
	text-indent: 0;
}

#headernav ul li a:hover {text-decoration: underline;}

ul#headernav li:hover ul, 
ul#headernav li.sfhover ul {
	left: -130px;
	top: -1.5em;
}

#headernav ul li h3 {
	font-size: 100%;
	color: #000;
	margin: 5px;
}

/* =Navigation
-----------------------------------------------
*/
#navbar li {
	float: left;
	height: 32px;
	position: relative;
	margin: 0;
}

#navbar a {
	float: left;
	height: 32px;
	text-indent: -9999px;
	background: transparent url('/ezstatic/data/stowevermontrealestate/i/navbar.gif') left top no-repeat;
	outline: none;
}

#nb1 a { width: 83px; background-position: 0px 0; }
#nb2 a { width: 152px; background-position: -83px 0; }
#nb3 a { width: 178px; background-position: -235px 0; }
#nb4 a { width: 159px; background-position: -413px 0; }
#nb5 a { width: 159px; background-position: -572px 0; }
#nb6 a { width: 134px; background-position: -731px 0; }
#nb7 a { width: 95px; background-position: -865px 0; }

#nb1 a:hover { background-position: 0px -32px; }
#nb2 a:hover { background-position: -83px -32px; }
#nb3 a:hover { background-position: -235px -32px; }
#nb4 a:hover { background-position: -413px -32px; }
#nb5 a:hover { background-position: -572px -32px; }
#nb6 a:hover { background-position: -731px -32px; }
#nb7 a:hover { background-position: -865px -32px; }

/* =Content
-----------------------------------------------
*/
#mlsrightbar {
	width: 370px;
}

.gradient-block {
	border-width: 0;
	background: #f4f7f9;
}

/* =Sidebar
-----------------------------------------------
*/
#sidebar h2 {
	margin: 0;
}

#mobilesitelink {
	margin: 0;
	border-bottom: 16px solid #fff;
}

#myhomefinder {
	border-bottom: 16px solid #fff;
	height: 300px;
}

#myhomefinder h2 {
	margin-bottom: 16px;
}

#signuptab,
#logintab {
	background: #f4f7f9;
	border-width: 0;
	margin: 0 16px 16px 16px;
	padding: 10px;
}

#signuptab ul {
	font-size: 127%;
	font-weight: bold;
	color: #004990;
	margin-left: 15px;
}

#loginbar .tabmenu {
	margin-left: 16px;
	text-transform: uppercase;
	top: 0;
}

.ui-tabs-nav a {
	color: #fff;
	background: transparent url('/ezstatic/data/stowevermontrealestate/i/tab.gif') right top no-repeat;
	font-weight: normal;
	padding-bottom: 2px;
	padding-top: 2px;
}

.ui-tabs-nav a:hover,
.ui-tabs-nav .ui-tabs-selected a {
	color: #54aa43;
	background: transparent url('/ezstatic/data/stowevermontrealestate/i/tab-active.gif') right top no-repeat;
	border-width: 0;
}

p.join {
	margin: 0;
}

#logintab .overlabel-wrap input {
	width: 96%;
	font-size: 100%;
}

#logintab p {
	margin: 0;
}

#askaquestion {
	border-bottom: 16px solid #fff;
	background: #c3e1bc;
}

#askaquestion,
#popularsearches {
	height: 450px;
}

#askaquestion textarea,
#askaquestion input.text {
	font-size: 100%;
	width: 96%;
}

.asksend {
	text-align: right;
	margin: 4px 3px 0 0;
}

#questionbox {
	background: #f8fcf8;
	margin: 16px;
	padding: 10px;
}

#questionbox p {
	color: #54aa43;
	font-size: 109%;
}

#questionbox .call {
	font-size: 116%;
	color: #282828;
}

#questionbox strong {
	color: #282828;
}

#searchbymaplink {
	border-bottom: 16px solid #fff;
	margin: 0;
}

#inthenews .news {
	margin: 16px;
}

/* =Footer
-----------------------------------------------
*/
#footercontact {
	height: 37px;
	line-height: 37px;
	padding-left: 165px;
	background: #c8d6e2 url('/ezstatic/data/stowevermontrealestate/i/footer-contact.gif') left top no-repeat;
	margin: 0 16px 16px 16px;
	font-family: "Trebuchet MS", Tahoma, sans-serif;
	font-size: 109%;
}

#footercontact span {
	font-weight: bold;
	margin-left: 15px;
}

#footercontact a {
	font-weight: normal;
}

#cornerofmain {
	position: absolute;
	right: 16px;
	top: -61px;
}

#usmtag {
	position: absolute;
	left: 16px;
	top: 142px;
}

#allcb {
	padding: 0 16px;
	margin: 0;
	text-align: right;
	color: #004a90;
	font-size: 109%;
}

#allcb a {
	color: #004a90;
}

/* =Home Page
-----------------------------------------------
*/
body#home #content { background: #fff url('/ezstatic/data/stowevermontrealestate/i/content-home.gif') left top repeat-y; }

body#home #main {
	width: 532px;
	position: relative;
	padding: 40px 0 0 0;
}

body#home #ezarticleviewtpl {
	background: #c8d6e2 url('/ezstatic/data/stowevermontrealestate/i/home-main.gif') right top no-repeat;
	border-bottom: 16px solid #fff;
	padding: 0 10px 0 20px;
	
}

body#home #agent #ezarticleviewtpl { /* this, oddly enough, is a hook for the default, non-agent site */
	height: 316px;
}

body#home h1.articleMainHeading {
	position: absolute;
	left: 0;
	top: 0;
	width: 710px;
	font-style: italic;
	margin: 0;
	padding-right: 0;
}

body#home #ezarticleviewtpl p {
	margin-bottom: 9px;
}

body#home #sidebar {
	width: 396px;
}

body#home #sidebarleft {
	width: 198px;
	float: left;
	padding-top: 41px;
}

body#home #sidebarright {
	width: 182px;
	float: right;
	border-left: 16px solid #fff;
	_overflow: hidden;
}

body#home #searchbymaplink {
	border-bottom-width: 0;
}

body#home #quicksearchblock {
	border-bottom: 16px solid #fff;
	height: 315px;
	background: #c8d6e2 url('/ezstatic/data/stowevermontrealestate/i/quicksearch.jpg') left top no-repeat;
}

#quicksearch {
	padding-top: 105px;
	padding-left: 16px;
}

#quicksearch input.submit {
	display: inline;
	margin-top: 5px;
}

.qs-custom {
	position: relative;
	top: -5px;
	margin-left: 25px;
}

form#quicksearch select {
	width: 160px;
}

form#quicksearch input#mlsno,
form#quicksearch input#keywords {
	width: 152px;
}

body#home #popularsearches,
body#home #publications {
	margin-left: 16px;
}

body#home #popularsearches {
	border-bottom: 16px solid #fff;
}

.searcharrow,
.searchcnt {
	display: none;
}

#popularsearches .psslist {
	margin: 0;
	padding: 10px 16px;
}

#popularsearches li {
	list-style: none;
}

#popularsearches a {
	font-weight: normal;
}

body#home #publications {
	background: #cfe7c9;
	padding-bottom: 6px;
	height: 166px;
}

body#home #publications p {
	padding: 0 10px;
	text-align: center;
	margin-bottom: 6px;
}

body#home #publications a {
	color: #54aa43;
}

body#home #inthenews {
	clear: both;
	margin-left: 16px;
	background: #c8d6e2;
	border-top: 16px solid #fff;
}

body#home #inthenews h2 {
	background: #88a6c1;
}

/* featured listings */
#homelistings {
	background: #c3e1bc;
}

.headingfeaturedlistings {
	display: none;
}

#featuredheader {
	height: 51px;
	background: #9cbc95 url('/ezstatic/data/stowevermontrealestate/i/hdr-featured.gif') left top no-repeat;
	font: normal bold 11px/51px Verdana, sans-serif;
	text-transform: uppercase;
	text-align: right;
	padding-right: 16px;
}

#homelistings table#relistviewwrap {
	border-top-width: 0px;
	margin: 0 0 0 20px;
	width: 500px;
}

#homelistings .listfavleft { float: left; }
#homelistings .listfavright { float: right; }
#homelistings .relistviewleft img { margin-top: 0; }

#homelistings td {
	padding-bottom: 1em;
	vertical-align: top;
}

#homelistings,
#homelistings a {
	color: #455642;
}

#homelistings .relistviewleft img {
	border-width: 0;
	padding: 0;
	margin-left: 0;
}

#homelistings .relistviewleft {
	width: 265px;
	text-align: left;
}

#homelistings .relistviewright {
	margin: 0;
}

#homelistings .listtown {
	height: auto;
	background: transparent;
	float: left;
	font: normal bold 11px/1 Verdana, sans-serif;
	text-transform: uppercase;
}

#homelistings .listtown a {
	background: transparent;
	font: normal bold 11px/1 Verdana, sans-serif;
}

#homelistings .listfavright {
	float: right;
}

#homelistings .listimagecnt {
	display: none;
}

#homelistings .listviewmoreinfo a {
	color: #54aa43;
	margin-left: 1em;
}

/* =Specific Pages
-----------------------------------------------
*/
/* search by map */
div#lamoillemap {
	position: relative;
	float: right;
	margin-top: 20px;
	padding-right: 150px
}
div#townlist { margin-top: 40px; }

div#townmapinstructions { position:absolute; }

input#clicktoselect {
	border:0; background-color:#fff;
	font-size: 14px;
	width: 100px;
}

input#townDisplay {
	border:0;
	background-color:#fff;
	font-weight:bold;
	position:absolute;
	font-size: 16px;
	width: 120px;
}

/* agent detail view */
.realtorright {
	width: 470px;
}

/* agent list */
.agentblock {
	float: left;
	width: 180px;
	height: 200px;
	padding-top: 10px;
	margin-right: 40px;
	margin-bottom: 2em;
	text-align: center;
	background: #fff;
}

.agentblock img {
	height: 150px;
}

/* property detail view */
.primaryvirtualtourlink a {
	padding: 6px 10px;
	background: #6886a1 url('/ezstatic/data/stowevermontrealestate/i/buttongrad.gif') left 2px repeat-x;
	border: 1px solid #486681;
	color: #fff;
	text-shadow: 0px 1px 0px #222;
}

.primaryvirtualtourlink a:hover {
	background: #88a6c1;
	border: 1px solid #486681;
}