div.overallWrapper { text-align:center; width:966px; margin:auto auto; font-family: Tahoma,Arial,sans-serif; font-size: 0.7em; }
div.overallWrapper a {text-decoration:none;}

.mastheadTopRight, .mastheadBottomRight { font-size:12px; font-weight:normal;  }
.mastheadTopRight a { color:#555555; }
.mastheadTopRight a:hover { color:white; }

/* ---------- masthead ---------- */


div.masthead { background:url(/img/inc/mastheadBg.png) no-repeat; height:120px; }


.mastheadLeft { width:273px; height:120px; float:left; margin-right:10px; text-align:left; }
.mastheadLeft a { display:block; width:210px; height:107px; margin-left:10px; } /* the home link */
.mastheadRight { width:628px; height:120px; float:left; }


.mastheadTopRight { width:628px; height:23px; padding-top:4px; } /* there's a hack for this */

/* these three rules fix problem of skype adding width to phone number and pushing it below its box */
.mastheadTopRight a { display:block; float:left; margin-right:55px; } 
.mastheadTopRight a.first  { margin-left:26px; } /* there's a hack for this */
.mastheadTopRight a.last  { margin-right:0; }
.mastheadTopRight a.skype { width:94px; margin-right:48px; }
/* end three skype rules */

.mastheadMiddleRight { height:34px; }
.mastheadMiddleRight .stickyChild { height:22px; height:32px; padding:0 0 0 26px; border-top:dotted 1px #dee8f0; border-bottom:dotted 1px #dee8f0; text-align:left; }
.mastheadMiddleRight .stickyChild a { color:white; /*border-bottom:dotted 1px white;*/ }
.mastheadMiddleRight .stickyChild a:hover { color:white; border-bottom:dotted 1px white; }
.mastheadMiddleRight .stickyChild .logInForm { margin:0; }

.mastheadBottomRight { width:628px; height:41px; margin:11px 0 0 0; padding-top:0px;  }


/* to fix double-margin bug; cuts margin from 26 to 13 */
* html .mastheadTopRight a.first  { margin-left:13px; }

/* for the extra padding below the logInSticky */
* html .mastheadMiddleRight .stickyChild { margin-bottom:-2px; }









body { background:url(/includes/images/pageBg.png) repeat-x top #ffffff; }

div.masthead { background:url(/includes/images/mastheadBg.png) no-repeat; }

div.outerBodyWrapper { background:url(/includes/images/outerBodyWrapperBg.png) repeat-y;  }

div.bodyWrapper { clear:both; background:url(/includes/images/bodyWrapperBg.png) no-repeat; }

div.outerBodyWrapperBottom { background:none; }

div.mastheadRight { width:683px; }

	div.mastheadTopRight { width:680px; height:24px; padding-right:3px; }
		div.mastheadTopRight a { borders:solid 1px red; color:white; display:block; float:right; margin:0 0 0 20px; padding:5px; }
			div.mastheadTopRight a:hover, div.mastheadTopRight a.stickyParentOn { background:#dae6ef; color:#4d7a9a; text-decoration:none; }
			 div.mastheadTopRight a.stickyParentOn {  }
			 
	div.mastheadMiddleRight { height:33px; padding:0 3px 0 2px; }
		div.mastheadMiddleRight div.stickyChild { display:none; background:#dae6ef; border:none; height:26px; color:#4d7a9a; padding-top:2px; text-align:center; padding-left:0; }
		div.mastheadMiddleRight div.stickyChildOn { display:block; }
			div.mastheadMiddleRight div.stickyChild div { borders:solid 1px red; }
				div.mastheadMiddleRight div.stickyChild .stickyChildText, div.mastheadMiddleRight div.stickyChild a { font-size:11px; color:#4d7a9a; }
					div.mastheadMiddleRight div.stickyChild a:hover { color:inherit; text-decoration:underline; }
		
	div.mastheadBottomRight { width:681px; margin-top:3px; padding-left:2px; borders:solid 1px red; }
		div.mastheadBottomRight a {  width:auto;margin:0; padding:9px 18px 0 18px !important; height:27px !important; backgrounds:white; font-size:14px; color:#4d7a9a; borders:solid 1px red; border-right:solid 1px #d7d7d7;float:left; }
		div.mastheadBottomRight a.first, div.mastheadBottomRight a.last { height:27px; padding:9px 17px 0 17px; }
		div.mastheadBottomRight a.first { -moz-border-radius-topleft:5px; -moz-border-radius-bottomleft:5px; }
		div.mastheadBottomRight a.last { border-right:none; padding-left:18px; -moz-border-radius-topright:5px; -moz-border-radius-bottomright:5px; }
		div.mastheadBottomRight a.noDropdown { height:27px !important; }
			div.mastheadBottomRight a:hover { font-weight:normal; color:#4d7a9a; background:#dae6ef; }
			div.mastheadBottomRight a.first:hover,  div.mastheadBottomRight a.last:hover { backgrounds:#2575ad; colors:white; }
			a.tab, a.tabOn { width:88px; height:37px; }
			a.tab:hover, a.tabOn { height:37px; background-color:#dae6ef; font-weight:normal; } /* the background colour change here is only for the tabs with no rollovers; the tabs w/ rollovers change colour via the at_show and at_hide js funcions */
			.logInBtn { display:block; float:left; height:20px; width:60px; background:white; border:none; color:#4d7a9a; cursor:pointer; }
			.logInBtn:hover { background:#2575ad; color:white; cursor:pointer; }
			.tabMenuChild { border:solid #d7d7d7 1px; border:none; border-top:none; width:200px; margin-top:-14px; margin-left:-1px; margin-left:0; padding:10px 0 10px 0; background:#dae6ef; z-index:12; }
				.tabMenuChild p { margin:0; padding:0; }
					.tabMenuChild a { padding:4px 16px; color:#4d7a9a; }
						.tabMenuChild a:hover { background:#2575ad; color:white; text-decoration:none; }
			
			
			
fieldset { margin:0; padding:0; border:none; }
			
			
/* rounded edges */


/* all */
div.mastheadTopRight a, .logInBtn, .roundBox { -moz-border-radius:5px; -webkit-border-radius:5px; }

/* top  */
.topRound { -moz-border-radius-topleft:5px; -moz-border-radius-topright:5px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; }

/* top left */
.topLeftRound, div.mastheadBottomRight a.first, .topLeftRound { -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; }

/* top right */
div.mastheadBottomRight a.last, .topRightRound { -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; }

/* bottom left */
div.mastheadBottomRight a.first, .bottomLeftRound { -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; }

/* bottom right */
div.mastheadBottomRight a.last, .bottomRightRound { -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; }



/* bottom only */
.tabMenuChild, div.mastheadMiddleRight div.stickyChild { -moz-border-radius-bottomleft:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px; }

/* turn off top */
.something { -moz-border-radius-topleft:0px; -moz-border-radius-topright:0px; -webkit-border-top-left-radius:0px; -webkit-border-top-right-radius:0px; }

/* turn off bottom */
div.mastheadTopRight a.stickyParentOn { -moz-border-radius-bottomleft:0px; -moz-border-radius-bottomright:0px; -webkit-border-bottom-left-radius:0px; -webkit-border-bottom-right-radius:0px; }


/* ie6 hacks */
* html div.mastheadTopRight { width:680px; }
* html div.mastheadBottomRight { width:681px; }
* html div.mastheadBottomRight a.last { margin-right:-3px; borders:solid 1px red; }
* html div.mastheadBottomRight a.first:hover, * html div.mastheadBottomRight a.last:hover { height:27px; }

/* tabs */
.tabMenuChild, .recentListingMenuChild { visibility:hidden; position:absolute; border:solid white 2px; border-top:0; background:#e2ebf2; width:200px; margin-top:-12px; margin-left:-2px; text-align:left; }
.tabMenuChild { padding-bottom:10px; }
.tabMenuChild h4 { margin:8px 8px 6px 8px; border-bottom:solid 1px #623405; }
.tabMenuChild p { line-height:18px; }
.tabMenuChild a { display:block; padding:1px 8px 1px 8px; }
.tabMenuChild a:hover { background-color:white; }

