/*  
Kai's "Typography needs you" CSS, based on (vaguely) Kubrick from Digitalbonsai

version 0.5: restructure
version 0.4: cleanup and bughunt
version 0.3: after adapting the templates
version 0.2: finding form, based on sketch tny-green
version 0.0: removing everything
*/


/************** OVERALL STRUCTURE ********/

body
{
	margin: 0;
	padding: 5px;
}

#page
{
	background-color: transparent;
	margin: 0 auto;
	padding-left: 0;
	width: 100%;
}

/************** OVERALL IMAGES ***********/


a img, img { border: none !important}

p img
{
	padding: 0;
	max-width: 100%;
	border: 1px solid black;
}

p img a:link, p img a:hover {border: 1px solid #555;}


/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright
{
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft
{
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright { float: right; }
.alignleft { float: left; }


/************** OVERALL TYPOGRAPHY *******/

/* General */

body
{
	font-size: 62.5%;
	/* Resets 1em to 10px */
	font-family: Georgia, Times, "Times New Roman";
	line-height: 140%;
	background-color: transparent;
	color: #333;
	text-align: left;
	text-decoration: none !important;
}

#page
{
	background-color: transparent;
	text-align: left;
}

#content { font-size: 1.2em; }

a
{
	font-style: italic;
	text-decoration: none;
}


a:hover
{
	color: white;
	background-color: #555;
	text-decoration: none;
}

/*	Begin Headers */
h1
{
	padding-top: 70px;
	margin: 0;
	font-size: 3.5em;
	text-align: left;
}

.description { text-align: left; }

h2 { margin: 30px 0 0;
	font-size: 2em;
	line-height: 110%;
	}
	
h2 a { font-style: normal; }


h2.pagetitle
{
	margin-top: 30px;
	text-align: center;
}


h3
{
	padding: 0;
	margin: 30px 0 0;
	font-size: 1.3em;
}

h3.comments
{
	padding: 0;
	margin: 40px auto 20px;
}

/* other */

acronym, abbr
{
	font-size: 0.9em;
	letter-spacing: .07em;
	cursor: help;
	border-bottom: 1px dotted #999;
}


code { font: 1.1em 'Courier New', Courier, Fixed; }


small
{
	font-family: Georgia, Times, "Times New Roman";
	font-size: 0.9em;
	line-height: 1.5em;
}


.description
{
	display: none;
	font-size: 1.2em;
	text-align: left;
	color: black;
}


blockquote
{
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
}

blockquote cite
{
	margin: 5px 0 0;
	display: block;
}

.center { text-align: center; }
hr { display: none; }

.navigation
{
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
}


/************** MAIN PARTS ***************/

/* 1 ********** HEADER *******************/

#header
{
	padding: 0;
	margin: 0;
	width: 100%;
	border-top: 1px dashed black;
	border-bottom: 1px dashed black;
}

#headerimg { padding: 25px 3px 10px 3px; }


/* 2 ********** SIDEBAR ******************/

#sidebar
{
	float: left;
	margin-top: 35px;
	margin-left: 6px;
	width: 150px;
	font: 1.1em Georgia, Times, "Times New Roman";
	line-height: 140%;
}

#sidebar a:link, #sidebar a:visited { color: #0b2; }
#sidebar a:hover { color: white; background-color: #0b2;}
#sidebar form { margin: 0; }

#sidebar h2
{	margin: 5px 0 0;
	padding: 0;
	font-size: 1.2em;
	font-style: normal;
	font-weight: bold;
}

#sidebar ul, #sidebar ul ol
{
	margin: 0;
	padding: 0;
}

#sidebar ul li
{
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 16px;
}

#sidebar ul p, #sidebar ul select { margin: 5px 0 8px; }
#sidebar ul ul, #sidebar ul ol { margin: 5px 0 0 0px; }
#sidebar ul ul ul, #sidebar ul ol { margin: 0 0 0 10px; }
ol li, #sidebar ul ol li { list-style: decimal outside; }

#sidebar ul ul li, #sidebar ul ol li
{
	margin: 3px 0 0;
	padding: 0;
}

#searchform
{
	margin: 0;
	padding: 5px 3px 5px -10px;
	text-align: left;
}

#sidebar #searchform #s
{
	width: 115px;
	padding: 2px;
}

#sidebar #searchsubmit { padding: 1px; }

/* 3 ********** MAIN CONTENT AREAS *******/

.narrowcolumn
{
	float: left;
	padding-left: 3em;
	margin: 0;
	width: 510px;
}

.widecolumn
{
	float: left;
	padding-left: 3em;
	margin: 0;
	width: 750px;
}

.postholder
{
	float: left;
	padding: 0: margin: 0;
}

.pid
{
	float: left;
	width: 75px;
	margin: 0 19px 0 0;
	text-align: right;
	background-color: white;
}

.post
{
	float: left;
	width: 410px;
	margin: 0;
	text-align: justify;
	padding-bottom: 1em;
	border-bottom: 1px dashed black;
	margin-bottom: 2em;
}

.widecolumn .post { margin: 0; }
.narrowcolumn .postmetadata { padding-top: 1em; }
.widecolumn .postmetadata { margin: 30px 0; }


/* 3.1 ******** MAIN TYPE & COLOUR *******/


.widecolumn { line-height: 1.6em; }

.narrowcolumn .postmetadata
{
	text-align: left;
	font-family: Georgia, Times, "Times New Roman";
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}


.entry
{
	border-top: 1px dashed black;
	margin-top: 13px;
}

.alt
{
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.entry a, .postmetadata a
{
	font-style: italic;
	font-weight: bold;
	text-decoration: none;
}

.entry a:link { 
	color: #555; 
	background-color: inherit;
	border-bottom: 1px solid #0b2;}

.postmetadata a:link, .postmetadata a:visited
{
	color: #555;
	background-color: inherit;
	border: none;
}

.entry a:visited
{
	color: #555;
	border-bottom: 1px dotted #555;
}

.entry a:hover, .postmetadata a:hover
{
	color: white;
	background-color: #0b2;
	border: none;
}


.pid a:link, .pid a:visited
{
	color: #0b2;
	font-style: italic;
	font-weight: bold;
	text-decoration: none;
}

.pid a:hover
{
	color: white;
	background-color: #0b2;
}

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul
{
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
}

html>body .entry li { margin: 7px 0 8px 10px; }
.entry ul li:before, #sidebar ul ul li:before { content: "- \0020"; }

.entry ol
{
	padding: 0 0 0 35px;
	margin: 0;
}

.entry ol li
{
	margin: 0;
	padding: 0;
}

.postmetadata ul, .postmetadata li
{
	display: inline;
	list-style-type: none;
	list-style-image: none;
}

/* Main Area Form Elements */

.entry form
{
	/* This is mainly for password protected posts, makes them look better. */
	text-align: center;
}

select { width: 130px; }

#commentform input
{
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform textarea
{
	width: 100%;
	padding: 2px;
}

#commentform #submit
{
	margin: 0;
	float: right;
}

/* 3.2 ******** MAIN AREA COMMENTS *******/

.alt
{
	margin: 0;
	padding: 10px;
}

.commentlist
{
	padding: 0;
	text-align: justify;
}

.commentlist li
{
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
}

.commentlist p { margin: 10px 5px 10px 0; }
#commentform p { margin: 5px 0; }

.nocomments
{
	text-align: center;
	margin: 0;
	padding: 0;
}

.commentmetadata
{
	margin: 0;
	display: block;
}



/* 4 ********** FOOTER *******************/

#footer
{
	padding: 0 0 0 1px;
	margin: 0 auto;
	width: 760px;
	clear: both;
	background-color: transparent;
}


#footer p
{
	margin: 0;
	padding: 20px 0;
	text-align: center;
}

/* 5 ********** COMMENTS *****************/

.commentlist li, #commentform input, #commentform textarea { font: 0.9em Georgia, Times, "Times New Roman"; }
.commentlist li { font-weight: bold; }

.commentlist cite, .commentlist cite a
{
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}

.commentlist p
{
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
}

#commentform p { font-family: Georgia, Times, "Times New Roman"; }
.commentmetadata { font-weight: normal; }


/* 6 ********** CALENDAR *****************/

#wp-calendar #prev a { font-size: 9pt; }
#wp-calendar a { text-decoration: none; }

#wp-calendar caption
{
	font: bold 1.3em "Akzidenz Grotesk", "Berthold Akzidenz Grotesk", Helvetica, Arial, Verdana, Sans-Serif;
	text-align: center;
}

#wp-calendar th
{
	font-style: normal;
	text-transform: capitalize;
}

/* Begin Calendar */
#wp-calendar
{
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}

#wp-calendar #next a
{
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a
{
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a { display: block; }

#wp-calendar caption
{
	text-align: center;
	width: 100%;
}

#wp-calendar td
{
	padding: 3px 0;
	text-align: center;
}

#wp-calendar td.pad:hover
{
	/* Doesn't work in IE */
	background-color: #fff;
}