/*---

Styles for Final Project

Author: Matthew Foroughi
Turn-in Date: 01/24/16


--*/

html { 
  background: url("baseballback.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

* {
   list-style: none;
   margin: 0px;
   padding: 0px;
}

header, figure, hgroup, footer, article, nav, section {
   display: block;
}

h1 {
	padding-top: 30px;
	text-align: center;
	color: white;
}


/* Main Section Styles */
section#main {
   
   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: 1200px;
  
   border-left: 5px groove white;
   border-right: 5px groove white;

  
}

/* Header styles */
header {
   position: relative;
   height: 150px;
   background-image: url("title.jpg");
   background-size: 100%;
   
   
}

header div {
   position: absolute;
   top: 10px;
   right: 10px;
   color: white;
   text-align: right;
   font-size: 12px;
}

header div input {
   font-size: 12px;
   text-align: left;
}

/* Navigation Styles */

nav.horizontal {
   margin-top: -3px;
   z-index: 5;
   padding: 8px;
   background-color: firebrick;
   border: solid white 2px;
}

nav.horizontal ul {
   height: 20px;
   
}

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: 13px; 
   text-decoration: none; 
   color: white;
}

nav.horizontal ul li:hover {
  

}

/* Vertical navigation list */

nav.vertical {
   width: 200px;
   float: left;
   font-family: 'Times New Roman', 'Times', serif;
   background-color: firebrick;
   border: solid white 2px;
   text-align: center;
}



nav.vertical h1 {
   font-size: 24px;
   margin: 10px 0px 0px 20px;
   font-weight: normal;
   letter-spacing: 5px;
}

nav.vertical h2 {
   -o-transform: rotate(-90deg) translate(-100px, -70px);
   -moz-transform: rotate(-90deg) translate(-100px, -70px);
   -webkit-transform: rotate(-90deg) translate(-100px, -70px);
   -ms-transform: rotate(-90deg) translate(-100px, -70px);
   transform: rotate(-90deg) translate(-100px, -70px);

   font-family: Verdana, Geneva, sans-serif;
   font-size: 22px;
   font-variant: small-caps;
   text-align: center;
   letter-spacing: 2px;
   font-weight: bold;
   color: rgb(226, 226, 255);
   margin-left: 20px;
   width: 150px;
}

nav.vertical li {
   font-size: 16px;
   margin-left: 50px;
   margin-right: 10px;
   margin-bottom: 10px;
   letter-spacing: 0px;
}

nav.vertical li.newgroup {
   border-top: 1px solid white;
   margin-top: 0px;
   padding-top: 10px;
}

nav.vertical li a {
   text-decoration: none;
   color: white;
   font-size: 16px;
}

nav.vertical li a:hover {
   text-decoration: underline;
}

/* Article styles */

article {
   float: left;
   width: 700px;
   border-left: 1px solid white;
   color: white;
   opacity: 0.8;
}

article hgroup {
   
   color: white;
   margin: 0px;
}

article h1 {
   font-size: 30px;
   font-weight: normal;
   letter-spacing: 5px;
   padding: 5px 0px 0px 15px;
}

article caption {
   font-size: 20px;
   font-weight: normal;
   padding: 0px 0px 10px 10px;
}

article figure {
   float: right;
   margin: 10px;
   width: 12em;
}

article p {
   font-family: 'Times New Roman', Times, serif;
   margin: 15px;
   font-size: 1em;
}

#about {
	background-color: white;
	opacity: 0.9;
	color:black;
	margin-left: 23%;
	text-align: center;
	margin-top: 20%;
}

article table {
	margin-left: 23%;
}

/* Table in Article */
caption {
	background-color:white;
	color: black;
}
table {
	Background-color: white;
	color: black;
}


td.name {
	text-align: left;
	white-space: nowrap;
}

td {
	text-align: center;
}


/* Page footer styles */

footer {
   width: 1200px;
   margin-left: auto;
   margin-right: auto;
   clear: left;
   color: white;
   font-size: 10px;
   height: 20px;
   line-height: 20px;
   border-top: 1px solid white;
   text-indent: 15px;
   background-color: firebrick;
}

footer span {
   float: right;
   margin-right: 10px;
   
   
}

footer span a {
   color: white;
   text-decoration: none;
}

