@import url("style_webpage.css");
/* Sets element margins, padding, and border to 0 to even out browser differences when adding desired values later. */
html, body, div, p, h1, h2, h3, h4, h5, h6, blockquote, 
ol, ul, li, dl, dt, dd, td, form, fieldset, a,
#wrapper, #banner  
{
	margin: 0;
	padding: 0;
	border: 0;
}

/* Set the bg color, default font family and size here. */
body {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size: 80%;
	background-color: #F90;
}

/* Set the color and font for headings. The bottom margin adds space below the heading. */
h1,h2,h3,h4,h5,h6 {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	margin-bottom: 0.2em;
}

/* Add a bit of padding below all the paragraphs. */
p { padding-bottom: 0.8em; }

/* No borders on any images. */
img	{ border: none; }

/* Links are white and not underlined. */
a {
	color: #FFF;
	text-decoration: none;	
}
#maincontent a {
	color: #900;
}

/* Hovered links are green and underlined. */
a:hover {
	color: #59200c;
	text-decoration: none;
	
}

/* This div wraps all three columns plus the banner, but doesn't include the footer. */
#wrapper {
	width: 1024px;		/* Ensures that it will fit into any monitor without needing scroll bars	*/
	background-color: #F90;
	background-image: none;
	background-repeat: repeat;
	background-position: center;
	position:relative;
	margin-right: auto;
	margin-left: auto;
}

/* This div has the page's H1 and header image. Note the z-index. */
#banner	{
	width: 100%;	/* This is the image of the  colored shells (right side). */
	height:120px;		/* Needs to be big enough to show the header image that's in the H1. */
	z-index:auto; 		/* This z-index is lower than the maincontent's z-index so that the banner always sits behind the maincontent */
	color: #CCC;
	background-color: #59200c;
	background-image: url(../images/sunrise.jpeg);
	background-repeat: no-repeat;
	background-position: left;
}

/* *********************************************************************************
The area between the banner and footer is occupied by 3 div's that sit side-by-side: 
 left-sidebar	Left side. 	Fixed width and absolutely positioned. Contains other divs that act like pods for content.
 maincontent	Center.		Liquid width. Takes whatever is left over after placing the left and right sidebars.
 right-sidebar	Right side.	Fixed width and absolutely positioned. 
***********************************************************************************/

/**************************/
/* This div is fixed width and absolutely positioned. It contains additional div's. Note the z-index. */
#left-sidebar {
	position:absolute;
	width:170px;
	top: 130px;   	/* Equal to the heights of banner plus banner's border plus 10 */
	left: 0;
	padding: 10px;	/* Adds space around div. */
	font-size: 90%;
	z-index:600; 	/* This z-index higher than the maincontent's z-index so that the left sidebar content always sits above the maincontent */
	color: #600;
	font-weight: bold;
}

/* The title in each of the sidebar div's has a H3. */
.left-sidebar-all h3 {
	color: #FFF;
	padding: 0.2em;
	font-size: 100%;
}

/* The lists and paragraphs in each of the sidebar div's share these rules. */ 
.left-sidebar-all ul,	
.left-sidebar-all p {
	background-color: #FFF;	/* Need to set the list's bg color to white since the div that the list sits in has a diff bg color. */
	padding: 10px;
	color: #59200c;
}

/* No bullets on our lists. */
.left-sidebar-all ul {
	list-style: none;
	color: #FFF;
}

/* Make the links block level selectable. */
.left-sidebar-all li a 	{
	width: 100%; 	/* needed by IE6 */
	display: block;
	background-image: none;
	background-color: #F90;
	padding-left: 3px;
	margin: 0px;
}
.left-sidebar-2 a {
	color: #C60;
	text-decoration: underline;
}


/* Background image (shell) appears when the link is hovered over. */
.left-sidebar-1 a:hover	{
	background-color: #FFF;
	background-image: url(../images/listnav_over2.jpg);
	background-repeat: no-repeat;
	background-position: right;
	margin-top: 3px;
	margin-bottom: 3px;
	color: #59200C;
}

