/*  screen.css - MoinMoin Default Styles

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

/* content styles */

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

body {
    background: #f8f0d8 url(../img/logo.png) no-repeat;
    background-position: -20px -30px;
    padding:0;
    border:0;
}

a:link { color: #993344; }
a:visited { color: #995566; }
a:hover, h1 a:hover {color: #ff5500;}

h1 a:link { color: black; }

#pagelocation, #pagelocation a, #pagelocation a:visited {                         
    display: inline;                                                              
    list-style-type: none;                                                        
    font-size: 1.5em;                                                               
    color: black;                                                                 
    text-decoration: none;                                                        
    font-weight: bold;
}                                                                                 
#pagelocation li {
    float: left;
    margin-right: 10px;
}
#pagelocation li:after {
    content: "/ ";
}
#pagelocation li:last-child:after {
    content: "";
}   
#content {
    clear: all;
    margin-top: 5px;
}


h1 { text-align: center; }
h2 {
    background: #ba8 url(../img/left_circle2.png) no-repeat;
    line-height: 36px;
    padding: 0 0 0 12px;
    margin: 5px -10px 5px -10px;
}
h3 {
    background: #dc9 url(../img/left_circle1.png) no-repeat;
    line-height: 24px;
    padding: 0 0 0 10px;
    margin: 5px -10px 5px 0px;
}


input {
    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: gray;
}

/* user interface styles */

#header {
    /*     margin: 0; */
    margin-left: 150px;
    margin-right: auto;
    padding: 0;
    /* background: #3D4551; */
    /*     background: #E7E7E7; */
}

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

#logo img {
    vertical-align: middle;
}

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

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

#username {
    clear: right;
    margin: 0 10px;
    /*     padding: 8px 4px 0 0; */
    text-align: right;
    font-size: 12px;
    white-space: nowrap;
}

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

#username li {
    display: inline;
    padding: 0 2px;
}

#username li:before {
	content: "| ";
    color: black;
}

#username li:first-child:before {
	content: "";
}

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

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

#searchform form div {
    display: inline;
}

#pagetrail {
	clear: both;
	margin: 0;
	padding: 0 10px;
	font-size: 13px;
}

#pagetrail li {
	float: left;
	display: block;
	padding: 0 2px;
	margin: 0 0 5px 0;
}

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

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

*[dir="rtl"] #pagetrail li:after {
	content: " « ";
}

#navibar {
    clear: both;
	display: block;
    margin: auto;
	font-size: 16px;
}

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

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

#navibar li.wikilink {
    /*     background: white; */
}

#navibar li.userlink {
    /*     background: #E6EAF0;  */
}

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

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

#navibar li:hover a {
    text-decoration: underline;
}

#navibar li.current a, #navibar li.current:hover a{
    color: black;
    font-weight: bold;
}

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

#sidebar {
    display: inline;
    width: 200px;
    right: 0px;
    padding: 10px;
    padding-right: 12px;
    background: #ffeecc;
    border: 1px solid #ddcc99;
    position: absolute;
}

#metadata table,tr,td {
    border: 1px solid #ddcc99;
}
#metadata td.metakey, td.metakey a:link, td.metakey a:visited {
    background: #ffeecc;
    color: black;
    text-align: right;
}
#metadata th, th a:link, th a:visited {
    background: #ddcc99;
    text-align: left;
    color: black;
}

.editbar {
	clear: both;
    /*     margin-left: auto; */
	padding: 0 8px;
	white-space: nowrap;
	height: 26px;
    /* 	background: white; */
	font-size: 13px;
}

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

.editbar li {
	float: left;
	display: block;
	padding: 0;
	margin: 2px 6px;
}

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

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

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

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

#page {
    /* 	background-color: white; */
	margin-right: 200px;
	padding: 10px 30px 20px 30px;
}

/* We use here dumb css1 ids because of IE suckiness */
#editor-textarea, #editor-comment {
    width: 100%;
}

#preview {
	border: 1px solid #6C7680;
	padding: 10px 30px 20px 30px;
	background: url(../img/draft.png);
}
#textcha {
    font-size: 100%;
    font-weight: bold;
    margin: 1em;
    border: 1px solid #ee8;
    border-bottom-width: 2px;
    border-right-width: 2px;
    color: black;
    vertical-align: middle;
    padding: 1em;
    background-color: #ff9;
}
#textcha-answer {
    border: 2px solid #F00000;
    padding: 3px 2px;
}


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

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

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