body
{
  background: white;
  color: black;
  margin: 0px;
  padding: 0px;
  border-top: 12px solid black;

  font-family: 'TeeFranklin-Medium','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 13pt;
  line-height: 1.4em;
  color: #111;
  text-rendering: optimizelegibility;
  -moz-font-feature-settings: "liga=1,kern=1";

  text-align: center;
}

h1, h2, h3, h4
{
  font-size: 1.0em;
}

code
{
  font: normal 0.9em fixed, monospace;
  background-color: #f0f0f0;
  color: #333;
}

a
{
	text-decoration: none;
}

img
{
	border: 0px;
    max-width: 100%;
}

#journal
{
	text-align: left;
	margin-left: auto;
	margin-right: auto;

	width: 960px;
}

#header
{
	padding-top: 0.6em;
	padding-bottom: 1.6em;
}

#header .title
{
    font: bold 1.0em "Lucida Sans Unicode", "Lucida Grande", "Liberation Sans", sans-serif;
	line-height: 0.5em;
	margin-top: 0.1em;
	font-size: 4em;
}

#header .tagline
{
	margin-top: 8pt;
}

#header a
{
	color: black;
}

#navigation
{
	margin-left: 710px;
	width: 230px;
	padding: 10px;
	font-size: 0.8em;
	line-height: 1.4em;
	background-color: #e6e6e6;
}

#navigation h3
{
	font-size: 1.1em;
}

#navigation ul
{
	list-style-type: none;
	padding-left: 0.5em;
	padding-bottom: 1em;
	border-bottom: 1px dotted #c0c0c0;
}

#navigation .spaced li
{
	padding-bottom: 1em;
}

#navigation .gravatar li
{
	padding-bottom: 2em;
}

#navigation .gravatar img
{
	float: left;
	border: 1px solid #c0c0c0;
	padding: 1px;
	margin-right: 1em;
}

#content
{
    float: left;
    width: 680px;
	padding: 10px;
}

#content .post
{
	padding-bottom: 16px;
}

#content .post .title
{
    font-weight: bold;
    text-decoration: underline;
    color: #000;
    padding-left: 2px;
}

#content .post .date
{
	font-size: 0.9em;
    color: #333;
}

#content .post .infobar
{
	border-left: 6px solid #c0c0c0;
	background-color: #e6e6e6;
	font-size: 0.9em;
	padding: 6px;
}

#content .warning
{
	border-left: 6px solid #e52323;
	background-color: #fff798;
	font-size: 0.9em;
	padding: 6px;
}

#content .post .comment
{
	margin-bottom: 2em;
	font-size: 0.9em;
	line-height: 1em;
}

#content .post .comment .gravatar
{
	margin: 0px;
	padding: 1px;
	line-height: 0em;
	border: 1px solid #c0c0c0;
	float: left;
}

#content .post .comment .comment-body
{
	margin-left: 6em;
}

#content .post .comment .comment-body blockquote
{
	margin: 0px;
	margin-left: -1em;
	background-color: #e6e6e6;
	padding: 0.1em;
	padding-left: 1em;
	padding-right: 1em;
	line-height: 1.6em;
	border-radius: 5px;
}

#content .post-header a
{
	color: black;
}

#content .post-header p
{
	font-size: 8pt;
	margin: 0px;
	line-height: 1.0em;
}

#content .post-header h1
{
	border-bottom: 1px dotted #c0c0c0;
	margin-top: 8px;
	font-size: 1.6em;
    padding-bottom: 0.2em;
}

#content .post-body
{
	line-height: 1.5em;
	font-size: 0.9em;
	margin-bottom: 2em;
}

#content .post .separator
{
	margin-top: 2em;
	border-bottom: 1px dotted #c0c0c0;
}

#content .post-body .foto
{
	float: right;
	text-align: center;
	padding-left: 1em;
}

#content .post-body blockquote
{
	background-color: #f0f0f0;
	border-left: 6px solid #909090;
	padding: 9px;
	margin: 0px;
	margin-left: 1em;
	font-style: italic;
}

#content .post-body pre
{
	background-color: #f0f0f0;
	border: 1px dotted #c0c0c0;
	border-bottom: 1px dotted #909090;
	border-left: 1px dotted #909090;
	padding: 10px;
    font: normal 13px/1.6 "Lucida Console", "Monaco", "Liberation Mono", monospace;

	margin-top: 2px;
	overflow: auto;
}

#content .post-body h1
{
	font-size: 1.4em;
}

#content .post-body h2
{
	font-size: 1.3em;
}

#content .post-body h3
{
	font-size: 1.2em;
}

#content .post-body .codebar
{
	border: 1px solid #c0c0c0;
	border-bottom: 0px;
	background-color: #f0f0f0;
	margin-left: 1em;
	padding: 6px;
    font: normal 1.0em "Lucida Console", "Monaco", "Liberation Mono", monospace;
	display: inline;
}

#content .comment-form .label
{
	display: inline-block;
	vertical-align: top;
	width: 12em;
}

#content .comment-form .label-red
{
	border: 2px solid red;
}

#content .comment-form
{
	margin-top: 2em;
	padding-left: 8px;
	font-size: 0.9em;
}

#content .comment-form h2
{
	border-left: 6px solid #000;
	background-color: #e6e6e6;
	padding: 6px;
}

#footer
{
	clear: both;
	border-top: 1px dotted #c0c0c0;
	font-size: 0.8em;
	text-align: center;
}

#footer a
{
	color: black;
}

#footer li
{
	display: inline;
	padding-right: 1em;
}

div.social
{
    text-align: center;
    line-height: 0em;
    margin: 0px;
    padding: 0px;
}

#adsense
{
    text-align: center;
}

/* small layout */
@media only screen and (min-width: 420px) and (max-width: 991px) {
    #adsense {
        padding: 0px;
        width: auto;
    }
	#journal {
		width: auto;
		min-width: 420px;
	}
    #content
    {
        float: none;
        width: auto;
        margin: auto;
        padding: 2em;
    }
    #navigation
    {
        border-top: 6px solid #000;
        margin: 0px;
        width: auto;
        padding: 2em;
    }
    #navigation ul
    {
        border: 0px;
    }
    #navigation .left
	{
		margin: 0px;
        float: left;
        width: 45%;
		min-width: 200px;
    } 
    #navigation .left input
	{
		width: 160px;
	}
    #navigation .right
	{
		margin: 0px;
        float: right;
        width: 45%;
    } 
    #header .title
    {
	font-size: 3em;
    }
    #content .comment-form .label
    {
	display: block;
    }
}

/* tiny layout */
@media only screen and (max-width: 419px) {
    #adsense {
        display: none;
    }
	#journal {
		width: auto;
		min-width: 320px;
	}
    #content
    {
        float: none;
        width: auto;
        margin: auto;
        padding: 0.8em;
    }
    #navigation
    {
        border-top: 6px solid #000;
        margin: 0px;
        width: auto;
        padding: 2em;
    }
    #navigation ul
    {
        border: 0px;
    }
    #navigation .left input
	{
		width: 160px;
	}
    #header .title
    {
	font-size: 3em;
    }
    #content .comment-form .label
    {
	display: block;
    }
    #content .comment-form textarea
    {
	width: 20em;
    }
    #footer 
    {
    text-align: left;
    }
	#content object
	{
		display: none;
	}
}

