/* SET UP BASIC COLOURS */

body
{
	background-color: #FFFFFF;
	color: black;
	font-family: Trebuchet, Helvetica, Sans-Serif;
	font-size: 12pt;
	font-weight: normal;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

a
{
	color: #808080;
}

a:hover
{
	color: #606060;
}

a:visited
{
	color: black;
}
	
	
	
	
/* INSERT THE TITLE */
	
div#PageTitle
{
	background-image: url('./images/plogo.png');
	background-attachment: absolute;
	background-position: 100px 0px;
	background-repeat: no-repeat;
	background-color: #373737;
	width: 100%;
	height: 95px;
	position: absolute;
	top: 15px;
	margin: 10px 0 10px 0;
}

/* BLOCK OUT THE HEADER */
div#PageHeader
{
	height: 150px;
}


/* HIDE UNNECESSARY STUFF */

span#UserControls
{
	display:none;
}

div.ArticleControls span.ArticleControls
{
	display: none;
}

div#PageTitle	h1
{
	display: none;
}


a.ArticleButton
{
	float: right;
	font-size:10pt;
	display: block;
}


div#PageFooter	span.QueryCount
{
	display:none;
}

center	p.footer
{
	display: none;
}

div#PageFooter
{
	text-align: center;
	font-size: 10pt;
}
	

/* Hide username unless mouseover */

div#LoginUserName
{
	font-size: 8pt;	
	width: 100px;
	height: 15px;
	v-align: middle;
	position: absolute;
	top: 0px;
	left: 0px;
	color: #D0D0D0;
	padding-top: 3px;
	padding-left: 3px;
}

div#LoginUserName	span
{
	display: none;
}

div#LoginUserName:hover	span
{
	display: inline;
}

/* Hide user controls unless mouseover */

div.UserControls
{
	font-size: 8pt;	
	width: 650px;
	height: 15px;
	v-align: middle;
	position: absolute;
	top: 0px;
	left: 100px;
	color: #E0E0E0;
	padding-top: 3px;
}

div.UserControls	span
{
	display: none;
	margin: 0 0 0 0;
}

div.UserControls	a
{
	display: none;
	border-width: 0 1px 0 1px;
	margin: 0 0 0 0;
	padding: 0 10px 0 10px;
	border-style: solid;
	border-color: #E0E0E0;
	color: #D0D0D0;
}

div.UserControls:hover	a
{
	display: inline;
}

div.UserControls:hover	a span
{
	display: inline;
}


/* Hide article controls unless mouseover */

div.ArticleControls
{
	font-size: 8pt;	
	width: 100%;
	height: 30px;
	height: 40px;
	v-align: middle;
	position: absolute;
	top: 120px;
	left: 0px;
	color: #E0E0E0;
	clear: left right top;
	padding-left: 100px;
	padding-top: 3px;
}

div.ArticleControls	span
{
	display: none;
	margin: 0 0 0 0;
}

div.ArticleControls	form
{
	display: none;
	margin: 0 0 0 0;
}

div.ArticleControls	a
{
	display: none;
	border-width: 0 1px 0 1px;
	margin: 0 0 0 0;
	padding: 0 10px 0 10px;
	border-style: solid;
	border-color: #E0E0E0;
	color: #D0D0D0;
}

div.ArticleControls:hover	a
{
	display: inline;
}

div.ArticleControls:hover	div.NewArticle
{
	display: inline;
}

div.ArticleControls:hover	form
{
	display: inline;
}

div.ArticleControls:hover	a span
{
	display: inline;
}

/* PAGE DEFAULTS */

div#PageBody
{
	margin-left: 200px;
	margin-right: 50px;
}

div.Box
{
	margin-bottom: 100px;
}

div.Box	div.Header
{
	height: 50px;
	padding-bottom: 15px;
}

div.Box div.Header div.Date
{
	display: inline;
	margin-left: 25px;
	font-size: 10pt;
}

div.Box div.Header div.Author
{
	display: inline;
	margin-left: 25px;
	font-size: 10pt;
}

div.Box div.Header div.Title
{
	font-size: 14pt;
	font-weight: bold;
	margin-left: 25px;
	margin-bottom: 10px;
	float: left;
}

div.Box	div.Footer	div.Comments
{
	font-size: 10pt;
	font-color: #808080;
	text-align: right;
	width: 75%;
}

div.Box	div.Footer	div.Comments	span.Date
{
	display: none;
}

div.Box	div.Footer	div.Comments	span.Author
{
	padding-left: 15px;
}




/* Form input stuff */

div.Form
{
	border-style: dashed;
	border-width: 1px;
	border-color: #A0A0A0;
	width: 590px;
	padding: 5px;
	margin: 0px 0px 10px 0px;
}

div.Form	div.Title
{
	padding: 15px 5px 5px 5px;
	font-size: 14pt;
	font-weight: bold;
}

div.Form	div.Input	input
{
	border-style: dashed;
	border-width: 1px;
	border-color: #A0A0A0;
	width: 580px;
	font-size: 10pt;
	padding: 5px 5px 5px 5px;
}

div.Form	div.Input	textarea
{
	border-style: dashed;
	border-width: 1px;
	border-color: #A0A0A0;
	width: 580px;
	font-size: 10pt;
	padding: 5px 5px 5px 5px;
}

div.Form
{
	font-size: 10pt;
}

/* ERROR/WARNING BOX */

div.Error
{
	border: 1px solid #A0A0A0;
	background-color: #FFFFFF; 
	background-image: url('./images/pwarning.png');
	background-repeat: no-repeat;
	padding: 5px 5px 5px 75px;
	width: auto;
	margin: 5px;
	min-height: 75px;
	text-align: center;
}

/* PAGE MENU */

div.PageMenu
{
	margin-left: 25px;
	margin-top: 75px;
	position: absolute;
	top: 100px;
	left: 1px;
	width: 150px;
	text-align: center;
}


/* Beginning of formatted markup presentation */

	div.imageblocker
	{
		height: 1px;
		width: 1px;
		clear: both;
		overflow: hidden;
	}

	div.Heading
	{
		margin: 0 0 30px 0;
	}
	
	div.Heading	h2
	{
		text-align: center;
		font-family: Tahoma, Helvetica, Sans-Serif;
  		font-size: 16pt;
	}
	
	div.SubHeading
	{
		border-top: 2px solid #E0E0E0;
		margin: 0 0 30px 0;
	}
	
	div.SubHeading	h3
	{
		font-size: 14pt;
		font-weight: bold;
		padding: 0 0 0 0;
		margin: 0 0 0 0;
	}
	
	div.SubSubHeading
	{
		margin: 0 0 30px 0;
	}
	
	div.SubSubHeading	h4
	{
		font-size: 14pt;
		font-weight: normal;
	}
	
	div.Tree	div.TreeNode
	{
		margin: 0 0 0 25px;
		border-width: 0 0 0 1;
		border-style: dashed;
		border-color: #E0E0E0;
	}
	
	div.Tree
	{
		margin: 50px 0 0 50px;
	}
	
	div.Tree	div.Current
	{
		border-width: 0;
	}

	div.Tree	a
	{
		border: 1px dashed #E0E0E0;
	}
	
	table
	{
		width: 80%;
		margin: 0 10% 0 10%;
	}
	
	table.KeyValue	td.Key
	{
		text-align: right;
		padding: 0 15px 0 0;
		width: 50%;
	}

	table.KeyValue	td.Value
	{
		text-align: left;
		width: 50%;
	}
	
	table.FormattedImage
	{
		border: 1px solid #666666;
		background-color: #FFFFFF; 
		padding: 5px 5px 5px 5px;
		width: auto;
	}
	table.FormattedImage	td
	{
		text-align: center;
	}
	
	table.FormattedImage	div.ImageFrame
	{
		text-align: center;
		width: 100%;
	}
	
	table.FormattedImage	div.Caption
	{
		font-size: 8pt;
		font-style: italic;
		font-weight: normal;
	}
	
	table.Left
	{
		float: left;
		clear: left;
		margin: 5px 10px 5px 10px;
	}

	table.Right
	{
		float: right;
		clear: right;
		margin: 5px 10px 5px 10px;
	}
	
	div[class="Formatted Footnote"]
	{
		font-size: 10pt;
	}
	
	div.PageControls
	{
		border: 1px solid #666666;
		background-color: #FFFFFF; 
		padding: 5px 5px 5px 5px;
		width: 300px;
		font-size: 10pt;
		margin-top: 5px;
		margin-bottom: 5px;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	
	div.PreviousButtonSpacer
	{
		display: inline;
	}
	
	div.NextButtonSpacer
	{
		display: inline;
	}
	
/* Endof formatted markup presentation */

/* ADMIN STUFF */

div.Admin
{
	text-align: right;
}

div.Admin form
{
	height: 3em;
}

div.Admin input[type="submit"]
{
	display: block;
	float: right;
}

/* Page Comments */

div#PageComments
{
	width: 75%;
	margin-left: 12%;
}


