@font-face {
	font-family: 'Cardo';
	font-style: normal;
	font-weight: normal;
	src: url('/utils/fonts/cardo.otf');
}
@font-face {
	font-family: 'Cardo';
	font-style: normal;
	font-weight: bold;
	src: url('/utils/fonts/cardobold.otf');
}

article, aside, nav, header, footer, hgroup, figure { display: block; }
body {
	color: #222;
	background-image: -webkit-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,.5) 5em, rgba(255,255,255,.5) 55em, rgba(255,255,255,0));
	background-image: -moz-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,.5) 5em, rgba(255,255,255,.5) 55em, rgba(255,255,255,0));
	background-image: -o-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,.5) 5em, rgba(255,255,255,.5) 55em, rgba(255,255,255,0));
	background-image: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5) 5em, rgba(255,255,255,.5) 55em, rgba(255,255,255,0));
	background-size: 60em auto;
	background-position: center top;
	background-repeat: no-repeat;
	margin: 0;
	font-family: sans-serif;
}

body > * {
	margin: 0 auto;
}

body > header > h1 {
	color: #222;
	text-align: center;
	text-shadow: 0 0 5px white;
	margin: .5em;
	font-size: 3em;
}


body > header > h1 span:nth-child(2) {
	display: block;
}

body > header > h1 > a {
	color: inherit;
	text-decoration: none;
}

body > header > address {
	font-style: normal;
	display: block;
	margin: .5em 1em;
}


.post-navigator {
	display: block;
	text-align: center;
	margin: 1em;
}

#nav-link {
	display: block;
	text-align: center;
	margin: 1.5em 0;
}

@media all and (min-width: 30em) {
	body > header > h1 {
		letter-spacing: 5px;
	}
}

@media all and (min-width: 55em) {
	body {
		font-family: "Droid Sans", sans-serif;
	}
	body > header {
		display: flex;
		justify-content: center;
		max-width: 50em;
	}
	body > header > h1 {
		text-align: right;
	}
	body > header > address {
		width: 25em;
		margin: 2em 0 0;
	}
	#nav-link {
		margin-top: -1em;
	}
}

#nav {
	max-width: 50em;
	margin: 0 auto;
}

#nav h1 {
	margin: 0;
}

#nav > dl {
	padding: 0;
	margin: 0 auto;
	max-width: 30em;
	overflow: auto;
}

#nav > dl > dd {
	margin-bottom: 1em;
}

#nav dt {
	font-size: small;
	color: gray;
	font-family: monospace;
}

#nav a {
	max-width: 20em;
}

@media all and (min-width: 55em) {
	#nav dt {
		font-family: "Droid Sans Mono", monospace;
	}
}

@media (pointer: fine) {
	#nav > dl > dd {
		margin-bottom: 0;
	}
}

#posts {
	padding: 0 10px;
}

.post {
	position: relative;
}

.entry-content {
	padding: 0 8px 1em;
}

.entry-content > h2, .entry-content > h3 {
	margin: .5em 0;
}
.entry-content > h2 {
	border-bottom: thin solid black;
}

.entry-content code {
	font-variant: normal;
	font-family: monospace;
	background: #eee;
	background: rgba(231, 231, 231, .5);
}
.entry-content > h1 > code, .entry-content > h2 > code, .entry-content > h3 > code {
	background: transparent;
}

.entry-content > pre.code {
	white-space: pre-wrap;
	font-family: monospace;
	border-left: 1px solid #006;
	border-bottom: 1px solid #006;
	background: #ddf;
	padding: .5em;
	line-height: 1.2;
}

.entry-content p,
.entry-content li {
	text-align: justify;
	margin: .5em;
	line-height: 1.5;
}

@media all and (min-width: 55em) {
	.entry-content code,
	.entry-content > pre.code {
		font-family: "Droid Sans Mono", monospace;
	}
}

#posts {
	padding: 0;
}

.post header {
	background-color: #68a;
	background-image: -webkit-linear-gradient(rgba(0,0,0,.1), transparent 15%, transparent 85%, rgba(0,0,0,.1));
	background-image: -moz-linear-gradient(rgba(0,0,0,.1), transparent 15%, transparent 85%, rgba(0,0,0,.1));
	background-image: -o-linear-gradient(rgba(0,0,0,.1), transparent 15%, transparent 85%, rgba(0,0,0,.1));
	background-image: linear-gradient(rgba(0,0,0,.1), transparent 15%, transparent 85%, rgba(0,0,0,.1));
	color: #eee;
	border: double thick silver;
	border-style: double none;
	position: relative;
}

.post h1 {
	text-align: center;
	font-size: 2.5em;
	max-width: 20em;
	max-width: 50rem;
	margin: .5em auto;
	background: -webkit-radial-gradient(rgba(255,255,255,.1), rgba(255,255,255,0) 50%);
	background: -moz-radial-gradient(rgba(255,255,255,.1), rgba(255,255,255,0) 50%);
	background: -o-radial-gradient(rgba(255,255,255,.1), rgba(255,255,255,0) 50%);
	background: radial-gradient(rgba(255,255,255,.1), rgba(255,255,255,0) 50%);
	text-shadow: 1px 2px 2px #224;
	font-family: serif;
}

.post footer {
	text-align: center;
	font-size: small;
	font-weight: bold;
	color: black;
	display: flex;
	justify-content: center;
}

.post footer > * {
	text-decoration: none;
	color: inherit;
	display: block;
}

