#skiplinks,
#lang_select,
#homelink,
#akct,
#bar,
#footer,
#commentaries .seperator,
#commentformhl,
#commentform,
#trackbackinfo,
#entries .entry .postinfos .permalink
{
	display: none;
}

html,
body
{
	margin: 0;
	padding: 0;
	font-family: "Hoefler text", "Palatino Linotype", serif;
}

abbr,
acronmym
{
	border-bottom: 0;
}

.codecontainer code
{
	white-space: pre;
}

html>body .codecontainer code
{
	white-space: pre-wrap; /* every browser, that can handle pre-wrap, uses it (currently only Opera), the others are take white-space: pre from the previous block */
}

#header
{
	padding: 0.5cm 1cm;
	padding-bottom: 0.4cm;
	border: 4px double #777;
	border-bottom: 0;
	text-align: center;
 	text-transform: capitalize;
}

#header h1
{
	margin: 0;
	padding: 0;
	font-size: 16pt;
	font-weight: normal;
}

/*
#header
{
 	position: absolute;
 	top: 0.3cm;
 	left: 0.3cm;
 	text-transform: capitalize;
}

#header h1
{
	margin: 0;
	padding: 0;
	font-size: 11pt;
	color: #888;
	font-weight: normal;
}
*/

h2
{
	margin: 0;
	margin-bottom: 1.5cm;
	padding-bottom: 0.4cm;
	font-size: 22pt;
	line-height: 24pt;
	letter-spacing: 1.5pt;
	text-align: center;
	font-family: "Kai", "Cochin", "Georgia", serif;
	border: 4px double #777;
	border-top: 0;
}

h3,
h4,
h5,
h6
{
	font-family: "Cochin", "Georgia", serif; 
	page-break-inside: avoid;
}

h3
{
	font-size: 17pt;
}


h4
{
	font-size: 15pt;
}


h5
{
	font-size: 13pt;
}


h6
{
	font-size: 11pt;
}


/*
#entries .date
{
	font-size: 14pt;
	border-bottom: 0.3mm solid #000;
	padding-bottom: 0.1cm;
	margin-bottom: 0.5cm;
	padding-left: 1cm;
}
*/

#entries .entry
{
	margin-left: 1cm;
	margin-right: 1cm;
	margin-bottom: 2cm;
	padding-bottom: 1em;
	position: relative;
	border-bottom: 0.3mm dotted #888;
	clear: both;
}

#entries .entry h3 a
{
	text-decoration: none;
	color: #000;
}

#entries .entry .time
{
	position: absolute;
	top: 0;
	right: 0;
}

#entries .entry .categories
{
	float: left;
}

#entries .entry .categories a
{
	color: #888;
	text-decoration: none;
	font-style: italic;
}

#entries .entry .postinfos ul
{
	margin: 0;
	padding: 0;
	padding-right: 0.2cm;
/*	border-right: 0.3mm dotted #888; */
	list-style-type: none;
	float: right;
}

#entries .entry .postinfos ul li
{
	display: inline;
}

#entries .entry .postinfos a
{
	text-decoration: none;
	color: #888;
}

.entrycontent,
.permalink #commentaries,
.permalink #trackbacks
{
	font-size: 12pt;
	line-height: 16pt;
}

.entrycontent p
{
	padding: 0;
	margin-top: 0.4cm;
	margin-bottom: 0.4cm;
	orphans: 3;
}

.entrycontent p:first-letter /* first-line doesn't work, so we use first-letter */
{
	padding-left: 0.4cm;
}

.entrycontent a
{
	color: #000;
	text-decoration: none;
}

.entrycontent a:after
{
	content: " ("attr(href)")";
	text-decoration: underline;
	color: #777;
	font-style: italic;
}

.permalink .entrycontent h2 a:after,
.entrycontent .categories a:after
{
	content: "";
}

.entrycontent abbr[title]:after,
.entrycontent acronym[title]:after
{
	content: " (="attr(title)")";
}


.entrycontent .singleimage
{
	text-align: center;
	font-style: italic;
	overflow: hidden;
}

