/* CSS Styles for Xtriki Page Layout, Author Tim Reeves, Stand 2007-08-09 */
/* Adapted to Yann-Gaël Guéhéneuc's tastes 2013/08/20 */

/* For the xml parser the canvas is <html>, not <body> */
html {
	margin: 0px;
	padding: 0px;
	display: block;
	width: 100%;
	background-color: #E9E3DA;
}

body {
	margin: 0px;
	padding: 0px;
	width: 100%;		/* MSIE has a stupidly large default value */
	background-color: transparent;
}

/* To make things "pixelgenau" */
img, table, table td, form, div, div div, div div div, div div div div, pre {
	margin: 0px;
	/* Tygre 2012/01/13: Table style...
	   I make sure that the CSS does not override
	   the choice of style made by the user. */
	/* padding: 0px; */
	/* border-style: none; */
	/* border-width: 1px; */
	/* text-align: left; */
	overflow: hidden;
}

table {
	border-collapse: collapse;	/* Gets rid of IE Borders */
	border-spacing: 0px;		/* Gets rid of Firefox Borders */
}

div.nav {
	/* position: absolute; */
/* top must be set inline or via JavaScript to be changeable */
	left: 0px;
	/* ALSO TRIED WITH width: 160px; */
	width: 180px;
	height: 100%;
	margin: 0px;
	padding: 10px 0px 10px 0px;
	text-align: center;
	background-color: #CBB487;
/* This would save using the box model hack */
/* but since only IE 5 is in error just forget it */
/*	background-image: url(ximages/navhg.png); */
/*	background-repeat: repeat-y; */
/*	border-right: 1px solid #000000; */
	overflow: visible;
}

div.main {
	/* position: absolute; */
	top: 0px;
	/* ALSO TRIED WITH left: 161px; */
	left: 181px;
	height: auto;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	background-color: #E9E3DA;
}

div.main div.content {
	position: relative;	/* Need to be able to position subwin relative to this */
	top: 0px;
	left: 0px;
	/* USED TO BE width: 639px; */
	max-width: 710px;
	height: auto;
	margin: 12px 0px 0px 12px;
	padding: 0px 0px 6px 0px;
	overflow: hidden;
	background-color: transparent;
}

/* Classes for Navigation */
/* The margins and paddings order: top right bottom left */

div.nav p.item {
	font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif, Tahoma;
	margin: 7px 11px 7px 11px;
	font-size: 13px;
}

div.nav p.item a, div.nav p.item a:link, div.nav p.item a:visited,
div.nav p.item a:active, div.nav p.item a:focus {
	display: block;
	color: #000000;
	background-color: #E9E3DA;
	text-align: center;
	text-decoration: none;
	border: 1px solid #000000;
	margin: 0px;
	padding: 0px;
	/* ALSO TRIED WITH left: 135px; */
	width: 155px;
}
div.nav p.item a:hover {
	display: block;
	color: #000000;
	background-color: #CBB487;
	text-align: center;
	text-decoration: none;
	border: 1px solid #000000;
	margin: 0px;
	padding: 0px;
	width: 155px;
}

#nav {
	/* netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
	top: 0px;
}
body > div#nav {
	/* used by Netscape6+/Mozilla, Opera 5+, Konqueror, Safari, OmniWeb 4.5+, ICEbrowser */
	position: fixed;
	top: 0px;
	left: 0px;
}

form {
	margin: 0px;
	padding: 0px;
}

input, select, textarea {
/*  font-family: Courier New, Courier, Arial, Helvetica, sans-serif;	*/
  font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif, Tahoma;
  font-size: 12px;
  color: #000099;
  background-color: #FFFFFF;
  border-right: 1px solid #AAAAAA;
  border-bottom: 1px solid #AAAAAA;
  border-top: 1px solid #333333;
  border-left: 1px solid #333333;
  margin: 4px 0px 4px 0px;		/* Applies to file input fields */
  padding-left: 4px;
  vertical-align: middle;
}
textarea {
	font-family: Courier New, Courier, Arial, Helvetica, sans-serif;
	width: 704px;	/* wie div.content abzgl. border + padding */
	height: 380px;
	margin: 4px 0px 6px 0px;
	padding-top: 2px;
	overflow: auto;
}
input.name {
  margin: 4px 10px 4px 0px;	/* Applies to name and pw fields */
  width: 240px;
}
input.check {
  margin: 2px 8px 4px 0px;	/* Applies to checkboxes */
}

