body {
    padding: 0;
    margin: 0;
    background-color: #9C9AA6;
    font-family: Calibri,"Arial Unicode MS","Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 0.95em;
    text-align: justify;
}

a { color: #454D9F; text-decoration: none; }
a:hover { color: #4937DF; }
.text a { text-decoration: underline; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { text-decoration: none !important; color: #1D425F; }

tt, pre, code, kbd {
    font-family: Consolas, Monaco, Inconsolata, 'Bitstream Vera Sans Mono', 'Lucida Console', 'Courier New', monospace;
}

.small { line-height: 0.9em; }
blockquote { line-height: 1.0em; }

pre {
    font-size: 0.9em;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    background-color: #f2f2f2;
    background-image: url(img/code.png);
    background-repeat: no-repeat;
    background-position: bottom right;
}

blockquote {
    margin: 5px 0 5px 0;
    padding: 5px 10px 5px 40px;
    background-image: url(img/quote.png);
    background-repeat: no-repeat;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.8em 0 0 0;
    padding: 0;
    color: #21421e;
    text-align: left;
}

h2 {
    font-size: 2.0em;
    font-weight: normal;
    margin: 0.6em 0 0 0;
    border-bottom: 1px solid #ccc;
    letter-spacing: 0.02em;
    display: block;
    padding: 1px 5px 2px 5px;
    text-decoration: none;
}

h3 {
    font-size: 1.6em;
    font-weight: normal;
}

dl dt {
    margin: 5px 0 4px 0;
    font-size: 0.75em;
    color: #888;
    float: left;
    clear: both;
    width: 10em;
}

dl dd {
    margin: 3px 0 3px 40px;
    float: left;
}

p {
    line-height: 1.3em;
}

ul li, ol li {
    padding: 4px 0 4px 0;
}

/* :::: FORM ELEMENTS :::: */
input, textarea {
    border: 1px solid #ccc;
    font-family: Constantia,Georgia,Cambria,"DejaVu Serif","Bitstream Vera Serif","Times New Roman",serif;
    font-size: 1.0em;
    color: #2f2f2f;
    background-color: #f2f2f2;
    padding: 2px;
}

input:focus, textarea:focus {
    background-color: white;
}

textarea {
    width: 99%;
}

div.actions {
    margin: 4px 0 4px 0;
    padding: 2px;
    border: 1px solid #ddd;
    background-color: #f2f2f2;
    text-align: right;
}

div.actions input {
    background-color: white;
    cursor: pointer;
}

/* :::: ERROR LISTS :::: */
ul.errors {
    background-color: #ddd;
    border: 1px solid #aaa;
    color: #111;
    padding: 5px;
    margin: 10px 0 10px 0;
    font-size: 0.9em;
    list-style: none;
}

/* ::: INFORMATION DIALOG :::: */
div.info {
    background-color: #e4e5d7;
    border: 1px solid #aaa;
    padding: 5px;
    margin: 10px 0 10px 0;
    font-size: 0.9em;
}

div.info h3 {
    color: #111;
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 1.4em;
}

div.info p {
    margin: 0;
    padding: 3px 0 3px 20px;
}

/* :::: PAGE :::: */
div.pagewrapper {
}

div.page {
    width: 600px;
    margin: 0 auto 0 auto;
    background-color: white;
    background-repeat: repeat-x;
    border: 5px solid #e9e9e9;
    border-top: none;
    border-bottom: none;
    padding: 0px;
}

div.contents {
    min-height: 20em;
    padding: 0px 15px 0px 15px;
}

/* :::: HEADER :::: */
div.header {
    background-color: #7f7f7f;
    border-bottom: 1px solid #CFCFCF;
}

div.header h1 {
    text-align: right;
    padding: 0px 0px 0px 4px;
    margin: 0;
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 2px;
}

div.header h1 a {
    color: white;
    text-decoration: none;
}

div.header p.description {
    padding: 6px 5px 20px 0;
    margin: 0;
    color: white;
    text-align: right;
    font-size: 16px;
}

/* :::: FOOTER :::: */
div.footer {
    border-top: 1px solid #111;
    width: 100%;
    text-align: right;
    letter-spacing: 0.06em;
    color: #eee;
    background-color: #333;
}

div.footer p {
    margin: 0;
    padding: 0 10px 0 10px;
    line-height: 24px!important;
    font-size: 11px;
}

div.footer a {
    color: #aaa;
    text-decoration: none;
}

div.footer a:hover {
    color: white;
}

/* :::: SIDEBAR :::: */
div.sidebar {
    margin: 50px 0 0 0;
    background-image: url(img/sidebarbg.png);
    background-repeat: repeat-x;
    background-color: #716d6a;
    border: 5px solid #d9d9d9;
    border-bottom: none;
    padding: 5px 15px 40px 15px;
    font-size: 0.9em;
}

div.sidebar a {
    color: #ccc;
}

div.sidebar a:hover {
    color: #fff;
}

div.sidebar h3 {
    color: #eee;
    font-size: 1.4em;
    font-weight: bold;
    margin: 10px 0 0 0;
    padding: 0;
}

div.sidebar ul {
    color: white;
    margin: 8px 0 8px 0;
    padding: 0 0 0 30px;
}

div.sidebar div.tag-cloud {
    float: right;
    padding: 15px 15px 10px 10px;
}

/* :::: POST LIST PAGES :::: */
div.post h3 {
    font-size: 1.9em;
    font-weight: normal;
    margin: 1em 0 0 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
    letter-spacing: 0.02em;
}

div.post h3 a {
    color: #21421e;
    display: block;
    padding: 1px 5px 2px 5px;
    text-decoration: none;
}

div.post h3 a:hover {
    background-color: #21421e;
    color: #dae7d9;
}

.meta {
    color: #888;
    margin: 0;
    padding: 4px 0 4px 5px;
    font-size: 0.9em;
    background-image: url(img/metabg.png);
}

.meta a { color: #444; }

div.post p.related {
    text-align: right;
    font-size: 0.9em;
    padding: 3px 5px 3px 5px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #f2f2f2;
    background-image: url(img/relatedbg.png);
    color: #555;
}

div.post p.related a {
    color: #222;
}

div.post div.text {
    margin: 5px;
}

div.text h1 { font-size: 1.6em; }
div.text h2 { font-size: 1.4em; }
div.text h3 { font-size: 1.2em; font-weight: bold; }
div.text h4 { font-size: 1.1em; font-weight: bold; }
div.text h5 { font-size: 1.0em; font-weight: bold; }

div.post div.intro {
    margin: 5px;
    color: #444;
    font-style: italic;
}

div.pagination {
    text-align: center;
    margin: 10px 0 10px 0;
}

div.pagination .next {
    margin-left: 1em;
}

div.pagination .prev {
    margin-right: 1em;
}

div.pagination .ellipsis {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

form.comments {
    margin: 0 20px 30px 20px;
}

ul#comments, ol#comments {
    list-style: none;
    margin: 10px 0 10px 30px;
    padding: 0;
}

#comments ul.sub_comments {
    border-top: 1px solid #ccc;
    list-style: none;
    margin: 10px 0 10px 20px;
    padding: 0;
}

ul#comments li.comment, ol#comments li.comment {
    margin: 4px 0 4px 0;
    padding: 0;
}

ul#comments li.comment + li.comment, ol#comments li.comment + li.comment {
    border-top: 1px solid #ccc;
    padding-top: 5px;
}

ul#comments p, ol#comments p {
    margin: 0;
    padding: 5px;
}

ul#comments p.meta, ol#comments p.meta {
    margin: 0;
    padding: 0;
    text-align: right;
    font-size: 0.8em;
    color: #555;
}

#comments div.blocked,
#comments div.blocked p.meta,
#comments div.blocked a {
    color: #aaa;
    background-color: #eee;
}

#comments div.blocked {
    border: 1px solid #ccc;
    padding: 3px 8px 3px 3px;
}

/* :::: TAG CLOUD :::: */
div.tag-cloud {
    padding: 10px;
    font-size: 0.9em;
}

