* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10pt;
    font-weight: normal;
    color: #222;
}
img {
    border: none;
    vertical-align: middle;
}
h1, h2, h3, h4 {
    font-weight: normal;
}
a {
    color: #922;
    text-decoration: none;
}
a:hover {
    color: #600;
    border-bottom: 1px solid #600;
}
#header {
    height: 60px;
    margin: 0px 0px 0px 0px;
    padding: 10px 50px 0px 50px;
    border-bottom: 1px solid #000;
    color: #fff;
    background-color: #500;
    background-image: url(blog_header.jpg); 
    text-align: left;
}
#header ul {
    list-style: none;
    font-size: 115%;
    float: right;
}
#header li {
    display: inline;
    margin-left: 0.5em;
}
#header h1 {
    font-size: 30px;
    font-weight: normal;
    float: left;
}
#header a, #header a:active, #header a:visited {
    color: #b33;
}
#header a:hover {
    border-bottom: 2px solid #a33;
    color: #a33;
}
#header .sub {
    font-size: 60%;
    vertical-align: sub;
}

#content {
    position: relative;
    width: auto;
    margin-right: 250px;
    margin-left: 50px;
    z-index: 3;
    min-height: 600px;

}
#content p {
    text-align: justify;
    margin-bottom: 1em;
}
#content h1, #content h2, #content h3, #content h4 {
    color: #777;
}
#content h1 {
    font-size: 140%;
    margin: 0.5em 0 0.1em 0;
    border-bottom: 1px solid #ccc;
}
#content h2 {
    font-size: 120%;
    margin: 1em 0 0.1em 0;
}
#content h3 {
    font-size: 100%;
    font-weight: thick;
    margin: 1em 0 0.2em 0;
}
#content h4 {
    font-size: 90%;
    font-weight: thick;
    margin: 1em 0 0.1em 0;
}
#content p a {
    color: #922;
    text-decoration: none;
}
#content p a:hover {
    color: #600;
    border-bottom: 1px solid #600;
}
#content p a:visited {
    color: #922;
}
#content ul, #content ol { margin-left: 2em; margin-bottom: 0.5em; }
#content ul { list-style-type: square; }
#content .section-title {
    font-size: 130%;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 1em 0.2em 0.2em 0;
    padding: 0 0 2px 2px;
}
#content .post-title {
    font-weight: thick;
    margin: 1.5em 0 0 0 ;
    padding: 2px 5px;
    /*background-color: #fff5f5;
    border-top: 1px solid #922;
    border-bottom: 1px solid #922;*/
    /* border-bottom: 2px solid #000; */
}
.post-title a {
    font-size: 100%;
    text-decoration: none;
}
.post-title a:hover {
    text-decoration: underline;
    border-bottom: none;
}
.post-date {
    font-size: 80%;
    color: #888;
    /*text-align: right;*/
    /*margin: 0.2em 0 1em 0;*/
    margin: 0 0 0.5em 0;
}
.post-meta {
    color: #000;
    font-weight: bold;
    margin-bottom: 1em;
}
.post-meta a {
    font-weight: normal;
}
.post-meta a:hover {
    color: #600;
    border-bottom: 1px solid #600;
}

table.comment {
    padding: 0;
    width: 100%;
    border-width: 1px;
    border-spacing: 0px;
    border-style: none;
    border-color: #e0d0d0;
}

tr.comment-row1 {
    background-color: #fff;
}

tr.comment-row2 {
    background-color: #fff9f9;
}

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: 130px;
}
.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(file.gif);
    background-position: 0 0.2em;
}
ul.comment-list li {
    background-image: url(comment.gif);
    background-position: 0 0.3em;
}
ul.tag-list li {
    background-image: url(tag.gif);
    background-position: 0 6px;
}
ul.feed-list li {
    background-image: url(feed.gif);
    background-position: 0 0.3em;
}
ul.link-list li {
    background-image: url(link.gif);
    background-position: 0 0.3em;
}

/* 
 * This can be used to place two metabars side by side on the right side
 * of th escreen.
 */
#metabar1 {
    right: 50px;
}
#metabar2 {
    right: 250px;
}


#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 {
   .printhide {display: none;}
   .metabar {display: none;}
   a {
       text-decoration: underline;
   }
   #header a {
       color: #922;
       text-decoration: none;
   }
   #content {
        margin-right: 50px;
        margin-left: 50px;
    }
}

