 @import url(typography.css);

body {
	margin: 0 0 10px;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	background: #e2e2e2;
	font-size: 14px;
	line-height: 20px;
	color: #333;
	min-width: 800px;
}

#frame {
	width: 540px;
	margin: 0 auto;
}

img, a img {
	border: none;
}

header {
	display: block;
	padding: 20px;
	background: #fff url(http://www.andyzhang.com/static/tumblr/shadow620.jpg) no-repeat center top;
	-moz-border-radius-bottomleft: 7px;
	-moz-border-radius-bottomright: 7px;
	-webkit-border-bottom-left-radius: 7px;
	-webkit-border-bottom-right-radius: 7px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	margin: 0 0 40px;
}

article, #pagenav {
	display: block;
	position: relative;
	padding: 20px;
	margin: 0 0 40px;
	background: #fff url(http://www.andyzhang.com/static/tumblr/shadow620.jpg) no-repeat center top;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

#pagenav {
	font-family: "Museo", Georgia, serif;
	font-size: .9em;
	padding: 10px 20px;
	margin: 0 0 60px;
	background: #eee;
}

h1, h2, h3, p#description {
	font-family: "Museo", Georgia, serif;
	margin: 0;
}

h3 {
	font-size: 1.5em;
}

a, a:link, a:visited {
	color: inherit;
	text-decoration: none;
}

p a:link, p a:visited {
	opacity: .8;
	border-bottom: 1px dotted #000;
}

p a:hover {
	opacity: .9;
}

p#description {
	border-bottom: 3px double #e2e2e2;
	border-top: 3px double #e2e2e2;
}

article div.time {
	float: left;
	display: block;
	margin: -20px 0 0 -120px;
	width: 80px;
	height: 80px;
	background: url(http://zhang.me/tumblr/date.png);
	overflow: hidden;
}

div.time ul {
	list-style: none;
	margin: 1.4em 0;
	padding: 0;
	font: .9em "Museo", Georgia, serif;
	font-style: italic;
	text-align: center;
}

article img.permalink {
    border-width: 0px;
    display: none;
    position: absolute;
    left: 5px;
    top: -2px;
    z-index: 10;
}

    article:hover img.permalink {
        display: inline;
    }

article img.photopost {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	display: block;
	margin: 0 auto;
}    

article .photocaption, article .audiocaption {
	text-align: center;
}

article .photocaption p, article .audiocaption p {
	margin: 1em 0 0;
	padding: 0;
}

article.quote blockquote {
	font: 2.5em Georgia,'Times New Roman',serif ;
	font-style: italic;
	text-indent: 2em;
	margin: 0 0 20px;
	min-height: 2.5em;
	
}

article.quote blockquote:before {
	content: '“';
	color: #ccc;
	margin: 0 -20px;
	font-style: normal;
	font-size: 5em;
	float: left;
}

article.quote cite:before {
	content: '— ';
}

article.quote cite {
	font-style: normal;
	display: block;
	text-align: right;
}

.audiopanel {
	text-align: center;
}

article dt {
	display: block;
	width: 80px;
	margin: 0 1em 0 0;
	color: #555;
	font-weight: bold;
}

article dd {
	margin: 0 0 .5em;
	padding: 0 0 0 80px;
}

dd.odd {
	border-bottom: 1px solid #0091FF;
}

dd.even {
	border-bottom: 1px solid #ff3030;
}

#pagenav p a {
	-webkit-transition-duration: .2s;
	float: right;
	margin: -5px 0 0 1em;
	background: #e2e2e2;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border: 1px solid #bbb;
}

#pagenav .navbutton {
	font-weight: bold;
}

#pagenav p a:hover {
	background: #fff;
}

#pagenav em {
	position: relative;
	font-size: 2em;
	bottom: -3px;
	line-height: 14px;
}

ol.notes {
	border-top: 3px double #e3e3e3;
	padding-top: 20px;
	margin-top: 20px;
}

footer p {
	color: #bbb;
	font: .9em "Museo", Georgia, serif;
	text-align: center;
	margin: 0 0 7px;
}

footer p em {
	color: #555;
	border-bottom: 1px dotted #555;
}