/*
   New Perspectives on HTML and CSS
   Final Project
      
   United States of America/ Presidents Style Sheet
   Author: Claudia Lindsay
   Date:   10/12/2015

   Filename:         uspreslayout.css
   Supporting Files: 

*/

/* Layout styles for desktop screen display */

/* Body styles */
body {
   background-color: rgb(0, 0, 153);
   margin: 0px auto;
   width: 960px;
}

/* Header styles */
header {
   background: rgb(255, 255, 255) url(usa-flag-graphics.jpg) top left no-repeat;
   border-bottom: 1px solid rgb(18, 15, 12);
   height: 220px;
   width: 100%;
}

header h1 {
   line-height: 78px;
   text-align: left;
   visibility: hidden;
   width: 100%;
}


/* Navigation list in header */
header nav {
   background-color: rgb(0, 0, 153);
   height: 42px;
   margin-left: 0px;
}

header nav li {
   display: block;
   float: left;
   line-height: 42px;
   text-align: center;
   width: 20%;
}

header nav li a {
   color: white;
   font-variant: small-caps;
   font-size: 12px;
   font-family: 'Trebuchet MS', Helvetica, sans-serif;
   text-decoration: none;
}

header nav li a:hover {
   color: rgb(230, 252, 171);
}



/* Page section styles */
section#page {
   background-color: white;
   position: relative;
   width: 100%;
   margin-bottom: 10px;
}

/* Page section navigation list styles */
section#page nav.horizontal {
   width: 100%;
}

section#page nav.horizontal li {
   display: block;
   float: left;
   height: 20px;
   width: 20%;
}

section#page nav.horizontal li a {
   display: block;
   border: 1px solid rgb(18, 15, 12);
   color:white;
   background-color: rgb(204, 0, 0);
   text-align: center;
   line-height: 20px;
   font-size: 12px;
}


/* Vertical navigation list styles */
nav#presidentsLinks {
   background-color: rgb(231, 231, 231);
   position: absolute;
   top: 22px;
   left: 0px;
   width: 280px;
   height: 880px;
   overflow: auto;
}

nav#presidentsLinks ul {
   margin-left: 15px;
}

nav#presidentsLinks li {
   display: block;
   float: left;
   margin: 10px;
   width: 100px;
}

nav#presidentsLinks img {
   border: 0px;
   width: 100%;
}

nav#presidentsLinks span {
   display: block;
   font-size: 10px;
   text-align: center;
   margin: 7px auto;
}

nav#presidentsLinks a {
   color: black;
}



/* Main section article styles */
section#page article {
   background-color: white;
   position: absolute;
   top: 22px;
   left: 280px;
   width: 680px;
   height: 880px;
}

section#page article h1 {
   color: rgb(255, 255, 255);
   font-size: 42px;
   font-family: 'Times New Roman', Times, serif;
   letter-spacing: 5px;
   text-align: center;
   padding-top: 10px;
   width: 100%;
}

section#page article img {
   display: block;
   margin: 5px auto;
   width: 75%;
}

section#page article p {
   font-size: 16px;
   margin: 20px 30px 0px 20px;
   text-align: justify;
}


/*obama article*/
.flow{
	height: 300px;
	overflow: auto;
	text-indent: 30px;
}

/* Page footer styles */
footer {
   color: rgb(255, 255, 255);
   margin-top: 900px;
   font-size: 10px;
   border-top: 1px solid rgb(18, 15, 22);
   padding-bottom: 20px;
   padding-top: 10px;
   word-spacing: 5px;
   text-indent: 5px;
}

footer span a {
   color: rgb(255, 255, 255);
   float: right;
   margin-right: 10px;
}