/*
Theme Name: New Code.ge
Theme URI: http://code.ge/
Description: Code.ge Theme
Version: 1.6
Author: Ioseb
Author URI: http://code.ge/
Tags: blue, custom header, fixed width, two columns, widgets

	Code.ge v1.0
	 http://binarybonsai.com/kubrick/
*/

* {
  margin: 0;
  padding: 0;
}

/** Clearfix */
.clearfix:after {
	clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
html[xmlns] .clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}
/** End Clearfix */

/** Floats */
.float-left {
  float: left !important;
}
.float-right {
  float: right !important;
}
/** End floats */

/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Helvetica,Arial,Sans-Serif;
	background-color: #fff;
	color: #333;
}

pre {
  background: #000000;
  color: #F8F8F8;
  overflow: auto;
  padding: 1em;
  margin: 10px 8px 10px 0;
  font-family: Monaco,monospace;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.3em;
  white-space: pre-wrap;
}

h3 {
	font-size: 1.3em;
}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: white;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}

a, a:visited, a:hover { 
  color: #990000;
  font-weight: bold;
  text-decoration: none;
}

#header {
	background-color: #990000;
}

#header h1 {
	font-size: 4em;
	padding: 40px 20px;
}

#header div {
  line-height: normal;
}

#page {
	background-color: white;
	margin: 12px auto 0;
	width: 800px;
}

#content {
	font-size: 1.2em;
	float: left;
}

.widecolumn .entry p {
	font-size: 1.05em;
}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
}

.widecolumn {
	line-height: 1.6em;
}

.narrowcolumn .postmetadata {
  
}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

#content p {
  color: #333333;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 1em;
  line-height: 1.7em;
  margin-bottom: 10px;
}

.even, .alt {
	border-left: 1px solid #ddd;
}

#footer {
	border: none;
}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
  font-family: Helvetica,Arial,Sans-Serif;
	font-weight: bold;
}

h2 {
	font-size: 1.8em;
}

h2.pagetitle {
	font-size: 2em;
}

.entry p a:visited {
	color: #b85b5a;
}

.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
}

.commentmetadata {
	font-weight: normal;
}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
}

acronym, abbr, span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
}

a, h2 a:hover, h3 a:hover {
	color: #990000;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
}

#wp-calendar a {
	text-decoration: none;
}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0 0 20px 0;
	padding: 0;
	}

.narrowcolumn {
	float: left;
	padding: 0 0 20px 0;
	margin: 0px 0 0;
	width: 540px;
}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 0;
	width: 540px;
}

.post {
	margin: 0 0 40px 0;
	position: relative;
}

.post h2 {
  margin-bottom: 12px;
}

.post .post-date {
  border-right: 1px solid #CCCCCC;
  display: inline;
  left: -78px;
  position: absolute;
  top: 2px;
  width: 63px;
}

.post div.post-date span {
  color: #CCCCCC;
  display: block;
  font-size: 2em;
  line-height: 1.1em;
  text-align: center;
  text-transform: uppercase;
}

.post .post-date span.post-day {
    font-size: 4em;
}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	margin: 0 auto;
	clear: both;
}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
/* End Structure */

/*	Begin Headers */
h2.pagetitle {
	margin-top: 12px;
	text-align: center;
}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 8px 2px 0;
	display: inline;
}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
}

.entry ol li {
	padding: 0;
}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
}
#sidebar div.sidebar-box {
  margin: 24px 0;
}
#sidebar div.sidebar-box ul {
  margin: 5px 0 0 10px;
}
#sidebar {
  font-size:1.2em;
}
#sidebar h2 {
  font-size: 1.4em;
}
#sidebar .social-me li {
  height: 16px;
  line-height: 16px;
  margin: 6px 0;
  padding-left: 20px;
}
#sidebar .social-me li.twitter {
  background: url(images/social-me.png) no-repeat;
}
#sidebar .social-me li.github {
  background: url(images/social-me.png) no-repeat 0 -16px;
}
#sidebar .social-me li.facebook {
  background: url(images/social-me.png) no-repeat 0 -32px;
}
#sidebar .social-me li.slideshare {
  background: url(images/social-me.png) no-repeat 0 -48px;
}
#tag_cloud {
  margin-left: 10px;
}
#sidebar #tag_cloud h2 {
  margin-left: -10px;
}
#sidebar .widget {
  margin-top: 24px;
  margin-bottom: 24px;
}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input.input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform {
	margin: 5px 0 0 0;
}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar {
	padding: 0 0 10px 20px;
	margin-left: 545px;
}
* html #sidebar {
  padding: 0 0 10px 0;
	margin-left: 545px;
}
div.codecolorer-container {
  overflow: auto;
}
#sidebar form {
	margin: 0;
}
#sidebar ul.projects li {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  background-color: #ccc;
  padding: 10px;
  text-align: center;
}
#sidebar ul.projects li a {
  color: #990000;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: underline;
}
#sidebar ul.projects li a:hover {
  text-decoration: none;
}
#sidebar ul.projects dl {
  width: 215px;
}
#sidebar ul.projects li dd {
  color: #333;
  margin: 4px 0 0;
  font-size: 0.9em;
  font-weight: bold;
}
#sidebar h2 {
  margin: 8px 0;
}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
  background-color: #efefef;
	margin: 15px 8px 10px 0;
	padding: 10px 0 4px 10px;
	border-left: 5px solid #ddd;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}
