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

html, body {
	text-align: center;
	background-color: #CCCCCC;
	}

#wrapper {
   	text-align: left;
   	max-width: 1000px;
	margin-left: auto;
   	margin-right: auto;
	background-color: #FFFFFF;
	}

h1, h2, h3 {
	color: #333333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	}

#content h1 { 
	text-align: center; 
	margin-bottom: -5px;
	}

#content h2 {
	font-size: 1.2em;
	background-color: #003366;
	color: #FFFFFF;
	margin: 10px 2px 10px 2px;
	padding: 5px 5px 5px 10px;
	font-variant: small-caps;
	font-weight: bold;
	}

#content h3 {
	font-size: 1em;
	color: #333333;
	margin: 25px 10px 10px 10px;
	font-weight: bold;
	}
	
p {
	margin: 10px;
	font-family: "Trebuchet Ms", Helvetica, sans-serif;  
	font-size: .95em;
	line-height: 1.3em;
	}
	
li {
	font-family: "Trebuchet Ms", Helvetica, sans-serif;
	font-size: .95em;
	line-height: 1.3em;
	list-style-type: square;
	}

p.quiz {
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 15px;
	margin-bottom: 20px;
	padding: 10px;
	line-height: 1.5em;
	border: 2px solid #CCCCCC;
	width: 570px;
	}

.graphic {
	padding-bottom: 5px;
	text-align: center;
	}
	
.graphic p {
	font-size: .75em;
	color: #666666;
	margin: 2px 2px -2px 2px;
	}

.xxsmall {
	width: 100px;
	}

.xsmall {
	width: 170px;
	}

.small {
	width: 200px;
	}
	
.medium {
	width: 250px;
	}

.large {
	width: 300px;
	}
	
.xlarge {	
	width: 400px;
	}

.xxlarge {	
	width: 500px;
	}
		
.left {
	float: left;
	margin: 5px 5px 5px 0px;
	}

.right {
	float: right;
	margin: 5px 0px 5px 5px;
	}

.center {
	text-align: center;
	}
	
.center p {
	text-align: center;
	font-size: .75em;
	color: #666666;
	}

a.center {
	text-decoration: none;
	border-bottom: dashed 1px #CCCCCC;
	color: #666666;
	}

a:hover.center { font-weight: bold; }

a.none, a:visited.none {
	text-decoration: none;
	margin-bottom: 10px;
	}
	
img.right {
	float: right;
	margin: 5px;
	border: thin silver solid;
	}
	
img.left {
	float: left;
	margin: 5px;
	border: thin silver solid;
	}

img.quiz {
	float: left;
	margin-right: 5px;
	margin-top: -20px;
	margin-left: -20px;
	}

#t_row { 
	background-color: #CCCCCC;
	font-weight: bold;
	margin-top: 1px;
	margin-bottom: 1px;
	}
	
#table_specs {
	border: 2px solid #003366;
	width: 500px;
	font-family: "Trebuchet Ms", Helvetica, sans-serif;
	font-size: .9em;
	text-align: center;
	}
	
a.info {
	position: relative; /*this is the key*/
	z-index: 24;
	background-color: #FFFF99;
	color: #000;
	text-decoration: none;
	}

