/* 
	Any questions? Just ask.
	Sven-S. Porst <ssp-web@earthlingsoft.net>
*/

body
{
	color: #333;
	background-color: white;
	margin: 1.5em auto;
	padding: 0px;
	font-family: "Linux Libertine O",Georgia,Palatino,serif;
	line-height: 170%;
	text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------
		HEADINGS
   --------------------------------------------------- */

h1,h2, .dashedbox, .np, p.date, .delicious-posts
{
	font-family: Optima,Tahoma,Verdana,sans-serif;
	font-weight: bold;
}

h1
{
	margin: 0px;
	padding: 0px;
}

h1#title
{
	font-size: 200%;
	color: black;
	background-color: white;
}

h1#title a
{
	font-weight: bold;
	color: black;
}

h2#subtitle
{
	font-size: 100%;
	margin-bottom: 0px;
	color: #666;
}

h3
{
	margin-top: 1.4em;
	margin-bottom: 0.4em;
}

h4[id]:hover:after {
	content:"#" attr(id);
	background:#fff;
	background:rgba(255,255,255,0.9);
	color:#999;
	padding-left:0.5em;
	position:absolute;
	right:0em;
}

h4.monthlyEntry, h4.weeklyEntry
{
	margin: 0em;
	font-size: 120%;
}


p.wordcount
{
	padding-left:3em;
	font-style:italic;
	color:#999;
}

h4.monthlyEntry>span:first-child
{
	color:#eee;
	font-size:200%;
}

.content .info
{
	font-style:italic;
	margin-top:-0.7em;
	padding:0px;
	color:#aaa;
}

.content .info:hover
{
	color:#666;
}

.content.date {
	margin-bottom:0px;
}

.content>div>.date
{
	font-style:italic;
	color:#eee;
}

div:hover>h4.monthlyEntry>span:first-child, .content>div:hover>.date
{
	color:#999;
}


/*
h5
{
	font-size: 100%;
	font-style: italic;
	font-weight: normal;
	float: left;
	margin-top: 1em;
	margin-bottom: 0px;
	margin-right: 0.5em;
}*/


/*p>h5 {
	font-size: 100%;
	font-style: italic;
	display:inline;
	}
*/

/* ---------------------------------------------------
		LINKS
   --------------------------------------------------- */

a { text-decoration: none; }

a:link
{
	color: #09c;
	font-weight: bold;
}

.content a[href*="//earthlingsoft.net/ssp/blog/"]:link {
	color: #069;
	font-weight:normal;
}

a:hover 
{ 
/*	background-color: #eee; */
	text-decoration:underline;
}

a:visited
{
	color: #069;
	font-weight: normal;
}

/* found at: http://lists.w3.org/Archives/Public/www-archive/2002Dec/0102.html */
a[hreflang]:after
{
	content: "[" attr(hreflang) "]";
	margin-left: 0.3em;
}




/* iTMS links */
a[href^="itms"]:before, a[href*="phobos.apple.com"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/iTunesStore.png);
}


/* OS X.4 Dictionary links */
a[href^="dict"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/Dictionary.png);
}




/* AppleShare links */
a[href^="afp"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/AFPVolume.png);
}


/* PDF links */
a[href$=".pdf"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/PDF.gif);
}

/* PS links */
a[href$=".ps"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/PS.gif);
}

/* ZIP file links */
a[href$=".zip"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/ZIP.png);
}


/* Script links */
a[href$=".scpt"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/scpt.png);
}

/* Script links */
a[href$=".py"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/py.png);
}


