/**
 * base css for template 'c'
 */

@import url(reset.css);

@font-face {
 font-family: "Euphorigenic";
 src: url('euphorigenic.ttf');
 font-weight: normal;
}


/* -- framework -- */
	body {
		background: #fff;
		font: 12px/1.5 "Arial";
		color: #141413;
		border-top: 5px solid #f7109d;
	}

	#doc {
		width: 550px;
		margin: 1em auto;
	}
	#hd {
		width: 550px;
		margin: 0 auto;
	}
	#bd {
		position: relative;
		margin-top: 30px;
	}
	#ft {
		padding-top: 90px;
		margin: 0 0 50px 0;
		clear: both;
	}

	nav.help {
		position: absolute;
		right: 0;
		top: 0;
	}
	.struct {
		display: none;
	}

/* -- links -- */
	a {
		text-decoration: none;
	}
	a:link, a:visited {
		font-weight: bold;
		color: #1F7B93;
	}
	a:hover, a:active {
		color: #c91784;
	}
	h1 a:link, h1 a:visited, h3 a:link, h3 a:visited {
		color: #141313;
	}

/* -- text -- */
	h2 {
		font-size: 14px;
		margin: 20px 0 17px 0;
	}
	h3 {
		margin: 20px 0 15px 0;
	}
	p {
		margin: 20px 0;
		color: #222;
	}
	.hr {
		text-align: center;
		margin: 30px 0;
		color: #ccc;
	}
	hr {
		display: none;
	}
	nav {
		font-size: 12px;
	}
	.meta, .date, .comment time, label small, .note {
		font-size: 12px;
		color: #9b9b8f;
	}

/* -- navigation -- */
	nav {
		width: auto;
		margin: 0;
	}
	nav.blog {
		text-align: right;
		float: right;
		color: #ccc;
	}
	nav ul {
		position: static;
	}
	nav li {
		width: auto;
		display: inline;
	}

/* -- head -- */
	#msg {
		background: #eee;
	}

	/* -- foot -- */
	#ft {
		text-align: center;
		color: #9b9b8f;
	}
	#ft .pb {
		color: #aeaea9;
	}

/* -- forms -- */
	fieldset {
		border: none;
	}
	input[type=text] {
		width: 250px;
		float: left;
		margin-right: 10px;
	}
	textarea {
		width: 99%;
	}
	form div {
		margin-bottom: 20px;
		clear: both;
	}
	form label {
		line-height: 1.8;
	}
	form .note {
		text-align: right;
		margin: 0;
	}
	form .submit {
		margin-top: -5px;
	}
	form .submit input.submit {
		margin-right: 10px;		
	}

/* -- error messages -- */
	div.error, div.notice, p.error {
		padding: 1em;
		border: 1px solid #c26d6d;
		background: #f8f3e1;
		margin: 2em 0;
		text-align: left;
	}
	div.error>*:first-child, div.notice>*:first-child {
		margin-top: 0;
	}
	div.error>*:last-child, div.notice>*:last-child {
		margin-bottom: 0;
	}
	div.error>*, div.notice>* {
		margin: 1.5em 0;
	}
	div.error ul, div.notice ul {
		margin-left: 3em;
	}

/* -- list -- */
	.list article {
		display: block;
		margin-top: 10px;
	}
	.list article:first-child {
		margin-top: 0;
	}
	.list .scope {
		background: #FCF2C1;
		padding: 4px 10px;
		margin: 15px -10px;
		font-weight: normal;
		font-size: 14px;
		position: relative;
	}
	.list article h1 {
		font-size: 32px;
		margin: 25px 0 0 0;
		font-family: "Euphorigenic", "Helvetica Neue", "Helvetica", "Arial";
		text-transform: uppercase;
		text-align: center;
	}
	.list p.date {
		line-height: 1;
		margin-top: 40px;
		text-align: center;
		border-bottom: 1px solid #ddd;
	}
	.list p.date time {
		position: relative;
		top: 6px;
		background: #fff;
		padding: 0 10px;
	}

	/* navbar */
	nav.listnav {
		display: block;
		text-align: center;
		margin-top: 20px;
	}
	.listnav li {
		display: inline;
		float: none;
	}
	.listnav ul {
		display: inline-block;
		line-height: 2.3;
		padding: 0 13px;
		padding-top: 1px;
		background: #eee;
		border: 1px solid #ccc;
		color: #333;
	}
	.listnav .p {
		padding-right: 13px;
	}
	.listnav .n {
		padding-left: 13px;
	}

/* -- article -- */
	.entry #bd {
		margin-top: 50px;	
	}
	.entry h1 {
		font-family: "Euphorigenic", "Helvetica Neue", Arial;
		font-size: 56px;
		font-weight: normal;
		text-transform: uppercase;
		text-align: center;
	}
	.entry article {
		margin-top: 1em;
		display: block;
	}
	.entry article .meta {
		text-align: center;
	}
	.entry article .date {
		margin-bottom: 5px;
	}
	.entry article .comment_count {
		margin-top: 5px;
	}
	.entry article .tags {
		margin: 35px 0 40px 0;
	}
	.entry article .content {
		margin: 30px 0;
	}

	/* article content */
	article p {
		line-height: 1.9;
		margin: 15px 0;		
	}
	article img {
		margin: 3em auto;
		display: block;
	}
	article h3 {
		font-family: "Helvetica Neue",Arial;
		font-size: 13px;
	}
	article h3 a:after, article h3 a:before {
		content: '';
	}
	article h3 + p {
		margin-top: -1em;
	}
	article hr {
		display: block;
		border: 0;
		border-top: 1px solid #aeaea9;
		width: 75%;
		margin: 3em auto;
	}
	article blockquote {
		border-left: 1px solid #aeaea9;
		padding-left: 1.5em;
		margin-left: 2em;
	}
	article ul {
		margin-left: 2.5em;
	}
	article li {
		margin: 3px 0;
	}
	article h4 {
		margin-top: 1.5em;
	}

	/* images */
	p.image.big {
		margin-left: -200px;
		width: 950px;
	}

	/* code formatting */
	pre {
		padding: 10px;
		border-left: 1px solid #aeaea9;
		background: #eee;
	}
	pre.big {
		margin-left: -200px;
		width: 950px;
	}

