/* style sheet for all local html pages at www.penmachine.com */
/* last updated 8-May-2008 */

/* Stuff From Blogger Template */

div.blogPost {padding-left: 5%; padding-right: 10%}
div.byline {color: #555555; margin-top:  -15px;}
p#bloggerBug {padding-top: 20px;}
.blogComments {padding-top: 30px; color: #555555; padding-bottom: 0px; margin-bottom: 0px; font-weight: normal;}
.blogComments .byline {font-size: 1em; font-weight: normal; color: #555555; margin-right: 10px; display: inline;}
.blogComment {font-size: 1em; margin: 3%; color: #000000; font-weight: normal; border-top: 1px solid #ccc;}
.deleted-comment {font-style: italic;color: gray;}
.blogger-labels {background-color: #efefef; border: font-size: 12px; line-height: 1.3em; padding: 5px; margin-left: -5px;}
#blogfeeds { }
#postfeeds { }


/* Layout Items - thanks to Dave Shea at mezzoblue.com/archives/2003/12/16/how_to_conce and Svend Tofte at svendtofte.com/code/max_width_in_ie */

#container {
	background: #fff;
	margin: 15px auto;
	padding: 3px 15px;
	position: relative;
	width: 90%;
	z-index: 1;
    max-width:700px;
    width:expression(document.body.clientWidth > 700? "700px": "auto" );
}

#header {
	background: url(http://www.penmachine.com/images/penmachine_header.gif) no-repeat;
	display: block;
	position: relative;
	margin: 0 0 10px -220px;
	width: 465px;
	height: 106px;
	text-indent: -9000px;
	z-index: 10;
}

#footer {
	border-top: 1px solid #ccc;
	margin: 20px 0 0 -220px;
	vertical-align: middle;
	text-align: center;
}

#badges {
	vertical-align: middle;
}

#sidebar {
	background: #fff;
	position: relative;
	float: left;
	width: 185px;
	margin: 100px -5px 10px -230px;
	padding: 20px;
	border: 0;
	word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
	overflow: hidden;     /* fix for long non-text content breaking IE sidebar float */
}

#nav {
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Segoe UI", "Myriad Pro", "Myriad", "Helvetica", "Arial", sans-serif;
	font-weight: normal;
	font-size: 1.5em;
}


/* Basic Text, List Items, Table Cells, Post Images */

body {
	color: #000;
	background: #fff;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Segoe UI", "Trebuchet MS", Corbel, Verdana, "Helvetica", "Arial", sans-serif;
	font-size: 12.5px;
	line-height: 1.8em;
	margin: 0 0 0 230px;
	padding: 0;
}

blockquote {
	border-left: 1px solid #ccc;
	font-size: 12px;
	font-variant: normal;
	line-height: 1.5em;
	margin-left: 1.5em;
	padding: 0 0 0 5px;
	text-align: justify;
}

small {
	font-size: 12px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1.5em;
}

table {
	font-size: 12.5px;
	line-height: 1.2em;
}

pre {
	font-family: ProFont, Consolas, Monaco, Courier New, Courier, monospaced;
	font-size: 11px;
	line-height: 1.2em;
}

tty {
	font-family: ProFont, Consolas, Monaco, Courier New, Courier, monospaced;
	font-size: 11px;
	line-height: 1.2em;
}

dl {
	margin-top: 12px;
}

dt {
	font-weight: bold;
	margin-top: 10px;
}

dd {
	margin-top: 6px;
}


/* Headings */

h1, h2, h3, h4, h5 {
	color: #000;
	font-family: "Georgia", "Palatino", "Cambria", "Times New Roman", "Times", serif;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1em;
	margin: 0px;
	padding: 10px 0 10px 0;
}

h1 {
	font-size: 27px;
	margin: 0px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1em;
}


/* Custom Formatting */

.note {
	background-color: #fff;
	border: 1px solid #ccc;
	font-size: 12px;
	line-height: 1.3em;
	padding: 10px;
}

.datehead {
	margin-top: 25px;
	border-top: 1px solid #ccc;
}

ul.previous {
	list-style: none;
	text-indent: -3em;
}

img {
	border: 0;
}

img.post {
	margin: 0 0 5px 8px;
    z-index: 4;
    border: 0;
}

form.search {
	margin-left: -3px;
}


/* Links */

/* Local Internal */

a:link {
	color: #306;
	text-decoration: underline;
}

a:visited {
	color: #c66;
	text-decoration: underline;
}

a:active {
	color: #999;
	text-decoration: none;
}

a:hover {
	background-color: #306;
	color: #fff;
	text-decoration: none;
}


/* E-mail */

a.e-mail:link {
	color: #309;
	text-decoration: none;
}

a.e-mail:hover {
	background-color: #000000;
	color: #fff;
	text-decoration: none;
}


/* No hover background or link colour */

a.nohover:link {
	color: #306;
	background: transparent;
	text-decoration: none;
}

a.nohover:visited {
	color: #306;
	background: transparent;
	text-decoration: none;
}

a.nohover:active {
	color: #306;
	background: transparent;
	text-decoration: none;
}

a.nohover:hover {
	color: #306;
	background: transparent;
	text-decoration: none;
}
