/*
   Final Project

   Millenium Computers - Complete Page
   Author: Peter Pagonis
   Date:   5/29/2016
*/



/* Display HTML5 structural elements as blocks */

article, aside, figure, figcaption, footer, hgroup, header, 
section, nav {
   display: block;
}


/* Set the default page element styles */

body * {
   font-family: Verdana, Geneva, sans-serif;
   font-size: 100%;
   font-weight: inherit;
   line-height: 1.2em;
   list-style: none;
   margin: 0px;
   padding: 0px;
   text-decoration: none;
   vertical-align: baseline;
}



/* Body Styles */
body {
   width: 95%;
   min-width: 900px;
   max-width: 1000px;
   font-family: Verdana, Geneva, sans-serif;
   font-weight: normal;
   font-size: 16px;
   margin: 0px auto;
   position: relative;
   border-left: 1px solid blue;
   border-right: 1px solid blue;
}

/* Header styles */

header {

   border-bottom: 1px solid blue;
}

header img {
   display: block;
 
}

/*Navigation list styles */

header nav {

   width: 100%;


}

header nav li {
   display: block;
   width: 10%;
   margin-left: 0%;
   margin-bottom: 5px;
   float: left;
}

header nav li a {
   display: block;
   width: 100%;
   height: 25px;
   line-height: 25px;
   text-align: center;
   color: white;
   font-size: 0.8em;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
   background-color: blue;
}

header nav li a:hover {
   background-color: yellow;
   color: blue;
}

/* Section styles */

section {
   clear: left;
   width: 100%;
}

section p {
   color: rgb(0, 0, 0);
   margin-left: 20px;
   padding-top: 20px;
 }

 section h1{
   font-size: 2.0em;
   margin-left: 20px;
   padding-top: 20px;
 }
 
  section h2{
   font-size: 1.5em;
   margin-left: 20px;
   padding-top: 20px;
   padding-bottom: 30px;
 }
 
 section img{
   display: block;
   float: right;
   width: 30%;
   margin-right: 5%;
   width: 385px;
   height: 290px;
 }
 
 section li {
   margin-top: 5px;
   width: 75%;
   margin-left: 10%;
   margin-bottom: 5px;
   list-style: square;
}
 
 li a {
	text-decoration: underline;
}

section li a:hover {
   background-color: yellow;
}
 
/* Footer Styles */

footer {
   border-top: 1px solid blue;
   background-color: rgb(30,100,255);
   clear: left;
   margin-top: 20px;
   padding: 10px 0px;
}

footer address {
   color: white;
   font-style: normal;
   font-size: 0.8em;
   text-align: center;
}	

section iframe {

    position: relative;
    top: 55; right: 0;
    bottom: 0; left: 20%	;
    margin: auto;
}

/* Table setup */

table {
   border: 1px solid blue; 
   font-size: 14px; 
   margin-top: 75px; 
   margin-bottom: 120px;
   width: 700px;
   margin-left: 150px;

}

th {
   background-color: blue; 
   color: white; 
   font-weight: normal;
   letter-spacing: 2px;
   padding: 5px;
}

td {
   vertical-align: top; 
   background-color: white;
   padding: 5px;
}

td a {
   text-decoration: underline; 
}

