body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
fieldset,img { border: 0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style: normal; font-weight: normal; }
li { list-style: none; }
caption,th { text-align: left; }
h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; }
abbr,acronym { border: 0; font-variant: normal; }
input,textarea,select { font-family: inherit; font-size: inherit; font-weight: inherit; }
a { text-decoration: none; color: inherit; outline-color:-moz-use-text-color; outline-style:none; outline-width:medium; }
small { font-size: 0.7em;}

html {
    font-size: 62.5%;
    height: 100%;
    overflow-x:scroll;
    overflow-y:hidden;
}
body {
    background-color: #333;
    color: #aaa;
    font: normal 1.3em Verdana, sans-serif;
    margin: 0;
    height: 100%;
    line-height:1.4em;
}

#distance { 
    width:1px;
    height:50%;
    margin-bottom:-200px; /* half of container's height */
    float:left;
        
}

#container { 
	clear:left;
        margin: 0 0 0 2em;
        height: 400px;
 
	position:relative;
        
}

pre {
    font-size: 10px;
}
code {
    font-family: monospace;
}
pre code {
    display: block;
    background: #111;
    color: #fff;
    padding: .5em .75em .35em;
    margin-bottom: 1em;
}

em {
    font-style: italic;
}
strong {
    font-weight: bold;
}

a:link,
a:visited {
    color: #aaa;
}
a:hover {
    color: #eee;
    text-decoration: none;
}

h1,
h2 {
    letter-spacing: -.01em;
}
h1 {
    color: #aaa;
    font: bold 1.3em Verdana, sans-serif;
    margin-bottom: 1em
}
h2 {
    color: #aaa;
    font: bold 1.3em Verdana, sans-serif;
    margin-bottom: .4em;
}
h3 {
    font: bold 1.75em Verdana, sans-serif;
    margin-bottom: .5em;
}
h4 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: .9em;
}
h5 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1em;
}
h6 {
    font-size: .8em;
    font-weight: bold;
    margin-bottom: 1.25em;
}

ul {
    margin: 0 0 0 1.75em;
}
ul li {
    list-style-type: none;
}
ol {
    padding-left: 2em;
    margin-bottom: 1em;
}
ol li {
    list-style: decimal;
}

hr {
    border: 0;
    border-top: 1px solid #aaa;
}

div#commentwidth {
    width: 400px;
}


a.comment_delete_link,
a.comment_edit_link,
a.delete_link,
a.edit_link,
a.next_page,
a.prev_page,
a.next_post,
a.prev_post,
a.cancel,
a.logout {
    font-weight: normal;
}

a.comment_delete_link,
a.comment_edit_link {
    float: left;
    margin: 0 1em 0 0;
}
a.delete_link {
    color: #d8583e !important;
}
a.edit_link {
    color: #93ba52 !important;
}
a.next_page,
a.prev_page,
a.next_post,
a.prev_post {
    background-color: transparent;
    color: #aaa;
    margin: 200px 1em 0 1em;
    padding: 0em 0em;
    font-size: 1em;
    float:right;
}
a.next_page:hover,
a.prev_page:hover,
a.next_post:hover,
a.prev_post:hover {
    color: #eee;
    text-decoration: none;
}
a.cancel {
    color: #e35533;
    border: none;
    text-decoration: underline;
}
a.logout {
    color: #5B7C99;
    float: right;
}

label {
    color: #aaa;
    display: block;
    font: bold 1em Verdana, sans-serif;
    font-weight: normal;
    padding: 1em 0 0.2em 0;
}
input[type="text"],
input[type="password"],
textarea {
    background-color: #333;
    border: 1px solid #aaa;
    font-family: Verdana, sans-serif;
    font-size: .9em;
    margin-bottom: 1.5em;
    padding: .3em .4em;
    color:#aaa;
}
input[type="file"] {
    margin-bottom: 1.5em;
}
input[type="text"],
input[type="password"] {
    width: 20em;
}
textarea.wide {
    width: 400px;
    margin: 2em 0 1em 0;
}
input.big {
    font-size: 1.5em;
}