/* -- comments -- */
	.comments {
		font-size: 12px;
		margin: 0 auto;
	}
	.comments h2 {
		background: #FCE6CB;
		padding: 4px 10px;
		margin: 15px -10px;
		font-weight: normal;
		font-size: 14px;
		position: relative;
	}
	.comments h2 small {
		position: absolute;
		right: 10px;
		bottom: 4px;
		text-transform: uppercase;
	}
	.comments h2 small a {
		font-weight: normal;
	}
	.comments .nocomments {
		margin: 30px 0 40px 0;
	}
	.comment_w {
		clear: both;
		margin: 0 auto;
	}
	.comment {
		margin: 20px 0;
		clear: both;
		overflow: auto;
	}
	.comment h3 {
		margin: 0 0 2px 0;
		font-size: 12px;
	}
	.comment time {
		margin-bottom: 5px;
		display: block;
	}
	.comment .avatar {
		display: block;
		margin-bottom: 5px;
		float: left;
		padding: 1px;
		border: 1px solid #ddd;
	}
	.comment .content_w {
		width: 455px;
		float: right;
		margin: 1px 0 0 0;
		padding-left: 18px;
		background: url(images/comment_arrow.png) no-repeat 0 0;
	}
	.comment .content {
		padding: 10px 15px;
		background: #e3e6e6;
	}
	.comment .content p:first-child {
		margin-top: 0;
	}
	.comment .content p:last-child {
		margin-bottom: 0;
	}
	.comment.l1 {
		margin-left: 2em;
	}
	.comment.l2 {
		margin-left: 2em;
	}
	.comment.l1 h3:before, .comment.l2 h3:before {
		content: '>> ';
		margin-left: -1.8em;
		font-weight: normal;
	}
	
	/** posting */
	.post_comment h2 {
		background: #DFE3DE;
		padding: 4px 10px;
		margin: 25px -10px;
		font-weight: normal;
		font-size: 14px;
	}

/* -- archive -- */
	.archive #doc {
		width: 750px;
	}
	.archive #bd {
		width: 750px;
	}
	.archive .bydate {
		width: 450px;
		float: left;
	}
	.archive .bytag {
		width: 280px;
		float: right;
	}
	.archive h2 {
		font-weight: normal;
		font-size: 14px;
		padding: 4px 10px;
		margin: 0 -5px 15px -5px;
	}
	.archive .bydate h2 {
		background: #FCE6CB;
	}

	.archive .bytag, .archive .bydate li a,
	.archive .bytag, .archive .bydate h3 a,
	.archive .bytag, .archive .bydate h4 a {
		display: block;
		position: relative;
	}
	.archive a small {
		position: absolute;
		right: 6px;
		bottom: 2px;
		text-transform: uppercase;
		color: #999;
	}
	.archive .bytag ul,
	.archive .bydate ul {
		list-style: none;
	}
	.archive .block a {
		display: block;
		padding: 8px 0 2px 6px;
		border-bottom: 1px solid #ddd;
		position: relative;
	}
	.archive .block a:hover {
		border-bottom-color: #999;
		background: #eee;
	}
	.archive h3.block a,
	.archive h4.block a {
		color: #000;
	}

	/* by tag */
	.archive .bytag h2 {
		background: #FCF2C1;
		margin-bottom: 13px;
	}
	.archive .bytag li a {
		font-size: 12px;
	}

	/* by date */
	.archive .bydate h2 {
		margin-bottom: 0;
	}
	.archive .bydate h3 {
		margin: 10px 0 0 0;
	}
	.archive .bydate h4 {
		margin: 15px 0 7px 0;
	}

	/* current year */
	.archive .monthview {
		padding: 0 6px;
	}
	.archive .monthview li {
		display: inline;
	}
	.archive .monthview li:after {
		content: '/';
	}
	.archive .monthview li:last-child:after {
		content: '';
	}
	.archive .monthview li a {
		display: inline;
		padding: 0 5px;
		border: none;
		position: static;
		font-weight: normal;
	}
	.archive .monthview li:first-child a {
		padding-left: 0;
	}
		
	/* previous years */
	.archive .yearview h3 {
		margin-top: 20px;
	}
	.archive .yearview li {
		width: 220px;
		float: left;
	}
	.archive .yearview li.even {
		float: none;
		margin-left: 230px;
	}

/* -- subscriptions -- */
	.confirm #bd {
		margin: 80px auto 0 auto;
		width: 500px;
		text-align: center;
	}
	.confirm h1 {
		margin: 30px 0;
		font-family: "Euphorigenic", "Helvetica Neue", "Helvetica", "Arial";
		font-size: 36px;
	}
	.confirm form {
		margin-top: 35px;
	}

/* -- error page --*/
	.error #bd {
		width: 400px;
		margin: 0 auto;
		padding-top: 4em;
		text-align: center;
	}
	.error h1 {
		margin: 30px 0;
		font-family: "Helvetica Neue", "Helvetica", "Arial";
		font-size: 72px;
		text-align: center;
	}
	.error.verbose #doc {
		width: 700px;
	}
	.error .debug {
		text-align: left;
	}