.wikiButton {
  color: #000000;
  background-color: #E9E3DA;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 0px 12px;
  margin: 6px 24px 8px 0px;
  border-top: 1px solid #AAAAAA;
  border-left: 1px solid #AAAAAA;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  cursor: pointer;
}

.wikiButtonDown {
  color: #000000;
  background-color: #E0E0E0;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 0px 12px;
  margin: 6px 24px 8px 0px;
  border-right: 1px solid #AAAAAA;
  border-bottom: 1px solid #AAAAAA;
  border-top: 1px solid #333333;
  border-left: 1px solid #333333;
  cursor: pointer;
}

/* Classes for page list (list.php) */
table.nodelist tr td {
	padding: 0px 6px 6px 0px;
}

/* Classes for FCKeditor (revoke inheritance of bg-color) */
div.main div.content form div iframe {
  background-color: white;
}

/* Classes for TOC Plugin */
div.tocbox {
	padding: 6px 6px 2px 6px;
	margin: 0px 0px 6px 0px;
	width: auto;
	border: 1px solid black;
}

div.tocbox h2 {
	margin: 0px 0px 0px 14px;
}

div.tocbox ul.tocul {
	list-style-type: none;
	margin: 4px 0px 0px 16px;
	padding: 0px;
}
div.tocbox ul.tocli {
	margin: 0px 0px 6px 0px;
	padding: 0px 0px 0px 1px;
}

/* Classes for Talk Plugin */
div.talkbox {
	padding: 3px 6px 2px 8px;
	margin: 3px 0px 9px 0px;
	width: auto;
	border: 1px solid #888888;
	background-color: #F8F8F8;
}
ul li textarea {
	font-family: Verdana, Tahoma, Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;
	width: 687px;	/* Less than usual to account for the list indent */
	height: 80px;
}

/* Classes for subnodes plugin */
span.subnodeswitch {
	font-family: monospace;
	font-size: 2em;
	cursor: pointer;
}

div.subnodeblock {
	border: 1px solid black;
	width: 696px;	/* wie div.content abzgl. border + padding */
	margin: 0px;
	padding: 0px 6px 3px 6px;
}

div.subnodeblock div.subnodeblock {		/* SubNode within a SubNode */
	width: auto;
	margin: 6px 0px;
}

/* Classes for subwins plugin */
div#subwin {
	/* position: absolute; */	/* Measured to div.main div.content */
	top: 0px;
	left: 0px;
	width: auto;
	margin: 0px 6px;
	padding: 6px;
	background-color: #F8F8F8;
	border: 1px solid black;
	z-index: 99;	/* When displayed, then in the foreground! */
}

/* Classes for diff plugin */
table.diff {
  width: 100%;
  margin-bottom: 9px;
}
table.diff tr td {
	padding: 4px;
}
table.diff tr th {
	padding: 4px;
	font-size: 12pt;
	font-weight: bold;
	letter-spacing: 1px;
}
table.diff tr td.strong {
	font-weight: bold;
	color: #000000;
	letter-spacing: 1px;
}
td.diff-prevlink {
  text-align: left;
}
td.diff-nextlink {
  text-align: right;
}
td.diff-section-title, div.diff-section-title {
  background-color: #F0F0FF;
  font-size: 0.83em;
  font-weight: bold;
  padding: 0.1em 1em;
}
td.diff-deletedline {
  background-color: #FFFFAA;
  width: 50%;
}
td.diff-addedline {
  background-color: #AAFFAA;
  width: 50%;
}
td.diff-context {
  background-color: #FAFAFA;
}
span.diffchange {
  color: #FF0000;
  font-weight: bold;
}
