﻿/*
   New Perspectives on HTML
   Tutorial 2
   Tutorial Case

   CAMShots Style Sheet
   Author: Gerry Hayward
   Date:   3/1/2014

   Filename:         camstyles.css
   Supporting Files: none

*/

/* Section Styles */

body div{
margin: 0px auto;
padding-left: 0px;
line-height: 1.5em;
width: 98%;
max-width: 900px;
min-width: 250px;
font-family: Verdana, Geneva, sans-serif;
background-color:#ffffff ;
box-shadow:-10px 20px 20px #000000;
-webkit-box-shadow:-10px 20px 20px #000000;
-moz-box-shadow: -10px 20px 20px #000000;
}

body {
background-color:#afd3ff;
}

header {
width: 100%;
text-align: left;
}

nav {
display: block;
width: 100%;
padding-left: 5px;
}

section nav {
font-size: 0.9em;
text-align: center;
/*padding-bottom: 20px;*/
}


nav ul {
list-style-type: none;
margin: 0px;
padding: 0px;
font-size: 0.8em;
}

nav ul li {
display: block;
float: left;
width: 15.4%;
height: 20px;
text-align: center;
border: 1px solid #2d04ff;
background-color: #afd3f3;
line-height: 1.5em;
margin: 0px 4px 0px 0px;
box-shadow:-5px 5px 20px #000000;
-webkit-box-shadow:-5px 5px 20px #000000;
-moz-box-shadow: -5px 5px 20px #000000;
}

section {
width: 63%;
float: left;
padding-left: .5em;
}

section.full {
width: 98%;
}

section p {
font-size: 1.1em;
margin: 0px 20px 10px 0px;
}

section.full h1 {
text-align: center;
font-size: 2em;
letter-spacing: 0.1em;
}

section.full p {
font-size: 0.9em;
margin: 0px 0px 30px 0px;
}

section.full article h1 {
font-size: 1.1em;
text-align: left;
letter-spacing: 0.3em;
font-weight: normal;
margin: 0px 0px 5px 0px;
color: #2d04ff;
}

section.full article figure {
display: block;
width: 100%;
margin: 0px;
padding: 0px;
}

section.full article figure img {
display: block;
margin: 0px auto;
box-shadow:-5px 5px 20px #000000;
-webkit-box-shadow:-5px 5px 20px #000000;
-moz-box-shadow: -5px 5px 20px #000000;
}


aside {
float: left;
width: 35%;
border-left: 3px solid #2d04ff;
border-bottom: 3px solid #2d04ff;
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:-5px 5px 20px #000000;
-webkit-box-shadow:-5px 5px 20px #000000;
-moz-box-shadow: -5px 5px 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.9em;
}

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;
}

h2 {
margin: 1em 0em;
font-size: 1.5em;
}

header h2 {
font-size: 1.2em;
font-style: italic;
margin: 0em;
padding-bottom: 0.5em;
border-bottom:1px black solid;
}

article p {
margin: 0.2em 0.9em 0.7em 0em;
}

article ul {
margin: 0.1em 0.8em 0.5em;
}

article ul li {
margin-right: 0.5em;
}

aside h2 {
text-align: center;
}

aside p {
font-size: 0.8em;
margin: 0px 0.7em;
}

section.full h2 {
width: 100%;
/*font-size: 1.5em;*/
margin:50px 0px 0px 0px;
border-top: 3px solid #2d04ff;
/*border-top: 2px solid rgb(172, 172, 172);*/

/*float: left;*/
text-align: center;
}


dl {
font-size: 0.9em;
margin: 0px;
margin-left: 0px;
clear: left;
float: left;
}

dt b {
font-size: 1.1em;
}

section.full div {
clear: left;
padding-top: 30px;
padding-bottom: 30px;
}

img {
border-width: 0px;
margin: 0em;
padding: 0em;
}