/*
   New Perspectives on HTML and CSS
   Tutorial 8
   Tutorial Case

   Tree and Book Style Sheet

   Filename:         layout.css
   Supporting Files: graybar.png, tblogo.png

*/

/* Layout styles for desktop screen display */



/* Body styles */

body {
   background-color: rgb(150, 140, 50);
   margin: 0px auto;
   width: 960px;
  
}



/* Header styles */
   
header {
   background-image: url(bella_head2.jpg);
   
   border-bottom: 1px solid rgb(18, 15, 12);
   height: 120px;
   width: 100%;
}

header h1 {
	background-color:black;
	color:white;
   line-height: 78px;
   text-align: left;
   visibility: hidden;
   width: 100%;
}


/* Navigation list in header */

header nav {
   background-color: rgb(0,0,0);
   height: 42px;
   margin-left: 124px;
}

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:rgb(245, 245, 180) ;
   float: left;
   width: 100%;
   margin-bottom: 20px;
}



/* Vertical navigation list styles */

nav.vertical {
   float: left;
   padding-top: 10px;
   padding-bottom: 20px;
   width: 200px;
}


nav.vertical img {
   display: block;
   margin: 5px auto;
}

nav.vertical ul {
   margin-left: 10px;
}

nav.vertical ul li {
   font-size: 13px;
   margin: 5px;
}

nav.vertical ul li.group {
   margin-top: 20px;
}

nav.vertical ul li.sub {
   margin-left: 20px;
}

nav.vertical ul li a {
   color: rgb(51, 51, 51);
}

nav.vertical ul li a:hover {
   color: rgb(90, 127, 0);
   text-decoration: underline;
}



/* Main section styles */

section#main {
   background: black;
   float: left;
   position: relative;
   top: 0px;
   left: 0px;
   width: 760px;
}

section#main h1 {
   font-size: 42px;
   font-family: 'Times New Roman', Times, serif;
   text-align: center;
   padding-top: 10px;
   width: 100%;
}



/* Main section navigation list styles */

section#main nav {
   width: 100%;
}

section#main nav li {
   display: block;
   float: left;
   height: 20px;
   width: 20%;
}

section#main nav li a {
   display: block;
   border: 1px solid rgb(18, 15, 12);
   color:white;
   background-color: rgb(90, 127, 0);
   text-align: center;
   line-height: 20px;
   font-size: 12px;
}

section#main nav li:first-of-type a {
   background-color: rgb(50, 97, 0);
}



/* Main section article styles */

section#main article {
   width: 300px;
   height: 810px;
   position: absolute;
   top: 90px;
   left: 230px;
}



/* Figure and photo styles */

img#photo1 {
	float: center;
   display: block;
   width: 400px;
   margin: 10px auto;
}


figure {
   position: absolute;
   width: 220px;
   height: 303px;
}

figure img {
   display: block;
   width: 90%;
   margin: 0px auto;
}

figure figcaption {
	color:white;
   font-size: 12px;
   font-style: italic;
   line-height: 12px;
   text-align: center;
   padding: 5px 0px;
}
/*figure pictures*/
img#photo {
	float: center;
   display: block;
   width: 200px;
   margin: 10px auto;
}
img#photo6 {
	float: center;
   display: block;
   width: 200px;
   margin: 10px auto;
}

figure#photo1 {
	float:right;
   top: 545px;
   left: 105px;;
}

figure#photo2 {
   top: 150px;
   left: 10px;
}

figure#photo3 {
   top: 245px;
   left: 530px;
}

figure#photo4 {
	
	float:left;
   top: 445px;
   left: 105px;
   height:30px;
}

figure#photo5 {
	float:right;
   top: 500px;
   left: 455px;
   width:250px;
   height:50px;
}

figure#photo7 {
	
	float:left;
   top: 545px;
   left: 105px;
   height:30px;
}

figure#photo8 {
	float:right;
   top: 545px;
   left: 455px;
   width:250px;
   height:50px;
}
img#photo11 {
	float: center;
   display: block;
   width: 200px;
   margin: 10px auto;
}
figure#photo11 {
	float:center;
	width:100px;
	height:100px;
   top: 545px;
   left: 105px;;
}

figure#photo12 {
   top: 245px;
   left: 10px;
   height:400px;
}

figure#photo13 {
   top: 245px;
   left: 530px;
}

figure#photo14 {
	
	float:left;
   top: 545px;
   left: 105px;
   height:30px;
}

figure#photo15 {
	float:right;
   top: 545px;
   left: 455px;
   width:250px;
   height:50px;
}img#photo21 {
	float: center;
   display: block;
   width: 200px;
   margin: 10px auto;
}
figure#photo21 {
	float:right;
   top: 545px;
   left: 105px;;
}

figure#photo22 {
   top: 200px;
   left: 10px;
}

figure#photo23 {
   top: 245px;
   left: 530px;
}

figure#photo24 {
	
	float:left;
   top: 600px;
   left: 105px;
   height:30px;
}

figure#photo25 {
	float:right;
   top: 645px;
   left: 455px;
   width:250px;
   height:50px;
}
img#photo31 {
	float: center;
   display: block;
   width: 200px;
   margin: 10px auto;
}
figure#photo31 {
	float:right;
   top: 545px;
   left: 105px;;
}

figure#photo32 {
   top: 175px;
   left: 10px;
}

figure#photo33 {
   top: 200px;
   left: 530px;
}

figure#photo34 {
	
	float:left;
   top: 600px;
   left: 105px;
   height:30px;
}

figure#photo35 {
	float:right;
   top: 545px;
   left: 455px;
   width:250px;
   height:50px;
}
player{
	top:300px;
	float:center;
}



/* Page footer styles */

footer {
	color:white;
   margin-top: 830px;
   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 {
	color:white;
   float: right;
   margin-right: 10px;
   
}
form{
	color:white;
}