.post .permalink {
}

.post .permalink * {
	display: inline;
}

.post .shortpostnav {
	position: relative;
	width: 4em;
	margin: 0 .5em;
}
.post .shortpostnav > i {
	position: absolute;
	top: 0;
	width: 0; height: 0;
	border-left: white solid 2em;
	border-right: white solid 2em;
	background: transparent;
	-webkit-transition: border .3s, height .3s, background .3s;
	-moz-transition: border .3s, height .3s, background .3s;
	transition: border .3s, height .3s, background .3s;
}
.post .shortpostnav:hover > i {
	border-color: rgba(255,255,255,0);
	border-top-width: 0;
	border-bottom-width: 0;
	height: 1em;
}

.post .older > i {
	left: 0;
	border-top: black solid 1em;
	border-bottom: none;
}
.post .newer > i {
	right: 0;
	border-top: none;
	border-bottom: black solid 1em;
}

.entry-content {
	max-width: 50em;
	margin: 0 auto;
}

.post .updated {
	text-align: center;
	max-width: 20em;
	margin: 1em auto;
}

.post .comment-link {
	max-width: 50em;
	margin: 1em auto;
	text-align: center;
}

@media all and (min-width: 55em) {
	.post h1 {
		font-family: "Cardo", "Droid Sans", sans-serif;
	}
}

#rss {
	position: absolute;
	top: 10px;
	right: 10px;
}

#rss svg * {
	-webkit-transition: fill .3s;
	-moz-transition: fill .3s;
	transition: fill .3s;
}
#rss svg:hover * {
	fill: orange;
}


.copyright {
	max-width: 50em;
	margin: 1em auto 0;
}



@-webkit-keyframes bg-cycle {
	0%, 100% { background-color: #68a; }
	50%      { background-color: #a68; }
}@-moz-keyframes bg-cycle {
	0%, 100% { background-color: #68a; }
	50%      { background-color: #a68; }
}@keyframes bg-cycle {
	0%, 100% { background-color: #68a; }
	50%      { background-color: #a68; }
}
.post:target > header {
	-webkit-animation: bg-cycle 10s infinite;
	-moz-animation: bg-cycle 10s infinite;
	animation: bg-cycle 10s infinite;
}



/* Comments */
.comments form {
	text-align: center;
	max-width: 400px;
	margin: 0 auto;
	position: relative;
	padding-top: 42px;
	display: flex;
	flex-flow: row wrap;
}
.comments input, textarea {
	background: #eee;
	border: none;
	border-radius: .5em;
}
.comments form p {
	margin: 0 .5em .1em;
}
.comments form p:nth-child(-n + 4) {
	flex: 1;
}
.comments form p:nth-child(n + 5) {
	flex: 1 1 100%;
}
.comments form .name, .comments form .info, .comments form .site {
}
.comments form .email { display: none; }
.comments label {
	display: flex;
	flex-flow: column-reverse;
	align-items: center;
}
.comments form .name input, .comments form .info input, .comments form .site input {
	box-sizing: border-box;
	width: 100%;
	padding: 1px 2px;
}
.comments form .name span, .comments form .info span, .comments form .site span {
	color: #888;
	font-size: small;
}
.comments form .text {
	display: block;
}
.comments form .text textarea {
	box-sizing: border-box;
	width: 100%;
	height: 10em;
}
.comments form .text span {
	position:absolute;
	left: -9000px;
}



.comment {
	box-sizing: border-box;
	max-width: 50em;
	margin: 10px auto;
	position: relative;
	background: no-repeat right top / 2px 100%;
	background-image: linear-gradient(silver 10px, white);
}

.comment .content {
	font-family: sans-serif;
	margin: .5em 0;
	padding: 10px;
	max-height: 80vh;
	overflow: auto;
}

.comment pre{
	white-space: pre-wrap;
}

.comment .header-wrapper {
	overflow: hidden;
	background-image: linear-gradient(silver, silver), linear-gradient(white 50%, transparent 50%);
	background-size: 100% 2px, auto;
	background-repeat: no-repeat;
	background-position: left center;
}
.comment header {
	padding: 3px;
	font-size: small;
	border: 2px solid silver;
	border-left: none;
	border-radius: 0 .5em .5em 0;
	background: #f9f9f9;
	color: #222;
	float: left;
}
.comment header a:not(:hover):not(:focus) {
	text-decoration: none;
}

.comment:target {
	background-image: linear-gradient(black 10px, white);
}
.comment:target .header-wrapper {
	background-image: linear-gradient(black, black), linear-gradient(white 50%, transparent 50%);
}
.comment:target header {
	border-color: black;
	background-color: black;
	color: white;
}
.comment:target header a {
	color: inherit;
}

.comment[data-tabatkins] {
	background-image: linear-gradient(hsl(210,20%,50%) 10px, hsl(210,20%,95%));
	background-color: hsl(210,20%,95%);
}
.comment[data-tabatkins] .header-wrapper {
	background-image: linear-gradient(hsl(210,20%,50%), hsl(210,20%,50%)), linear-gradient(white 50%, transparent 50%);
}
.comment[data-tabatkins] header {
	border-color: hsl(210,20%,50%);
	background-color: hsl(210,20%,50%);
	color: white;
}
.comment[data-tabatkins] header a {
	color: inherit;
}

.comment-reply {
	padding: 1em;
}

@media all and (min-width: 55em) {
	.comment .content {
		font-family: "Droid Sans", sans-serif;
	}
}
