body {
    /*background-color: #3F3534;*/
    background-color: black;
    color: white;
}

#wrapper {
    width: 940px;
    margin: 20px auto;

    color: #333;
    background-color: white;
}

#top {
    height: 145px;

    background: url('../images/bg-top.png') no-repeat;

}

#top a {
    border: none;
}

#personal-menu {

    height: 14px;
    margin: 12px 12px 0 0;
    padding: 5px 8px;
    float: right;

    font-size: 10px;
    line-height: 14px;
    background-color: black;
    color: white;
}

#personal-menu ul {
    margin-left: 10px;
}

#personal-menu li {
    display: inline;
    margin-right: 10px;
}

#personal-menu a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

#personal-menu a:hover {
    text-decoration: underline;
}

#main {
    background: url("../images/bg-main.png") repeat-y #F8F8F8;
    border-left: 3px solid #808080;
    border-right: 3px solid #808080;
    /*overflow: hidden;*/
}

#content {
    width: 672px;
    float: left;
    padding: 6px;
/*    margin-bottom: -2000px;
    padding-bottom: 2000px;*/
}

#sidebar {
    float:left;
    width:240px;
    padding: 5px 5px 5px 5px;
    /*padding: 5px 5px 2000px 5px;*/
/*    margin-bottom: -2000px;*/
}

#sidebar .section-header {
    color: #4A380A;
    border-bottom: 1px solid #5A380A;
    font-family: Georgia, Times, "Times New Roman", serif;
    margin: 10px 0 6px 35px;
    font-size: 19px;
}

#sidebar .search {
    background: url('../images/mg.png') top left no-repeat;
}

#sidebar .tags {
    background: url('../images/cloud.png') top left no-repeat;
}

#sidebar div.links {
    background: url('../images/links.png') top left no-repeat;
}

#sidebar .contact {
    background: url('../images/contact.png') top left no-repeat;
}

#sidebar .categories {
    background: url('../images/categories.png') top left no-repeat;
}

#sidebar .syndicate {
    background: url('../images/syndicate.png') top left no-repeat;
}

#sidebar .search form {

}

#sidebar .search input[type="text"] {
    font-size: 12px;
    line-height: 14px;
    height: 20px;
    padding: 4px 2px;
    font-weight: normal;
    width: 230px;
}

#sidebar .search form div {
    /*margin-left: 35px;*/
    margin-left: 5px;
    position: relative;
}

#sidebar .search input[type="text"]:focus {
    padding: 3px 1px;
}

#sidebar .search input[type="image"] {
    border: none;
    margin: 0;
    vertical-align: middle;
    position: absolute;
    height: 24px;
    right: 2px;
    top: 3px;
}

#sidebar .tags .tag-cloud {
    /*margin-left: 35px;*/
    margin-left: 5px;
}

#sidebar .tags a {
    color: #77f;
    border: none;
    border-color: #77f;
    font-weight: normal;
}

/*#sidebar .tags a.w0 { font-size: 9px;  color: #999999; }
#sidebar .tags a.w1 { font-size: 10px; color: #a39889; }
#sidebar .tags a.w2 { font-size: 11px; color: #ad9779; }
#sidebar .tags a.w3 { font-size: 12px; color: #b79669; }
#sidebar .tags a.w4 { font-size: 13px; color: #c19559; }
#sidebar .tags a.w5 { font-size: 15px; color: #cb9449; }
#sidebar .tags a.w6 { font-size: 16px; color: #d59339; }
#sidebar .tags a.w7 { font-size: 18px; color: #df9229; }
#sidebar .tags a.w8 { font-size: 20px; color: #e99119; }
#sidebar .tags a.w9 { font-size: 22px; color: #ee8907; }*/


#sidebar .tags a.w0 { font-size: 9px;  color: #999999; }
#sidebar .tags a.w1 { font-size: 10px; color: #999999; }
#sidebar .tags a.w2 { font-size: 11px; color: #888888; }
#sidebar .tags a.w3 { font-size: 12px; color: #888888; }
#sidebar .tags a.w4 { font-size: 13px; color: #888888; }
#sidebar .tags a.w5 { font-size: 15px; color: #777777; }
#sidebar .tags a.w6 { font-size: 16px; color: #777777; }
#sidebar .tags a.w7 { font-size: 18px; color: #777777; }
#sidebar .tags a.w8 { font-size: 19px; color: #666666; }
#sidebar .tags a.w9 { font-size: 20px; color: #666666; }

#sidebar .tags a:hover { color: #3B8907; }

#sidebar ul {
    /*margin-left: 35px;*/
    margin-left: 5px;
}

#footer {
    background:url("../images/bg-footer.png") no-repeat scroll;
    clear:both;
    color:white;
    font-size:10px;
    font-weight:bold;
    height:22px;
    line-height:20px;
    text-align:center;
}

/* Article */
.article {
    margin-bottom: 20px;
    width: 670px;
}

.article .title {
    margin-left: 105px;
}