.postsnav {
  display: block;
	text-align: center;
	margin-top: -10px;
	margin-bottom: 10px;
}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

div.codecolorer-container {
  margin-right: 8px;
}
.widget_tag_cloud div {
  margin-left: 10px;
}

div.counters {
  text-align: center;
}
div.counters img {
  margin-right: 4px;
}
#header {
  position: relative;
}
#header blockquote {
  background: none;
  color: #fff;
  border: none;
  position: absolute;
  top: 10px;
  right: 20px;
  width: 360px;
}
#header blockquote p {
  font-size: 1.5em;
  font-weight: bold;
  font-style: italic;
  text-align: right;
}

/** glossary */

div.glossary-keys {
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  margin: 24px 0;
  padding: 6px 0;
  width: 100%;
}

div.glossary-keys ol {
  list-style-type: none;
}

div.glossary-keys ol li {
  display: inline;
  list-style-type: none;
  margin: 0 0.18em;
  font-size: 1.5em;
  vertical-align: baseline;
  font-family: Cambria, 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', Times, serif;
}

div.glossary-keys ol li {
  color: #999;
}

div.glossary-keys ol li a {
  font-size: 180%;
  vertical-align: baseline;
}

div.html5glossary h2 {
  clear: both;
  float: left;
  font-family: Cambria, 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', Times, serif;
  font-size: 600%;
  padding: 0 !important;
  margin: -6px 32px 0 0;
  width: 40px;
}
div.html5glossary dl {
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  margin-left: 72px;
  padding: 12px;
}
div.html5glossary dl:hover {
  background-color: #efefef;
}
div.html5glossary dt {
  float: left;
  font-size: 1.2em;
  font-weight: bold;
  width: 100px;
}
div.html5glossary dd {
  margin: -6px 0 0 100px;
}
#content div.html5glossary dd p {
  font-size: 1.2em;
}
div.html5glossary footer {
  display: block;
  margin: 16px 0;
  width: 100%;
}
div.html5glossary footer ul {
  list-style-type: none;
}
div.html5glossary footer ul li {
  float: left;
  height: 22px;
  line-height: 22px;
  margin-right: 8px;
  padding: 0 6px 0 24px;
}
div.html5glossary dl:hover footer ul li {
  background-color: #fff;
}
div.html5glossary footer ul li {
  -webkit-border-radius: 4px;
}
div.html5glossary footer ul li.link-html5doctor {
  background: url(images/html5-doctor-icon.png) no-repeat 4px 4px;
}
div.html5glossary footer ul li.link-w3c {
  background: url(images/w3c-icon.png) no-repeat 4px 3px;
}
div.html5glossary footer ul li.link-snippet {
  background: url(images/html_go.png) no-repeat 4px 2px;
  float: right;
}
div.html5glossary footer ul li.link-snippet div {
  display: none;
}

mark,
span.mark {
  display: inline;
  background-color:#FFFF99;
  font-style:italic;
  font-weight:bold;
}

#overlay {
  display: none;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#overlay div.overlay-bg {
  background-color: #000;
  filter: alpha(opacity=70);
  height: 100%;
  left: 0;
  opacity: .5;
  position: absolute;
  top: 0;
  width: 100%;
}

#overlay div.code-snippet {
  background-color: #fff;
  border: 12px solid #dedede;
  left: 50%;
  margin-left: -300px;
  padding: 12px;
  position: fixed;
  top: 20%;
  width: 600px;
}

#overlay div.code-snippet h1 {
  color: #000;
}

#overlay div.code-snippet-body {
  margin: 12px 0;
}

#overlay div.code-snippet-footer {
  text-align: right;
}

div.share {
  margin-bottom: 12px;
}