body {
  background: #fff url(../images/header.gif) repeat-x;
	color: #333;
}

pre.textmate-source {
	background: #f9f7f2;
}

.code pre {
	padding: 0.835em 1em;
}

.code span.label {
	display: block;
	font-size: 0.8em;
	line-height: 1.875em;
	margin-bottom: 1.875em;
	text-align: right;
}

p.cite {
	padding-left: 60px;
	background: url(cite.gif) no-repeat;
	font-family: Georgia;
	font-style: italic;
}

p.cite span.author {
	display: block;
	text-align: right;
	font-size: 0.9em;
	line-height: 1.67em;
	padding-bottom: 1.67em;
}

#header h1 {
    padding-bottom: 0.5em;
    margin-bottom: 0.75em;
  font-size: 4em;
}

#header h1 a {
  text-decoration: none;
  color: #f2fff8;
  font-style: italic;
}

#wrapper {
	width: 60em;
	margin: 0 auto;
}

#content {
	width: 61%;
	padding-top: 0.5em;
	position: relative;
}

#sidebar {
	float: right;
	width: 34%;
	border-left: 1px solid #ddd;
	padding-left: 1em;
}

#sidebar ul {
	list-style: none;
}

#sidebar h1, #content h2 {
	font-weight: bold;
	font-size: 1.1667em;
	line-height: 1.286em;
	margin: 1.929em 0 0.643em 0;
}

#sidebar a {
	font-weight: normal;
	font-style: italic;
 	font-family: Georgia;
}

#content h1 {
	font-size: 1.75em;
	line-height: 0.86em;
	font-weight: normal;
	font-style: italic;
 	font-family: Georgia;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.80em;
  margin-bottom: 0.88em;
}

#content h2 {
	font-weight: normal;
}

#foot {
	color: #444;
	border-top: 1px solid #ccc;
	padding-top: 2.375em;
	margin-bottom: 2.375em;
	font-size: 0.8em;
	line-height: 1.875em;
	text-align: center;
}

ul.posts h2, a {
  color: #006393;
}

#content ul.posts h2 {
  margin: 0.5em 0 0.25em;
  padding: 0;
  border: 0;
}

ul.posts li.post {
  margin: 1.5em 0 1.75em 0;
  padding: 0.75em 0;
  background: url(../images/separator.gif) no-repeat;
  background-position: bottom left;
}

ul.posts .actions {
  padding-left: 0.25em;
}

#content ul.posts p {
  margin: 0.25em 0;
}

iframe {
  display: inline;
}

#dialog {
  min-height: 150px;
  width: 300px;
  background: #fff;
  position: fixed !important;
  position: absolute;
  top: -1px;
  left: 50%;
  margin-left: -150px;
  border: 1px solid #ccc;
  padding: 1em;
  z-index: 9999;
}

#dialog h1 {
  display: none;
}

#search {
  float: right;
  margin-top: -3px;
}

ul.posts .author {
  padding-top: 1em;
  font-size: 0.7em;
  color: #666;
  font-style: italic;
}

ul.posts img {
  width: auto !important;
  width: 100%;
  max-width: 100%;
}

#dialog #markdown_help {
  width: 475px;
  height: 326px !important;
  height: 350px;
  overflow: auto;
  position: absolute;
  right: 0;
  top: 12px;
  border-left: 1px solid #ccc;
  padding-left: 12px;
}

#markdown_help {
  font-size: 0.9em;
}

#markdown_help h2 {
  margin: 0 1em 0.5em -0.5em;
  padding: 0.25em 0.5em;
  background: #e8e8e8;
}

#dialog form, #content form {
  width: 95%;
}

#dialog form input, #dialog form textarea,
#content form input, #content form textarea {
  width: 100%;
}

#dialog form input.button,
#content form input.button {
  width: auto;
  float: right;
}

#dialog form input.checkbox,
#content form input.checkbox,
#content #search {
  width: auto;
}

#content #search input {
  width: auto;
}

.notice {
  color: green;
}

.dialog_buttons {
  height: 1.5em;
}

.dialog_buttons a {
  float: left;
  margin-top: 2px;
}

#dialog #new_post_form {
  width: 300px;
}