body {
	font-family: Verdana, Helvetica, sans-serif;
	padding: 0;
	font-size: medium;
	line-height: 130%;
    text-rendering: optimizeLegibility;
    color: black;
    background-color: white;
}

a:link	{color: #000099;}
dt	{margin-top: 1em; font-weight: bold;}
h1, h2, h3, h4 { 
    font-family: Cochin, Optima, Georgia, Serif;
    color: #000000;
	line-height: 110%;
    }
h2	{background-color: #ffffff; margin-bottom: 0em; font-size: 200%;}
h3	{background-color: #ffffff; font-size: 150%;}
blockquote {
    margin-right: 0; /* Use more of iPhone space. */
}
q {quotes: '\201C' '\201D' '\2018' '\2019';}
q:before {content: open-quote;}
q:after {content: close-quote;} 

#aux {
	position: absolute;
	top: 5px;
	left: 5px;
	width: 22ex;
	color: #000;
	background: #cccc99;
	border: 1px solid #999955;
	overflow: hidden;
}

#searchresults dl dt {font-weight: normal} 
#searchresults dl dt tt {background-color: #fff}

#navbar {
	padding: 1em;
 	width: 18ex; 
}

#adsense {
	padding: 1em;
}

#navbar p {   
	font-size: small;
	margin-top: 12pt;
}

#navbar ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	font-size: small;
}

#navbar li {
	margin: 0px 0px 0px 0px;
}

#search {
}

#links {
	font-size: small;
}

#links img {
    padding-right: 6px;
}

#main { 
 	margin-left: 24ex;
}

.alternating tr:nth-child(odd) {
    background-color: #ddd;
}

.alternating {
    border-spacing:0;
}

.day {
	background: #eeeeee;
	border:1px solid #cccccc;
	clear: both;
	text-align: right;
	padding: 0.5em;
	font-size: 10pt; 
	font-family: Verdana, Helvetica, sans-serif;
	font-weight: normal;
}

.day a {
    color: black;
}

.copyright {
	font-size: small;
	text-align: center;
	margin-top: 4ex;
}

.comment {
	background: #eeeeee;
	margin-bottom: 1em; 
	border:1px solid #cccccc;
}

.comment-header {
	background: #dddddd;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 1em;
	padding-bottom: 2em;
}

.comment-author {
	font-weight: bold;
	float: left;
	vertical-align: top;
}

.comment-date {
	text-align: right;
	float: right;
	vertical-align: top;
}

.comment-body {
	padding: 1em;
}

.comment-form-body {
    width: 100%;
}

.post {
	margin-bottom: 4ex;
}

pre, code {
	font-family: Monaco, Menlo, monospace;
}

ul.loose li {
	margin-top: 12pt;
}

pre {
	margin-left: 3ex;
	border-width: 1px 1px 1px 1px;
	border-style: solid;
	border-color: #000;
	color: #000;
	background: #ffe;
	padding: 1ex;
	overflow: scroll;
/*  Could use instead: white-space: pre-wrap; */
}

code {
	border:1px solid #cccccc;
	background-color: #ffe;
}

tt {
	background-color: #ffe;
}
 
.archivedate {
	margin-left: 6pt;
	color: #999;
	font-size: x-small;
}

.archivedate a {
	color: #999;
}

.tags {
    text-align: left;
}

.tags a {
    background-color: #999;
    border-radius: 0 2px 2px 0;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2727272727;
    margin: 2px 4px 2px 10px;
    padding: 3px 7px;
    position: relative;
    
    text-decoration: none;
}

.tags a:hover {
    background-color: #000099;
    color: #fff;
}

.tags a:before {
    border-top: 10px solid transparent;
    border-right: 8px solid #999;
    border-bottom: 10px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
}

.tags a:hover:before {
    border-right-color: #000099;
}

.tags a:after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 4px;
    position: absolute;
    top: 8px;
    left: -2px;
    width: 4px;
}

.figure {
    float: left;
    padding: 6pt;
}
.caption {
 	font-weight: bold;
 	text-align: center;
}
.figures {
    display: table;
    margin: 0 auto;
}
.figures:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.meta-nav a {
    text-decoration: none;
}

.meta-nav {
    float: right;
}

.feedback {
    text-align: right;
}

.retina {
    display: none;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .nonretina {
        display: none;
    }
    .retina {
        display: inline;
    }
}

@media screen and (max-width: 568px) {
    #aux {
        position: relative;
    }
    #main { 
     	margin-left: 0;
    }
    code, h1, h2, h3, h4 {
        word-wrap: break-word;
    }
}

.carbon-text { 
    display: block;
    width: 130px; 
    font-size: smaller;
}
.carbon-poweredby { 
    display: block;
    margin-top: 1em;
    text-transform: uppercase;
    font-size: 7pt;
}
.carbon-text {
}
#carbonads { 
    margin-top: 18pt;
    line-height: 100%;
}
#carbonads a {
    text-decoration: none;
    color: black;
}
#carbonads a:hover {
    color: #009;
}

.link-ad {
    background-color: #eee;
    padding: 6pt;
    border: 1pt #ccc solid;
}
