/* CSS Document */
* {position: relative;}
img {behavior: url(iepngfix.htc);}
html {position: static;}
body {
	background: url(images/opbg.jpg) center top no-repeat;
	background-color: black;
	padding: 23px 0px 20px;
	margin: 0px;
}
#title {
	width: 760px;
	height: 95px;
	background: black;
	margin: 0px auto;
}
#title img {border: none;}
#content {
/*the hidden overflow fixes a strange IE7 quirk */
	overflow: hidden;
	min-height: 550px;
	width: 730px;
	padding: 10px 15px 50px;
	margin: 0px auto;
	background: url(images/borderbg.gif) repeat-y;
	background-color: #DDD;
	font-family: Verdana,Helvetica,sans-serif;
	font-size: .75em;
}
#footer {
	width: 730px;
	margin: 0px auto;
	padding: 20px 15px 10px;
	background: url(images/borderbg.gif) repeat-y;
	background-color: #DDD;
}
#footer img {vertical-align: middle}
#bottom {
	width: 760px;
	height: 7px;
	line-height: 1px;
	margin: 0px auto;
	padding: 0px;
	background: url(images/bottombg.gif) no-repeat;
	font-size: 1px;
	background-color: #EEE;
}

/* the div containing the navigation menu */
#navdiv {
	width: 146px;
	overflow: visible;
	font-family: "Trebuchet MS", Geneva, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-variant: small-caps;
	font-weight: bold;
	letter-spacing: 1px;
	background: url(images/menubg.gif);
	top: -10px;
	left: -10px;
	float: left;
	text-indent: 0px;
	text-align: left;
	z-index: 90;
	border: 1px solid black;
	border-width: 0px 1px 1px 0px;
}
/* all ul's */
#navdiv ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	width: 130px;
}
/* all li's */
#navdiv li {padding-bottom: 4px;}
/* second level lists */
#navdiv li ul {display: none;}
#navdiv li:hover ul, #navdiv li.over ul {
	display: block;
	position: absolute;
	top: 0px;
	left: 162px;
	z-index: 90;
}
/* links */
#navdiv li a {
	display: block;
	width: 130px;
/*	height: 40px;*/
	line-height: 40px;
	padding-left: 10px;
	border: 2px solid black;
	border-left-width: 0px;
	background-color: black;
	color: white;
	text-decoration: none;
}
ul#nav li a:hover {
	text-decoration: underline;
	border-color: #363A61;
}
ul#nav li:hover a, ul#nav li.over a {width: 150px;}

/* fix IE6 error */
ul#nav:hover, ul#nav.over {margin-right: -20px;}

#navdiv li ul li {padding-bottom: 0px;}
#navdiv li ul li a {border-left-width: 2px;}
/* dropshadow for menu */
ul#nav li ul.menushadow {
	display: none;
	position: absolute;
	border: 0px;
}
ul#nav li:hover ul.menushadow, ul#nav li.over ul.menushadow {
	display: block;
	z-index: 89;
	margin-top: 3px;
	margin-left: 3px;
	width: 164px;
}
ul#nav li ul.menushadow li {
	display: block;
	width: 164px;
	height: 44px;
	background: url(images/grey35.png) right bottom no-repeat;
	behavior: url(iepngfix.htc);
}

/* background positions for each link need to be specified to create the effect you see */
li#solsys a {background: url(images/nav/solsys.jpg);}
li#solsys a#solsys1 {background-position: 0px 0px; line-height: 20px;}
li#solsys a#solsys1:hover {background-position: 0px -84px;}
li#solsys a#solsys2 {background-position: -164px 0px;}
li#solsys a#solsys2:hover {background-position: -164px -84px;}
li#solsys a#solsys3 {background-position: -164px -44px;}
li#solsys a#solsys3:hover {background-position: -164px -128px;}

li#giant a {background: url(images/nav/giant.jpg);}
li#giant a#giant1 {background-position: 0px 0px;}
li#giant a#giant1:hover {background-position: 0px -172px;}
li#giant a#giant2 {background-position: -164px 0px; line-height: 20px;}
li#giant a#giant2:hover {background-position: -164px -172px;}
li#giant a#giant3 {background-position: -164px -44px;}
li#giant a#giant3:hover {background-position: -164px -216px;}
li#giant a#giant4 {background-position: -164px -88px;}
li#giant a#giant4:hover {background-position: -164px -260px;}
li#giant a#giant5 {background-position: -164px -132px;}
li#giant a#giant5:hover {background-position: -164px -304px;}

