 /*
     David Petersen
     IT-270 Final Project
	 Professor Testerman
	 Southern New Hampshire University
     Author: David Petersen 
     Date:  1-27-16 

      Filename:         pjstyles.css
      
   */
   
   /*Body styles */
body {
background-color: rgb(245,245,220);
margin: 0px auto;
padding: 0px;
line-height: 1.5em;
width: 98%;
max-width: 780px;
min-width: 250px;
font-family: Verdana, Geneva, sans-serif
}

header {
width: 100%;
text-align: center;
}



nav ul {
list-style-type: none;
margin: 0px;
padding: 0px;
font-size: 0.8em;
}

nav ul li {
display: block;
float: left;
width: 19%;
height: 20px;
text-align: center;
border: 1px solid #2d04ff;
background-color: #afd3f3;
line-height: 1.5em;
margin: 0px 4px 5px 0px;
}
section {
width: 64%;
float: left;
}




aside {
float: left;
width: 35%;
border-left: 3px solid red;
border-bottom: 3px solid red;
border-radius: 0px 0px 0px 45px;
-moz-border-radius: 0px 0px 0px 45px;
-webkit-border-bottom-left-radius: 45px;
}

aside h1 {
font-size: 1.1em;
font-weight: normal;
text-align: center;
margin: 5px 0px;
line-height: 1.1em;
}

aside figure {
display: block;
width: 90%;
margin: 0px auto;
}

aside figure img {
display: block;
margin: 0px auto;
box-shadow:10px 10px 20px #000000;
-webkit-box-shadow:10px 10px 20px #000000;
-moz-box-shadow: 10px 10px 20px #000000;
}

aside figure figcaption {
display: block;
width: 100%;
margin: 10px auto 0px;
line-height: 1em;
text-align: center;
font-style: italic;
font-size: 0.7em;
}

aside li {
font-size: 0.8em;
line-height: 1.1em;
}

footer {
display: block;
width: 100%;
clear: left;
text-align: center;
margin-top: 5px;
}

footer address {
display: block;
width: 100%;
clear: left;
font-size: 0.8em;
font-style: normal;
font-variant: small-caps;
margin-top: 20px;
border-top: 3px solid #2d04ff;
}


/* Block Styles */
h1, h2, h3, h4, h5, h6 {
font-family: Arial, Helvetica, sans-serif;
}

header h1 {
margin: 1em 0em;
font-size: 2em;
}


img {
border-width: 0px;
}
audio, video {
	background-color: white;
	display: block;
	margin: 5px auto;
	text-align: center;
	width: 95%;
}
IMG.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }


