@charset "utf-8";
/* CSS Document */

/* -- site-wide ---------------------------------------------------------- */
* {
	margin: 0;
	padding: 0;
}
body {
	text-align: center; 
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
#wrapper {
	position: relative;
	text-align: left;
	margin: 0 auto;
	padding-top: 1px;  /* just to prevent inner div's margin from leaking out */
}
img#logo {
	position: absolute;
	z-index: 6;
	/* measurements defined in size-specific style-sheets */
}
a, a:visited {
	text-decoration: underline;
}
a img {
	border: none;
}

/* top navigation */
ul#topLinks {
	position: relative;
	width: 500px;
	float: right;
	list-style: none;
	z-index: 2
}
#topLinks li {
	float: right;
}
#topLinks li a, #topLinks li a:visited {
	float: left;
	display: block;
	padding: 5px 1em 5px 0;
	margin-left: 1em;
	line-height: 1.6em;
	text-decoration: none;
	background-image: none;
	border-right-style: solid;
	border-right-width: 1px;
}
#topLinks li a:hover {
	/* background-position: bottom right;
	background-repeat: no-repeat; */
	text-decoration: underline;
}
#topLinks li a#about {
	border-right: none;
}
/* -------------- */

/* -- page-specific ------------------------------------------------------------ */

/* --- home ------------ */
body#home {
	background-color:#333333;
	color: #99cc33;   
}
body#home a,  a:visited {
	color: #99cc33;
	border-color: #99cc33;
}
body#home #topLinks li a:hover {
	/* background-image: url(../images/underline_99cc33_on_160c57.gif); */
}
body#home p#housesCaption {
	position: relative;
	text-align: center;
}
body#home span.iq {
	color: #bf2391;
}

div#about {
	width: 400px;
	margin: 120px auto 30px auto;
}
div#about p {
	margin-bottom: 1em;
}

/* --- topic pages ------- */

body.topicPage {
	line-height: 1.5;
}
body.topicPage #footer {
	background-position: top right;
	background-repeat: no-repeat;
}
body.topicPage a:hover {
	text-decoration: underline;
}
body.topicPage #content {
	margin-top: 50px;
}
body.topicPage h1 {
	background-repeat: no-repeat;
	background-position: top right;
	margin-left: -9999px;
}
body.topicPage div.item {
	position: relative;
	width: 300px;
	margin-top: 40px;
	padding: .5em 25px 0 25px;
	background-position: bottom left;
	background-repeat: no-repeat;
}
																				/* adjustments for IE7 */
																				*:first-child+html body.topicPage div.item {
																					width: 350px;
																				}
																				/* adjustments for IE6 */
																				body.topicPage div.item {
																					_width: 350px;
																				}
body.topicPage div.item h3 {
	position: absolute;
	top: -30px;
	left: 0;
	width: 350px;
	height: 34px;
	background-position: top left;
	background-repeat: no-repeat;
}
body.topicPage div.item p {
	margin-top: .7em;
}
body.topicPage div.item .hidden {
	display: none;
}
body.topicPage div.item img.illustration {
	float: left;
	margin: 5px 10px 2px 0;
}
body.topicPage div.item .cornerLink {
	clear: both;
	position: relative;
	top: 15px;
	left: 210px;
}

body.topicPage #footer img#signpost {
	width: 207px;
	height: 250px;
	background-image: url(../images/signpost.png);
																				/* adjustments for IE6 */
																				_background-image: url(../images/signpost_B59ce7.jpg);
	background-repeat: no-repeat;
	position: relative;
	top: 10px;
	left: 55px;
	margin-bottom: 5px;
}
body.topicPage #copyright {
	position: relative;
	z-index: 5;
	white-space: nowrap;
}


/* --- geography page ------------ */