li#moons a {background: url(images/nav/moons.jpg);}
li#moons a#moons1 {background-position: 0px 0px;}
li#moons a#moons1:hover {background-position: 0px -172px;}
li#moons a#moons2 {background-position: -164px 0px; line-height: 20px;}
li#moons a#moons2:hover {background-position: -164px -172px;}
li#moons a#moons3 {background-position: -164px -44px; line-height: 20px;}
li#moons a#moons3:hover {background-position: -164px -216px;}
li#moons a#moons4 {background-position: -164px -88px; line-height: 20px;}
li#moons a#moons4:hover {background-position: -164px -260px;}

li#rings a {background: url(images/nav/rings.jpg);}
li#rings a#rings1 {background-position: 0px 0px;}
li#rings a#rings1:hover {background-position: 0px -128px;}
li#rings a#rings2 {background-position: -164px 0px;}
li#rings a#rings2:hover {background-position: -164px -128px;}
li#rings a#rings3 {background-position: -164px -44px;}
li#rings a#rings3:hover {background-position: -164px -172px;}
li#rings a#rings4 {background-position: -164px -88px;}
li#rings a#rings4:hover {background-position: -164px -216px;}

li#kbos a {background: url(images/nav/kbos.jpg);}
li#kbos a#kbos1 {background-position: 0px 0px; line-height: 20px;}
li#kbos a#kbos1:hover {background-position: 0px -84px;}
li#kbos a#kbos2 {background-position: -164px 0px;}
li#kbos a#kbos2:hover {background-position: -164px -84px;}
li#kbos a#kbos3 {background-position: -164px -44px;}
li#kbos a#kbos3:hover {background-position: -164px -128px;}

li#spacejunk a {background: url(images/nav/spacejunk.jpg);}
li#spacejunk a#spacejunk1 {background-position: 0px 0px;}
li#spacejunk a#spacejunk1:hover {background-position: 0px -172px;}
li#spacejunk a#spacejunk2 {background-position: -164px 0px;}
li#spacejunk a#spacejunk2:hover {background-position: -164px -172px;}
li#spacejunk a#spacejunk3 {background-position: -164px -44px;}
li#spacejunk a#spacejunk3:hover {background-position: -164px -216px;}
li#spacejunk a#spacejunk4 {background-position: -164px -88px;}
li#spacejunk a#spacejunk4:hover {background-position: -164px -260px;}

li#exoplanets a {background: url(images/nav/extrasolar.jpg);}
li#exoplanets a#exoplanets1 {background-position: 0px 0px; line-height: 20px;}
li#exoplanets a#exoplanets1:hover {background-position: 0px -128px;}

li#missions a {background: url(images/nav/missions.jpg);}
li#missions a#missions1 {background-position: 0px 0px;}
li#missions a#missions1:hover {background-position: 0px -216px;}
li#missions a#missions2 {background-position: -164px 0px;}
li#missions a#missions2:hover {background-position: -164px -216px;}
li#missions a#missions3 {background-position: -164px -44px;}
li#missions a#missions3:hover {background-position: -164px -260px;}
li#missions a#missions4 {background-position: -164px -88px;}
li#missions a#missions4:hover {background-position: -164px -304px;}
li#missions a#missions5 {background-position: -164px -132px;}
li#missions a#missions5:hover {background-position: -164px -348px;}
li#missions a#missions6 {background-position: -164px -176px;}
li#missions a#missions6:hover {background-position: -164px -392px;}

li#lessons a {background: url(images/nav/lessons.jpg);}
li#lessons a#lessons1 {background-position: 0px 0px; line-height: 20px;}
li#lessons a#lessons1:hover {background-position: 0px -128px;}

