/*
   New Perspectives on HTML and CSS
   Final Project
      
   United States of America/ Presidents Style Sheet
   Author: Claudia Lindsay
   Date:   10/12/2015

   Filename:         uspresprint.css
   Supporting Files: 

*/

@page {
   size: 8.5in 11in portrait; 
   margin: 0.5in;
}

/* Hide page elements that will not be printed */
header, header nav.horizontal, section#page nav.horizontal, footer {
   display: none;
}

/* Styles for the h1 heading */
h1 {
   font-size: 28pt;
   text-align: center;
   width: 100%;
}

/* Styles for the main photo */
article img {
   display: block;
   margin: 0.5in auto;
   width: 6in;
}

p {
   font-size: 16pt;
   margin: 0.2in;
}

nav#presidentsLinks li img {
   width: 1.5in;
}

nav#presidentsLinks li span {
   font-size: 16pt;
   margin-left: 0.5in;
}

/* Setting the page breaks in the document */
article {
   page-break-after: always;
   page-break-inside: avoid;
}

nav#presidentsLinks.li {
   page-break-after: avoid;
   page-break-inside: avoid;

}

nav#presidentsLinks li:last-of-type {
   page-break-after: avoid;
}