/*
 * common
 */
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearboth { clear: both; }
.wtl { background: url(img/wtl.png) no-repeat top left; min-height: 15px; }
.wtr { background: url(img/wtr.png) no-repeat top right; min-height: 15px; }
.wbl { background: url(img/wbl.png) no-repeat bottom left; min-height: 15px; }
.wbr { background: url(img/wbr.png) no-repeat bottom right; min-height: 15px; }
.fright { float: right; }
.fleft  { float: left; }
.taright { text-align: left; }
.taright { text-align: right; }
.tacenter { text-align: center; }
.vtmiddle { display: table-cell; vertical-align: middle; height: 100%; }

/*
 * main
 */
* {
    margin: 0;
    padding: 0; }
a:link, a:visited, a:hover {
    text-decoration: none;
    color: inherit; }
body {
    font-family: "Deja Vu Sans", "Bitstream Vera Sans", "Trebuchet MS", sans-serif;
    color: #333;
    background: #fff; }

/*
 * header
 */
#w1_header {
    background: repeat-x bottom #333; }
#header {
    color: #fff;
    height: 90px;
    clear: both;
    background: url(img/kspg.png) no-repeat 10px; }
#header a#logoclickety {
    display: block;
    height: 100%;
    float: left;
    width: 150px; }
#header ul#nav {
    float: right;
    list-style: none;
    height: 100%; }
#header ul#nav li {
    height: 100%;
    width: 100px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.7em;
    display: block;
    float: left; }
#header ul#nav li a {
    padding: 10px 0;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    display: block; }
#header ul#nav li a:hover {
    color: #333;
    height: 70px;
    background: center 80% no-repeat #8ad400; }
#header ul#nav li#i_about a:hover {
    background-image: url(img/i_about.png); }
#header ul#nav li#i_blog a:hover {
    background-image: url(img/i_blog.png); }

/*
 * footer
 */
#footer {
    color: #fff;
    background: #333 url(img/kspg.png) no-repeat 98% 20px;
    min-height: 50px;
    padding: 20px;
    margin-top: 50px;
    text-align: left;
    font-size: .8em; }
#footer p {
    line-height: 2em; }
#footer p a {
    color: #8ad400; }

/*
 * side nav
 */
#w1_side {
    float: right;
    width: 25%; }
#w2_side {
    margin: 5px;
    background: #e3ffb0; }
#side {
    font-size: 80%;
    padding: 10px; }
#side.spin {
    background: url(img/spinner1.gif) right top no-repeat; }
#side h3 {
    margin-bottom: 5px;
    border-bottom: 1px solid #fff;
    color: #333; }
#side ul {
    margin: 5px 10px 5px 0;
    padding-left: 5px; }
#side ul.tagcloud {
    padding-left: 25px !important; } /* 20 from li padding + 5 from ul */
#side ul li {
    padding-left: 20px;
    line-height: 1.5em;
    margin-bottom: .4em;
    list-style: none; }
#side ul li a:hover {
    background: #fff; }

/*
 * content
 */
#w1_content {
    float: left;
    width: 75%; }
#content {
    background-color: #fff;
    font-size: 0.9em;
    padding: 5px; }
#content h3 {
    margin-bottom: .8em;
    margin-top: 0.5em;
    border-bottom: 1px solid #8ad400; }
#content .entry {
    margin-bottom: 30px; }
#content .entry .title h2 {
    border-bottom: 2px solid #8ad400;
    margin-bottom: .8em; }
#content .entry .title h2 a:hover {
    text-decoration: overline; }
#content .entry .body {
    margin-left: 5px;
    text-align: justify;
    line-height: 1.8em; }
#content .entry .body a {
    background-color: #e3ffb0; }
#content .entry .body a:hover {
    text-decoration: underline overline; }
#content .entry .body p {
    margin-top: 1.2em; }
#content .entry .body p:first-child {
    margin-top: 0; }
#content .entry .info {
    margin-top: 1em;
    text-align: right;
    color: #aaa;
    font-size: 85%; }
#content .entry .info p {
    line-height: 1.3em; }
#content .entry .body img {
    max-width: 90% !important;
    border: 1px dotted #8ad400;
    padding: 3px;
    display: block;
    margin: auto;
    margin-top: 1em; }
#content .entry .body .figure {
    margin-top: 5px;
    border: 1px solid transparent; }
#content .entry .body .figure .caption {
    max-width: 80%;
    font-size: .8em;
    font-style: italic;
    margin: auto;
    text-align: center;
    margin-top: 10px; }

#content .entry .body ol {
    width: 90%;
    padding: 5px;
    margin: 5px auto; }
#content .entry .body ul {
    width: 90%;
    margin: 5px auto;
    padding: 5px;
    list-style: square; }
#content .entry .body li {
    padding: 1px 10px; }
#content .entry .body blockquote {
    font-style: italic;
    width: 90%;
    margin: auto;
    padding-left: 10px;
    border-left: 1px dotted #8ad400; }
