/*
   New Perspectives on HTML and CSS
   Tutorial 4
   Case Problem 3

   Trail Map Style Sheet
   Author: Kyle Daling
   Date:   April 21, 2015

   Filename:         map.css
   Supporting Files: 

*/
/* General rules */
* {
	margin:0;
	padding:0;
}
body {
	font-family:Verdana, Geneva, sans-serif;
}
nav, section, figure, figcaption {
	display:block;
}
#page {
	background:url(bluebar.png) repeat-y rgb(255,255,128);
	border:15px ridge rgb(70,76,222);
	border-radius:50px;
	width:900px;
	height:750px;
	margin:10px auto 200px auto;
}
/* Rules for naviation */
nav {
	float:left;
	width:230px;
}
nav ul {
	list-style-type:none;
}
nav ul li {
	margin:25px 20px;
}
nav ul li a {
	color:white;
	text-decoration: none;
}
nav ul li a:hover {
	color:yellow;
}
/* Rules for the summary */
#summary {
	float:left;
	margin-left:30px;
	width:600px;
}
#summary h1 {
	color:rgb(70,76,222);
	font-size:24px;
	font-weight:normal;
	letter-spacing: 5px;
	margin:20px;
}
#summary p {
	margin:10px;
}
/* Rules for the map */
#map {
	position:relative;
	background:white url(lpmap.jpg) no-repeat;
	border:1px solid black;
	float:left;
	margin-left:30px;
	width:600px;
	height:294px;
}
/* Rules for the figure */
figure {
	background:rgb(70,76,222);
	color:white;
	width:150px;
	border-radius:15px;
	position:absolute;
	z-index:1;
	clip:rect(0,20px,20px,0);
}
figure:hover {
	clip:auto;
	z-index:2;
}
figure figcaption {
	font-size:12px;
	margin:10px;
}
figure time {
	color:yellow;
}
/* Rules for positioning the captions */
#point0 {
	left:560px;
	top:60px;
}
#point1 {
	left:277px;
	top:90px;
}
#point2 {
	left:175px;
	top:0;
}
#point3 {
	left:110px;
	top:115px;
}
#point4 {
	left:55px;
	top:165px;
}
#point5 {
	left:5px;
	top:180px;
}
#point6 {
	left:15px;
	top:222px;
}
#point7 {
	left:50px;
	top:245px;
}
#point8 {
	left:100px;
	top:245px;
}
#point9 {
	left:90px;
	top:220px;
}
/* Rule to display time inline */
time {
	display:inline;
}