.entrycontent .codecontainer
{
	/* margin: 1cm; */
	padding: 0.5cm 1cm;
	background-color: #DDD;
	border: 0.3mm solid #AAA;
	font-size: 10pt;
}

.entrycontent blockquote
{
	margin-left: 1cm;
	margin-right: 0;
	padding-left: 0.5cm;
	padding-top: 0cm;
	padding-bottom: 0.05cm;
	padding-right: 0.5cm;
	border-left: 0.3cm solid #AAA;
	text-align: justify;
}

.entrycontent blockquote[ cite]:after
{
	content: " - " attr(cite) " - ";
	text-align: right;
	font-style: italic;
}

.entrycontent q[ cite]:after
{
	content: " ( " attr(cite) " ) ";
	font-style: italic;
}

.entrycontent cite
{
	font-style: italic;	
}

.entrycontent blockquote p:first-child:before
{
	content: open-quote;
}

.entrycontent blockquote p:last-child:after
{
	content: close-quote;
}

/* permalink styles */
body.permalink
{
	counter-reset: level1;
}

/*.permalink #header
{
	border-bottom: 0;
	padding-bottom: 0;
}*/

.permalink #header
{
	border-bottom: 0;
}

.permalink #header h1
{
	padding-top: 0.8cm;
}



.permalink #entries .date
{
	position: absolute;
	top: 0.5cm;
	text-align: center;
	width: 100%;
	font-size: 0.4cm;
	color: #888;
	font-size: 11pt !important;
	border-bottom: 0;
}

/*
.permalink #entries .date
{
	position: absolute;
	top: 0.3cm;
	right: 0.3cm;
	border-bottom: 0;
	text-align: right;
	font-size: 11pt;
	color: #888;
}
*/

body.permalink #entries .entry
{
	margin-left: 0;
	margin-right: 0;
	padding-right: 0;
	border-bottom: 0;
}

.permalink .entry h2
{
	margin: 0;
	margin-bottom: 1.5cm;
	padding: 0.5cm 1cm;
	padding-top: 1cm;
	font-size: 22pt;
	line-height: 24pt;
	letter-spacing: 1.5pt;
	text-align: center;
	border: 4px double #777;
	border-top: 0;
	font-family: "Kai", "Cochin", "Georgia", serif;
}

/*
.permalink .entry h2
{
	margin: 0;
	margin-bottom: 1.5cm;
	padding: 0.5cm 2cm;
	padding-top: 2cm;
	padding-bottom: 0.7cm;
	font-size: 22pt;
	line-height: 24pt;
	letter-spacing: 1pt;
	text-align: center;
	border: 4px double #777;
	font-family: "Kai", "Cochin", "Georgia", serif;
}
*/

.permalink .entry h2 a
{
		color: #000;
}

.permalink .entry hr.seperator
{
	border: 0.3mm solid #777;
	height: 0.3mm;
	background-color: #777;
	margin: auto;
	margin-top: 1cm;
	margin-bottom: 0.8cm;
	width: 20%;
}

/*
.permalink .entrycontent .categories
{
	position: absolute;
	top: 1.2cm;
	width: 100%;
	text-align: center;
	font-size: 12pt;
	color: #888;
}
*/

.permalink .entrycontent .categories
{
	position: absolute;
	top: 0.1cm;
	width: 100%;
	text-align: center;
	font-size: 11pt;
	color: #888;
	float: none !important;
}



.permalink .entrycontent h3:before
{
	content: counter(level1)". ";
	counter-increment: level1;
}

.permalink .entrycontent h3
{
	counter-reset: level2;
}

.permalink .entrycontent h4:before
{
	content: counter(level1)"."counter(level2) ". ";
	counter-increment: level2;
}

.permalink .entrycontent h4
{
	counter-reset: level3;
}

.permalink .entrycontent h5:before
{
	content: counter(level1) "." counter(level2) "." counter(level3) ". ";
	counter-increment: level3;
}

.permalink .entrycontent h5
{
	counter-reset: level4;
}

.permalink .entrycontent h6:before
{
	content: counter(level1) "." counter(level2) "." counter(level3)  "." counter(level4) ". ";
	counter-increment: level4;
}