a.info:hover {z-index: 25; background-color: #ff0; }

a.info span {display: none; }

a.info:hover span { /*the span will display just on :hover state*/
	display: block;
	position: absolute;
	top: 2em;
	left: 0em;
	width: 15em;
	border: 1px solid #0cf;
	background-color: #99CCFF;
	color: #000;
	text-align: center;
	}
	
a.infoleft {
	position: relative; /*this is the key*/
	z-index: 24;
	background-color: #FFFF99;
	color: #000;
	text-decoration: none;
	}

a.infoleft:hover {z-index: 25; background-color: #ff0; }

a.infoleft span {display: none; }

a.infoleft:hover span { /*the span will display just on :hover state*/
	display: block;
	position: absolute;
	top: 2em;
	left: -15em;
	width: 15em;
	border: 1px solid #0cf;
	background-color: #99CCFF;
	color: #000;
	text-align: center;
	}

#periodic {
	width: 600px;
	height: 321px;
	background: url(images/periodic_all.gif);
	margin: 0 auto; 
	padding: 0;
	position: relative;
	}

#periodic li { margin: 0; padding: 0; list-style: none; display: block; position: absolute; }
#periodic a { display: block; }

#hydrogen { left: 0px; top: 0px; width: 126px; height: 41px; }
#vanadium { left: 107px; top: 81px; width: 89px; height: 62px; }
#iron { left: 228px; top: 81px; width: 48px; height: 62px; }
#nickel { left: 291px; top: 81px; width: 53px; height: 62px; }
#carbon { left: 415px; top: 11px; width: 66px; height: 64px; }
#oxygen { left: 480px; top: 11px; width: 70px; height: 64px; }
#copper { left: 254px; top: 81px; width: 66px; height: 62px; }
#nitrogen { left: 448px; top: 11px; width: 76px; height: 64px; }

#hydrogen a { height: 41px; }
#vanadium a { height: 62px; }
#iron a { height: 62px; }
#nickel a { height: 62px; }
#carbon a { height: 64px; }
#oxygen a { height: 64px; }
#copper a { height: 62px; }
#nitrogen a { height: 64px; }

#hydrogen a:hover { background: transparent url(images/periodic_all.gif) 0 -321px no-repeat; }
#vanadium a:hover { background: transparent url(images/periodic_all.gif) -107px -402px no-repeat; }
#iron a:hover { background: transparent url(images/periodic_all.gif) -228px -402px no-repeat; }
#nickel a:hover { background: transparent url(images/periodic_all.gif) -291px -402px no-repeat; }
#carbon a:hover { background: transparent url(images/periodic_all.gif) -415px -332px no-repeat; }
#oxygen a:hover { background: transparent url(images/periodic_all.gif) -480px -332px no-repeat; }
#copper a:hover { background: transparent url(images/periodic_all.gif) -254px -723px no-repeat; }
#nitrogen a:hover { background: transparent url(images/periodic_all.gif) -448px -653px no-repeat; }

#compounds {
	width: 600px;
	height: 250px;
	background: url(images/compounds.gif);
	margin: 0 auto; 
	padding: 0;
	position: relative;
	}

#compounds li { margin: 0; padding: 0; list-style: none; display: block; position: absolute; }
#compounds a { display: block; }

#aromatic { left: 0px; top: 0px; width: 198px; height: 250px; }
#olefin { left: 237px; top: 0px; width: 150px; height: 250px; }
#methanol { left: 411px; top: 0px; width: 188px; height: 250px; }

#aromatic a { height: 250px; }
#olefin a { height: 250px; }
#methanol a { height: 250px; }

#aromatic a:hover { background: transparent url(images/compounds.gif) 0 -250px no-repeat; }
#olefin a:hover { background: transparent url(images/compounds.gif) -237px -250px no-repeat; }
#methanol a:hover { background: transparent url(images/compounds.gif) -411px -250px no-repeat; }

#worldmap {
	width: 600px;
	height: 395px;
	background: url(images/bothworlds_trans.gif);
	margin: 0 auto; 
	padding: 0;
	position: relative;
	}

#worldmap li { margin: 0; padding: 0; list-style: none; display: block; position: absolute; }
#worldmap a { display: block; }

#canada { left: 0px; top: 10px; width: 200px; height: 100px; }
#venezuela { left: 122px; top: 156px; width: 86px; height: 130px; }

#canada a { height: 100px; }
#venezuela a { height: 130px; }

#canada a:hover { background: transparent url(images/bothworlds_trans.gif) 0 -409px no-repeat; }
#venezuela a:hover { background: transparent url(images/bothworlds_trans.gif) -122px -555px no-repeat; }

#fossil {
	width: 599px;
	height: 600px;
	background: url(images/fossil_collage_both.jpg);
	margin: 0 auto; 
	padding: 0;
	position: relative;
	}

#fossil li { margin: 0; padding: 0; list-style: none; display: block; position: absolute; }
#fossil a { display: block; }

#amber { left: 52px; top: 32px; width: 189px; height: 160px; }
#sediment { left: 238px; top: 0px; width: 153px; height: 194px; }
#mold { left: 394px; top: 46px; width: 193px; height: 186px; }
#mummy { left: 0px; top: 198px; width: 130px; height: 196px; }
#peat { left: 130px; top: 196px; width: 263px; height: 202px; }
#ice { left: 392px; top: 232px; width: 201px; height: 163px; }
#tar { left: 10px; top: 394px; width: 193px; height: 201px; }
#petrified { left: 206px; top: 396px; width: 191px; height: 192px; }
#coal { left: 398px; top: 396px; width: 189px; height: 204px; }

