/*  screen.css - MoinMoin Default Styles

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

/* content styles */

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

body {
}

a:link { text-decoration: underline; color: #5B1403;}
a:visited { text-decoration: underline; color: #5B1403;}
a:hover, a:active {
	text-decoration: underline;
	color: #F3EB07;
	font-family: Arial, Helvetica, sans-serif;
}

input {
    /* does strange effect to button (text size becomes bigger when clicking)
    font-size: 1em;
    font-family: Arial, Lucida Grande, sans-serif;
    */
}

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

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

/* user interface styles */

#header {
	line-height: 1.1em;
	margin: 0;
    padding: 0;
}

#logo {
    float: left;
    margin: 5px 0px 10px;
    line-height: 1em;
}

*[dir="rtl"] #logo {
    float: right;
}

#logo img {
    vertical-align: middle;
}

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

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

*[dir="rtl"] #username {
	text-align: left;
    margin: 5px 0px;
}

#username li {
    margin: 0;display: inline;
    padding: 0 0 0 0;
}

#username a:link, #username a:visited  {
    text-decoration: underline; color: #f4aa98;
    margin: 0;display: inline;
    padding: 0 0.5em 0 0;
}

#username a:hover {
    text-decoration: underline; color: #F3EB07;
    margin: 0;display: inline;
    padding: 0 0.5em 0 0;
}


#username form {
    display: inline;
}

#username input {
	display: inline;
	padding: 0;
	margin: 0;
	cursor: pointer;
	color: #F4AA98;
	font-size: 1 em;
	background-image: url(/wiki/overcards/img/bgA.jpg);
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#username input:hover {
    color: #F3EB07;
}

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

*[dir="rtl"] #searchform {
    float: left;
}

#searchform form div {
    display: inline;
}

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

*[dir="rtl"] #pagetrail {
    clear: left;
}

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

*[dir="rtl"] #interwiki {
    margin: 5px 0px;
    display: inline;
    font-size: 1em;
}

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

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

*[dir="rtl"] #locationline {
    clear: left;
}

#pagelocation  {
	color: #f4aa98;
	display: inline;
	font-size: 1.5em;
	margin: 0;
	padding: 0;
	}

#pagelocation li {/* for broken IE */
	display: inline;
	white-space: nowrap;
	margin: 0;
}

#pagelocation ul {
    display: inline;
	white-space: nowrap;
	margin: 0;
	padding: 0;
}


#pagetrail li {/* for broken IE */
	display: inline;
	white-space: nowrap;
	margin: 0;
}

#pagetrail a:link, #pagetrail a:visited, #pagelocation a:link, #pagelocation a:visited {
	text-decoration: underline; color: #f4aa98;
    font-size: 0.88em;
	padding: 3px;
	display: inline;
    margin: 0;
}

#pagetrail a:hover, #pagetrail a:visited:hover, #pagelocation a:hover, #pagelocation a:visited:hover {
	text-decoration: underline; color: #F3EB07;
    font-size: 0.88em;
	padding: 3px;
	display: inline;
    margin: 0;
}

#navibar {
	clear: left;  /* 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;
	font-size: 0.82em;
	zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
	text-align: left;
}

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

*[dir="rtl"] #navibar li {
    float: right;
}

#navibar li.wikilink {
	background-image: url(/wiki/overcards/img/g_tcat.gif);
}

#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-image:none
	background-color: #f4aa98;
	background-color: #e09887;
	background-image: none;
	 }

#navibar li.current, #navibar li.current:hover {
	background-color: #e09887;
	background-image: url(none);
}

#pageline {
	clear: both;
	margin: 0;
	padding: 0;
	width: 100%;
	/* sync these values, line-height is needed for IE */
        height: 0px;
	line-height: 0px;
	background-color: #5B1403;
}

.editbar {
	clear: both;
	display: block;
	margin: 0;
	padding: 0 8px;
	white-space: nowrap;
	font-size: 0.8em;
	background-image: url(/wiki/overcards/img/theader.gif);
}

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

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

*[dir="rtl"] .editbar li {
    float: right;
}

#header .editbar {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #5B1403;
	border-left-color: #5B1403;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #5B1403;
}

#footer .editbar {
	border-bottom: 1px solid #5B1403;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #5B1403;
	border-left-color: #5B1403;
}

.editbar a:hover {
	text-decoration: underline; color: #F3EB07;
}
.editbar a, .editbar a:visited{ color: #E5CDA8; }
.backlink a { color: #E5CDA8; }

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

#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%;
}

*[dir="rtl"] .dialog td.label {
    text-align: left;
}

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

#page {
	padding: 2px 20px 20px 20px;
	background-color: #f4aa98;
	border: 1px solid #5B1403;

   /* 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;
    background-color: white;
    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;
    background-color: white;
    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;
}

input.button {
    /*
    border: 1px solid #8cacbb;  
    color: black;
    background-color: #CCCCCC;
    vertical-align: middle;
    text-decoration: none;
    font-size: 100%;
    cursor: pointer;
    margin: 2px;
    padding: 1px;
    display: inline;
    */
}

#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;
}

/* 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; }
