/* Tweaking: */

/* Interface font: */
body { 
    font-family: DejaVu Sans, BitstreamVera Sans, Verdana, Tahoma, sans-serif; 
}
/* Content font */
div.browse, div.preview {
    font-family: Georgia, serif;
}
/* Monospace font */
pre, tt, textarea {
    font-family: DejaVu Sans Mono, BitstreamVera Sans Mono, Lucida Console, monospace;
}
/* Headings font */
h1, h2, h3, h4, h5, h6 {
/*    font-family: "Techno", "Impact", "Haettenschwailer", sans-serif;*/
    font-family: Corsiva, "URW Chancery", "URW Chancery L", "URW Chancery L Medium Italic", "Apple Chancery", "Zapf Chancery", "Zapf Chancery Medium Italic", "ITC Zapf Chancery", "ITC Zapf Chancery Medium Italic", "Monotype Corsiva",  Chancery, cursive;
    font-weight: normal;
}

html { margin:0; padding: 0; height: 100%; }
body { margin: 0; padding: 0; min-height: 100%; position:relative; color #000; 
    background: #fff url(mazaj.png)  100% 6em no-repeat fixed;
}
* html body { height: 100% }

div.wrapper {
    padding: 4em 1em;
    color: #555;
}
div.browse, div.comment, div.preview {
    margin: 0 auto;
    width: 45em;
    line-height: 1.5;
}
div.wrapper p {
}

.wrapper.close {
    display: none
}

.header a, .footer a { color: #543; text-decoration: none; font-weight: normal;  background: transparent; white-space: nowrap; margin-right: 0.2em;}
.header a:hover, .footer a:hover { color: #000; }

.footer, 
.header { 
    background: #eed; 
    border-bottom: 1px solid #ba9;
    color: #543;
    padding: 0.125em 0; 
    width: 100%;
}
.footer { 
    border-top: 1px solid #ba9;
    border-bottom: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
a.logo { 
    display: block;
    background: #bba;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #765;
    margin-top: -2px;
    text-align: center;
}

div.wrapper a { text-decoration: none; color: #78c; }
div.wrapper a:visited { color: #98c}
div.wrapper a.edit { color: #b00; }
div.wrapper a:hover { background: #eed; color: #000 }
a img { border: none }
div.wrapper a.url, div.wrapper a.www { text-decoration: underline; }



span.bar { display: block; text-align: center;}

div.footer .gotobar { display: none }
.footer hr, .footer br, .header br { display: none; }
.header h1 { 
    margin: 0; 
    font-size: 2em; 
    letter-spacing: 0.125em; 
    width: 100%;
    text-align: center;
    color: #888;
    height: 1px;
    line-height: 2;
    position: absolute;
}
.header h1 a { color: #555 }
span.bar a { margin: 0 0.25em; } 

form.search {
    margin: 0;
    position: absolute;
    bottom: 2.25em;
    right: 0.25em;
    font-size: 80%;
    color: #777;
}
form.search input { vertical-align: middle; font-size: 100%; border: 1px solid #999; }
form.search p { margin: 0; }
.footer div.time {
    display: block;
    position: absolute;
    bottom: 2.25em;
    font-size: 70%;
    color: #777;
    left: 0.25em;
}
.sidebar {
    font-size: 90%;
    float: right;
    width: 16em;
    padding: 0.5em;
    line-height: 1.25;
    margin-left: 0.5em;
    margin-right: -0.5em;
    background: #eed; 
    border: 1px solid #ba9;
    color: #543;
}

ul, ol { margin: 0 0 1em; padding-left: 1.5em }
ul ol, ol ul, ul ul, ol ol { margin: 0; }
p { margin: 0 0 1em 0 }
div.wrapper  h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
div.wrapper h1 { font-size: 150%;  margin-top: 1.5em; clear: both; }
div.wrapper h1 a { font-weight: normal; }
/*div.wrapper h1 a:hover, 
div.wrapper h1 a:hover:visited 
{ background: transparent }
*/

pre {
    padding: 0.25em;
    background: #f7f7f7;
    border: 1px solid #ddd;
    font-size: 1em;
    color: #000;
       white-space: pre-wrap;
           word-wrap: break-word;
               white-space: -moz-pre-wrap;
                   white-space: -pre-wrap;
                       white-space: -o-pre-wrap;
}

pre.LaTeX-source-wrong {
    background: #f7f0f0;
    color: #550000;
}

pre span.comment {
    font-style: italic;
    color: #555;
}
pre span.macro {
    font-weight: bold;
}
pre span.math {
    background: #eaeaea;
}

div.month {
    padding: 0 0.25em;
    padding-right: 0.75em;
    line-height: 1;
    float: left; 
    margin: 0 0.5em 0.5em 0;
    background: #f7f7ea; 
    border: 1px solid #ba9;
    color: #765;
}
div.month pre {
    margin: 1em 0 0 0;
    border: none;
    padding: 0;
    background: transparent;
}

hr {
    height: 0;
    border: none;
    border-bottom: 1px solid #999;
    color: #fff;
    margin: 1em 0;
}
input { vertical-align: middle; font-size: 100%; border: 1px solid #999; }

form.comment label { display: block }

textarea#aftertext,
.edit textarea {
    border: 1px solid #ddd;
    color: #333;
    background: #fafafa;
    width: 100%;
    margin: 0;
    font-size: 1em;
}
.edit textarea#text {
    height: 28em;
}
textarea#aftertext {
    height: 9em;
    margin-top: 2em;
}
/*
.edit input[name="Save"] { position: absolute; top: 73px; right: 12em; margin-top: 2em;}
.edit input[name="Preview"] { position: absolute; top: 73px; right: 6em; margin-top: 2em; }
.edit input[name="Cancel"] { position: absolute; top: 73px; right: 1em; margin-top: 2em}
*/

.header p {
    background: #ff5;
    border: 1px solid #ed2;
    padding: 0.125em;
    line-height: 1.25;
    color: #652;
    font-size: 80%;
    margin: 0;
    text-align: center;
}

.diff, div.rc a.history { font-size: 80%; font-weight: normal; }
div.diff { font-size: 80%; line-height: 1;}
div.diff p { margin: 0;}
div.diff div.new { background: #efd; padding: 0.5em; border: 1px solid #bda; }
div.diff div.new strong { background: #cfb; }
div.diff div.old { background: #fed; padding: 0.5em; border: 1px solid #dba; }
div.diff div.old strong { background: #fcb; }
div.diff strong {color: #000 }

@media print {
    a.logo, span.bar, form.search { display: none }
    body, div.wrapper { background: #fff; color: #000; }
    div.header a:link, div.footer a:link, div.wrapper a:link { text-decoration: underline; color: #000; font-weight: normal; }
    div.header, div.footer { background: transparent; border: none }
    a.diff { display: none }
    div.browse { line-height: 2; width: auto }
    div.wrapper { padding: 0; margin: 1em auto; width: 35em  }
    div.footer, div.footer div.time { position: static; }
}


div.rc span.dash { display: none }
div.rc strong { display: block; font-weight: normal; font-size: 80% }
div.rc a.author { font-weight: normal }

img.smiley { vertical-align: middle }

.tag {
	font-variant : small-caps;
	letter-spacing: 0.01em;
}

img.InlineMath { vertical-align: middle }

a.comment { font-weight: bolder; }
