/* COMPATIBILITY WITH OLDER BROWSERS */

body{
	margin: 0;
	padding: 0;
	min-width: 900px; /* FIXME 45em; was causing problems with horizontal scrolling */
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 11pt;
	color: #000;
	background-color: #DEDEDC;
}

textarea{
	background-color: #FCFCFC;
	padding: 1ex;
}

input{
	vertical-align: middle;
	padding: 0.3ex;
	margin: 0.6ex;
}

form{
	margin: 1ex;
	padding: 0;
}

hr{
	height: 1px;
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #BBB;
}


a{
	/* Unsure */
	color: #A68C53;
	background: transparent;
	text-decoration: underline;
}

a:link{
	/* Colour of links */
	color: blue;
	background-color: transparent;
	text-decoration: underline;
}

a:visited{
	/* Colour of visited links */
	color: #1177EE;
	background-color: transparent;
	text-decoration: underline;
}

a:active{
	/* Not sure */
	color: #A68C53;
	background-color: transparent;
	text-decoration: underline;
}

a:hover{
	/* Mouse over on links */
	color: #A68C53;
	background-color: transparent;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6{
  margin-top: 1.0em;
  margin-bottom: 0.6em;
}
h1, h3, h5{
  font-style: italic;
}
h1{
  font-size: 190%;
  color: #333;
}
h2{
  font-size: 170%;
  color: #333;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: silver;
}
h3{
  font-size: 150%;
  color: #4D4D4D;
}
h4{
  font-size: 130%;
  color: #666;
}
h5{
  font-size: 110%;
  color: #808080;
}
h6{
  font-size: 90%;
  color: #999;
}

ol, ul, li{
	font-size: 1.0em;
	line-height: 1.8em;
	margin-top: 0.2em;
	margin-bottom: 0.1em; 
}

p{
	font-size: 1.0em;
	line-height: 1.8em;
	margin: 1.2em 0em 1.2em 0em;
}

dt, dd{
	font-size: 1.0em;
	line-height: 1.8em;
	margin-top: 0.2em;
	margin-bottom: 0.1em; 
}
pre, code{
	font-family: monospace;
	font-size: 1.1em;
	line-height: 1.5em;
	
}

pre{
  width: 80%;
  background-color: #EFEFDD;
  border-style: dotted;
  border-width: thin;
  padding: 10px;
  overflow: auto;
}

acronym, cite{
	border-bottom: 1px dotted rgb(153,153,153);
	cursor: help;
	margin: 0;
	padding: 0 0 0.4px 0;
	white-space: normal;
}
strong, b{
	font-weight: bold;
}


<!--

#grid-wrap{
	clear: both;
	padding-left: 15em;   /* LC width */
	padding-right: 15em;  /* RC width */

	overflow: hidden;
}

/* GRID LAYOUT + HACKS */

#grid-main{
	position: relative;
	float: left;
	width: 100%;
	background: #FFF;

	overflow: hidden;
	/* Unsure */
	border-right: 0.1em solid #E6DFCF;
	border-left: 0.1em solid #E6DFCF;
	/*margin: 0 -1px;*/
}

#grid-left{
	position: relative;
	float: left;
	width: 15em;             /* LC width */
	right: 15em;             /* LC fullwidth*/
	margin-left: -100%;

	overflow: hidden;

}

#grid-right{
	position: relative;
	float: left;
	width: 15em;          /*RC width*/
	margin-right: -15.1em;  /*RC width*/
	overflow: hidden;

}

/* FIXME

I think these lines (among others) cause the following bug in gnewsense.org
http://bugs.gnewsense.org/Bugs/00269


Mac IE5 filter
div#grid-main, div#grid-left, div#grid-right {
	padding-bottom: 32767px !important;
	margin-bottom: -32767px !important; 
}
End Mac IE5 filter */


/*div#wiki-main{min-height:none;} FIXME this value is invalid */


/* FIXME

This causes validation errors.

@media all and (min-width: 0px;){

	body #grid-main{
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}
	body #grid-left{
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}
	body #grid-right{
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}
	body #grid-main[id^="grid-main"]{
		padding-bottom: 32767px !important;
		margin-bottom: -32767px !important;
	}
	body #grid-left[id^="grid-left"]{
		padding-bottom: 32767px !important;
		margin-bottom: -32767px !important;
	}
	body #grid-right[id^="grid-right"]{
		padding-bottom: 32767px !important;
		margin-bottom: -32767px !important;
	}
	body #wiki-main{
		min-height: 480px;
	}
	body #wiki-main[id^="wiki-main"]{
		min-height: 0;
	}
}

*/