.article .text {
    margin-left: 10px;
    text-align: justify;
}

.article .text img {
    padding: 3px;
    margin: 10px;
    border: 2px solid #ccc;
}

.article .meta {
    float: left;
    width: 105px;
    margin-right: 5px;
    clear: left;
    text-align: center;
    font-size: 10px;
    margin-top: 6px;
}

.article .meta .date {
    font-size: 10px;
    background: url('../images/calendar.png') top center no-repeat;
    width: 100px;
    height: 80px;
    margin-bottom: 15px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.article .meta .date .weekday {
    color: white;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
}

.article .meta .date .day {
    font-weight: bold;
    margin-top: 0;
    font-size: 30px;
    height: 38px;
    line-height: 38px;
    font-family: Georgia, Times, serif;
}

.article .meta .date .day-name {
    font-size: 19px;
    font-weight: normal;
    padding-top: 28px;
    height: 24px;
    font-family: Georgia, Times, serif;
}

.article .meta .author,
.article .meta .category,
.article .meta .comments {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 10px;
}

.article .meta .category {
    color: #666;
}

.article .meta a {
    font-size: 9px;
}

.article .keywords {
    clear: both;
    padding: 4px 10px 4px 35px;
    font-size: 11px;
    margin-top: 15px;

    background-color: #f2f4d7;
    border: 1px solid #ddd8c1;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: url('../images/bg-comment-even.png') top left repeat-y;
}

.article .keywords em {
    font-size: 10px;
}

.article .meta + h2 {
    margin-left: 110px;
}

.article .comments {
    margin: 10px 0;
}

.article .comments .header, .article #post-comment .header, .medium-header {
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 18px;
    margin: 10px 0 7px 0;
    color: #4A380A;
}

.article .comment {
    clear: both;
    padding: 10px 10px 10px 35px;
    margin-bottom: 10px;
    min-height: 30px;
    background-color: #f2f4d7;
    border: 1px solid #ddd8c1;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.article .comment .info {
    font-size: 10px;
    margin-bottom: 5px;
    padding-bottom: 2px;
    border-bottom: 1px dashed #ccc;
}

.article .comment .content {
}

.comments .comment:nth-child(even) {
    background: #f2f4d7 url('../images/bg-comment-even.png') top left repeat-y;
}

.comments .comment:nth-child(odd) {
    background: #f2f4d7 url('../images/bg-comment-odd.png') top left repeat-y;
}

.article .post-comment form {
    background-color: #FBFBFB;    
    border-top: 1px dashed #444;
    border-bottom: 1px dashed #444;
    margin-top: 10px;
}

.article .read-more {
    display: block;
}

.article .pastebin {
    margin-left: 110px;
}

.article-links {
    padding: 10px 10px 10px 30px;
    background-color: #f2f4d7;
    border: 1px solid #ddd8c1;
    background: #f2f4d7 url('../images/bg-comment-even.png') top left repeat-y;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.article-links small {
    display: inline-block;
    margin-right: 5px;
    width: 75px;
    font-size: 11px;
}

.article-links li {
    margin-bottom: 4px;
}

.archive-link {
    padding: 10px 10px 10px 30px;
    background-color: #f2f4d7;
    border: 1px solid #ddd8c1;
    background: #f2f4d7 url('../images/bg-comment-odd.png') top left repeat-y;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 10px 0;
}

.archive-link a {
    font-size: 13px;
    display: block;
    border: none;
    color: #cf7706;
}

/* Tooltip */
.tooltip {
    background: #111 url('../images/message.png') bottom right no-repeat;
    color: white;
    font-weight: bold;
    font-size: 11px;
    /*position: absolute;*/
    display: none;
    padding: 8px;
    max-width: 300px;
    border: 3px solid #fff;
    margin: 0;
    z-index: 100;
    text-align: left;
}

/* misc */
.syntaxhighlighter a {
    border: none;
}

/* Messages */
.flash-message {
    color: white;
    margin: 10px;
    width: 500px;
    padding: 25px;
    border: 3px solid white;
    background: #111 url('../images/message.png') right bottom no-repeat;
    z-index: 100;
}

.flash-message h4 {
    margin-bottom: 15px;
    color: white;
    font-family: Verdana, Tahoma, Arial, sans-serif;
    text-decoration: none;
}

.flash-message .icon {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.flash-message li {
    color: white;
}

/* Helpers */
div.clear-helper {
    font-size: 1px;
    clear: both;
}

#overlay {
    width:640px;
    display: none;
    background-image:url(../images/bg-overlay.png);
    padding: 45px;
}

#overlay div.close {
    background-image:url(../images/overlay-close.png);
    position:absolute; right:10px; top:10px;
    cursor:pointer;
    height:35px;
    width:35px;
}

.overlay-content {
    text-align: left;
}

#overlay .information {
    padding-top: 160px;
}

.search-phrase {
    background-color: #666;
    color: white;
    padding: 0 4px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}