/*  screen.css - MoinMoin Default Styles

Copyright (c) 2001, 2002, 2003 by Juergen Hermann
*/

/* content styles */

/* debug 
* {border: 1px dotted blue;}
*/

body {
    padding: 0;
    border: 0;
}

a:link { text-decoration: none; color: #C75B12; }
a:link:hover, a:link:active { text-decoration: underline; }
a:visited { text-decoration: none; color: #86431E; }
a:visited:hover { text-decoration: underline; }

a.nonexistent {
        color: #A0A;
}


textarea {
    font-size: 1em;
    font-family: monospace;
}

.disabled {
    /* IE ignore disabled attribute, but at least show items in gray */
    color: gray;
}

/* user interface styles */

#header {
    /* Top section as a whole */
    background-color: #738639;
    line-height: 1.1em;
}

#logo {
    float: left;
    margin: 5px 10px;
    padding: 0;
    /* For text only logo */
    font-size: 1.4em;
    line-height: 1em;
    font-weight: bold;
}

#logo img {
    vertical-align: middle;
}

#logo a {
    color: black;
    text-decoration: none;
}

#username {
    display: inline;
    margin: 5px 12px;
    padding: 0;
    text-align: right;
    font-size: 0.82em;
    white-space: nowrap;
}

#username li {
    display: inline;
    padding: 0 0.5em 0 0;
}

#username form {
    display: inline;
}

#username input {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: #E7E7E7; /* inherit doesnt work on IE */
    color: blue;
    font-size: 0.82em;
    cursor: pointer;
}

#username input:hover {
    color: red;
}

#searchform {
    float: right;
    margin: 5px 10px;
    padding: 0;
    white-space: nowrap;
    font-size: 0.82em;
}

#searchform form div {
    display: inline;
}

#pagetrail {
    clear: right;
    display: inline;
    margin: 5px 12px;
    padding: 0;
    font-size: 0.88em;
}

#pagetrail a {
    color: #FFAA7B;
}

#interwiki {
    margin: 5px 12px;
    display: inline;
    font-size: 1em;
}

#interwiki span:after {
    content: ":";
}

#locationline {
    clear: right;
    padding: 0;
}

#pagelocation {
    display: inline;
    margin: 5px 12px;
    padding: 0;
    font-size: 1.5em;
}

#pagetrail li, #pagelocation li {
    display: inline;
    margin: 0;
}

/* XXX Warning: non-ascii characters! */
#pagetrail li:after {
    content: " » ";
}

#pagetrail li:last-child:after {
    content: "";
}

* html #pagetrail li, * html #pagelocation li { /* for broken IE */
    border-left: 1px solid #AAA;
    padding: 0 0.3em;
}

#pagelocation li:after {
    content: "/ ";
}

#pagelocation li:last-child:after {
    content: "";
}

#navibar {
    clear: both;  /* problem: clear: right; aligns nicely right of logo,
                    but lets it float high in the header, disconnected from ground */
    display: block;
    margin: 0;
    padding: 0 10px;
    zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
}

#navibar li {
    float: left;
    display: inline;
    margin: 0 2px;
    padding: 2px 5px;
    border: 1px solid #9C9C9C;
    border-bottom: none;
    white-space: nowrap;
}

#navibar li.wikilink {
    background: white; /*url(../img/tab-wiki.png) repeat-x;*/
}

#navibar li.userlink {
    background: #E6EAF0; /*url(../img/tab-user.png) repeat-x;*/
}

#navibar a, #navibar a:visited {
    color: black;
    text-decoration: none;    
}

#navibar li.current a {
    font-weight: bold;
}

#navibar li:hover {
    background: #CCCCCC;
}

#navibar li.current, #navibar li.current:hover {
    background: #81BBF2; /* url(../img/tab-selected.png) repeat-x; */
}

#pageline {
    clear: both;
    margin: 0;
    padding: 0;
    width: 100%;
    /* sync these values, line-height is needed for IE */
        height: 4px;
        line-height: 4px;
    border-bottom: 1px solid #9C9C9C;
    background: #81BBF2;
}

.editbar {
    clear: both;
    display: block;
    margin: 0;
    padding: 0 8px;
    white-space: nowrap;
    background: white;
    font-size: 0.8em;
}

.editbar form, .editbar form div {
    display: inline;
    margin: 0;
}

