

/* My third external CSS sheet, for Time Travel Project 2011 of Al's class */

*  { margin: 0;
	padding: 0;
	}

body {
	font-family: Times New Roman, Times, serif;
	font-size: 85%;
	color: black;
	background-color: #3914AF;
	margin: 1em;
	padding: 0;
	text-align: left;
}


h1 {
	font-size: 2em;
	color: purple;
	margin: 0;
	padding-bottom: 5px;
	text-align: left;	
}

h2 {
	color: black;
	font-size: 1.5em;
	margin: 0;
	text-align: left;
}

h3 {
	color: #3914AF;
	font-size: 1.3em;
	margin-left: 0em;
	text-align: left;
	padding: 10px 0px 0px 0px;
	margin-bottom: .3em;
	}

h4 {
	color: black;
	font-size: 1.2em;	
	margin: 0;
	text-align: left;
}	

h5 {
	color: black;
	font-size: 1.0em;
	margin: 0;
	text-align: left;
	margin-bottom: 15px;
	margin-top: 4px;
}

h6 {
	color: black;
	font-size: .85em;
	margin: 0;
	text-align: center;
	margin-top: 0;
		}
		
p { line-height: 1.5;
	margin-bottom: .5em;
	}
	
a:link  { color: blue;  }
a:visited  { color: purple;  }
a:hover  { color: green  }
a:active  { color: black  }
	
	
	
#nav2 li {
	display: inline;
	border-bottom: 7px white solid;
	background-color: #FFE273;
	text-decoration: none;
	padding: 6px 9px 6px 9px;
	border-left: 12px #A65600 solid;
	border-right: 4px #A65600 solid;
	color: black;
	text-align: right;
	margin: 8px;
	list-style-type: none;
	font-family: times, serif;
	}	
	
#nav2 li.OnPage {
	background-color: white;
	border-bottom: 7px gray solid;
	}

table  {
	background-color: white;
	float: left;
	margin-right: 6px;
}

img  {
	border: 0;
	float: left;
	margin: 6px;
	}

#nav {
	color: black;
	width: 160px;
/* Defined height makes things easy */
	height: 1000px;
	background-color: #A65600;
	float: left;
	padding: 0px 8px 2px 8px;
	margin: 8px;
	}

#nav2 {
	color: black;
	width: 570px;
	padding: 16px 0px 2px 8px;
	margin: 18px 0px 8px 0px;
	float: left;
	}

#header {
	background-color: transparent;
	color: black;
/* Very important here to define width, to edge of wrapper */
	width: 570px;	
	float: left;
	padding: 28px 0px 28px 16px;
	background-image: url(../images/the_first_railroad3.jpg);
	margin-top: 8px;
	
	}



#content {
	background-color: white;
	color: black;
	width: 570px;
	padding: 8px 8px 2px 8px;
	margin-top: 14px;
	margin-bottom: 12px;
	float: left;
	}

#footer {
	background-color: #A65600;
	width: 570px;
	color: white;
	padding: 8px 8px 2px 8px;
	float: left;
	}
	
#wrapper {
	width: 800px;
	margin: auto;
	}



.table-right   {
	float: right;
	margin-left: 6px;
	}
	
	
.RedType   {
	color: red
	}
	
.WhiteType   {
	color: white
	}	
	
	
.quotebox {
	float: left;
	width: 200px;
	background: #900 url(images/ptg1.jpg) top no-repeat;
	color: #fc0;
	font-size: 0.9em;
	line-height: 1.2;
	padding-top: 71px;
	border: 2px solid #600;
	margin: 0 1em 1em 0;
}

.quotebox p {
	margin: 0;
}

.quotebox blockquote {
	line-height: 1.3;
	font-weight: bold;
	padding: 0.5em;
	border-top: 2px solid #600;
	margin: 0;
}

.quotebox .by {
	padding: 0.5em;
}


.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid blue;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 130px; /*position where enlarged image should offset horizontally */
z-index: 50;
}