/* RealPlayer links */
a[href$=".ram"]:before, a[href$=".rm"]:before
{
	vertical-align:middle;
	padding-right:2px;
	content: url(//earthlingsoft.net/ssp/blog/includes/RealPlayer.png);
}




/* ---------------------------------------------------
		GENERAL TAGS & TIDBITS
   --------------------------------------------------- */

ins { 
	text-decoration: none; 
}

dt {
	font-style: italic;
}

.aside:before {
	content:"Aside:";
	color:#333;
}

.update:before {
	content:"Update:";
	color:#333;
}

.aside, .aside p, .update, .update p, .remark, .remark p {
	padding-left:3em;
	color:#666;
}


pre, code
{
	font-family: Monaco,Courier,fixed;
	font-size: 85%;
	background:#eee;
	border:1px solid #eee;
}

pre {
	overflow:auto;
}

pre span.result {
	color: #666;
}

.hilite {
	background-color: #09c;
	color: white;
	font-weight: bold;
	padding-left: 0.15em;
	padding-right: 0.15em;
}

p.note, .note
{
	margin-left: 3em;
	text-align: right;
	font-size: small;
}

p.note:first-child { font-style: italic; }
.type { font-style: italic; }

p.time, .by
{
	margin-top: 0em;
	font-style: italic;
	text-align: right;
	color: #666666;
	padding-right: 0.3em;
	clear: right;
}


p.tags {
	font-style: italic;
	color: #999;
}

p.tags a {
	font-weight: normal;
	color: #666;
}


/* ---------------------------------------------------
		QUOTING
   --------------------------------------------------- */

/*
.quote
{
	padding-top: 0.7em;
	padding-bottom: 0.7em;
}

.quote p
{
	margin-top: 0px;
	margin-bottom: 0px;
}

.quote p:before { content: open-quote; }
.quote p:after { content: close-quote; }

p.quote, .quote, p.cite
{
	margin-left:1.5em;
	margin-right:0.7em;
	font-style: italic;
}

q { font-style: italic; }
*/


q:before { content: "\201C"; }
q:after { content: "\201D"; }
q q:before { content: "\2018"; }
q q:after { content: "\2019"; }

.quote, q, blockquote { font-style: italic; }
.quote em, q em, blockquote em {font-style:normal;}
.quote em em, q em em, blockquote em em  {font-style:italic;}

.quote, blockquote
{
	color: #666;
	margin: 0.7em 0em 0.5em 0.7em;
	padding: 0em 0.7em 0em 1.3em;
	border-left: thin solid #ccc;
}


.quote>.by, blockquote>.by
{
	margin-top: 0.5em;
	padding-bottom: 0.2em;
}

.quote:hover>.by { color: black; }
.quote>.by:before, blockquote>.by:before { content: "-- "; }
.quote>.by:after, blockquote>.by:after { content: ""; }





/* ---------------------------------------------------
		CONTENT GENERAL
   --------------------------------------------------- */

.content
{
	position: relative;
	width: auto;
	min-width: 15em;
	margin: 0px 14em 1.5em 11.5em;
	border: none;
	background-color: white;
	padding: 0.8em;
	z-index: 3;
}

.content#titles { margin-bottom: 0px; }
.content>p { margin: 0px; }
.content>p+p, .content>h5+p { margin-top: 1em; }

.centred 
{
	text-align:center;
}


.content li 
{
	margin: 1em 0em;
}


.content img, .gravatar
{
	border: 0px none;
	float: right;
	padding: 0.2em;
	padding-left: 0.5em;
	padding-right: 0px;
}

/* 
img.im is for 150x150 pixel graphics:
will leave this using px for the time being as it should be the best way to ensure 150pixel images are drawn at that size 
*/

.content img.im
{
	height: 150px;
	width: 150px;
}


.centred img, img.centred
{
	float:none;
	text-align:center;
}

img.formula
{
	float: none;
	vertical-align: text-bottom;
}

img.displaymath
{
	display: block;
	text-align: center;
	float: none;
	margin: 0.4em auto 0.4em auto;
}

/* ---------------------------------------------------
		CONTENT HEADINGS
   --------------------------------------------------- */

.content>p.date
{
	font-size: 1.5em;
	color: #ccc;
}

.content>h3 a, .content>h3
{
	font-weight: normal;
	font-size: 123%;
	line-height: 160%;
	font-family: Zapfino,Optima,Tahoma,Verdana,sans-serif;
	margin-top: 0.1em;
	margin-bottom: 1em;
	padding-top: 1em;
	z-index: 4;
	color: black;
	background:transparent;
}

.content>h3 a:visited { color:black;}
.content>h3 a.par:visited { color:#09c; }

.content>h3 .par
{
	font-weight: normal;
	/* so Safari doesn't replace sans-serif font for Zapfino bold */
	margin-left: 0.3em;
	z-index: 4;
	color:#09c;
}

.content .np
{
	width: 40%;
	font-weight: bold;
	margin: 0px 0px 0.3em 0.3em;
	float: right;
	/*	position:relative;
	bottom:5em;
	display:inline;
	*/
}

.content .np p { margin: 0px 0.3em 0px 0.6em; }

/* labels for comment field */
.content .label {
	color:#666;
}

.content .label:hover {
	color:black;
}


/* ---------------------------------------------------
		 BIG NAVIGATION CONTAINERS
   --------------------------------------------------- */

.bigbox
{
	position: absolute;
	top: 1.4em;
	padding: 0px;
	z-index: 1;
}

.bigbox#alpha
{
	width: 9.7em;
	left: 1.4em;
}

.bigbox#beta
{
	width: 12.5em;
	right: 1.4em;
}

#largelogo
{
	height: 9.7em;
	width: 9.7em;
	padding: 0px;
	float: none;
	/*	background-image:url(//earthlingsoft.net/ssp/blog/graphics/qlclarge.gif);
	background-repeat:no-repeat;*/
	border: 1px solid white;
	margin-bottom: 0.5em;
}

img#largelogo:hover
{
	border: 1px solid #ddd;
	color: white;
}

/* ---------------------------------------------------
		 DASHED BOXES
   --------------------------------------------------- */

div.dashedbox, div.np, div.delicious-posts {
	border: 1px dashed #eee;
	color: #999; /* neu */
	background-color: #eee;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	font-size: 88%;
	line-height: 145%;
	overflow:hidden;
}

div.dashedbox ul a, div.np ul a, div.delicious-posts ul a, div#pinboard_linkroll a {
	color:#bbb;
}

div.dashedbox h3 a, div.np h3 a, div.delicious-posts h2.delicious-banner a {
	color:white;
	font-weight:bold;
}


div.dashedbox:hover ul a, div.np:hover ul a, div.delicious-posts:hover ul a, div#pinboard_linkroll:hover a {
	color: #69c;
}