.editbar li {
    display: inline;
    padding: 0;
    margin: 4px 6px;
}

#header .editbar {
    border-bottom: 1px dotted #9C9C9C;
}

#footer .editbar {
    border-top: 1px dotted #9C9C9C;
    border-bottom: 1px solid #9C9C9C;
}

.editbar a, .editbar a:visited { color: #0044B3; }

#message {
    clear: both;
    margin: 0;
    padding: 5px 10px;
    border-bottom: 1px solid #c9c9c9;
    background: #E6EAF0;
}

#message p {
    margin: 5px 0;
    padding: 0;
    /* font-weight: bold; */
}

#message div.buttons {
    font-weight: normal;
}

.dialog form {
    margin: 0 15px;
}

.dialog td {
    border: none;
    padding: 5px;
}

.dialog td.label {
    text-align: right;
    font-weight: bold;
    width: 25%;
}

.dialog td.content input {
    width: 100%;
}

#page {
    margin: 0;
    padding: 2px 20px 20px 20px;

   /* theses are some Firefox 1.5b1 specific extensions, see also the CSS3 draft.
   -moz-column-width: 25em;
   -moz-column-gap: 2em;
   -moz-column-rule: solid black 0.3em;     --   doesn't work yet with 1.5b1!

   TODO: make text/gui editor NOT use #page css, we don't want columns there!
    */
}

/* We use here dumb css1 ids because of IE suckiness */
#editor-textarea, #editor-help {
    font-family: monospace;
    border: 1px solid #8cacbb;  
    color: black;
    padding: 3px;
    width: 100%;
    margin-top: 0.5em;
}

#editor-help {
    font-size: small;
    background-color: #EEEEFF;
}

#editor-comment {
    font-size: 100%;
    border: 1px solid #8cacbb;
    color: black;
    vertical-align: middle;
    padding: 1px;
    display: inline;
    width: 70%;
}

#preview, #previewbelow {
    border: 1px solid #6C7680;
    padding: 10px 30px 20px 30px;
    background: url(../img/draft.png);
    margin-top: 0.5em;
}

#footer {
    clear: both;
    margin: 0;
    padding: 0;
}

#credits, #version, #timings{
    margin: 5px 10px;
    padding: 0;
    text-align: center;
    font-size: 0.88em;
    color: #6C7680;
}

#credits li, #timings li {
    display: inline;
    padding: 0 2px;
    margin: 0 4px;
}

#credits img {
    vertical-align: middle;
}

.diff {
    width:99%;
}

.diff-header {
    font-weight: bold;
}

.diff-title {
    background-color: #C0C0C0;
}

.diff-added {
    background-color: #E0FFE0;
    vertical-align: sub;
}

.diff-removed {
    background-color: #FFFFE0;
    vertical-align: sub;
}

.diff-added span {
    background-color: #80FF80;
}

.diff-removed span {
    background-color: #FFFF80;
}

table.navigation {
    float: right;
    margin: 2px;
}
        

/* Spans for line-anchors - uses * html hack so that the rule only applies to
 * IE (where omitting the "display: none" triggers rendering bugs).
 */
* html span.anchor { display: none; }

/* IE6 has a bug with rendering of float elements. We workaround this bug by
 * assigning those elements a height attribute because we currently don't know
 * a better solution. This results in IE calculating the correct height of the
 * characters and displaying them correctly. We don't know any negative side
 * effects of this workaround:
 */
* html div#page, * html div#header { height: 0.001%; }




/* ************************************************************************ */
/* ************************************************************************ */
/* */
/*     Above is all standard moinmoin, below is the Shackled City stuff     */
/* */
/* ************************************************************************ */
/* ************************************************************************ */

/* 
Top green: #738639
Sidebar brown: 5F3316
Tab off white: E3D8A1
tab selected: 5F3316
?Search button background: 929d72
?Headings: 6f7c44
?average page background: e4d8a1
*/