div#controls {
    background-color: transparent;
    border-bottom: .1em solid #111;
    padding: .2em 0 .3em;
    width: 100%;
}
div#controls ul {
    margin: 0 auto;
    padding: .4em;
    width: 400px;
}
div#controls ul li {
    background: transparent;
    display: inline;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
div#controls ul li a:link,
div#controls ul li a:visited {
    color: #111;
    border: none;
    padding: .1em .6em;
}
div#controls ul li a:hover {
    color: #eee;
}
div#controls ul li.close a:link,
div#controls ul li.close a:visited {
    color: #e35533;
}
div#controls ul li.close a:hover {
    color: #ff6039;
}

div#wrapper {
    margin: 0em auto;
    padding: 0 0 1em 0;
}

div#content {
    height: 400px;
    float: left;
}

div#sidebar {
    background: transparent top left repeat;
    float: left;
    text-align: left;
    border: 0;
    font-size: 0.9em;
    margin: 0 auto 0;
    padding: 0 0 0 0;
    display: block;
    
}

#sidebar .kleiner {
    font-size: 0.8em;
    margin: 2em 0 0 0;
    line-height: 1.2em;
}

div#sidebar a:link,
div#sidebar a:visited {
    letter-spacing:0.1em;
    padding: 0;
    margin: 0 0 0 0;
}

div#sidebar a:hover {
    color: #eee;
    text-decoration: none;
}

div#sidebar .selected {
    background-color: #111;
    color: #eee;
    text-decoration: none;
}
div#sidebar h1 {
    color: #111;
    font-size: 1.4em;
    font-style: normal;
    margin: 1em 0 .2em 0;
}

input#search {
    background-color: #eee;
    border: 1px solid black;
    font-size: .9em;
    margin: 0 0;
    width: 200px;
    padding: .5em .75em;
    display: block;
    float: left;
}
div#sidebar ul {
    color: #aaa;
    margin: 2em 0 0 0;
    padding: 0 0 0 0;
    line-height: 1.3em;
}

div#sidebar li {
    margin: 0.2em 0.5em 0 0;
    padding: 0 0 0 0;
}

div#sidebar ul.subpage {
    color: #444;
    font-size: .9em;
    margin: 0 0.5em 0 0;
}

div#header {
    background-color: transparent;
    padding: 0;
    margin: 0 0 0 0;
    float: left;
}

div#header .red {
    color: #d8583e;
}

div#header .header_box {
    margin: 0;
    width: 300px;
    text-align: left;
}
div#header h1 {
    margin: 0;
    font-size: 1.2em;
    width:180px;
    letter-spacing:0.15em;
}
div#header h1 a:link,
div#header h1 a:visited,
div#header h2 {
    color: #aaa;
    font-family: Verdana;
    font-weight: normal;
}
div#header h1 a:hover {
    color: #aaa;
    text-decoration: none;
}
div#header h2 {
    color: #aaa;
    margin: 2em 0 0 0;
    font-size: 1em;
}

div#footer {
    background: transparent top left repeat;
    clear: both;
    color: #aaa;
    margin: 5em 0;
    padding: 0;
    font-size: 0.8em;
    line-height: 1.2em;
}

div#footer a {
    font-weight: normal;
}

div.notice, div.message, div.warning, div.date {
    color: #aaa;
    font-weight: bold;
    margin: 0 0 1em 0;
    padding: .5em 0em;
    display:none;
}
div.notice {
    background: transparent repeat top left;

}
div.message {
    background: transparent repeat top left;
}
div.warning {
    background: transparent repeat top left;
}
div.date {
    background: transparent repeat top left;
    cursor: normal;
}
div.notice .sub, div.message .sub, div.warning .sub {
    font-size: .9em;
    color: #111;
    margin-left: .5em;
}

