/* FOF Main CS Sheet */

html, body
{
	height: 100%;
	margin: 0;
	padding: 0
}

div.container
{
	position: relative;
	top: 0px;
	left: 0px;
	min-height: 100%;
	width: 100%;
	margin: 0;
	margin-bottom: -35px;
	padding: 0
}

body
{
	background-color: #FFAA44; /* light orange background */
	font-family: Arial, Helvetica, sans-serif; /* Font type(s)  to be used */
	color: #000000 /* Text colour black */
}

/* Makes things have space */
p
{
	margin: 7px;
	padding: 3px
}

span.divider
{
	display: none /* Kinda important, ignore it */
}

div
{
	clear: both /* Important. Do not change */
}

/************************************
			NAVIAGION BAR
************************************/
div.nav
{
	position: absolute; /* Sets position for the menu */
	left: 50%;
	top: 120px;
	margin: 0px;
	margin-left: -240px;
	z-index: 7;
	padding: 0px
}

div.nav li a, div.nav li a:visited
{
	display: block; /* Makes the menu squares */
	height: 20px; /* Set's height of the menu blocks */
	width: 80px; /* Set's width of menu blocks */
	text-decoration: none; /* text positioning */
	vertical-align: middle;
	margin: 0px;
	padding: 0px;
	color:#0000FF; /* text colour */
	z-index: 7
}
div.nav li a:active, div.nav li a:hover
{
	display: block; /* same as above */
	height: 20px;
	width: 80px;
	text-decoration: underline;
	vertical-align: middle;
	margin: 0px;
	padding: 0px;
	color:#0066FF;
	z-index: 7
}

/* important, leave it alone */
div.nav ul.first
{
	padding: 1px;
	list-style: none;
	display: block;
	margin: 0px;
	z-index: 7
}
div.nav ul.first li
{
	margin: 0px;
	padding: 0px;
	display: block;
	border: 1px solid #000000; /* border of menu is solid, black and thin */
	float: left;
	height: 20px; /* height and width and colours are the same as the ones above */
	width: 80px;
	background-color: #FF6600;
	color: #0000FF;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	z-index: 7
}
div.nav ul.first li:hover
{
	background-color: #CC3300; /* background and text colour change when you hover over it */
	color: #0066FF;
	text-align: center;
	z-index: 7
}

div.nav ul.first li ul.second
{
	display: none /* Do not display the dropdown menu */
}
div.nav ul.first li:hover ul.second
{
	display: block; /* display the drop down menu when hovering over */
	font-weight: bold;
	margin-top: 1px;
	margin-left: 1px;
	padding: 0px;
	z-index: 7
}
div.nav ul.first li ul.second li
{
	margin: 0px; /* special positioning, colours and size are identicle to the ones above */
	padding: 0px;
	position: relative;
	top: 0px;
	left: -2px;
	border: 1px solid #000000;
	float: left;
	height: 20px;
	width: 80px;
	background-color: #FF6600;
	color: #0000FF;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	z-index: 7
}
div.nav ul.first li ul.second li:hover
{
	background-color: #CC3300;
	color: #0066FF;
	text-align: center;
	z-index: 7
}

/******************************************
			HEADER DECORATION
******************************************/
div.header
{
	position: absolute; /* Position for top logo */
	margin: 0px;
	padding: 0px;
	width: 100%;
	height:24px;
	top: 118px;
	left: 0px;
	z-index: 0;
	background-color: #FFAA44; /* blue background colour */
	border-top: 2px solid  #FFDD88; /* borders for appearence */
	border-bottom: 2px solid #FFDD88
}
div.header hr
{
	width: 100%;
	height: 2px;
	color: #FFCC33
}

div.top
{
	z-index: 1;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 118px;
	background-color: #FF7700
}
div.top img
{
	position: absolute;
	top: 0px;
	left: 0px;
	border: 0px
}

div.search
{
	position:absolute;
	left: 100%;
	top: 0px;
	margin: 20px;
	margin-left: -240px;
	z-index: 5
}

/*********************************
			FOOTER
*********************************/

div.clearfoot
{
	position: relative;
	height: 163px;
	z-index: -6;
	clear: both
}

div.footer
{
	position: relative;
	height: 30px;
	width: 70%;
	margin: 0px 15%;
	z-index: -1;
	border-top: 1px solid #0000FF
}

div.footer p
{
	text-align: center;
	font-size: 10px
}

/*********************************
			PAGE CONTENT
*********************************/

div.body
{ /* creates the purple background, which the content is on */
	z-index: -2;
	position: fixed; /* fixed, no need to worry about scrolling */
	left: 0px;
	top: 0px;
	padding: 0px;
	margin: 0px 15%;
	height: 100%;
	width: 70%;
	background-color: #FFDD88
}

div.content
{ /* positions it over the background seen above */
	z-index: -1;
	padding: 10px;
	margin: 0px 15%;
	width: 70%;
	position: relative;
	left: 0px;
	top: 135px;
	z-index: 6
}

/* simple text values */
div.content h1
{
	text-align: center;
	font-size: 24px;
	font-weight: 700
}

div.content p
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding: 5px;
	margin: 10px
}
.right
{
	text-align: right
}
.left
{
	text-align: left
}
.center
{
	text-aling: center
}