@font-face {
    font-family: "Crimson Text";
    font-style: normal;
    font-weight: normal;
    src: url("CrimsonText-Regular.ttf");
  }
  
@font-face {
    font-family: "Crimson Text";
    font-style: italic;
    font-weight: normal;
    src: url("CrimsonText-Italic.ttf");
  }
  
  @font-face {
    font-family: "Crimson Text";
    font-style: normal;
    font-weight: bold;
    src: url("CrimsonText-Bold.ttf");
  }
  
  @font-face {
    font-family: "Crimson Text";
    font-style: italic;
    font-weight: bold;
    src: url("CrimsonText-BoldItalic.ttf");
  }

html, body {
	margin: 			0;
	padding: 			0;
	font-family:		"Crimson Text", serif;
	font-size: 			14pt;
	background: 		#ccc url(bkgnd.jpg) fixed;
	color: 				#333;
	line-height:		115%;
}

a {
	color:				#d60;
	text-decoration:	none;
}

a:hover {
	color:				#f80;
	text-decoration:	none;
}

#container {
	width:				660px;
	margin:				0 auto;
	background:			#fff;
}

#header {
	margin: 			0;
	padding: 			25px 30px 10px 30px;
	background:			#000;
}

#header .title {
	float:				left;
	font-size:			32pt;
}

#header .nav {
	float:				right;
}

#header .nav a {
	color:				#000;
	background:			#d60;
	font-size:			16pt;
	border-radius:		4px;
	padding:			2px 10px;
	margin:				0 2px;
	vertical-align:		middle;
}

#header .nav a:hover {
	background:			#f80;
	text-decoration:	none;
}

#header .subtitle {
	clear:				both;
	font-size: 			12pt;
	font-style:			italic;
	color:				#999;
	padding:			10px 0;
	font-family:		Helvetica, Arial, sans-serif;
}

.post {
	position:			relative;
	margin:				30px;
	text-align:			justify;
	padding:			10px 0 0 0;
}

.permalink {
	position:			absolute;
	width:				40px;
	height:				28px;
	left:				-56px;
	top:	 			20px;
	background:			#fff;
	font-size:			18px;
    border-radius:      5px 0 0 5px;
	vertical-align:		middle;
    padding-top:        4px;
}

.permalink a {
	padding:			6px;
	vertical-align:		middle;
}

.post h1 {
	font-variant:		small-caps;
	font-size:			21pt;
	font-weight:		bold;
	padding:			0;
	margin:				10px 0;
	color:				#000;
}

.post h2 {
	font-size:			15pt;
	font-weight:		bold;
	padding:			0;
	margin:				5px 0;
	color:				#000;
}

.post tt {
	font-family:		"Courier New", Courier, monospace;
	font-size:			13pt;
	color:				#050;
}

.post li {
    margin-top: 0.4em;
}

.post figure {
    padding: 0;
    margin: 0;
}

.post figcaption {
    font-size:          90%;
  	font-style:         italic;
  	text-align:         center;
  	margin:             0.5em 2em 1em 2em;
}

.post-tags {
	font-size:			80%;
	color:				#666;
	margin-top:	        -5px;
	padding-top:        0;
}

.post-legend {
    font-size:          90%;
	font-style:         italic;
	text-align:         center;
	margin:             -0.8em 2em 1em 2em;
}

.post-sep {
	text-align:			center;
	color:				#d60;
}

.post-footer {
	font-size:			80%;
	line-height:		125%;
}

.post-photo {
	display:			block;
	margin:				18px auto 0px auto;
	border-radius:		8px;
}

.link-nsfw {
	color:				#666;
}

.toc-image {
	float:				left;
	display:			block;
	width:				130px;
	height:				130px;
	margin:				8px 9px;
	border-radius:		6px;
	border:				none;
}

.toc-text {
	float:				left;
	display:			block;
	width:				120px;
	height:				120px;
	margin:				8px 9px;
	border-radius:		6px;
	background:			#ccc;
	overflow:			hidden;
	padding:			5px;
	color:				#000;
	text-align:			left;
}

.pagesel {
	text-align:			center;
}

#footer {
	position:			relative;
	background:			#000;
	padding:			10px 30px 30px 30px;
	color:				#555;
	font-size:			12pt;
}

#footer h2 {
	font-size: 			12pt;
	color:				#999;
	font-family:		Helvetica, Arial, sans-serif;
	font-style:			italic;
}

#footer ul {
	margin:             0;
	padding-left:       1.5em;
}

.tags {
	float:				left;
	width:				380px;
}

.infos {
	float:				right;
	width:				200px;
}