/* FIXME

I think these lines (among others) cause the following bug in gnewsense.org
http://bugs.gnewsense.org/Bugs/00269

easy clearing
#grid-wrap:after{
  content: '[DO NOT LEAVE IT IS NOT REAL]'; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
#grid-wrap{
  display: inline-block;
}

#grid-wrap{
  display: block;
}
end easy clearing */


/* SKIN LAYOUT AND COLORS */


div#wiki-wrap{
	margin: 0;
	padding: 0;
	border: 0;
	position: relative;
	background-color: #DEDEDC;
}


/* Header */
div#wiki-head{
  background-image: url("head_bg.png");
  background-repeat: repeat-x;
  margin: 0px;
}

div#wiki-head a{
  background-image: url("logo.png");
  background-position: top;
  background-repeat: no-repeat;
  display: block;
  width: 400px;
  height: 100px;
}

div#wiki-head a:hover, div#wiki-head a:focus{
  background-position: bottom;
}
/* Header end */

form#wiki-search{
	border: 0;
	padding: 0;
	margin: 0.9em 0.5em 0 0;
}
	input#search-textbox{
		font-weight: bold;
	}
	input#search-button{
		/* Button in top right of page */
		background-color: #303030;
		/* Text */
		color: white;
		font-weight: bold;
	}

div#wiki-action{
	margin: 0px;
  background-image: url("topbar.png");
  background-repeat: repeat-x;
  background-color: #DEDEDC;
  border-bottom-style: solid;
  border-bottom-color: silver;
  border-bottom-width: thin;
  color: #B3B3B3;
  font-size: 90%;
  text-align: right;
  padding: 3px 10px;
}
	div#wiki-action a{
		font-weight: bold;
		color: #FFF;
		background-color: transparent;
		margin: 0;
		padding: 0.1em;
		border: 0;
		display: inline;
		text-decoration: none;
	}
	div#wiki-action  a:hover{
		color: #000;
		background-color: #FFF;
	}
	div#wiki-action p{
		margin: 0;
		padding: 0;
	}
	div#wiki-action  ul, div#wiki-action  div ul{
		list-style-type: none;
		list-style-position: inside;
		margin: 0;
		padding: 0;
		border: 0;
		white-space: normal;	
	}
	div#wiki-action  li, div#wiki-action  div ul li{
		display: inline;
		margin: 0;
		padding: 0 0.2em 0 0.4em;
		border: 0;
		border-left: 2px solid white;
	}
	div#wiki-action  li.noborder, div#wiki-action  div ul li.noborder{
		border: 0;
	}
	div#wiki-action a.createlink{
		display: none;
	}
	div#wiki-action a.createlinktext{
		color: red;
		background-color: transparent;
	}
	div#wiki-action a:hover.createlinktext{
		color: red;
		background-color: white;
	}
		div#action-left{
			float: left;
		}
		div#action-right{
			float: right;
		}

div#wiki-main{
	margin: 0;
	padding: 15px;
	white-space: normal;
	border-left: 1px solid silver;
	color: #000;
	/* background color for main wiki text bit */
	background-color: #FFF;
}

	h2#main-title{
		margin: 0;
		padding: 0;
		border: 0;
		border-bottom: 1px solid #BBB;
		height: 1%;
		font-size: 2em;
		/* Title heading text in wiki body */
		color: #314A5D;
		background-color: transparent;
	}
	p#main-info{
		margin: 0;
		margin-bottom: 0.8em;
		padding: 0;
		border: 0;
		font-size: 1em;
		height: 1%;
		color: #AAA;
		background-color: transparent;
	}
	div#wiki-main #wikiedit textarea{
		width: 98%;
		margin: 0;
		padding: 0;
	}
	div#wiki-main div.wikimessage{
		margin-top: 4px;
		margin-bottom: 4px;
		font-style: italic;
	}
	div#wiki-main div.diffbox{
		width: 100%;
		border: 1px solid white;
		margin: 0 0 0.5em 0;
	}
	div#wiki-main div.difftime{
		font-size: 1em;
		background: #E6DFCF;
	}
	div#wiki-main div.diffauthor{
		font-size: 1em;
	}
	div#wiki-main div.diffrestore{
		font-size: 1em;
	}
	div#wiki-main div#wikitext{
		background: transparent;
		color: #000;
		border: 0;
		margin: 0;
		padding: 0;
	}
	div#wiki-main h2.wikiaction{
		border: 0;
		margin: 0.4em 0;
		padding: 0;
		background-color: transparent;
		/* Headings on (eg) editing pages */
		color: #1177EE;
	}
	div#wiki-main div#wikiedit{
		border: 0;
		margin: 0;
		padding: 0;
	}
	div#wiki-main div#wikidiff{
		border: 0;
		margin: 1em 0;
		padding: 0;
	}
	div#wiki-main table.markup{
		border: 2px dotted #BBB;
	}
	div#wiki-main table.vert td.markup1{
		border-bottom: 1px dotted #BBB; 
	}
	div#wiki-main table.horiz td.markup1{
		border-right: none;
	}


