/* 'Beta' style 

	- General text colour: #552211
	- General block background: #AA9088
	- Alternate light block background: #EEDDDD
	- Light text colour: #D4C7C3
	- Active/General link colour: #AA2211
	
*/

/* General page default stuff */

body
{
	color: #552211;
	background-color: #FFFFFF;
	font-family: Tahoma, Helvetica, Sans-Serif;
	font-weight: normal;
	font-size: 12pt;
	margin: 3px 3% 3px 3%;
	padding: 3px 0 3px 0;
}

a
{
  color: #6060F0;
  text-decoration: none;
  border: 0;
}

a:active
{
  color: red;
  text-decoration: underline;
}

a:visited
{
  color: #6060F0;
  text-decoration: none;
}

a:hover
{
  color: red;
  text-decoration: underline;
}

div
{
	background-repeat:no-repeat;
}

img
{
	border: 0;
}

/* End of page default stuff */

/* Form input stuff */

div.Form	div.Title
{
	font-family: Courier New, monospace;
	font-size: 12pt;
	padding: 15px 5px 5px 5px;
}

div.Form	div.Input	input
{
	border-style: dashed;
	border-width: 1px;
	border-color: #EEEEFF;
	width: 120ex;
	font-family: Courier New, monospace;
	font-size: 10pt;
	padding: 5px 5px 5px 5px;
}

div.Form	div.Input	textarea
{
	border-style: dashed;
	border-width: 1px;
	border-color: #EEEEFF;
	width: 120ex;
	font-family: Courier New, monospace;
	font-size: 10pt;
	padding: 5px 5px 5px 5px;
}

div.Form
{
	font-family: Courier New, monospace;
	font-size: 10pt;
}

/* End of form input stuff */

/* Templates */

	/* Button */
	
	span.OuterButton
	{
		float: right;
		display: block;
		background-image: url(./images/button_blank.png);
		width: 24px;
		height: 24px;
		overflow: hidden;
		text-decoration: none;
	}
	
	span.InnerButton
	{
		display: none;
		width: 0;
		height: 0;
		overflow: hidden;
	}
	
	a.Button
	{
		display: block;
		text-decoration: none;
	}
	
	/* End Button */

	/* Box - the box you get around articles, comments, etc. */
	
	div.Box
	{
		border: 1px solid #552211;
		padding: 5px 5px 8px 5px;
		margin: 10px 0 10px 0; /* Should get collapsed to 10px total between comment blocks */
	}
	
	div.Box	div.Header
	{
		text-align: center;
		width: 100%;
		line-height: 26px;
	}
	
	div.Box	div.Header	div.Date
	{
		font-weight: normal;
		font-style: italic;
		font-size: 10pt;
		width: 20%;
		float: left;
	}
	
	div.Box	div.Header	div.Author
	{
		font-weight: normal;
		font-size: 12pt;
		margin: 0 0 0 20px;
		width: 20%;
		float: left;
	}
	
	div.Box	div.Header	div.Title
	{
		font-weight: normal;
		font-size: 12pt;
		margin: 0 0 0 20px;
		width: 60%;
		float: left;
	}
	
	div.Box	div.Header	span.ArticleButton
	{
		background-image: url(./images/button_right.png);
	}
	
	div.Box	div.Body
	{
		border: 1px solid #552211;
		background-color: #EEEEFF; 
		padding: 5px 5px 5px 5px;
		text-align: justify;
		clear: both;
	}
	
	div.Box	div.Footer
	{
		text-align: right;
		padding: 0 0 0 9.5%;
		font-size: 9pt;
	}
	
	/* End Box */
	
/* End of Templates */

