﻿*
{
	font-family: Arial, Sans-Serif;
}

body
{
	/* 
		Clears white space around the body except for the top which gets 10 pixels.
	*/
	margin: 10px 0 0 0;
}

a
{
	/*
		Clears the underline on normal links, and give them #308462 as the color.
	*/
	color: #33CCFF;
	text-decoration: none;
}

a:hover
{
	/*
		Underlines links when the users hover the mouse over them.
	*/
	text-decoration: underline;
}

h1
{
	/*
    Makes h1 elements smaller than their browser default.
  */
	font-size: 20px;
	color: #CC9900;
}

h3
{
	/*
    Makes h3 elements orange.
  */
	color: #FF9900;
}

.Introduction
{
  font-style: italic;
  color: #003399;
}

#PageWrapper
{
	/*
		Sets the total width for the entire page. 
	*/
	width: 844px;
	background-color: #006600;
	position: relative;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
}

#Header
{
	/*
		Gives the header the same width as the PageWrapper. The height creates some room for the logo
		that is set with the background-image.
	*/
	background-image: url(Images/Header.jpg);
	width: 844px;
	height: 86px;
}

.HeaderLink
{
	/*
		The #HeaderLink is nested in the #Header. It provides a link to the homepage.
	*/
	width: 844px; 
	height: 86px; 
	display: block;	
}

#MenuWrapper
{
	/*
		The menu spans the page width, right below the header.
		At the top and left a few pixels padding is applied to create some room.
	*/
	background-image: url(Images/MenuBackground.jpg);
	width: 827px;
	height: 36px;
	padding-top: 7px;
	padding-left: 17px;
}

#MenuWrapper a
{
	/*
		Links in the Menu are white. This gets overriden by styles in chapter 7.
	*/
	color: #000000;
}

.MainMenu
{
	/*
		The Menu gets a white border on all four sides.
	*/
	border: 1px solid white;
	width: 814px;
	height: 19px;
	background-color: #00FF00;
}

#MainContent
{
	/*
		Defines the main content area. The #MainContent element has a minimum height of 500 pixels, but can grow if necessary.
		The font-size is 80% of its parenty element, which in this case comes down to 80% of the font
		the user has specified as the default font in the browser.
	*/
	font-size: 0.8em;
	width: 659px;
	color: #00FF00;
	border-left: 1px solid white;
	border-right: 2px solid white;
	float: left;
	background-color: #000000;
	min-height: 500px;
	padding: 10px;
	border: 1px inset #FF0000;
}

#Sidebar
{
	/*
		The SideBar is positioned to the right of the MainContent area. It gets the same font-size as #MainContent
		and gets a background image called Sidebar.jpg. To ensure the image is visible in (most) browsers
		on a dmall page, the element gets a minimum height of 500px. This is ignored by IE 6.
	*/
	font-size: 0.8em;
	background-image: none;
	background-repeat: no-repeat;
	background-color: #006600;
	width: 152px;
	min-height: 500px;
	padding-top: 10px;
	padding-left: 10px;
	float: left;
}

#Footer
{
	/*
		The footer is positioned below all other content (yet still within PageWrapper).
		At the top, it gets a border with a dashed style, while all other sides have no border.
		clear: both is used to clear the impact of the float properties used for #MainContent and #SideBar.
	*/
	clear: both;
	height: 80px;
	background-color: #006600;
	color: White;
	text-align: center;
	font-size: 0.7em;
	font-weight: bold;
	line-height: 37px;
	width: 844px
}

.MyButton
{
	color: #308462;
}

.StaticMenuItemStyle, .StaticMenuItemStyle a
{
	/* Defines the look of main menu items. */
	color: #707070;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	padding-left: 2px;
}

.StaticHoverStyle, .StaticSelectedStyle
{
	/* Defines the look of active and hover menu items */
	background-color: #c1e4ce;
}

.DynamicMenuItemStyle
{
	/* Defines the sub menu items */
	font-size: 14px;
	color: #FF00FF;
	background-color: #FFFFFF;
	padding: 4px 2px 4px 3px;
}

.DynamicHoverStyle
{
	/* Defines the hover style of sub menus */
	background-color: #707070;
	color: White;
}

.DynamicHoverStyle a
{
	/* Removes the underline from links in the sub menus */
	text-decoration: none;
}

.PleaseWait
{
	height: 32px;
	width: 500px;
	background-image: url(images/pleaseWait.gif);
	background-repeat: no-repeat;
	padding-left: 40px;
	line-height: 32px;
}
	