.permalink .entrycontent h3,
.permalink .entrycontent h4,
.permalink .entrycontent h5,
.permalink .entrycontent h6
{
	margin: 0;
	padding: 0;
	page-break-after: avoid; /* currently Opera only */
	letter-spacing: 0.1em;
}

.permalink .entrycontent h3
{
	margin-top: 1.5cm;
	border-bottom: 0.3mm dotted;
	border-right: 0.3mm dotted;
}

.permalink .entrycontent h4
{
	padding-left: 0.2cm;
	margin-top: 0.5cm;
}

.permalink .entrycontent h5
{
	padding-left: 0.6cm;
	margin-top: 0.2cm;
}

.permalink .entrycontent h6
{
	padding-left: 0.9cm;
	margin-top: 0cm;
}


.permalink .entrycontent h2 abbr[title]:after,
.permalink .entrycontent h2 acronym[title]:after,
.permalink .entrycontent .categories abbr[title]:after,
.permalink .entrycontent .categories acronym[title]:after,
.permalink .entrycontent .categories abbr[title].dontexpandatprint:after,
.permalink .entrycontent .categories acronym[title].dontexpandatprint:after
{
	content: "";
}

.permalink #commentaries h3,
.permalink #trackbacks h3
{
	margin-top: 0;
	padding-top: 0;
}

.permalink #commentaries ol,
.permalink #trackbacks ul
{
	margin-left: 0;
	padding-left: 0;
}

.permalink #commentaries ol
{
	counter-reset: comments;
}

.permalink #trackbacks ul
{
	counter-reset: trackbacks;
}

.permalink #commentaries ol li,
.permalink #trackbacks ul li
{
	margin-bottom: 0.5cm;
	padding-bottom: 0.5cm;
	border-bottom: 0.3mm dashed #888;
}

.permalink #commentaries ol li
{
	counter-increment: comments;
}

.permalink #trackbacks ul li
{
	counter-increment: trackbacks;
}

.permalink #commentaries ol li:before
{
	content: counter(comments)". ";
}

.permalink #trackbacks ul li:before
{
	content: counter(trackbacks)". ";
}

.permalink #commentaries ol li:before,
.permalink #trackbacks ul li:before
{
	color: #888;
	font-size: 18pt;
}

.permalink #commentaries ol li .commentauthor
{
	padding-left: 1cm;
	margin-top: -15pt;
	margin-bottom: 0.2cm;
	font-style: italic;
}

.permalink #commentaries ol li .commentauthor a,
.permalink #trackbacks ul li a
{
	color: #000;
	text-decoration: none;
}

.permalink #trackbacks ul li a
{
	font-style: italic;
	padding-left: 0.5cm;
	margin-bottom: 0.2cm;
}

.permalink #commentaries ol li .commentauthor a.commentauthorwebsite:after
{
	content: ": " attr(href);
	font-style: normal;
	color: #888;
}

.permalink #commentaries ol li .commenttext,
.permalink #commentaries .nocommentsmessage,
.permalink #trackbacks ul li .trackbacktxt,
.permalink #trackbacks ul li .trackbackdate,
.permalink #trackbacks .notrackbacksmessage
{
	border-left: 0.3cm solid #AAA;
	margin-left: 0.4cm;
	margin-right: 0;
	padding-top: 0cm;
	padding-bottom: 0.05cm;
	padding-right: 0.5cm;
	padding-left: 0.5cm;
	text-align: justify;
}

.permalink #commentaries .nocommentsmessage,
.permalink #trackbacks .notrackbacksmessage
{
	padding-left: 0.4cm;
	margin-left: 0;
	border-left: 0;
}

.permalink #trackbacks ul li .trackbacktxt
{
	margin-bottom: 0;
	padding-bottom: 0;
}

.permalink #trackbacks ul li .trackbackdate
{
	margin-top: 0;
	padding-top: 12pt;
	font-style: italic;
}

/* archive */
.archive #years
{
	list-style-type: none;
}

.archive #years h3
{
	margin-bottom: 0;
	padding-bottom: 0;
}

.archive #years ul
{
	margin-top: 0;
	padding-top: 0;
}

.archive #years ul a
{
	color: #000;
	text-decoration: none;
}