/* stylesheet for gowiki used by template files */

/* generic defines */

pre { font-family: monospace; padding-left: 1em; }
.grey { color: #808080; }

h1 { font-size: 1.5em; margin-top: 1.5em; margin-bottom: 1em; font-weight:bold }
h2 { font-size: 1.17em; margin-top: 1.2em; margin-bottom: 0.8em; font-weight:bold }
h3 { font-size: 1.05em; margin-top: 1em; margin-bottom: 0em; font-weight:bold ; }

p { margin-top: 0.7em; margin-bottom: 0.7em; }

a 	  { color: #1828a8 }
a:visited { color: #404080 }
a:active  { color: red }
a[name]	  { position:relative; top:-2.5em; }
span.link { color: #1828a8; }

.nowrap { white-space: nowrap }

.right { float: right; margin-left: 1em; }
.left  { float: left; margin-right: 1em; }
img.inlinediagram { float: left; margin: 0.5em }
img.stone { vertical-align:bottom }

div.inlineimg { border:1px solid #404040; background:#f4f4f4;
            font-size: 85%;
            padding: 5px }
div.inlineimg img { margin-bottom: 5px }
.warning { background-color:white;
	font-weight:bold;
	border:3px solid red;
	padding:0.7em; margin:2em; }

/* defines for wiki styles */

li { margin-top: 3pt; margin-bottom: 3pt; }
.indentation {  margin-left: 0.5em; padding-left: 1.5em;
		margin-top: 0.2em; margin-bottom: 0.2em;
		border-left:3px solid #e0e0f0;
		clear: both; }
.comment { color: #808080; font-size: 80% }

#toc,#subs {  margin-top: 0.8em; margin-bottom: 0.8em; }
#toc td, #subs td
	{ font-size: 0.9em; border: 1px solid #606080;
	  background-color: #e0e0f0; padding: 5px; vertical-align: top}

div.toc1 { margin-left: 0em; }
div.toc2 { margin-left: 1em; }
div.toc3 { margin-left: 2em; }

div.editsection { float: right; margin-left: 0.5em; font-size: 0.9em; }

div.sidebarleft { float: left; margin-right: 1em; padding: 0.1em 0.5em; max-width: 35%;
	font-size: 0.9em; background: white; border: 1px solid #555; clear:both;}
div.sidebarright { float: right; margin-left: 1em; padding: 0.1em 0.5em; max-width: 35%;
	font-size: 0.9em; background: white; border: 1px solid #555; clear:both;}
/* IE hack for max-width */
* html div.sidebarleft { width: 17em; }
* html div.sidebarright { width: 17em; }

hr { clear:both;  }
div.hr { clear:both; margin-bottom:0.7em; }

div.diagram { float:left; padding: 5px 0 0 0; margin: 0 2em 0.7em 0;
	background: white; border: 1px solid silver; 
	text-align: center; font-size: 0.9em; position:relative; }
div.diagram img {  }
div.diagclear { clear:both; margin-top:0.5em }

div.adshow { float: left; padding: 5px; margin: 1em;
	background: white; border: 1px solid silver; 
	text-align: center; font-size: 0.9em;  }

table { font-size: 0.99em }	/* fix rounding error by Mozilla */

table.wiki { background: white;
	caption-side: bottom;
	border: 1px solid black;
	margin: 1em 1em 0.2em 1em }
table.wiki th { background: #cccccc;
	font-weight: bold; font-size: 1.1em; }
table.wiki tr.odd { background: #f4f4f4 }
table.wiki caption { font-size: 0.9em }

#captcha { margin: 2em; }
p.captcha { width: 30%; padding: 0.5em; border:1px solid black; background: #aaf; margin-top: 2em }

/* defines for diff */

.delete { background-color:#ff8080; text-decoration:line-through }
.added { background-color:#a0ffa0;  text-decoration:underline }

table.diff { font-family: monospace;
	border:3px solid black; padding:3px;
	}

table.diff tr.heading { background: #cccccc; }
table.diff tr.heading td { padding: 3px }
table.diff tr.copy { background: white }
table.diff tr.del { background: #ffcccc }
table.diff tr.ins { background: #ccffcc }
table.diff a { text-decoration:none }


/* defines for search results */
.searchresult { font-size:90%; font-family:Arial,sans-serif }
.greenlight { color:green }

/* defines for position search results */
ol.posresult li { clear:left; margin-bottom: 0.5em }
ol.posresult img { float:left;margin-bottom:0.5em;margin-right:1em }
ol.posresult p.page { margin-bottom:0.2em; font-size:100%; font-weight:bold }
ol.posresult p { margin:0 0.5em; font-size:85% }


/* defines for RecentChanges */

li.thread { margin-top: 0pt; margin-bottom: 0pt; font-size: 90%}
li.watched1 { font-weight: bold; background: #ffffa0 }
li.watched2 { font-weight: bold; background: #e0d0ff }
li.watched3 { font-weight: bold; background: #ffd19a }
li.watched4 { font-weight: bold; background: #d8ffc8 }

div.relatedchanges {
	margin:1em; padding:0.5em;
	border:1px solid black;
	background-color:#fbfbfb;
	background-image: url(/images/background.gif);
	font-family: sans-serif;
}

/* defines for editing */

textarea { font-family: courier, "courier new", monospace }

/* defines for pageinfo etc */
table.white {
	background-color: white;
	border:1px solid #ccc;
	border-spacing: 3px;
	margin-top:0.7em;
}

table.white td {
	border-bottom:1px solid #ccc;
}

table.white th {
	border-bottom:2px solid black;
}

table.white th.left {
	vertical-align:top;
	border-bottom:1px solid #ccc;
}

ul.none { margin:0; list-style-type:none }
ul.none li { margin:0 }

/* defines for SGF */

div.sibling a { font-weight: bold; background-color: #def; }
div.thissibling { background-color:#ddf; border:1px solid #bbd; }
/*#sgfnavigation a { text-decoration: none; border:1px solid #ccc;
		   background-color:#fff; padding:1px }
#sgfnavigation a:hover { background-color:#ffd ; border:1px solid black; }
*/
span.SGFLabel {	font-size:12px; font-weight:bold; color:black;
		background:#fb6; padding:1px; z-index:4; position:absolute; }

/* defines for position search */
img.button_selected { position:relative; top:6px; border:2px solid red }
img.button_not_selected { position:relative; top:6px; }


/* defines for browse view */

#browse {
	margin:0;
	padding:0;
	color:black;
	line-height: 1.25;
}

#contentpane {
	margin: 0 0 0 11.5em;
	padding: 2.2em 1.5em 0.5em 1.5em;
	}

#contentwrapper {
	position: absolute;
	top: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	}

#leftpane {
	position:absolute;
	top:0;left:0;
	width: 11.5em;
	margin: 0;
	text-align: center;
	border-right: 1px solid #ffe;
	padding: 2em 0 1em 0;
	overflow: hidden;
	}

#toppane {
	position:fixed;
	top:0;left:0;
	width:100%;
	background:#eee;
	border-bottom:1px solid #ccc;
	padding:0;
	margin:0;
	z-index: 100;
	}


/* content pane defines */

#pagetitle {
	font-size:1.6em;
	font-weight:bold;
	margin:0.2em 0 0 0
	}

#pageheaders {
	font-size: 0.8em;
	text-align: right;
	clear: both;
	}

div.path {
	font-size: 0.8em;
	border-top:1px solid black;
	border-bottom:1px solid black;
	margin-top: 0.7em;
        padding: 0.25em 0;
}

div.path p {
        margin: 0.25em 0;
}

div.path a { text-decoration: none; }

#pgfooter {
	background-color:white;
	margin-top:1em; padding:5px 0px;
	border-top:1px solid black;
	border-bottom:1px solid black;
	}

#pgfooter div {
	font-size: 0.9em;
	font-weight: bold;
	}


/* defines for left pane */

#leftpane div {
	margin-left:0.25em;
	margin-right:0.25em;
	}
#bookmarks {
	margin-top:0.7em;
	padding:0.5em 0;
	line-height:110%;
	font-size: 0.9em;
	font-weight: bold;
	}
#related {
	margin-top:0.7em;
	padding:0 0.2em;
	line-height: 105%;
	font-size: 0.9em;
	}
#ad {
	margin-top: 1em;
	padding:0 0.2em;
	font-size: 0.8em;
	overflow: hidden;
	}
#partner {
	margin-top:3em;
	margin-bottom: 2em;
	padding:0 0.2em;
	font-size: 0.8em;
	}


/* top navigation pane */

/* -- searchbox */

#searchboxdiv {
	float:right;
	padding:0 1em 0 1.5em;
}
#searchboxdiv span { font-size: 0.9em }
#searchboxdiv form {
	padding: 0;
	margin: 0;
	}

#searchbox { font-size: 0.8em }


/* -- edit links */

#editmenu { margin-left:12.5em }

ul.editmenu a {
	text-decoration: none;
	display: block;
	padding: 0 0.5em;
	}
ul.editmenu a:hover { background: #fff }

ul.editmenu {
	list-style-type:none;
	margin:0;
	padding:0;
}

li.editmenu {
	list-style-type:none;
	float:left;
	display:block;
	margin: 0 1em 0 0;
	font-size: 0.9em;
	font-weight: bold;
}


/* -- tool menus 
      based on CSS menus by mywebstuff.com and Suckerfish
*/

#toolbox3 { float: left; border: none; }

div.toolmenu {
	margin: 0 0 0 1em;
	padding: 0 1em 0 0.25em;
	font-size: 0.9em;
	float: right;
	border-left: 1px solid silver;
}

div.toolmenu:hover, div.toolmenu.over {
	background: #eeb;
}

div.toolmenu a {
	text-decoration: none;
}
 
div.toolmenu span { display: block; color: #1828a8 }

ul.tools {
	list-style-type:none;
	position:absolute;
	margin: 0;
	padding: 0 3px;
	display:none;
	background: #ffe;
	border: 1px solid #eeb;
	border-left: 5px solid #eeb;
}

ul.tools a {
	display:block;
	width:9em;
}

ul.tools a:hover {
	background: #eeb;
}

div.toolmenu:hover ul, div.toolmenu.over ul {
	display: block;
}

li.separator {
	border-top:1px solid #eeb;
	margin-top:0.5em;
	padding-top:0.5em;
	}


/* style for forums */

table.threadlist {
	margin-top: 0.5em;
	/*border: 2px solid #a0a0ff;*/
	width: 100%;
	}
table.threadlist th {
	background: white;
	border-bottom: 3px solid black;
	margin-bottom: 5px;
	padding: 2px;
	}

table.threadlist td { padding: 1px 5px; }

.even {	background: #fcfcfc; }
.odd { 	background: #f4f4f4; }


table.threadlist td.author {
	font-size: 80%;
	white-space: nowrap;
	}

.postinginfo {
	padding:2px;
	margin-bottom: 0.5em;
	border-bottom:1px solid #aaa;
	}

.postingheader {
/*	background-image: url(/images/post_background.png);
	background-repeat:repeat-x;
	background-color: white;*/
	border-bottom:2px solid #c0c0ff;
	border-top:2px solid #c0c0ff;
	padding:2px;
	margin-top:0.5em;
	}

.postingbody {
	padding:0 0.5em; margin:0;
	}
.postingfooter {
	border-top:2px solid #c0c0ff;
	border-bottom:2px solid #c0c0ff;
	padding:2px;
	margin-bottom:0.5em;
	font-size:85%;
	}

a.forum {
	border: 1px solid #1828a8;
	background: #eee;
	padding: 3px;
	text-decoration: none;
	font-weight: bold;
	}
a.forum:hover { background: white; border: 2px solid #1828a8; }

span.forumlocked {
	border: 1px solid #888;
	background: #eee;
	padding: 3px;
	text-decoration: none;
	font-weight: bold;
	color: #aaa;
	}

a.forum2 {
	border: 1px solid #aaa;
	margin-left: 2px;
	background: #eee;
	padding: 1px;
	text-decoration: none;
	font-weight: bold;
	}
a.forum2:hover { background: white; }

fieldset { margin-top:0.5em }