h2.comments {
    margin: 0 0 1.0em 0;
}
ol.comments {
    list-style: none;
    margin-bottom: 1em;
    padding: 0;
    word-wrap: break-word;
}
ol.comments li {
    list-style: none;
    margin: 4em 0;
    width: auto;
}
ol.comments li blockquote {
    background: transparent;
    color: #111;
    margin: 0 0 1em 0;
    padding: 0 0 0 0;
}
ol.comments li blockquote p {
    padding: 0 0 1em;
}
ol.comments li blockquote a:link,
ol.comments li blockquote a:visited {
    color: #111;
}
ol.comments li blockquote blockquote {
    padding: 0 1em;
    color: #111;
}
ol.comments li cite {
    background: #eee;
    color: #111;
    display: block;
    font-style: normal;
    margin: 0;
    padding: 0 0em;
}
ol.comments li cite a:link,
ol.comments li cite a:visited {
    color: #111;
}
ol.comments li cite a:hover {
    color: #eee;
}
ol.comments li cite a.permalink:link,
ol.comments li cite a.permalink:visited {
    color: #111;
}
ol.comments li cite a.permalink:hover {
    color: #eee;
}
ol.comments li ul,
ol.comments li ol {
    margin: 0;
    padding: 0 0 1em 1.5em;
}
ol.comments li ul li,
ol.comments li ol li {
    margin: 0;
    padding: 0;
}
ol.comments li ol li {
    list-style-type: decimal;
}

#add_comment {
    margin-top: 3em;
}

div.post {
    margin: 0 5px 0 5px;
    word-wrap: break-word;
    float:left;

}
div.post a:link,
div.post a:visited {
    color: #aaa;
}
div.post a:hover {
    color: #eee;
}
div.post h2.title {
    font-size: 1.5em;
    padding: 0;
    margin: 0;
    letter-spacing:0.05em;
}
div.post h2.title a:link,
div.post h2.title a:visited {
    color: #aaa;
    font-style: normal;
    font-weight: bold;
}
div.post h2.title a:hover {
    color: #eee;
    text-decoration: none;
}
div.post .pinned_text {
    content: "!";
    float: left;
    font-size: 1.5em;
    font-weight: bold;
    margin: .15em 0 0 -1em;
    color: #111;
}

div.page {

    width: 400px;
}

div.post p,
div.page p {
    padding: 0 0 0em;
    font-size: 1.1em;

}
div.post li,
div.page li {
    font-size: 1.1em;
}
div.post li p,
div.page li p {
    font-size: 1em;
}
div.post pre,
div.page pre {
    padding: 0 0 1.5em;
}
div.post blockquote {
    padding: .5em .8em;
    background: #eee;
    border: .1em solid #eee;
    color: #111;
    margin: 0 0 1em 0;
}
div.post blockquote p {
    padding: 0;
}

div.post span.controls,
div.page span.controls {
    background-color: transparent;
    color: #111;
    float: left;
    margin: .6em 0 0 0;
    padding: .3em 0em;
}
div.post span.info {
    background-color: transparent;
    color: #111;
    float: left;
    margin: 1em 0 0 0;
    padding: 0 0;
    font-size: 0.8em;
}

div.post span.info a:link,
div.post span.info a:visited {
    color: #111;
    padding: none;
}
div.post span.info a:hover {
    color: #eee;
}

div.post span.controls,
div.page span.controls {
    background-color: #transparent;
    color: #111;
    margin: .6em 0 0 0em;
}
div.post ul {
    margin-bottom: 1em;
}
div.post.quote blockquote {
    background: transparent;
    border: 0;
    color: #111;
    font: 1.5em/1.25em normal Verdana, sans-serif;
    margin: 0 0 -.5em 0;
    padding: 0;
}
div.post.quote .source {
    color: #111;
    display: block;
    margin: 1em 0;
}
div.post.link h2 a:link,
div.post.link h2 a:visited {
    color: #111;
    font-size: 1.2em;
    margin: 0 0 -.5em 0;
    padding: 0;
    text-decoration: underline;
}
div.post.link h2 a:hover {
    color: #eee;
    text-decoration: none;
}
div.post.link p {
    color: #111;
}
div.post.chat p {
    display: inline;
}
div.post.chat ul {
    font-family: Verdana, sans-serif;
    font-size: .9em;
    margin: 0 1em 1em 0;
    padding: 0;
    color: #111;
}
div.post.chat ul li {
    background: none;
    list-style-type: none;
    padding: 0;
}
div.post.chat li .label {
    color: #111;
}
div.post.chat li.me .label {
    color: #111;
}
div.post.photo img {
    border: none;
}
div.post.photo a {
    display:-moz-stack;
}
div.post.photo img a:link,
div.post.photo img a:visited,
div.post.photo img a:hover {
    border: none;
}
div.post.photo p,
div.post.audio p,
div.post.video p {
    color: #111;
    margin: .2em 0;
}

