/*  
Theme Name: Vertical Sharp
Theme URI: http://nicktelford.net/e
Description: A simple theme with a vertical header designed for <a href="http://nicktelford.net">NickTelford.net</a>.
Version: 2.0
Author: Nicholas Telford
Author URI: http://nicktelford.net/
*/

/* Begin Typography & Colors */
html, body { 
	height: 100%;
}

body {
	font: normal 11pt Calibri, sans-serif;
	background: MidnightBlue;
	text-align: left;
	margin: 0; 
	padding: 0;
	color: #232323;
}

#page {
	position: relative;
	z-index: 100;
	text-align: left;
	background: #fff;
	border-left: 0.5em MidnightBlue solid;
	padding: 1em;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	width: 70em;
	min-width: 70em;
}

#header {
	position: fixed;
	z-index: 0;
	right: 1em;
	top: 1em;
}

#header h1 {
	color: white;
	writing-mode:tb-rl;
	-webkit-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	-o-transform: rotate(90deg);
	white-space: nowrap;
	display: block;
	bottom: 0;
	width: 1em;
	font-family: sans-serif;
	font-size: 4em;
	font-weight: bold;
	padding: 0;
	margin: 0;
	vertical-align: bottom;
	text-transform: uppercase;
}

#header h1 a:link,
#header h1 a:visited,
#header h1 a:hover,
#header h1 a:active {
	color: white;
	text-decoration: none;
}

#content {
	float: left;
	margin: 0;
	padding: 0;
	width: 59em;
	min-width: 59em;
}

#sidebar {
	float: right;
	width: 11em;
	text-align: left;
	font-size: 0.9em;
	line-height: 1em;
}

#sidebar img.headshot {
	margin-bottom: 1em;
}

#sidebar h4 {
	margin: 0 0 0.1em 0;
	padding: 0;
}

#sidebar p {
	margin: 0.5em 0 1em;
	padding: 0;
}

#sidebar ul {
	margin: 0.5em 0 1em;
	padding: 0;
}

#sidebar li {
	margin-left: 1.5em;
	line-height: 1.2em;
}

#sidebar li.twitter, #sidebar li.wave {
	list-style-type: none;
	margin-left: 0;
	padding-left: 1.5em;
}

#sidebar li.twitter {
	background:url("/wp-content/themes/vertical-sharp/images/twitter.gif") top left no-repeat;
}

#sidebar li.wave {
	background:url("/wp-content/themes/vertical-sharp/images/wave.gif") top left no-repeat;
}

#footer {
	border-left: 0.5em MidnightBlue solid;
	border-top: 1em MidnightBlue solid;
	bottom: 0;
	width: 70em;
	background: #fff;
	padding: 1em;
	clear:both;
}

#footer p {
	margin: 0;
	text-align: center;
	font-size: 0.8em;
}

pre {
	font-family: Consolas, monospace;
	margin: 19px 5px 18px 58px;
}

h1, h2, h3, h4 {
	font-family: sans-serif;
	font-weight: normal;
	padding: 0;
	margin-left: 0;
}

h2 {
	font-size: 2em;
	margin: 0 0 0.3em;
}

h3 {
	font-size: 1.5em;
	margin: 0 0 0.3em;
}

h4 {
	font-size: 1.3em;
	margin: 0 0 0.2em;
}	

small {
	font-size: 0.8em;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited, h4, h4 a, h4 a:visited {
	color: #333;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, h4, h4 a, h4 a:hover, h4 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	}
.commentlist li img {
	float: left;
	margin-right: 10px;
}
.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

small, #sidebar ul li, #sidebar ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font-family: Consolas, monospace;
}

acronym, abbr, span.caps
{
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: MidnightBlue;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 0.8em;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
.post {
	text-align: justify;
	border-bottom: 0.1em #ccc solid;
	margin-bottom: 1.5em;
	padding-bottom: 1em;
}

.post p {
	margin: 0.5em 0 1em;
}

.post hr {
	display: block;
}

.postmetadata {
	clear: left;
}

img.cc-button {
	float:right;
	margin-left:10px;
}
/* End Structure */

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	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: 0.2em;
	margin: 0 0 0.1em 0.4em;
	display: inline;
	}

img.alignleft {
	padding: 0.2em;
	margin: 0 0.4em 0.1em 0;
	display: inline;
	}

.alignright {
	float: right;
}

.alignleft {
	float: left
}
/* End Images */



/* Begin Lists */
.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;
	}

ol li, #sidebar ol li {
	list-style: decimal outside;
	}

/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.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;
	}
/* End Form Elements */



/* Begin 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;
	}
/* End Comments */

/* 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; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 1em 2em 0 0.8em;
	padding-left: 2em;
	border-left: 0.4em solid #ddd;
	}

blockquote cite {
	margin: 0.4em 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}
/* End Various Tags & Classes*/

ul#recent_posts li span.date {
	font-size: 0.6em;
}

div.dp-highlighter {
	margin: 1.5em 0;
	padding-top: 0.1em;
	font-size: 0.8em;
	font-family: monospace;
	border-right: 0.1em solid #E7E5DC;
}

div.dp-highlighter ol {
	margin: 0 0 0.1em 4em;
}

div.dp-highlighter ol li, .dp-highlighter .columns div {
	border-left-width: 0.3em;
	line-height: 1.2em;
	padding-left: 1em;
}

p.errata {
	font-style: italic;
}