/*
Color scheme for this website:
	#4312AE	
	#472B83	
	#280671	
	#7446D7	
	#8E6DD7

Unit 3 > Module 6 > Lesson 2

Students stylize their navigation menu
*/
body {
	font-size: 1em;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
	background-color: #8E6DD7;
	color: #FFFFFF;
	width: 70%;
	min-width: 720px;	
	margin: 0 auto;
}
h1, h2 { 
	font-family: Palatino, Georgia, serif;
	font-weight: bold;
}
h1 {
	font-size: 1.8em;
	text-align: center;
	text-shadow: 4px 4px 4px black;
	margin-bottom: 1.5em;
}
h2 { 
	font-size: 1.4em;
	margin-left: 1em;
}
h3 { 
	font-size: 1.1em;
	margin-left: 1em;
}
div { 
	border: 1px solid black;
	padding: 1em;
	margin: 1em;
	background-color: #4312AE;
	box-shadow: 4px 4px 4px black;	
}
p { 
	margin: 1em;
}
a { 
	color: #FFFFFF;
}
a:hover, a:focus { 
	color: black;
	background-color: #FFFFCC; /* yellow */
}

/* table styles */
/* for accessibility.html */

table { 
	margin: 0 auto; /* this is a trick for centering certain elements */
	background-color: black;
}
th, td { 
	background-color: white;
	color: black;
	padding: 0.75em;
	margin: 1px;
}
caption { 
	font-weight: bold;
	font-size: 1.2em;
	margin: 0.75em;
}

/* elements with ids and classes */

div#skipnav { 
  position: relative;
	right: 12.5%;
	width: 10em;
	text-align: center; 
}
div.info { 
  float: left;
	width: 40%;
	font-size: 1.2em;
}
nav { 
	clear: left;
}
main, main p { 
	color: black;
	background-color: white;
	font-style: normal;
}
main p { 
	margin-left: 2em;
}
main p#overview { 
	/* cancel out the above style for the #overview */
	margin-left: 1em;
	font-size: 1.1em;
}
main p.temp { 
	font-style: italic;
}
p#overview:first-letter { 
	font-family: "Lucida Calligraphy","Monotype Corsiva",cursive;
	font-size: 2em;
	font-weight: bold;
}

/* Navigation menu styles */
nav { 
	padding-bottom: 0.25em;
}
nav ul { 
	list-style-type: none;
	padding-bottom: inherit;
}
nav ul li { 
	float: left;
	margin-right: 0.5em;
}
nav ul li a { 
	padding: 0.25em 1em;
	text-decoration: none; /* no underline */
	background-color: #EBF5FF; /* pale bluish white */
	color: #4312AE; /* dark blue */
	border: 2px solid black;
	border-top-left-radius: 1em 1em; /* rounded corner! */
	border-top-right-radius: 1em 1em; /* another rounded corner! */	 
}
nav ul li a:hover, nav ul li a:focus { 
	color: black; 
	background-color: white; 
	font-weight: bold;
}
main { 
	clear: left;
	padding: 1em;
}

