
#topmenu {
	position: relative;
	width: 100%;
	height: 25px;
	background-color: #fff;
	text-align: right;
}

#topmenu p,
#topmenu a {
	text-decoration: none;
	border-left: 1px solid #663;
	font-size: .8em;
	color: #663;
	font-weight: bold;
	margin: 5px 0;
	padding-left: 10px;
	padding-right: 10px;
}
#topmenu p {
	border: 0;
}

#header {
	position: relative;
	width: 100%;
	height: 120px;
	background-color: #d2d2aa;
	border-top: 1px solid #966;
}

#headertext {
	position: absolute;
	left: 350px;
	top: 45px;
	width: 450px;
}

#headertext h1 {
	font-style: italic;
	font-size: 14px;
}

#logo {
	position: absolute;
	left: 10px;
	top: 18px;
	width: 326px;
	height: 89px;
}

#nemap {
	position: absolute;
	top: 15px;
	right: 5px;
	width: 81px;
	height: 93px;
}

#hmenu {
	position: relative;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 30px;
	background: #5e5e2f url(dback.png) top left repeat-x;
}

#hmenu a {
	position: absolute;
	top: 5px;
	width: 140px;
	text-decoration: none;
	color: #fff;
	font-size: .8em;
	font-weight: bold;
	text-align: center;
}

#hmenu a:hover {
	text-decoration: underline;
}

.hmenui {
	position: absolute;
	top: 5px;
	width: 140px;
	text-decoration: none;
	color: #fff;
	font-size: .8em;
	font-weight: bold;
	text-align: center;
}


#row1 {
	position: relative;
	width: 100%;
	height: 291px;
	background: #699 url(pageback.png) top left repeat-y;
	border-bottom: 2px solid #966;
}


#searchmap {
	width: 417px;
	height: 100%;
    float:left;
}

#searchform {	
	width: 190px;
	height: 100%;
	margin-left: 0px;
	background-color: #699;
	text-align:center;
    float:left;
}
#xsearchform a {
	text-decoration: none;
	position: absolute; 
	bottom: 6px; 
	right: 6px;
	color: #194c4c;
}

#topright h2,
#searchform h2 {
	font-style: italic;
	font-size: .9em;
	color: #194c4c;
	margin: 1em auto;
	
}

#topright input,
#topright select,
#searchform input,
#searchform select {
	margin: 8px auto;
	width: 150px;
	display: block;
	font-size:10px;
}	
#submitbutton {
	font-weight: bold;
	background-color: #699;
	border-right: 1px solid #243535;
	border-bottom: 1px solid #243535;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
}

#aboutus {	
	position: absolute;
	right: 170px;
	top: 0;
	width: 170px;
	height: 100%;
	margin-left: 0px;
	background: #699;
}

#nhseacoast {	
	position: absolute;
	right: 0px;
	top: 0;
	width: 170px;
	height: 100%;
	margin-left: 0px;
	background: #699;
}

#nhseacoast img,
#aboutus img
 {border: 0;}

#row2 {
	position: relative;
	width: 100%;
	background: #699 url(row2back.png) top left repeat;
}

#r2left {
	position: relative;
	float: right;
	background: #fff url(gbleft2.png) top left repeat-y;
	width: 607px;
}

#r2leftgrad {
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #cc9 url(gbleft2b.png) top left repeat-y;
}

#r2left h1 {
	padding-left: 15px;
	padding-top:10px;
	height: 25px;
	background: #cc9 url(gbleft.png) top left repeat-x;
	color: #000;
	font-size: 14px;
}

#r2right {
	float: right;
	width: 340px;
	border-bottom: 2px solid black;
	background: #033 url(gbright.png) top left repeat-x;
}

#r2right h1 {
	font-size: .9em;
	margin: 1em;
	font-style: italic;
	color: #cc9;
}

#r2right h2 {
	font-size: .8em;
	margin: 1em;
	color: #cc9;
}
	
.aa_featuredproperty {
	width: 99%;
	margin-left: 1%;
	background-color: #fff;
	background: transparent;
}