/* Page Header stuff */

	div#PageHeader
	{
		text-align:right;
	}

	div#PageHeader	div#LoginUserName
	{
		float: left;
		line-height: 24px;
		vertical-align: bottom;
	}

	/* User Controls stuff */
	
	div.UserControls	div
	{
		margin: 0 1px 0 1px; /* Space out the buttons */
		padding: 0 0 0 0;
		overflow: hidden;
	}
		
	div.UserControls	span.HomeButton
	{
		background-image: url(./images/button_home.png);
	}
	
	div.UserControls	span.RecentButton
	{
		background-image: url(./images/button_exclaim.png);
	}
	
	div.UserControls	span.ProfileButton
	{
		background-image: url(./images/button_settings.png);
	}
	
	div.UserControls	span.UsersButton
	{
		background-image: url(./images/button_users.png);
	}
	
	div.UserControls	span.AdminButton
	{
		background-image: url(./images/button_admin.png);
	}
	
	div.UserControls	span.RegisterButton
	{
		background-image: url(./images/button_register.png);
		width: 71px;
	}
	
	div.UserControls	span.LogInButton
	{
		background-image: url(./images/button_login.png);
		width: 60px;
	}
	
	div.UserControls	span.LogOutButton
	{
		background-image: url(./images/button_logout.png);
		width: 72px;
	}
	
	/* End User Controls stuff */
	
	/* Page Title stuff */
	
		div#PageHeader	div#PageTitle
		{
			text-align: center;
		}
		
		div#PageHeader	div#PageTitle	h1
		{
			color: #552211;
			font-family: Tahoma, Helvetica, Sans-Serif;
	  		font-weight: normal;
			font-size: 16pt;
			background-color: #EEEEFF;
			margin: 26px 0 0 0;
		}
		
	/* End Page Title stuff */
	
/* End Page Header stuff */


/* Article Controls stuff */

	/* Hide button text labels */
	div.ArticleControls
	{
		text-align: right;
		margin: 0 0 50px 0;
	}
	
	div.ArticleControls	div
	{
		margin: 0 1px 0 1px; /* Space out the buttons */
		padding: 0 0 0 0;
		overflow: hidden;
	}
	
	div.ArticleControls	div.NewArticle
	{
		float: right;
		width: 204px; /* Should be 200 - curse you, IE! */
		height: 24px;
	}
	
	div.ArticleControls	div.NewArticle form
	{
		text-align: center;
	}

	div.ArticleControls	div.NewArticle select
	{
		width: 174px;
		height: 20px;
		margin: 2px 0 2px 0;
		padding: 0 0 0 0;
	}

	div.ArticleControls	div.NewArticle	span.NewArticleButton
	{
		background-image: url(./images/button_new.png);
	}
	
	div.ArticleControls	span.EditArticleButton
	{
		background-image: url(./images/button_edit.png);
	}
	
	div.ArticleControls	span.DeleteArticleButton
	{
		background-image: url(./images/button_bin.png);
	}
	
	div.ArticleControls	span.ArticleTreeButton
	{
		background-image: url(./images/button_tree.png);
	}
	
	div.ArticleControls	span.ArticleInfoButton
	{
		background-image: url(./images/button_info.png);
	}
	
	div.ArticleControls	span.ParentArticleButton
	{
		background-image: url(./images/button_up.png);
	}
	
/* End Article Controls stuff */

/* Page Menu stuff */

	div.PageMenu
	{
		background-color: #D4D4FF;
		border-color: #EEEEFF;
		border-width: 1px;
		border-style: dashed;
		margin: 30px 0 0 0;
		padding: 2px 2px 2px 2px;
		width: 100px;
		position: fixed;
		top: 80px;
		left: 10px;
		float: left;
		overflow: hidden;		
	}
	
	div.PageMenu	span.MenuTitle
	{
		display: none;
	}
	
	div.PageMenu	div.Even
	{
		background-color: #E4E4FF;
		width: 100%;
	}
	
	div.PageMenu	a
	{
	  color: #000000;
	  text-decoration: none;
	  border: 0;
	}
	
	div.PageMenu	a:active
	{
	  color: red;
	  text-decoration: underline;
	}
	
	div.PageMenu	a:visited
	{
	  color: #000000;
	  text-decoration: none;
	}
	
	div.PageMenu	a:hover
	{
	  color:  red;
	  text-decoration: underline;
	}
/* End Page Menu stuff */


