* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    background: #ffffff;
}
img {
    border: none;
    vertical-align: middle;
}
h1, h2, h3, h4 {
    font-weight: normal;
}
a {
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #9ecce8; 
}
#header {
    height: 250px;
    margin: 10px;
    text-align: center;
}
#header ul {
    list-style: none;
}
#header li {
    display: inline;
    margin-left: 0.5em;
}
#header h1 {
    font-size: 200%;
    font-weight: normal;
    margin-bottom: 0.4em;
}
#header a:hover {
    border-bottom: 2px solid #8f0;
}
#content {
    position: relative;
    width: auto;
    margin-right: 250px;
    margin-left: 250px;
    z-index: 3;
    color: #222;
}
#content p {
    text-align: justify;
    margin-bottom: 1em;
}
#content h2 {
    font-size: 150%;
    margin: 1em 0 0.2em 0;
    border-bottom: 1px solid #ccc;
}
#content p a {
    border-bottom: 1px solid #8f0;
}
#content p a:hover {
    border-bottom: 2px solid #8f0;
}
#content p a:visited {
    color: #444;
}
#content ul, #content ol { margin-left: 2em; margin-bottom: 0.5em; }
#content ul { list-style-type: square; }
#section-title {
    color: #fff;
    background-color: #000;
    padding: 5px;
}
.post-title {
    font-size: 160%;
    font-weight: normal;
    padding: 10px 0 5px 0;
    border-bottom: 2px solid #000;
}
.post-title a {
    text-decoration: none;
}
.post-date {
    font-size: 80%;
    color: #888;
    text-align: right;
    margin: 0.2em 0 2em 0;
}
.post-meta {
    color: #000;
    font-weight: bold;
    margin-bottom: 1em;
}
.post-meta a {
    font-weight: normal;
    border-bottom: 1px solid #8f0;
}
.post-meta a:hover {
    border-bottom: 2px solid #8f0;
}

table.comment {
    padding: 0;
}
tr.comment td {
}
td.comment-text {
    font-size: 8pt;
    width: 70%;
    padding: 5px;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

td.comment-meta {
    font-size: 8pt;
    padding: 5px;
    vertical-align: top;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
}

td#owner {
    background: #eee;
}
.float-left {
    float: left;
    margin-right: 10px;
}
.float-right {
    float: right;
    margin-left: 10px;
}
.sidebar {
    float: right;
    margin-left: 10px;
    padding: 1em;
    width: 250px;
    font-size: 80%;
    background: #eee;
    border: 1px solid #ccc;
}
.sidebar-title {
    font-size: 120%;
    font-weight: bold;
}
.metabar {
    position: absolute;
    width: 150px;
    top: 290px;
}
.metabar a {
    font-size: 80%;
}
.metabar h3 {
    font-size: 14px;
    color: #000;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
}
.metabar ul {
    margin-bottom: 20px;
    list-style: none;
}
.metabar li {
    padding-left: 17px;
    margin-bottom: 0.2em;
    background-repeat: no-repeat;
}
ul.post-list li {
    background-image: url(../images/blog/file.gif);
    background-position: 0 0.2em;
}
ul.comment-list li {
    background-image: url(../images/blog/comment.gif);
    background-position: 0 0.3em;
}
ul.tag-list li {
    background-image: url(../images/blog/tag.gif);
    background-position: 0 6px;
}
ul.feed-list li {
    background-image: url(../images/blog/feed.gif);
    background-position: 0 0.3em;
}
ul.link-list li {
    background-image: url(../images/blog/link.gif);
    background-position: 0 0.3em;
}
#metabar1 {
    left: 50px;
}
#metabar2 {
    right: 50px;
}


#footer {
    font-size: 80%;
    color: #888;
    text-align: center;
    margin: 2em 0;
}

/*** Favorites ***/
#fvorites h3 {
    margin: 5px 0 0 0;
    clear: left;
}
#fvorites ul {
    margin: 0;
    list-style-type: none;
}
#fvorites li {
    float: left;
    margin: 2px 5px;
    width: 22%;
    border-top: 1px solid #eeeeee;
    border-left: 1px solid #eeeeee;
    border-right: 3px solid #cccccc;
    border-bottom: 2px solid #cccccc;
}
#fvorites li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
}

/*** code highlighting ***/
/* for all languages */
pre {
    border: 1px solid #888;
    padding: 0.5em;
    margin: 0.5em 0 0.5em 0;
    background: #eee;
}
pre .comment { color: #884; }
pre .keyword { color: #80f; }
pre .string { color: #a00; }

/* C language */
.c .preprocessor { color: #888; }

/* C# language */
.csharp .preprocessor { color: #888; }

/* JavaScript language */
.javascript .global { color: #80f; }

/* CSS language */
.css .property { color: #80f; }
.css .selector { color: #080; }
.css .unit { color: #888; }
.css .url { color: #008; }

/* HTML language */
.html .element { color: #80f; }
.html .attribute { color: #088; }
.html .doctype { color: #888; }

@media print {
   .metabar {display: none;}
   #content {
        margin-right: 50px;
        margin-left: 50px;
    }
}