body {
	font-family: Georgia, serif;
	background-color: #e4d8a1;
	background-image: url('../img/parchment.jpg');
}
input {
	/* For some reason the body isn't enough to set controls */
	font-family: Georgia, serif;
}
h1,h2,h3,h4,h5,h6 {
	color: #6f7c44;
}
form#searchform {
	/* search form in upper right */
	float: right;
	clear: right;
}
ul#username {
	/* Contains <li>Alan De Smet</li><li>User Preferences</li> */
	float: right;
	clear: right;
}
ul#username a:link { color: black; }
ul#username a:visited { color: black; }
ul#username a:hover { color: black; }
ul#username a:active { color: black; }
ul#username input[type=submit] { color: black; }
ul#username input {
	/* Logout button */
	border: 0;
	background-color: #738639;
	font-size: 100%;
}
ul#navibar {
	/* Contains list of "The Shackled City", "Recent Changes", "Find Page", "Help Contents"  That list is a#wikilink */
}
#navibar li.wikilink,#navibar li.userlink, #navibar li.current {
	/* A tab */
	background-color: #E3D8A1;
	border-top: 1px solid black;
	border-left: 1px solid black;
	border-right: 1px solid black;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0.4em;
	padding-top: 0.3em;
}
#navibar li.current, #navibar li.current:hover {
	/* Active tab is both wikilink and current */
	background-color: #5F3316;
}
#navibar li.current a:link { color: white; }
#navibar li.current a:visited { color: white; }
#navibar li.current a:hover { color: white; }
#navibar li.current a:active { color: white; }

div#pageline {
	/* Simple divider between above and below */
	background-color: #5F3316;
	height: 10px;
	border: 0;
}
div#message {
	/* "Edit was cancelled" and the like */
	background-color: #e4d8a1;
}
div#editor-help {
	/* "Edit was cancelled" and the like */
	background-color: #e4d8a1;
}
div#buttons {
	/* Contained in div#message, links below the message */
}
ul.editbar {
	/* Commands: Edit, Show Changes, Get Info, Subscribe, drop list */
	background-color: #738639;
	color: white;
}
ul.editbar > li > a:link {
	color: white;
}
ul.editbar > li > a:visited {
	color: white;
}
ul.editbar > li > a:hover {
	color: white;
}
ul.editbar > li > a:active {
	color: red;
}
form.actionsmenu > div > select {
	border: 1px solid black;
}
div#page {
	/* The main body */
}
div#content {
	/* content in body */
}
div#pagebottom {
	/* empty, bottom of body, in body */
}
div#footer {
}
/* Footer contains another ul#editbar */
ul#credits {
	/* li of links to Moinmoin, Python, Validation */
	display: none;
}
input#searchinput {
	border: 1px solid black;
}
input#titlesearch,input#fullsearch {
	-moz-border-radius: 10px;
	border: 1px solid black;
	background-color: #929d72;
	color: black;
}
input.button {
	-moz-border-radius: 10px;
	border: 1px solid black;
	background-color: #929d72;
	color: black;
	font-size: 1em;
}
textarea, input[type=text], select
{
	background-color: #f4e8b1;
	color: black;
}

h1.pagetitle { font-size: 2em; }
h1 { font-size: 1.5em; }
h2 { font-size: 1.2em; margin-left: 1em; }
h3 { font-size: 1.1em; margin-left: 2em; }
h4 { font-size: 1.05em; margin-left: 3em; }
p,table,ul,ol { margin-left: 4em; }

ul#pagelocation a:visited, ul#pagelocation a:link {
    color: black;
}

ul#pagelocation {
    font-size: 2em;
    font-weight: bold;
}

.recentchanges td {
    background-color: #f4e8b1;
    border-bottom: 1px solid #d4c891;
}
.recentchanges .rcdaybreak td {
    background-color: #738639;
}

div.sidenavbar {
	margin-left: 1em;
	float: right;
	margin-top: 1em;
	width: 15em;
	background-color: #5F3316;
	border: 1px solid black;
}
div.sidenavbar ul {
	color: white;
	margin: 0;
	margin-left: 1em;
	padding: 0.4em;
}
div.sidenavbar ul li {
	color: white;
	margin: 0;
	padding: 0;
}
div.sidenavbar ul li a:link { color: white; }
div.sidenavbar ul li a:visited { color: white; }
div.sidenavbar ul li a:hover { color: white; }
div.sidenavbar ul li a:active { color: red; }

div#content strong.highlight {
	/*background-color: white;*/
	background-color: transparent;
	background-image: url('../img/searchbg.png');
	background-repeat: repeat-x;
	background-position: left center;

}
