/* Default to some sans-serif font at a specific size */
html { font-size: 100%; }
body { font-family: sans-serif; }
h1, h2, h3, h4, h5 { font-family: 'Ubuntu', 'Trebuchet MS', sans-serif; }
pre, tt.literal, code { font: 0.8em Monaco, monospace; }
pre { margin: 0 0 1em 1em; overflow: auto; }
pre code { font-size: 1em; }

/* Put some padding back onto our list elements */
ul, ol { margin-left: 10px; }
li  { margin-left:10px; padding-left:10px; }

/* Bye bye ugly blue border */
a img { border:0px; }

/* No dots around clicked links */
a, a:active { outline: none; }

/* HTML5 tags */
header, section, footer, aside, nav, article, figure { display: block; }

/* Markup */

body {
  line-height: 1.5;
  max-width: 40em;
  margin: 0 auto;
}

a { color: #055580; }
a:hover { text-decoration: none; }
time { color: grey; }

h1 { font-size: 2em; }
h2 { font-size: 1.7em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.3em; }
h1 a, h2 a { text-decoration: none; }
h1 a:hover, h2 a:hover { text-decoration: underline; }
h1, h2 { margin: 0.5em 0 0.5em 0; }

h5 { margin: 0; font-size: 1em; font-weight: normal; }
p { margin: 1em 0; line-height:1.4em; }

/* Header/Footer */

body > header { padding: 1em 0; }
body > header h1 { background: black; color: white; display: inline-block;
                   font-size: 1.3em; }
body > header h1:hover { background: #055580; }
body > header h1 a { color: white; display: inline-block; padding: 0 0.3em; }
body > header h1 a:hover { text-decoration: none; }

/* body > header h1 { font-size: 2.5em; font-family: Georgia, serif; } */

footer { text-align: center; margin-top: 2em; }

/* content */

article header h1, #posts h2 { margin-top: 0; }

.details { color: #ccc; margin-top: -1.5em; margin-bottom: 1em; }
.details a { color: grey; }

#posts tr.year { text-align: center; }
#posts tr.year h2 { margin-bottom: 0; }
#posts tr.year.pad td { padding-top: 1em; }
#posts td.date { text-align: right; padding-right: 1em; white-space: nowrap; }
#posts td.title a { font-size: 1.4em; text-decoration: none; }

blockquote { margin: 1.5em 0 0 1.5em; }
blockquote:before { content: "\201C"; color: grey; font-size: 4em; line-height: 0.1em;
                    margin-left: -0.4em; vertical-align: bottom;
                    font-family: 'Lucida Grande', Verdana, serif; }
blockquote:after { content: "\201D"; color: grey; font-size: 4em; line-height: 0.1em;
                   margin-left: 9.5em; vertical-align: bottom;
                   font-family: 'Lucida Grande', Verdana, serif; }
blockquote :first-child { margin-top: -1.5em; }
blockquote :last-child { margin-bottom: -0.8em; }

dt { font-weight: bold; }
dd { padding-left: 1em; padding-bottom: 0.5em; }

.note { color: grey; }
.photo { float: right; }
.readers { float: right; font-size: small; }
.icon { float: left; padding: 0.5em 0.3em 0 0; }
.feed-icon a { float: right; padding-top: 0.5em; }

/* Flexible Nav */
nav.flexible-nav{text-align:right;position:fixed;right:0px;height:100%;width:12px;top:0;right:0;border-left:4px dashed rgba(150, 150, 150, 0.2);background:white;z-index:9999;}
nav.flexible-nav ul{padding:0;margin:0;list-style:none;}
nav.flexible-nav ul li{margin:0;padding:0;}
nav.flexible-nav ul li a{border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;z-index:10001;text-decoration:none;position:fixed;right:0;background:#eee;color:#333;opacity:0.7;padding:2px 6px;-moz-transition-duration:0.2s;-webkit-transition-duration:0.2s;-o-transition-duration:0.2s;transition-duration:0.2s;-moz-transition-property:padding background color max-width;-webkit-transition-property:padding background color max-width;-o-transition-property:padding background color max-width;transition-property:padding background color max-width; max-width: 15%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav.flexible-nav ul li a:hover{z-index:11111;opacity:1;padding-right:12px; max-width: 100%;}
nav.flexible-nav ul li a.current{background:#aaa;}
nav.flexible-nav ul li a.tnn-h1{border-right:15px solid #A00;}
nav.flexible-nav ul li a.tnn-h2{border-right:15px solid #AA6600;}
nav.flexible-nav ul li a.tnn-h3{border-right:15px solid #AAAA00;}

