/*  screen.css - MoinMoin Default Styles

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

/* content styles */

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

/* TU Farben, Farben des Hintergrundbildes
   TU Farbe: #003399;
   tuwis++ verwendet:
     Tabellen-Kopf, dunkler Streifen: #647EA8
     heller STreifen: D0D8E6
   Schrift: #002C73
   heller Hintergrund: #D2DAE6
   dünklerer Streifen: #A4B4CD
   dunkler Streifen:   #647FAA
   1pt-Linie unten:    #002C73
*/

body {
    padding: 0;
    border: 0;
}

a:link { color: #0055FF; text-decoration: none; }
a:link:hover, a:link:active { text-decoration: underline; color: #6699CC; }
a:visited { text-decoration: none; color: #0055FF; }
a:visited:hover { text-decoration: underline; color: #0055FF; }

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

h1 { color: #003399; border-bottom: 2px solid #003399;}

h2 a:link, h2 a:visited, h3 a:link, h3 a:visited {
    color: black; text-decoration: none
}


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: 0px;
    padding: 0px;
    /* background: #3D4551; */
    /* background: #E7E7E7; */
    /* background: url(../img/header_tu.gif) no-repeat; */
    background: url(../img/head_anpassung.gif) repeat-x;
    /* line-height: 1.1em; */
}

#headerpic {
	position:relative;
	/* background: url('../img/header_tu.gif') bottom left no-repeat; */
	background: url('../img/midheader.png') top left no-repeat;
	background-position: 72px 0px;
	/* border: 0px solid red; */
	height: 72px;
}

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

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

#logo img {
    vertical-align: middle;
}

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

#pagelocation, #pagelocation a {
    position: absolute;
    left: 40px; bottom: 8px;
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 1.4em;
    white-space: nowrap;
    color: #002c73;
    font-weight: bold;
    font-family: Lucida Grande, Arial, Helvetica, sans-serif;
}

#pagelocation a:hover {
    color: #003399;
    text-decoration: none;
}

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

#username {
    /*float: left;*/
    display: inline;
    margin: 2px 4px;
    padding: 0;
    text-align: right;
    font-size: 0.82em;
    white-space: nowrap;
}

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

#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 {
     position: absolute;
    /*top: 24px; right: 10px; */
    top: 4px; right: 10px;
    /*margin: 5px 10px; */
    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: 5px 12px;
    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;
}

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

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

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

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

/* th pagelocation becomes the title in the header
#pagelocation li:after {
    content: "/ ";
}

*[dir="rtl"] #pagelocation li:after {
    content: " \\ "; /* TODO: check what looks best with RTL 
}

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

#navibar {
    /*clear: both;  /* problem: clear: right; aligns nicely right of logo,
                    but lets it float high in the header, disconnected from ground */
    /*clear: left; */
    /*position: relative;
    left: 72px; top: 10px; */
    /*clear: both; */
    float: left;
    display: inline;
    margin: 0;
    padding: 0 72px;
    font-size: 0.82em;
    font-weight: bold;
    /* font-size: 0.82em; */
    zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
}


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

#navibar li:before {content: url(../img/navi.png);
    margin: 0px 6px 0px 0px;
}
/*a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}*/

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

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

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

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

#navibar li.current a {
    font-weight: bold;
    color: #0044CC; /* TU-Blau: 003399 */
    text-decoration: none;
}

#navibar li:hover, #navibar a:visited:hover {
    color: #0044CC; /* heller als TU-Blau */
    /* background: #CCCCCC; */
}

#navibar li.current, #navibar li.current:hover {
    color: #0044CC;
}

#sisternav {
	/*clear: right;*/
	float: right;
	margin: 0;
	padding: 0;
	/*position: absolute;
	top: 72px;
	right: 0px; */
	font-size:0.82em;
}

#sisternav ul {
	display:inline;
	margin: 0;
	/* padding:10px 10px 0 1px; */
	/* list-style:none; */
}
                  
#sisternav li {
	display: inline;
	float: left;
	/* background:url(../img/tab_off_ns1.png) no-repeat left top; */
	/*margin: 0 2px;*/
	padding: 2px 5px;
}

/* #sisternav a {
	float:left;
	display:inline;
	/* background:url(../img/tab_off_ns2.png) no-repeat right top; 
	/* padding:8px 15px 3px 8px; 
	padding: 2px 5px;
	text-decoration:none;
	font-weight:bold;
} */

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#sisternav a {float:none;}
/* End IE5-Mac hack */

/*
#sisternav li:hover, #sisternav li:hover a {
	background-position:0% -163px;
}
*/
#sisternav li:hover a, #sisternav li:hover {
	/*background: #CCCCCC; */
	/* background-position:100% -163px;*/
}


#sisternav #current {
	/* background:url(../img/tab_on_ns1.png) no-repeat left top; */
}

#sisternav #current a {
	/* background:url(../img/tab_on_ns2.png) no-repeat right top; */
	/* padding-bottom:4px; */
}

#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: #647faa;
}

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

*[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; */
    background: #DDA0DD; /* plum; */
}

#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: 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;
    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);
    /* background-color: papayawhip;*/
    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;
}

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