#content .entry .body dl dt {
    font-size: 1.1em;
    font-weight: bold; }
#content .entry .body dl dd ul {
    margin: auto; }
#content .entry .body table {
    padding: 10px;
    width: 90%;
    line-height: 1em;
    margin: auto;
    margin-top: 15px;
    border: none;
    border-top: 1px dotted #8ad400;
    border-bottom: 1px dotted #8ad400;
    background: #fafff1; }
#content .entry .body table th {
    border: none;
    padding: 3px;
    background: #eeffcc;
    border-bottom: 1px dotted #8ad400;
    border-right: 1px dotted #8ad400;
    vertical-align: middle; }
#content .entry .body table tr {
    padding: 3px;
    border: none; }
#content .entry .body table td {
    padding: 10px 3px;
    border: none;
    border-bottom: 1px dotted #8ad400;
    border-right: 1px dotted #8ad400; }
#content .entry .body code,
#content .entry .body span.pre {
    font-family: "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
    color: #8ad400; }
#content .entry .body pre.literal-block {
    /* NOTE: this values are completely "handcrafted", good! ... NOT! */
    background:  #fafff1;
    padding: 10px 1.1em;
    margin: auto;
    margin-top: 1.8em;
    width: 88%;
    line-height: 1.1em;
    font-size: .79em;
    border-top: 1px dotted #8ad400;
    border-bottom: 1px dotted #8ad400;
    font-family: "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; }
#content #pagination {
    display: table;
    width: 60%;
    height: 32px;
    margin-top: 1em;
    margin-left: -5px;
    color: #8ad400;
    border-top: 1px dotted #aaa;
    border-bottom: 1px dotted #aaa;
    padding: .2em 1em;
    font-weight: bold;
    text-transform: uppercase; }
#content #pagination:hover {
    background: #333; }
#content #pagination.spin {
    background: url(img/spinner2.gif) no-repeat center; }

/*
 * pygments
 */
#content .entry .body table.highlighttable {
    width: 90%;
    table-layout: fixed; }
#content .entry .body td.linenos {
    text-align: right;
    padding-right: 10px;
    vertical-align: top;
    border-bottom: none;
    width: 5%; }
#content .entry .body td.code {
    border-right: none;
    border-bottom: none;
    padding-left: 10px; }
#content .entry .body td.code .highlight pre {
    overflow: auto; }

/*
 * forms
 */
#content form fieldset {
    padding: 0 10px;
    border: none; }
#content form fieldset dl dt {
    color: #555;
    font-weight: bold; }
#content form fieldset dl dt.required:after {
    color: #f00;
    font-weight: normal;
    content:"*"; }
#content form fieldset dl dd {
    margin-bottom: 1em; }
#content form fieldset dd input,
#content form fieldset dd textarea {
    border: 1px dotted #8ad400;
    font-size: 1.1em;
    width: 99%; }
#content form textarea {
    height: 10em; }
#content form .submit {
    width: auto;
    font-size: 1.5em; }

/*
 * pingbacks
 */

#content #pingbacks {
    margin: 10px 0;
    border: 1px solid transparent;
    background: #f8ffec; }
#content #pingbacks ul {
    margin: 10px;
    list-style: none;
    font-size: .8em; }
#content #pingbacks ul li {
    margin-bottom: 1em; }
#content #pingbacks ul li .title {
    float: left;
    font-weight: bold; }
#content #pingbacks ul li .date {
    float: right; }
#content #pingbacks ul li blockquote {
    clear: both;
    margin: .5em 2em;
    text-align: justify;
    font-style: italic; }
/*
 * comments
 */
#content #comments ol li {
    list-style-type: none;
    border-left: 1px dotted #8ad400;
    margin-left: 1px;
    margin-bottom: 2em; }
#content #comments ol li:hover {
    border-left: 2px solid #8ad400;
    margin-left: 0; }
#content #comments ol li .num {
    margin: 0 5px;
    font-size: 3em;
    float: right;
    color: #e3ffb0; }
#content #comments ol li .info {
    color: #555;
    overflow: hidden;
    float: right;
    width: 20%;
    padding-left: 5px;
    border-left: 2px solid #8ad400; }
#content #comments ol li .body {
    text-align: justify;
    padding: 5px;
    padding-left: 10px; }

/*
 * tag clouds
 */
ul.tagcloud { list-style: none; }
ul.tagcloud li { padding: 0 !important; display: inline; }

ul.tagcloud li.color0 { color: #8ad400; }
ul.tagcloud li.color1 { color: #9ac17a; }
ul.tagcloud li.color2 { color: #008000; }

ul.tagcloud li.size0 { font-size: 1em; }
ul.tagcloud li.size1 { font-size: 1.1em; }
ul.tagcloud li.size2 { font-size: 1.3em; }
ul.tagcloud li.size3 { font-size: 1.6em; }
