/*This is coding for styles.css*/
/*The rule here lets older browsers know that the new HTML5 elements need to be treated like block elements*/
header,
nav,
article,
footer {
	display: block;
}

/**Page Layout**/
body {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 14px; /*This gives the text a measurement to take 'em' from. Defaults to 16 if not given a size*/
	background-color: #eec5c5; /*This is the apricot body colour that shows outside of the container*/
}

#container {
	width: 960px;
	margin: auto; /*this will make the container float in the middle of the screen*/
	padding: 2px; /*This provides the tiny 'border' effect. The color will be the same as container (not body) background color*/
	background-color: #000; /*white*/	
}

header {
	width: 920px; /*960 - 40px padding*/
	padding: 10px 20px; /*10 refers to top and bottom; 20 refers to left and right*/
	background-color: #000000; /*greeny-grey color*/
}

header h1 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
	font-size: 2em;
	color: #191919;
}

header h2 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
	font-size: 1.2em;
	color: #191919;
}

nav {
	width: 920px;
	padding: 10px 20px;
	background-color: #ffffff;
	overflow: hidden; /* this makes sure nav wraps around the floated list.*/
}

nav ul {
	list-style: none; /*This removes the bullet from the list items*/
	margin: 0;
	padding: 0; /*These collapse the margin and padding*/
	float: left; /*This goes left and collapses the width to fit the links inside it*/
}

nav ul li{
	list-style: none;
	margin: 0 4em 0 0; /*adds space between links in nav*/
	padding: 0;
	float: left; /*The float: left puts the elements side by side and is a technique for laying out horizontal elements.*/
}	

/* When in hover or focus states increase opacity of button colour */ 
nav ul a:hover, nav ul a:active, nav ul a:focus {  
	background: rgba(233,139,139,0.71); 
	} 	
	 /* This puts a rectangle with rounded corners and a slight box shadow around the links. */
nav ul li a {     
	padding:10px;   
	color: #0000000;   
	text-align:center;   
	text-decoration:none;   
	border: 1px solid #000000;   
	margin: 5px 0px;   
	-moz-border-radius: 8px;   
	-webkit-border-radius: 8px;   
	border-radius: 8px;  
	-moz-box-shadow: rgba(0,0,0,.8) 1px 1px 3px ;   
	-webkit-box-shadow: rgba(0,0,0,.8) 1px 1px 3px ;  
	box-shadow: rgba(0,0,0,.8) 1px 1px 3px ; 
	}

nav ul li a{
	color: #000;
	text-decoration: none; /*Takes off underline*/
	font-size: 1.3em;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	padding: 10px 0;
	display: inline-block; /*this makes it easy to fill the browser width and wrap nicely when the browser is resized*/
}

img {
	float: right;
	margin: 10px;
}

article{
	width: 920px; /*take padding 40px from 960*/
	padding: 20px;
	background: #d7d7d7;
	float: left;
}

article h1 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
	font-size: 1.6em;
	color: #191919;
}

article h2 {
	font-size: 1.2em;
	color: #191919;
}

article p {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 1em;
}

footer {
	width: 940px;
	clear: both;
	padding: 0px 10px;
	overflow: hidden; /* this makes sure footer wraps around the footer elements*/ 
	text-align: center;
	background-color: #000000;
}

footer p {
	color: #ffffff; 
}

