
/*****************************
   base styles (mobile first)
 *****************************/
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 22px;
	background-color: #FFF;
}
#wrapper {
	max-width: 940px;
	margin: 0 auto;
	padding: 20px; /* prevents content going up to edge on mobile device */
}
header {
	border-bottom: solid 4px #999;
}
article {
	text-align: justify;
}
footer {
	color:#FFF;
	font-size: 14px;
	background-color:#000;
	padding: 20px;
}
h1 {
	line-height: 36px; /* prevents line overlap at small width */
}
/* Sets images to be responsive but only up to their actual size */
img {
	max-width: 100%;
	height: auto;
}

/***************
   menu styles
 ***************/
nav ul {
	list-style-type:none;
	margin: 0;
	padding: 0;
}
nav ul li {
	float:left;
	margin-bottom:10px; /* spaces items when they wrap */
}
nav ul li a {
	font-size: 16px;
	color: #FFF;
	text-decoration:none;
	background-color: #999;
	padding: 5px 10px 5px 10px; /* top right bottom left */
}
nav ul li a:hover {
	color: #000;
	background-color: #CCC;
}
/* clearfix - to clear left float when menu wraps */
nav ul:after {
	content: "";
	display: block;
	clear: both;
}
/* end of menu */
/* end of base styles */

@media screen and (min-width: 700px) and (max-width: 959px) {
body {
	font-size: 20px;
	line-height: 26px;
	background-color: #feffca;
}
}
@media screen and (min-width: 960px) {
body {
	font-size: 24px;
	line-height: 32px;
	color: #009;
}
}