/* Page Body Proper stuff */

	div#PageBody
	{
		margin: 27px 0 0 106px;
	}
	
	div.Intro
	{
		background-color: #EEEEFF;
		border-color: #EEEEFF;
		border-width: 1px;
		border-style: dashed;
		margin: 30px 0 0 0;
		padding: 10px 10px 10px 10px;
		width: 60%;
	}
	
	div.List
	{
		width: 60%;
		margin: 30px 20% 30px 20%;
	}
	
	div.List	span.Author
	{
		display: none;
	}
	
	div.List	span.Type
	{
		color: #AAA;
		float:right;
	}
	
	div.List	div.Postscript
	{
		float: right;
		font-size: 10pt;
		font-style: italic;
	}
	
	div.PageControls
	{
		margin-left: auto;
		margin-right: auto;
		padding: 10px 10px 10px 10px;
		height: 24px;
		width: 197px;
		align: center;
		float: none;
	}
	
	div.PageControls	span.PreviousButton.OuterButton
	{
		background-image: url(./images/button_previous.png);
		width: 74px;
		float: left;
	}
	
	div.PageControls	div.PreviousButtonSpacer
	{
		width: 74px;
		float: left;
	}
	
	div.PageControls	span.ContentsButton.OuterButton
	{
		background-image: url(./images/button_contents.png);
		width: 76px;
		float: left;
	}
	
	div.PageControls	span.NextButton.OuterButton
	{
		background-image: url(./images/button_next.png);
		width:47px;
		float: left;
	}
		
	div.PageControls	div.NextButtonSpacer
	{
		width:47px;
		float: left;
	}
	
	div.News	div.Footer	div.Comments
	{
		font-size: 8pt;
	}
	
	div.News	div.Footer	div.Comments	span.Author
	{
		margin: 0 4pt 0 4pt;
	}
	
	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 #EEEEFF;
		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;
	}
	
	hr.PageSeperator
	{
		margin: 30px 0 0 0;
	}
	
	div.Tree	div.TreeNode
	{
		margin: 0 0 0 25px;
		border-width: 0 0 0 1;
		border-style: dashed;
		border-color: #EEEEFF;
	}
	
	div.Tree
	{
		margin: 50px 0 0 50px;
	}
	
	div.Tree	div.Current
	{
		border-width: 0;
	}

	div.Tree	a
	{
		border: 1px dashed #EEEEFF;
	}

	div.Tree	div.Current	div.TreeNode a
	{
		border-width: 0 0 1 0;
	}
	
	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 #552211;
		background-color: #FFFFFF; 
		padding: 5px 5px 5px 5px;
		width: auto;
	}
	table.FormattedImage	td
	{
		text-align: centre;
	}
	
	table.FormattedImage	div.ImageFrame
	{
		text-align: centre;
		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.imageblocker
	{
		height: 1px;
		width: 1px;
		clear: both;
		overflow: none;
	}

/* End Body Proper stuff */

/* Admin pages stuff */

	div.Settings
	{
		text-align: right;
		margin: 50px 15% 50px 15%;
	}
	
	form.Setting
	{
		margin: 10px 0 10px 0;
	}
	
	input.Setting
	{
		margin: 0 5px 0 5px;
	}

/* End Admin Pages Stuff */

/* Comments Section stuff */

	div#PageComments
	{
		margin: 0 0 0 130px; /* Indent comments a little to emphasise difference */
		width: 90%;
	}
	
	/* Comments box may be used in body or comments sections */
	
	div#PageComments	div.Comment
	{
		border-style: none;
	}
	
	div#PageComments	div.Comment	div.Header	div.Author
	{
		width:60%;
	}

	div#PageComments	div.Comment	div.Body
	{
		border-style: dashed;
	}
	

/* End Comments Section stuff */
			
			
/* Page Footer stuff */

	div#PageFooter
	{
		font-size: 10pt;
		font-weight: normal;
		font-style: italic;
		text-align: center;
	}
	
	div#PageFooter p
	{
	font-size: 10pt;
	font-weight: normal;
	font-style: italic;
	}

/* End Page Footer stuff */
	
a.CommentButton
{
	display: inline;
}	

span.CommentButton
{
	text-align: right;
	overflow: visible;
	text-decoration: underline;
	display: inline;
	float: none;
	background-image: none;
	width: 70%;
	height: auto;

}
	
span.CommmentButton	span.InnerButton
{
	display: inline;
	overflow: visible;
	width: auto;
	height: auto;
}

table
{
  color: #552211;
  background-color: #FFFFFF;
	border: 0px solid #FFFFFF;
	font-size: 12pt;
}

td
{
	color: #552211;
  background-color: #FFFFFF;
	border: 0px solid #FFFFFF;
}

table.news
{
  background-color: #FFFFFF;
	border: 1px solid #552211;
	font-size: 12pt;
}

td.news
{
  background-color: #EEEEFF;
	border: 1px solid #552211;
	padding: 5px 5px 5px 5px;
}

th.news
{
  font-weight: normal;
  font-style: italic;
  font-size: 10pt;
}

th.newstitle
{
  font-weight: normal;
  font-size: 12pt;
}