div#wiki-left{
	margin: 0;
	border: 0;
	padding: 0;
	overflow: hidden;
	/* unsure */
	color: #000;
	background-color: transparent;
}

	div#wiki-left ul,div#wiki-right ul{
		list-style-type: none;
		list-style-position: inside;
		margin: 0;
		padding: 0;
		white-space: normal;
	}
	div#wiki-left li,div#wiki-right li{
		margin: 0;
		padding: 0;
		height: 1%;
		border: 0;
	}
	
	div#wiki-left a, div#wiki-right a{
		border: 0;
		/* menu item Font colour */
		color: #333;
		/* Menu items (not heading) background colour */
		background-color: transparent;
		text-decoration: none;
		margin: 0;
		padding: 0.3em 0.3em 0.3em 5mm;
		display: block;
	}
	div#wiki-left a:hover, div#wiki-left a:focus, div#wiki-right a:hover{
		/* menu item background colours after mouseover */
		background-color: #CCC;
		text-decoration: none;
	}
	div#wiki-left p, div#wiki-right p{
		margin: 0;
		padding: 0;
	}
	div#wiki-left p.sidehead,div#wiki-right p.sidehead{
		font-size: 1em;
		font-weight: normal;
		/* unsure on both */
		/* should set background colour for menus? */
		/* Whatever it should do, I cant work it out */
		color: #000;
		background-color: transparent;
		text-decoration: none;
	}
	div#wiki-left p.sidehead a, div#wiki-right p.sidehead a{
		padding: 0.1em 0.3em 0.1em 3mm;
		font-size: 1em;
		font-weight: bold;
		/* Menu headings on columns */
		color: #333;
		/* Menu headings background */
		background-color: transparent;
		text-decoration: none;
		border-top-style: solid;
		border-top-width: thin;
		border-top-color: white;
		border-bottom-style: solid;
		border-bottom-width: thin;
		border-bottom-color: silver;
	}
	div#wiki-left p.sidehead a:hover, div#wiki-left p.sidehead a:focus, div#wiki-right p.sidehead a:hover{
		font-weight: bold;
		/* mouse over Menu headings */
		color: #333;
		/* mouse over Menu headings background */
		background-color: #CCC;
		text-decoration: none;
	}
	div#wiki-left a.createlink, div#wiki-right a.createlink{
		display: none;
	}
	div#wiki-left a.createlinktext, div#wiki-right a.createlinktext{
		color: #000;
		background-color: transparent;
	}
	div#wiki-left a:hover.createlinktext, div#wiki-right a:hover.createlinktext{
		color: #000;
		background-color: #E6DFCF;
	}


div#wiki-right{
	margin: 0;
	border: 0;
	padding: 0;
	overflow: hidden;
	color: #000;
	background-color: transparent;
}

/* wiki-foot and page edition tools */
#wiki-foot{ 
  padding: 5px;
  text-align: right;
  background-color: #DEDEDC;
  border-top-style: solid;
  border-top-width: thin;
  border-top-color: silver;
  color: #333;
  font-size: 80%;
  /*clear: both; FIXME include this if you remove the BR element in .tmp file */
}

#wiki-foot ul{
  list-style: none;
  margin: 0px;
  padding: 0px;
}
#wiki-foot li{
  display: inline;
  margin: 0px 5px;
}
#wiki-foot li a{
  text-decoration: none;
  color: black;
  border: none;
}
#wiki-foot li a.createlink{
  display: none;
}
#wiki-foot li a:link{
    color: #537C9B;
    text-decoration: none;
}
#wiki-foot li a:visited{
    color: #537C9B;
    text-decoration: none;
}
#wiki-foot li a:hover, #wiki-foot li a:focus, #wiki-foot li a:active{
    color: black;
    text-decoration: none;
}
/* wiki-foot and page edition tools end */

/* Miscellaneous info */
#misc-info{
  margin: 0px;
  background-image: url("miscinfo_bg.png");
  background-repeat: repeat-x;
  background-color: #DEDEDC;
  color: #666;
  font-size: 80%;
  text-align: center;
  padding: 20px 10px;
}

#misc-info a:link{
    color: #537C9B;
    text-decoration: none;
}
#misc-info a:visited{
    color: #537C9B;
    text-decoration: none;
}
#misc-info a:hover, #misc-info a:focus, #misc-info a:active{
    color: black;
    text-decoration: none;
}
/* Miscellaneous info end */
-->
