/*
   New Perspectives on HTML, CSS, and JavaScript
   Final Project
   	
   My Web Page Style Sheet
   Author:     Dustin Breland 
   Date:        March 26, 2016
   Filename:    tlm.css


*/

* {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

header, figure, hgroup, footer, article, nav, section {
	display: block;
}

body {
	background-color: rgb(225, 225, 245);
}

html, body {
	height: 100%;
}

section#main {
   background-color: rgb(191, 191, 191);
   background-image: url(back2.png), url(back3.png);
   background-position: top right, top left;
   background-repeat: no-repeat;

   font-family: Verdana, Geneva, sans-serif;
   margin: 0px auto;
   min-height: 100%;
   position: relative;
   width: 900px;

   border-left: 1px solid black;
   border-right: 1px solid black;

   -moz-box-shadow: 5px 0px 20px rgb(101, 101, 101),
                      -5px 0px 20px rgb(101, 101, 101);
   -webkit-box-shadow: 5px 0px 20px rgb(101, 101, 101),
                      -5px 0px 20px rgb(101, 101, 101);
   box-shadow: 5px 0px 20px rgb(101, 101, 101),
              -5px 0px 20px rgb(101, 101, 101);
}

header {
   position: relative;
   height: 150px;
}

nav.horizontal {
   margin-top: -3px;
}

nav.horizontal ul {
   height: 20px;
   background-color: rgb(9, 51, 153);
}

nav.horizontal ul li {
   padding: 0px;
   float: left; 
   width: 12.5%; 
   line-height: 20px;
   height: 20px; 
}

nav.horizontal ul li a {
   display: block; 
   text-align: center;
   width: 100%; 
   font-size: 10px; 
   text-decoration: none; 
   color: white;
}

nav.horizontal ul li:hover {
   background-color: rgb(171, 171, 231);
   background-color: rgba(255, 255, 255, 0.4);

}

article {
   float: left;
   width: 649px;
   border-left: 1px solid black;
   background-color: white;
}

article hgroup {
   background-color: rgb(101, 101, 101);
   color: white;
   margin: 0px;
}

article h1 {
   font-size: 30px;
   font-weight: normal;
   letter-spacing: 5px;
   padding: 5px 0px 0px 15px;
}

article h2 {
   font-size: 20px;
   font-weight: normal;
   padding: 0px 0px 10px 15px;
}

article div#fontbuttons {
   float: right;
   font-size: 12px;
   margin: 10px 10px 0px 0px;
}


article figure {
   float: right;
   margin: 10px;
}

article p {
   font-family: 'Times New Roman', Times, serif;
   margin: 15px;
}

footer {
   width: 900px;
   background-color: white;
   clear: left;
   color: black;
   font-size: 10px;
   height: 20px;
   line-height: 20px;
   border-top: 1px solid black;
   text-indent: 15px;
}

article figure img {
	width: 12em;
}

p {
	font-size: 1em;
}

center table img {
	width: 9em;
	height: 8em;
	-o-transform: rotate(90deg); 
	-moz-transform: rotate(90deg); 
	-webkit-transform: rotate(90deg); 
	-ms-transform: rotate(90deg); 
	transform: rotate(90deg);
}