div.randomimg {
	/*display: inline fixes the IE6 doubled float-margin bug*/
	display: inline;
	float: right;
	border: 2px solid black;
	width: 552px;
	height: 152px;
	margin: 5px 14px 5px 0px;
	padding: 0;
	background-position: 1px 1px;
	background-repeat: no-repeat;
	background-color: white;
}
div.randomimg img {padding: 1px;}
h1 {
	display: inline;
	float: right;
	font-weight: bold;
	width: 551px;
	margin: 5px 15px 5px 0px;
	border: 3px double black;
	border-right: 1px solid #999;
	border-left: 1px solid #999;
	font-size: 2.1em;
	line-height: 35px;
	letter-spacing: 10px;
	background: url(images/h1bg.gif) bottom repeat-x;
	background-color: #EEE;
	text-align: center;
}
h1 span {
	color: black;
	text-align: center;
	display: inline;
	border: 0px;
	margin: 0px;
	padding: 0px;
	top: 0px; left: 0px;
}
h1 span.shadow {
	display: block;
	color: #999;
	width: 551px;
	left: 50%;
	margin: 2px 0px 0px -273px;
	position: absolute;
}
h2 {
	text-transform: uppercase;
	color: #A52A2A;
	display: block;
	float: none;
	font-size: 1.5em;
	line-height: 14px;
	border-bottom: 1px dashed black;
	padding-left: 7px;
	margin: 0px 4px 0px;
}
div.section {
	clear: both;
	display: block;
	width: 712px;
	border: 1px solid #2B5C32;
	float: left;
	border-top-width: 0px;
	padding: 8px 8px 24px 8px;
	margin-bottom: 55px;
	z-index: 35;
	background-color: #EEE;
}
div.right, div.left, div.center {
	z-index: 35;
	border: 1px dotted #666;
	border-top-width: 0;
	text-align: center;
	text-indent: 0px;
	background: url(images/captionbg.gif) bottom repeat-x;
	background-color: white;
	font-variant: small-caps;
}
div.right {
	float: right;
	margin: 8px 0px 8px 8px;
}
div.left {
	float: left;
	margin: 8px 8px 8px 0px;
}
div.center {
	float: none;
	margin: 0 auto;
	clear: both;
}
div.right img, div.left img, div.center img {
	border: 2px solid black;	
	padding: 2px 2px 2px 2px;
	margin: -1px -1px 0;
}
p img {
	display: block;
	margin: 6px;
	border: 1px solid black;
	padding: 1px;
	background-color: white;
}
#footer img {
	float: none;
	border-width: 0px;
	margin: 0px;
}
table.flash {
	float: none;
	clear: both;
	border: 1px solid black;
	margin: 15px auto;
	padding: 0px;
	text-indent: 0px;
}
p {
	z-index: 30;
	text-align: justify;
	line-height: +1.3em;
	margin: 15px 0 0;
	text-indent: 25px;
}
a.math {
	z-index: 35;
	display: block;
	float: none;
	width: 70px;
	border: 1px solid black;
	text-align:  center;
	text-indent: 0px;
	padding: 4px;
	margin: 3px 7px 0px 0px;
	background: url(images/h1bg.gif) bottom repeat-x;
	background-color: #EEE;
}
a.math:hover {border-color: #862; color: #540;}
a {color: #36D;}
a:link {text-decoration:  none; color: #36D;}
a:visited {text-decoration: none; color: #93B;}
a:hover {text-decoration:  underline;}
a:active {color: #F33;}
#sections {
	float: left;
	padding: 0px 8px;
	margin: 7px 0px 5px -11px;
	border-left: 1px solid black;
	width: 570px;
}
.section ul {
	margin-top: 5px;
	text-indent: 0px;
	list-style-image: url(images/bulletstar.png);
}
.prevnext, .prevnextbottom {
	height: 26px;
	line-height: 26px;
	/*font-variant: small-caps;*/
	font-size: 0.95em;
}
.prevnext {
	display: inline;
	float: right;
	width: 565px;
	padding: 0;
	margin: 0px 8px 15px 0px;
}
.prevnextbottom {
	float: none;
	display: block;
	width: 700px;
	margin: 0px 16px 5px;
}
.prevnext img, .prevnextbottom img {border-width: 0; padding: 2px; vertical-align: middle;}
a.prev, a.next {
	display: inline;
	padding: 0px 5px;
	background-image: url(images/dimstripes.gif);
	border: 1px solid #ccc;
	border-color: #ccc #ddd;
}
a.prev {
	float: left;
	margin-left: 5px;
}
a.next {
	float: right;
	margin-right: 6px;
}
a.prev:hover, a.next:hover {
	border: 1px solid #777;
	text-decoration: none;
}
img#sectiontitle {
	position: static;
	display: inline;
	border: 1px solid black;
	float: right;
	margin-right: 15px;
	padding: 1px;
	background-color: white;
	width: 550px;
	height: 60px;
}
div.clear {clear: both;}
div.links {
	display: inline;
	border-width: 0; margin: 0; padding: 0;
}
div.links ul {list-style: disc;}
div.top {
	position: absolute;
	bottom: 2px;
	right: 8px;
	font-variant: small-caps;
}
span.quote {
	font-size: 1.3em;
	display: inline;
	float: right;
	border-bottom: 1px dotted #777;
	z-index: 20;
	font-family: serif;
	width: 570px;
	padding: 0 5px;
	margin: 5px 0 15px;
	text-align: center;
}
span.quote em {font-family: "Lucida Calligraphy", "Apple Chancery", "Monotype Corsiva",cursive;}
span.term {
	text-decoration: underline;
	font-weight: bold;
	color: #36D;
	cursor: help;
}
.summary {
	float: right;
	display: inline;
	float: right;
	width: 565px;
	padding: 5px;
	font-size: 1.1em;
	margin: 0px 3px 10px 0px;
	border: 1px solid black;
	background: url(images/h1bg.gif) bottom repeat-x;
	background-color: #EEE;
	color: #800;
}
div#definition {
	position: absolute;
	width: 300px;
	display: none;
	z-index: 100;
}
div#definition span {
	text-align: justify;
	display: block;
	border: 1px solid black;
	border-width: 0 1px;
	background: #eae2ce;
	padding: 0 8px;
}

/* rectangle-with-image style box links seen on index page */

div.row a {
	display: inline;
	width: 335px;
	min-height: 112px;
	/*height: 99px;*/
	border: 2px solid #222;
	float: left;
	margin: 10px;
	padding-left: 5px;
	background: url(images/gradient.jpg) bottom repeat-x;
	background-color: white;
	font-size: .9em;
	color: black;
}
div.row a span {
	display: block;
	height: 20px;
	line-height: 20px;
	font-size: 1.2em;
	text-decoration:  underline;
	padding-left: 4px;
	background-color: #035;
	color: white;
	margin-left: -5px;
	margin-bottom: 4px;
}
div.row a:hover {
	border-color: #874;
	text-decoration: none;
}
div.row a:hover img {border-color: #874;}
div.row a:hover span {
	color: #e7e1aa;
	background-color: #013;
}
div.row {
	float: none;
	width: 728px;
	margin: 10px auto;
	clear: both;
}
div.row a img {
	float: right;
	border: 1px solid black;
	border-width: 1px;
	margin: -4px -1px -1px 4px;
}

/*subsections*/
/*display: inline in #subsections and .subsection fixes the IE6 doubled float-margin bug.
floating the element overrides 'display' and makes it display as a block.*/
#subsections {
	display: inline;
	float: right;
	margin-right: 9px;
	width: 566px;
}
.subsection {
	display: inline;
	float: left;
	border: 1px solid black;
	width: 271px;
	margin: 10px 5px 0px 5px;

	background-color: white;
}
.subsection div {
	position: absolute;
	background: url(images/gradientlarge.jpg) bottom repeat-x;
	left: 1px;
	bottom: 1px;
	padding: 5px;
	border: 2px inset #555;
	border-width: 2px 2px 0px 0px;
}
.subsection div a {
	float: none;
	display: inline;
	border-width: 0;
	padding: 0; margin: 0;
	background: none;
	background-color: transparent;
}
.subsection div a:hover {text-decoration: underline;}
.subsection a {
	display: block;
	width: 259px;
	border: 2px solid #222;
	padding: 5px 5px 0px 5px;
	margin: -1px;
	background: url(images/gradientlarge.jpg) bottom repeat-x;
	background-color: white;
	text-align: justify;
}
.subsection a:hover {
	text-decoration: none;
	border-color: #874;
}
.subsection a span {
	text-indent: 10px;
	display: block;
	text-decoration: none;
	color: black;
}
.subsection a span.term {
	text-indent: 0px;
	display: inline;
	text-decoration: underline;
	color: blue;
}
.subsection a span.learnmore {
	clear: both;
	display: block;
	text-align: right;
	margin: 2px -6px -1px;
	font-weight: bold;
	padding: 3px 5px;
	text-indent: 0px;
}
.subsection a:hover span.learnmore {
	text-decoration: underline;
	color: blue;
	border-color: #874;
	text-decoration: underline;
}
.subsection a span.title {
	text-align: left;
	text-indent: 0;
	border-width: 0;
	background-color: #035;
	color: white;
	margin: -5px -5px 5px;
	padding: 2px 5px;
	font-weight: normal;
	text-decoration: underline;
	font-size: 1.5em;
}
.subsection a:hover span.title {background-color: #013; color: #e7e1aa;}



/* these styles are used for the scope and sequence tables */
table.lessontable {
	border: 1px solid black;
	border-width: 0 0 1px 1px;
}
table.lessontable td, table.lessontable th {
	border: 1px solid black;
	border-width: 1px 1px 0 0;
	padding: 2px;
	text-align: center;
}
table.lessontable th {
	background-color: #b8c1e8;
	letter-spacing: +0.1em;
	background: url('images/thgradient.jpg') bottom repeat-x;
	border-bottom: 2px solid black;
}
table.lessontable ul {
	list-style: disc;
	padding: 0 0 0 15px;
	margin: 0;
	text-align: left;
}
