/* -------------------------------------------------------------- 
   Reset
-------------------------------------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
body { line-height: 1.5; background: #fff; margin: 1.5em 0; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: none; }
input,textarea { margin: 0; vertical-align: middle }

/* Removes Firefox imposed outline */
a { outline: none; }

/* Clearing floats without extra markup  */
.wrapper { display: inline-block; }
.wrapper:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .wrapper { height: 1%; }
.wrapper { display: block; }

/* -------------------------------------------------------------- 
   Typography
-------------------------------------------------------------- */

/* This is where you set your desired font size. The line-heights 
   and vertical margins are automatically calculated from this. 
   The percentage is of 16px (0.75 * 16px = 12px). */
body { font-size: 75%; }


/* Default fonts and colors. */
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { font-family: Verdana, Tahoma; }


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: bold; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; margin-bottom: 1.5em; }
h6 { font-size: 1em; }


/* Text elements
-------------------------------------------------------------- */

p { margin: 0 0 1.5em; }

ul, ol { margin: 0 1.5em 1.5em 1.5em; }
ul { list-style-type: circle; }
ol { list-style-type: decimal; }

dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dl dd { margin-left: 1.5em; }

abbr, acronym { border-bottom: 1px dotted #000; }
address { margin-top: 1.5em; font-style: italic; }
del { color: #000; }

a { color: #000; text-decoration: underline; }
a:hover { color: #33d; text-decoration: underline; }
a:visited { color: #006; text-decoration: underline; }

blockquote { margin: 1.5em; }
strong { font-weight: bold; }
em, dfn { font-style: italic; }
dfn { font-weight: bold; }
pre, code { margin: 1.5em 0; white-space: pre; }
pre, code, tt { font: 1em monospace; line-height: 1.5; } 
tt { display: block; margin: 1.5em 0; line-height: 1.5; }

body { padding:1em 4em;}
#header { color:#666; font-size:4em; text-align:center; font-family: Georgia, Verdana, Arial, serif; }
#header a { color:#666; text-decoration:none; }
#twitter { color:#999; font-weight:bold; font-family: Verdana, Georgia, Arial, serif; padding-bottom:1em; border-bottom:1px solid #999; }
#twitter .info { color:#ccc; font-size:0.9em; }
#twitter .info a { color:#ccc; }
#twitter ul { margin:0; padding:0; list-style:none; }
#twitter ul li { margin:0; padding:0; }
#menu { list-style:none; margin:0 0 3em 0; padding:0; border-bottom:1px solid #999; font-family: Georgia, Verdana, Arial, serif; }
#menu li { float:left; font-weight:bold; }
#menu a { display:block; color:#000; line-height:2em; text-decoration:none; padding:1em; }
#menu a:hover { text-decoration:underline; background:#ccf; }

#content { padding-right: 60px; padding-left:1em; line-height:1.6em; font-family:Verdana; overflow:hidden; }
#content .post { margin-bottom:4em; }
#content h1 { margin-left:-0.3em; font-size:2em; color:#666; font-family: Georgia, Verdana, Arial, serif; }
#content h1 a { color:#666; text-decoration:none; }
#content h1 a:hover { color:#33d; text-decoration:underline; }
#content h2 { margin-left:-0.3em; font-size:1.7em; color:#666; font-family: Georgia, Verdana, Arial, serif; }
#content h2 a { color:#666; text-decoration:none; }
#content h2 a:hover { color:#33d; text-decoration:underline; }
#content h3 { margin-left:-0.3em; font-size:1.4em; color:#666; font-family: Georgia, Verdana, Arial, serif; }
#content h3 a { color:#666; text-decoration:none; }
#content h3 a:hover { color:#33d; text-decoration:underline; }
#content .post .info, #content .post .tags
{ text-align:right; }
#content .post .info { color:#666; }
#content .post .tags, #content .post .tags a { color:#333; }
#content .post .tags a:hover { color:#33d; }
#content .post .actions { float:right; margin:0.4em 0.2em;}

#comments { margin-top:-2em; padding-right: 60px; padding-left:1em; overflow:hidden; }
#commentHeader { border-top:1px solid #999; padding:1em 0; margin-left:-1em; }
#commentHeader h3 { color:#666; font-family: Georgia, Verdana, Arial, serif; }
#comments .comment { margin-bottom:3em; border-bottom:1px solid #999; padding-left:0.5em; padding-top:1em; border-right:1px solid #999; }
#comments .info { text-align:right; padding-right:1em; padding-bottom:0.2em; color:#666; clear:both; }
#comments .info .author { float:left; background:url(author.png) no-repeat center left;  padding-left:1.2em; }
#commentForm { overflow:hidden; width:450px; margin:0 auto 4em auto;}
#commentForm .field { margin-bottom:2px; width:440px; }
#commentForm #div_name, #commentForm #div_email { float:left; margin-right:10px; width:215px;}
#commentForm #div_openid_url { clear:both; }
#commentForm #div_openid_url:before { content:"."; display:block; height:0; clear:both; visibility:hidden;}
#commentForm #div_notify { margin:3px 0; }
#commentForm .errorlist { list-style:none; background:#ff9999; margin:0; padding:1px 10px; }
#commentForm .errorlist li { padding:0; margin:0; }
#commentForm .label { margin:3px;}
#commentForm input, #commentForm textarea { width:438px; border:1px solid #ccc;}
#commentForm #div_name input, #commentForm #div_email input { width:213px;}
#comment_help { width:155px; font-size:10px; border:1px solid #ccc; padding:5px; float:right;margin-top:10px; }
#comments .actions { float:right; margin:0 0.2em;}
#commentForm .error input, #commentForm .error textarea { border:1px solid #ff9999; }
.avatar { margin:0 1em 1em 1em; float:right; clear:both;}

#sidebar { width:200px; float:right; }
#sidebar a { text-decoration:none; }
#sidebar a:hover { text-decoration:underline; }
#sidebar .block { margin-bottom:3em; }
#sidebar .block h3 { margin-bottom:0.5em; color:#666; font-family: Georgia, Verdana, Arial, serif; }
#sidebar #cloud { list-style:none; margin:0; padding:0; text-align:center; }
#sidebar #cloud li { display:inline; }

#portfolio, #adminpanel { padding:0 1em; line-height:1.6em; font-family:Verdana; }
#portfolio .item, #adminpanel .item { margin-bottom:4em; }
#portfolio h1 { margin-left:-0.3em; font-size:2em; color:#666; font-family: Georgia, Verdana, Arial, serif; }
#portfolio h1 a { color:#666; text-decoration:none; }
#portfolio h1 a:hover { color:#33d; text-decoration:underline; }
#trumbs { float:right; width:208px; text-align:center; }
#trumbs img { margin-bottom:10px; padding:2px; border:1px solid black; }
#trumbs a img { border:0; }
#detailImg { text-align:center; }

.navigation { font-size:1.2em; margin-bottom:1em; }
.navigation a { font-size:0.8em; }
.navigation a:visited { color:#000; }
.navigation .next { float:right; }
.navigation .prev { float:left; }
.navigation ul { list-style:none; text-align:center; margin:0; padding:0; }
.navigation li { display:inline; margin:0 5px; }

#actions { margin:0 0 5em 1em; }
#comments h1 { margin-left:-0.3em; padding:0; font-size:2em; color:#666; font-family: Georgia, Verdana, Arial, serif; }
#statistic { margin:3em 0; padding-left:1em; }
#statistic h1, #service h1 { margin-left:-0.3em; padding:0; font-size:2em; color:#666; font-family: Georgia, Verdana, Arial, serif; }
#statistic table { margin:10px; }
#statistic table td { border:1px solid #ddd; padding:2px; text-align:left; background:#fefefe; }
#statistic .label { width:400px; }

#user { width:300px; float:right; margin-right:50px; border:1px solid #ddd; padding:5px; text-align:center; background:#fefefe; }

#flatpages, #tags { margin-bottom:2em; }
#flatpages table,#tags table, #items table { width:100%; }
#flatpages table td, #tags table td, #items table td { border:1px solid #ddd; padding:2px; background:#fefefe; }
#items .description { background:#fff; border:0; padding:0.5em 1em; }

#navigation { overflow:hidden; text-align:center; margin:-1em 0 1em 0; }
#navigation ul { list-style:none; margin:0 auto 40px auto; display:block; }
#navigation li { float:left; display:block; margin:0 5px; border:1px solid #ccc; padding:2px 5px; background:#fdfdfd; }
#navigation a, .button a { text-decoration:none; color:#000; }
.button { float:left; margin:0 5px; border:1px solid #ccc; padding:2px 5px; background:#fdfdfd; }
.buttonsBar { overflow:hidden; height:1%; margin:5px 0; }

.center { text-align:center; }
.right { float:right; }

#adminForm .field { width:550px; margin-bottom:5px; }
#adminForm .errorlist { list-style:none; background:#ff9999; margin:0; padding:1px 10px; }
#adminForm .errorlist li { padding:0; margin:0; }
#adminForm input, #adminForm textarea, #adminForm select { width:548px; border:1px solid #ccc;}
#adminForm .markItUp textarea { width:495px; }
#adminForm .error input, #adminForm .error textarea, #adminForm .error select { border:1px solid #ff9999; }
#adminForm input[type="submit"] { width:200px; }
.tagMatches { display:block; overflow:hidden; }
._tag_suggestion { display:block; float:left; padding:0 0.5em; margin-right:1em; border-right:1px solid #ccc; border-left:1px solid #ccc; border-bottom:1px solid #ccc; border-right:1px solid #ccc; }
#adminpanel #comments { padding:0; margin-bottom:3em; }
#adminpanel #comments .comment { border-right:0; margin:0; }
.spam { background:#ffeeee; }
#adminpanel .actions { float:right; }
#adminpanel .actions a { color:#000; text-decoration:none; }
#adminpanel .actions input { margin:0; padding:0; border:0; background:transparent; color:#000; height:1.2em; vertical-align:top; cursor:pointer; }

#footer { clear:both; padding-top:1em; border-top: 3px solid #eee; text-align:center; }

.archive { margin-left:0; text-align:right; list-style:none; font-size:1.3em; font-weight:bold; }
.archive ul { margin-left:0; text-align:left; list-style:none; font-size:0.8em; font-weight:normal; }

.searchForm {margin:0 1em 3em 1em; }

/** Highlight.js */
pre code {
  overflow: auto;
  font-size: 1em;
  display: block;
  background: #fcfcfc; color: black;
  padding: 5px;
}

.string,
.function .title,
.class .title, 
.tag .attribute .value,
.css .rules .value,
.preprocessor,
.ruby .symbol,
.built_in,
.sql .aggregate,
.django .template_tag,
.django .variable,
.smalltalk .class {
  color: #4070a0;
}

pre code .comment,
.java .annotation,
.template_comment {
  color: #60a0b0; font-style: italic;
}

.number,
.regexp,
.javascript .literal,
.smalltalk .symbol,
.smalltalk .char {
  color: #40a070;
}

.javadoc,
.ruby .string,
.django .filter .argument,
.smalltalk .localvars,
.smalltalk .array {
  color: #88F;
}

.python .decorator {
	color: #555555; font-weight: bold;
}

.keyword,
.css .id,
.phpdoc,
.vbscript .built_in,
.sql .aggregate,
.rsl .built_in,
.smalltalk .class {
  color: #D957AF; font-weight: bold;
}

.function .title{
	color: #d55537; font-weight: bold;
}

.class .title {
	color: #0e84b5; font-weight: bold;
}