div.dashedbox:hover, div.np:hover, div.delicious-posts:hover { 
	color:#999;
	border: 1px solid #ccc;
}

div.dashedbox:hover h3, div.np h3, div.delicious-posts:hover h2.delicious-banner {
	background-color:#ccc;
}


div.dashedbox>h3, .np>h3, div.delicious-posts>h2.delicious-banner {
	font-size: 120%;
	color: white;
	background-color: #ddd;
	padding-left: 1em;
	padding-right: 0.7em;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
	margin: 0px;
	margin-bottom: 0.6em;
}


div.dashedbox ul, div.np ul, div.delicious-posts ul
{
	list-style-type: none;
	list-style-position: inside;
	padding-left: 1.1em;
	padding-right: 1em;
	margin: 0px;
	padding-bottom: 0.2em;
	padding-top: 0.2em;
	text-indent: -1em;
	margin-left: 1em;
}


div.dashedbox ul ul {
	padding-left:0em;
	padding-right:0em;
}

div.dashedbox ul li .author, .author a:link
{
	font-weight:normal; 
	text-indent:0px;
}

div.dashedbox ul li, div.np ul li, div.delicious-posts ul li
{ 
	margin-bottom: 0.1em; 
}

div#pinboard_linkroll p {
	margin: 0 1em 0 2em;
	text-indent: -1em;
	position: relative;
}

.pin-tag, .pin-description, .pin-item br {
	display: none;
}


/* Nicely positioned Google Ads */
div.dashedbox iframe {
	margin-left:8px;
}


/* *********************  */
/* FORMS                  */
/* *********************  */

form { margin: 0px; }
input#search { 
	font-size: 88%; 
	margin-left: -2px; 
	width:100%; 
}

input#searchbutton
{
	font-size: 88%;
	text-align: center;
	display: none;
}

textarea {
	width:100%;
}

#author, #email, #url {
	width:20em;
}

input.commentsubmitbutton {
	margin-left:auto;
	display:block;
	float:right;
}


/* *********************  */
/* RANDOM NONSENSE        */
/* *********************  */
div#foot
{
	padding-top: 0.2em;
	border-top: dashed 1px #666;
	text-align: center;
	font-style: italic;
}

/* hide stuff */
.i
{
	color: white;
	display: none;
}

#styleswitcher {
	display:none;
}


.amazon-top {
	font-style:italic;
	margin-bottom:1.5em;
	margin-top:-1em;
	text-align:right;
}



/* *****************************  */
/* COMMENTS AND TRACKBACKS        */
/* *****************************  */
input.author, input.email, input.url { width: 20em; }


/* for Flickr images in sidebar */

#flickr a img {
	padding:0px 7% 0.4em 7%;
	width:9.1em;
	height:9.1em;
	border:none;
}

#flickr a:link, #flickr a:visited, #flickr a:active, #flickr a:visited {
	border:none;
}

.flattr {
	position: relative;
	bottom: -0.25em;
	margin-right: 0.5em;
}

.FlattrButton {
	display: none;
}

.amazon {
	padding:0px 0.7em 0px 1.1em;
}


/* *****************************  */
/* FOR PRINTING			          */
/* Used to be in qlcprint.css     */
/* *****************************  */

@media print {

.content {
	margin:auto;
	max-width: 40em;
}

h1, h2 {
	display:inline;
}

.content h1#title:after {
	content:url(//earthlingsoft.net/ssp/blog/graphics/qlc.gif);
}

.backforward, #commentform, .noprint, .bigbox {
	display:none;
}
} /* end @media print */