.aa_featuredproperty img {
	float: left;
	margin: 10px;
	border: 0;
}

.aa_featuredproperty p {
	font-size: .8em;
	padding: .5em 1em;
}

.aa_featuredproperty a {
	text-decoration: none;
	color: green;
}

.aa_featuredproperty a:hover {
	text-decoration: underline;
}

#footer {
	position: relative;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 30px;
	background-color: #000;
}

/* below here is for advanced search */
#topright {
	position: absolute;
	top: 0;
	right: 0; 
	width: 510px;
	height: 100%;
	margin-left: 0px;
	background-color: #699;
	text-align:center;
}


#townselections {
	width: 450px;
	margin: 20px auto;
}

#marketarea {
	float: left;
	width: 160px;
}

#townnav {
	margin: 50px 10px 50px 10px;
	background-color: #699;
	float: left;
	width: 90px;
}

#searchform a,
.searchbuttons a,
#townnav a {
	text-decoration: none;
	font-size: 12px;
	position: static;
	display: block;
	width: 100%;
	margin-top: 3px;
	padding: 2px 0;
	background-color: #699;
	color: white;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	border-right: 1px solid #444;
	border-bottom: 1px solid #444;
}

#searchform a { width: 80%; }

#searchform a:hover,
.searchbuttons a:hover,
#townnav a:hover {
	color: black;
	border-top: 1px solid #444;
	border-left: 1px solid #444;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
}


#selectedtowns {
	float: left;
	width: 160px;
}



.searchbuttons a {
	display: inline;
	line-height: 30px;
	width: 200px;
	padding: 5px;
}

#aapropertyclass {
	float: right;
	display: block;
	font-size: 12px;
	width: 80%;
	padding: 0px;
	padding-bottom: .2em;
	margin: 0;
	margin-right: 10px;
	border: 0px solid black;
}

#aapropertyclass input {
	margin: 0 5px 0 15px;
	padding-top: 0;
}


#aaminmax {
	float: left;
	width: 90%;
	margin-left: 10px;
	font-size: 12px;
	
}

#aaminmax p {
	margin: 0;
	padding: 0;
	margin-left: 20px;
}

.minsel {
	padding: 0;
	margin-left: 10px;
	width: 120px;

}

.maxsel {
	padding: 0;
	margin-left: 10px;
	width: 120px;

}

#minhead {
	margin-left: 100px;
	display: block;
	width: 110px;
	font-weight: bold;
	font-size: 14px;
	background-color: #666;
}

#maxhead {
	float: left;
	margin-left: 230px;
	display: block;
	width: 110px;
	font-weight: bold;
	font-size: 14px;
	background-color: #666;
}

.aasearchheader {
	background-color: #699;
	color: #fff;
	font-weight: bold;
	font-size: 1em;
	margin-top: 1em;
	margin-bottom: .5em;
	padding: 5px 0 5px 10px;
	border-bottom: 1px solid black;
	border-right: 1px solid black;
}

#aaminmax label {
	clear:left; 
	display:block; 
	float:left; 
	width:100px; 
	text-align:right; 
	padding-right:5px; 
	margin-bottom:0.5em; 
	font-style:normal;
}

#aaminmax select {
	margin-bottom: .2em;
	font-size: 12px;
}


.aaminmaxdiv {
	clear: both;
	border-bottom: 0px solid black;
	margin: 0;
	padding: 0;
	width: 98%;
}

#row2left {
	float: left;
	width: 40%;
}

#row2right {
	float: left;
	width: 60%;
}

#row2 h2 {
	dipslay: block;
	width: 80%;
	font-size: 16px;
	font-weight: bold;
	margin-left: 10px;
	margin-top: 10px;
}

.searchbuttons {
	float: right;
	margin: 10px;
	background: transparent;
}

.subbutton {
	display: inline;
	float: left;
	font-weight: normal;
	background-color: #699;
	color: #fff;
	border-right: 1px solid #243535;
	border-bottom: 1px solid #243535;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
}