body#geo {
	background-color: #B59CE7;
	background-position: 50% 15%;
	background-repeat: no-repeat;
	color: #160c57;
}
body#geo a,  a:visited {
	color: #160c57;
	border-color: #160c57;
}
body#geo a:hover {
	color: #bf2391;
}
body#geo #topLinks li a:hover {
	/* background-image: url(../images/underline_160c57_on_B59CE7.gif);
	text-decoration: none; */
}
body#geo #topLinks li#geo a, body#geo #topLinks li#geo a:hover {
	color: #bf2391;
	cursor: default;
	background-image: none;
	text-decoration: none;
}
body#geo h1 {
	height: 119px;
	background-image: url(../images/signGeo.png);
																				/* adjustments for IE6 */
																				_background-image: url(../images/signGeo.gif);
}
body#geo div.item {
	background-image: url(../images/boxBorder_160c57.gif);
}
body#geo div.item h3.didYouKnow {
	background-image: url(../images/didYouKnow_160c57.gif);
}
body#geo div.item h3.amazing {
	background-image: url(../images/amazingFacts_160c57.gif);
}
body#geo div.item h3.check {
	background-image: url(../images/checkItOut_160c57.gif);
}
body#geo div.third {
	padding-bottom: 20px;
}
body#geo div.third img.illustration {
	display: block;
	margin: 5px;
}
body#geo span.iq {
	color: #bf2391;
}

body#geo #footer {
	background-image: url(../images/houseGeo.png);
	padding: 220px 130px 40px 0;
}
																				/* adjustments for IE6 */
																				body#geo #footer {
																					_background-image: url(../images/houseGeo.gif);
																				}


/* --- mechanics page ------------ */

body#mech {
	background-color: #6DADAD;
	color: #160c57;
}
body#mech a,  a:visited {
	color: #160c57;
	border-color: #160c57;
}
body#mech a:hover {
	color: #bf2391;
}
body#mech #topLinks li a:hover {
	/* background-image: url(../images/underline_160c57_on_B59CE7.gif); 
	text-decoration: underline; */
}
body#mech #topLinks li#mechanics a, body#mech #topLinks li#mechanics a:hover {
	color: #bf2391;
	cursor: default;
	background-image: none;
	text-decoration: none;
}
body#mech #topLinks li#about a {
	position: relative;
	background-color: #6dadad;
	z-index: 3;
}

body#mech h1 {
	height: 190px;
	margin-top: -70px;
	background-image: url(../images/signCogs.png);
	background-position: bottom right;
																				/* adjustments for IE6 */
																				_background-image: url(../images/signCogs.gif);	
																				_margin-top: 0;
																				_position: relative;
																				_top: -70px;

}
body#mech div.item {
	background-image: url(../images/boxBorder_160c57.gif);
}
body#mech div#cogs {
	width: 200px;
	float: left;
}
body#mech div.item h3.fun {
	background-image: url(../images/funWithCogs.gif);
}
body#mech #footer {
	background-image: url(../images/houseCogs.png);
	padding: 150px 130px 40px 0;
}
																				/* adjustments for IE6 */
																				body#mech #footer {
																					_background-image: url(../images/houseCogs.gif);
																				}

body#mech #footer img#signpost {
																				/* adjustments for IE6 */
																				_background-image: url(../images/signpost_6dadad.jpg);
}


/* --- books page ------------ */

body#books {
	background-color: #B5DA67;
	color: #160c57;
}
body#books a,  a:visited {
	color: #160c57;
	border-color: #160c57;
}
body#books a:hover {
	color: #bf2391;
}
body#books #topLinks li#books a, body#books #topLinks li#books a:hover {
	color: #bf2391;
	cursor: default;
	background-image: none;
	text-decoration: none;
}
body#books h1 {
	height: 277px;
	margin-top: 0px;
	background-image: url(../images/signBooks.png);
																				/* adjustments for IE6 */
																				_background-image: url(../images/signBooks.gif);	
}
body#books div.item {
	background-image: url(../images/boxBorder_160c57.gif);
}
body#books div.item h3.read {
	background-image: url(../images/goodRead.gif);
}
body#books #footer {
	background-image: url(../images/houseBooks.png);
	padding: 230px 130px 40px 0;
}
																				/* adjustments for IE6 */
																				body#books #footer {
																					_background-image: url(../images/houseBooks.jpg);
																				}

																				/* adjustments for IE6 */
																				body#books #footer img#signpost {
																				_background-image: url(../images/signpost_b5da67.jpg);
																				}