#amber a { height: 160px; }
#sediment a { height: 194px; }
#mold a { height: 186px; }
#mummy a { height: 196px; }
#peat a { height: 202px; }
#ice a { height: 163px; }
#tar a { height: 201px; }
#petrified a { height: 192px; }
#coal a { height: 204px; }

#amber a:hover { background: transparent url(images/fossil_collage_both.jpg) -52px -632px no-repeat; }
#sediment a:hover { background: transparent url(images/fossil_collage_both.jpg) -238px -600px no-repeat; }
#mold a:hover { background: transparent url(images/fossil_collage_both.jpg) -394px -646px no-repeat; }
#mummy a:hover { background: transparent url(images/fossil_collage_both.jpg) 0px -798px no-repeat; }
#peat a:hover { background: transparent url(images/fossil_collage_both.jpg) -130px -796px no-repeat; }
#ice a:hover { background: transparent url(images/fossil_collage_both.jpg) -392px -832px no-repeat; }
#tar a:hover { background: transparent url(images/fossil_collage_both.jpg) -10px -994px no-repeat; }
#petrified a:hover { background: transparent url(images/fossil_collage_both.jpg) -206px -996px no-repeat; }
#coal a:hover { background: transparent url(images/fossil_collage_both.jpg) -398px -996px no-repeat; }

#header, #content, #sub-section, #footer {
	overflow: hidden;
	display: inline-block;
	}
	
/* safari and opera need this */
#header,#footer {width: 100%; }

#header { 
	background: url(images/oil_rainbow_banner.JPG) no-repeat; 
	color: #FFFFFF;
	text-align: right;
	margin-right: 20px;
	}

.big {
	color: #CCCCFF;
	font-size: 4.5em;
	font-variant: small-caps;
	line-height: .5em;
	margin-right: 10px;
	}

.subtitle {
	font-size: 1.5em;
	margin-top: -35px;
	}

.backcolor1, .backcolor2, .backcolor3, .backcolor4, .backcolor5, .backcolor6, .backcolor7 {
	color: #000000;
	font: Georgia, "Times New Roman", serif;
	font-variant: small-caps;
	text-align: center;
	padding: 5px;
	margin: -1px -1px 5px -1px;
	border-bottom: #CCCCCC medium ridge;
	}

.backcolor1 { background-color: #99CC66; }

.backcolor2 { background-color: #FFCC33; }

.backcolor3 { background-color: #6699FF; }

.backcolor4 { background-color: #FF9933; }

.backcolor5 { background-color: #CC3333; }

.backcolor6 { background-color: #996699; }

.backcolor7 { background-color: #CCCC99; }

#jump { 
	margin: 2px 10px 2px 10px;
	padding: 2px;
	}

#jump p { 
	font-size: .8em;
	text-align: center;
	}

a.jump {
	border: none;
	color: #000066;
	}

.top {
	text-align: right;
	}

.top p {  
	text-align: right;
	font-size: .8em;
	}

a.top {
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: dashed 1px #CCCCCC;
	color: #000066;
	}	

a.box {
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: dashed 1px #CCCCCC;
	color: #000066;
	}

a:hover.box { font-weight: bold; }

a.none, a:visited.none {
	text-decoration: none;
	margin-bottom: 10px;
	}
	
#box { 
	border: 1px solid #CCCCCC;
	margin: 50px 2px 50px 2px;
	padding: 2px; 
	}

#navcontainer ul {
	padding-left: 0;
	margin-left: 0;
	background-color: #003366;
	color: white;
	float: left;
	width: 100%;
	font-family: Verdana, Helvetica, sans-serif;
}

#navcontainer ul li { display: inline; }

#navcontainer ul li a {
	padding: 0.2em 1em;
	background-color: #036;
	color: white;
	text-decoration: none;
	float: left;
	border-right: 2px solid #fff;
}

#navcontainer ul li a:hover {
	background-color: #6699CC;
	color: #fff;
}

#content {
	width: 75%;
	float: left;
	padding-right: 5px;
	display: inline;
}

#sub-section {
	width: 22%;
	float: right;
}
	
#footer {
	clear: both;
	background-color: #003366;
	font-size: 0.75em;
	line-height: -1em;
	color: #FFFFFF;
	text-align: center;
	border-top: 5px thick #003366;
}