/* 1st div in left sidebar. Green border and bg. */
.left-sidebar-1 {
	border: medium solid #CA511A;
	background-color: #CA511A;
}
.left-sidebar-2 a:hover	{
	background-color: #FFF;
	background-repeat: no-repeat;
	background-position: right;
	margin-top: 3px;
	margin-bottom: 3px;
	color: #59200C;
	}
/* 2nd div in left sidebar. Blue border and bg. */
.left-sidebar-2 {
	border: medium solid #953616;
	background-color: #953616;
	padding: 0px;
	color: #600;
}

/* 3nd div in left sidebar. Red border and bg. */
.left-sidebar-3 {
	border: medium solid #59200C;
	background-color: #59200C;
}
.left-sidebar-3 a:hover {
	background-color: #FFF;
	background-image: url(../images/listnav_over2.jpg);
	background-repeat: no-repeat;
	background-position: right;
	margin-top: 3px;
	margin-bottom: 3px;
	color: #59200c;
	
}

/**************************/
/* This is the center div. */
#maincontent {
	width:auto;						/* This causes the width to be liquid. */
	top: -15px; /* This is the water image at the top of the main content div. */
	border: 1px solid #000;
	border-bottom: none;			/* Don't need this border since the footer is also black. */
	z-index:auto;					/* This z-index is lower than for the left and right side bars so the main content sits under the side bars. And this z-index is higher than the banner's z-index so the main content is above the banner. */
	background-color: #FFF;
	background-image: none;
	background-repeat: no-repeat;
	background-position: center top;	/* height: 500px; */ 			/* Specify a height if your sidebar content is longer than your main content. */
	margin-top: 0;
	margin-right: 255px;
	margin-bottom: 0;
	margin-left: 170px;
	padding-top: 2em;
	padding-right: 3em;
	padding-bottom: 0;
	padding-left: 2em;
	visibility: visible;
	overflow: visible;
	display: inherit;
}

/**************************/
/* right sidebar */
#right-sidebar			/* Fixed width, absolutely positioned. Note the z-index. */
{
	position:absolute;
	width: 220px; 		/* 1px less than the right margin of main content (1px is the width of the maincontent;'s right border). */
	top: 150px;   		/* Equal to the heights of banner plus banner's border plus 15 (for extra space above the div). */
	right:10px;			/* Div sits right next to the right side. No extra space here. */
	border: 0px solid #FFF;
	background: #FFF;
	padding: 0.5em;		/* Provides space between the border and the text in the div. */
	font-size: 100%;
	z-index:600; 		/* This z-index higher than the maincontent's z-index so that the rigth sidebar always always sits above the maincontent. */
}

/**************************/
/* The footer div stretches across the page. */
#footer	{
	position: relative;
	padding: 1em;
	text-align: left;
	color: #FFF;
	background-color: #59200C;


	background-image:
	
	
	
	
	height: auto;
	font-size: xx-small;
	width: 1010px;
	margin-right: auto;
	margin-left: auto;
}

/* The images in the footer act as separators for the links. */
#footer img {		
	vertical-align: bottom;
}

/* The footer links are green, and underlined when hovered over. */
#footer a,
#footer a:visited {
	color: #FFF;
	text-decoration: none;
	font-weight: normal;
	font-size: small;
}

#footer a:hover {
	text-decoration: underline;
}


/**************************/
/* skip link is positioned off the screen, but still allows screen readers to see it */
#skiplinks {
	position: absolute;
  	margin-left: -1000px;
}

/* don't display the title image used for printing */
.printtitle {
	display: none;
}#banner h1 {
	font-family: Garamond;
	font-size: 48px;
	font-weight: bold;
	color: #FFF;
	position: absolute;
	top: 24px;
	right: auto;
	left: 180px;
}
#banner h2 {
	font-family: Garamond;
	font-size: 24px;
	color: #FFF;
	left: 230px;
	top: 80px;
	position: absolute;
	right: auto;
	font-weight: bolder;
}
.left-sidebar-1 li a {
	background-color: #ca511a;
}
.left-sidebar-3 li a {
	background-color: #59200c;
}
