html {
	font: 18px/24px "Palatino Linotype", "Book Antiqua", Palatino, serif;
	/*background: #f4f3db;*/
	/*background: #ffffff;*/
	background: #ffffff url(../images/halftone.png) repeat-y top right;
	color: #222;
}

body>* {
	margin-left: 15%;
	margin-right: 15%;
}

a { color: #5f2f00; }
a:hover { color: #8f4717; }
.story { clear: both; margin-bottom: 3em; }

header {
	position:absolute;
	right:16px;
	top:16px;
	transform-origin: bottom right;
	transform: rotate(90deg) translate(100%,1em) translate(-1em,0);
	-webkit-transform-origin: bottom right;
	-webkit-transform: rotate(90deg) translate(100%,1em) translate(-1em,0);
	-moz-transform-origin: bottom right;
	-moz-transform: rotate(90deg) translate(100%,1em) translate(-1em,0);
	margin:0;
}

header a {
	text-decoration: none;
	color: #999;
	font: bold 24px "Optima", sans-serif;
}

header a:hover {
	color: #666;
}

h1 {
	/*text-align: center;*/
	font: bold 32px "Optima", sans-serif;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	border-bottom: 3px solid #8f4717;
}

h2 {
	font: bold 26px "Optima", sans-serif;
	margin-top: 2.5em;
	margin-bottom: 1em;
	border-bottom: 1px solid #8f4717;
}

h3 {
	font: bold 21px "Optima", sans-serif;
	margin-top: 2.5em;
	margin-bottom: 1em;
}

h4, h5, h6 {
	font: bold 18px "Optima", sans-serif;
	margin-top: 2.5em;
	margin-bottom: 1em;
}

p {
	text-align: justify;
}

li {
	margin: 0;
}

td {
	vertical-align: top;
}

small {
	font-size: 0.7em;
}

#reader {
	margin: 2em 0;
}

#reader img {
	box-shadow: 2px 2px 16px black;
	-webkit-box-shadow: 2px 2px 16px black;
	-moz-box-shadow: 2px 2px 16px black;
}

#reader .control {
	font-family: "Optima",sans-serif;
	text-decoration: none;
	padding: 0 6px;
}



footer {
	font-size: 14px;
	color: #4f4f4f;
	margin-top: 3em;
	border-top: 1px solid #8f4717;
}

footer p {
	text-align: right;
}

.tag {
	font: 16px "Optima",sans-serif;
}

dd {
	font-style: italic
}

table.markdown {}
table.markdown td { border: 1px solid #ccc; padding: 4px; text-align: left; }