div.page h1 {
    margin:0 0 1em 0;
    color: #aaa;
    font: bold 1em Verdana, sans-serif;
    letter-spacing: 0.05em;
}
div.page span.controls {
    float: left;
}

.inline_edit {
    color: #111;
    padding: 1em;
    background: #ccc;
    position: relative;
}
.inline_edit input[type="text"],
.inline_edit textarea {
    background-color: #ccc;
    border: 1px solid #111;
    color: #111;
    padding: .4em;
    width: 360px;
}
.inline_edit .more_options_link:link {
    background-color: transparent;
    color: #111;
    display: block;
    font-weight: bold;
    padding: 0 0 .3em 0;
}
.inline_edit .more_options {
    background-color: #ccc;
    padding: 1em;
}
.inline_edit .more_options p {
    float: left;
    width: 50%;
    min-height: 5em;
    padding-bottom: .5em;
    margin: 0;
}
.inline_edit .more_options p input[type="text"] {
    width: 90%;
    margin-bottom: 0;
}
.inline_edit .more_options p .sub {
    font-size: .8em;
    color: #777;
}
.inline_edit .buttons {
    padding: .5em;
    background: transparent;
    color: #aaa;
}
.inline_edit h2 {
    color: #83A650;
}
.post_edit {
    margin-bottom: 2em;
}

div.pagination {
    margin: 0 0 2em 0;
}

.sub {
    font-size: .85em;
    color: #999;
    font-weight: normal;
}

button {
    background-color: #333;
    border: 1px solid #aaa;
    color: #aaa;
    font-size: 1em;
    font-weight: bold;
    padding: 5px 8px;
    margin: 1em 0 0 0;
}
button:hover {
    background-color: #333;
    color: #eee;
    cursor: pointer;
}

p.lost_pass {
    margin: 0 0 1em 0;
}

span.pages {
    color: #111;
    font-weight: bold;
    padding: 0 0.3em;
}
span.who,
span.waiting {
    background-color: transparent;
    font-weight: bold;
    display: block;
    margin: 0 0 2em;
    padding: 0;
}

.clear {
    clear: both;
}
.right {
    float: right;
}
.left {
    float: left;
}

/* Miscellaneous */
    /* Emoticons module. */
    img.smiley {
        margin: 0 0 -.3em;
    }

    /* Tags module. */
    .tag {
        font-family: Verdana, sans-serif;
        line-height:1em;
    }
    .tags_select {
        display: inline-block;
        margin-top: .5em;
    }
    .tags_select a {
        padding: .1em .4em;
        border: .1em solid #111;
        background: #eee;
        text-decoration: none;
        border-top-width: 0;
        border-left-width: 0;
        color: #111;
    }
    .tags_select a.tag_added {
        background: transparent;
        border-top-width: .1em;
        border-bottom: 0;
        border-left-width: .1em;
        border-right: 0;
        border-color: #111;
    }

/* Debugger */
#debug {
    background: #ffffdd;
    color: #666;
    padding: .4em .75em .5em .75em;
    border-top: .1em solid #aaa;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 33%;
    overflow-y: scroll;
    overflow-x: hidden;
}
#debug h5 {
    margin: 0;
    font-size: 1.1em;
    color: #a3a39a;
}
#debug h5 .sub {
    color: #b3b3aa;
}
#debug ol.queries li {
    margin: 0 0 1em;
}
#debug pre {
    background: #fff;
    border: 1px solid #aaa;
    padding: 0 .5em;
    xoverflow-x: scroll;
    word-wrap: break-word;
}
#debug .toggle {
    font-weight: bold;
    color: #666;
    float: right;
}

#beginn {
    position:absolute;
    left:-5px;
    overflow: hidden;
}
