/*
Theme Name: Mark2
Theme URI: http://perspx.com
Description: A second shot at the Perspx site design
Version: 0.1
Author: Alex Rozanski
Author URI: http://perspx.com
Tags: perspx, mark2

	Perspx mark2
	http://perspx.com

*/

@font-face {
	font-family: 'Museo Slab';
	src: url('museo_slab_500-webfont.eot');
	src: local('☺'), url('museo_slab_500-webfont.woff') format('woff'), url('museo_slab_500-webfont.ttf') format('truetype'), url('museo_slab_500-webfont.svg#webfontiPcm9MuK') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* === Global styles === */
body {
	font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
	font-size: 16px;
	line-height: 1.5;
	color: #303030;
	text-align: justify;
	margin: 0;
}

/* HTML5 element fixes */
section, header, nav, article, footer {
	display: block;
}

/* Main tags used */
h1, h2, h3 {
	font-weight: normal;
	text-align: left;
}

h1 {
	font-size: 48px;
	line-height: 1;
	color: #3b3b3b;
	margin-top: 48px;
	font-family: 'Museo Slab';
}

h2, h3 {
	color: #202020;
	font-family: 'Helvetica Neue', Helvetica, Arial;
}

h2 {
	font-size: 26px;
	line-height: 1.846;
	margin: 1.5em 0 0.5em 0;
}

h3 {
	font-size: 18px;
	line-height: 1.333;
	margin: 2em 0 -1em;
	color: #c55e19;
}

a {
	color: #c40f0f;
	border-bottom: 1px dotted #c40f0f;
	text-decoration: none;
}

a:hover {
	border-bottom-style: solid;
}

p {
	margin: 1.5em 0;
}

ul, ol {
	margin: 2em 0 2em 1em;
}

li {
	margin-bottom: 0.5em;
}

/* Quotes */
blockquote {
	margin: 24 48px 24px 48px;
	padding: 20px 48px 0 52px;
	background: url('images/quotes.jpg') no-repeat top left;
}

blockquote.noquotemarks {
	background: #dedede;
	padding: 12px;
}

blockquote.noquotemarks p:last-child {
	margin-bottom: 0;
}

blockquote p:first-child {
	margin-top: 0;
}

blockquote p.source {
	text-align: right;
	margin-bottom: 0;
	margin-top: 0.5em;
	margin-right: -24px;
	font-size: 90%;
	line-height: 24px;
	color: #606060;
}

blockquote p.source cite {
	color: #808080;
	font-style: normal;
}

/* Code */
pre, code {
	font-size: 15px;
	line-height: 1.6;
	font-family: Consolas, Menlo, Monaco, 'Courier New';
}

pre {
	padding: 0 24px;
}

/* === Layout styles === */
section#page {
	margin-bottom: 60px;
}

section#wrapper {
	margin: 0 auto;
	width: 800px;
	clear: both;
}

/* === Header styles === */
section.topbar {
	background-color: #000000;
}

section.topbar nav {
	width: 800px;
	margin: 0 auto;
	height: 40px;
}

section.topbar nav ul {
	list-style-type: none;
	list-style-position: outside;
	margin: 0;
	padding: 0;
	height: 40px;
}

section.topbar nav ul.left {
	float: left;
}

section.topbar nav ul.right {
	float: right;
}

section.topbar nav li {
	float: left;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 40px;
}

section.topbar nav li a {
	float: left;
	color: #aaaaaa;
	height: 40px;
	padding: 0 12px;
	border-bottom: none;
}

section.topbar nav li a:focus {
	outline: none;
}

section.topbar nav li.logo a, section.topbar nav li.logo a:hover {
	background: url('images/logo.png') no-repeat center left;
	width: 100px;
	text-indent: -1000px;
	padding: 0;
	margin-right: 20px;
}

section.topbar nav a:hover, section.topbar nav a.selected {
	color: #ffffff;
	text-shadow: 0 1px 2px #000000;
}

section.topbar nav a:hover {
	background-color: #7c0404;
}

section.topbar nav a.selected {
	background-color: #c30000;
}

header.page div.tag {
	background: url('images/tagline.png') no-repeat left center;
	width: 800px;
	margin: 0 auto;
	height: 26px;
	text-indent: -1000px;
}

/* === Footer styles === */
footer {
	font-family: 'Helvetica Neue', Helvetica, Arial;
	font-size: 13px;
	text-align: center;
	color: #aaaaaa;
	padding-top: 24px;
	border-top: 1px solid #bbbbbb;
	clear: both;
	width: 800px;
	margin: 0 auto;
	margin-top: 24px;
}

footer cite#name {
	color: #606060;
	font-style: normal;
}

/* === Post/article styles === */
header.article h1 {
	margin-top: 0;
	margin-bottom: 0;
}

header.article {
	margin: 48px 0 72px 0;
}

article.main section.content {
	border-bottom: 1px dashed #cccccc;
	padding-bottom: 24px;
}

article.main section.content h2 {
	margin-bottom: -0.5em;
}

/* Post meta */
header.article section.meta {
	color: #aaaaaa;
	margin-top: 12px;
}

header.article section.meta span.date {
	color: #505050;
	padding: 0 3px;
}

header.article section.meta span.published {
	color: #808080;
	padding-left: 3px;
}

header.article section.meta a {
	font-style: normal;
}

/* Footnotes */
article.main section.footnotes {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px dashed #cccccc;
}

article.main section.footnotes header h2 {
	margin-top: 0;
}

article.main section.footnotes ol {
	margin: 12px 0;
}

article.main section.footnotes ol li {
	font-size: 13px;
	line-height: 1.846;
	color: #000000;
}

/* Post/article content styles */
article.main img {
	border: none;
}

article.main img.center {
	margin: 12px auto;
	display: block;
}	

article.main span.capitals {
	font-size: 90%;
	font-variant: small-caps;
}

header.article div.setmember {
	font-family: 'Helvetica Neue', Helvetica, Arial;
	margin-bottom: 6px;
	color: #c55e19;
}

a.clickableimage, a.clickableimage img {
	border: none;
	color: none;
}

img.left {
	float: left;
	margin-right: 24px;
	margin-bottom: 24px;
}

img.right {
	float: right;
	margin-left: 24px;
	margin-bottom: 24px;
}

div.photobox {
	margin-top: 24px;
}

div.photobox div.caption {
	text-align: center;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	color: #606060;
	font-size: 13px;
	line-height: 1.846;
}

/* First letter large */
article.main section.content > p:first-child:first-letter {
	font-size: 48px;
	float: left;
	line-height: 48px;
	margin-right: 4px;
}

@-moz-document url-prefix() {
	article.main section.content > p:first-child:first-letter {
		margin-top: 8px;
	}
}

article.main section.content > p.nobigfirstletter:first-letter {
	float: none;
	line-height: 24px;
	margin-right: 0;
	font-size: 16px;
}

/* === Comments styles === */
section#comments {
	margin-bottom: 48px;
}

section#comments header h2 {
	font-family: 'Museo Slab';
	font-size: 38px;
	line-height: 1.263;
	margin-bottom: 0;
	margin-top: 24px;
}

section#comments header h2 span.count {
	font-family: Georgia, 'Times New Roman';
	color: #808080;
	font-size: 30px;
	line-height: 1.6;
}

section#comments div.togglecomments {
	background-color: #FFF4D1;
	padding: 12px 24px;
	text-align: center;
}

section#comments div.comments {
	display: none;
}

section#comments ol.comments {
	list-style-type: none;
	list-style-position: outside;
	padding: 0;
	margin: 12px;
}

section#comments ol.comments li {
	font-size: 15px;
	line-height: 1.6;
	padding: 12px;
}

section#comments ol.comments li > p:last-child {
	margin-bottom: 0;
}

section#comments ol.comments li span.author {
	font-family: 'Helvetica Neue', Helvetica, Arial;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
}

section#comments ol.comments li.author span.author a {
	color: #404040;
	border: none;
	background-color: #dddddd;
}

section#comments ol.comments li.author span.authorbadge {
	font-variant: small-caps;
	text-transform: lowercase;
	margin-left: 12px;
}

section#comments ol.comments li.author span.postauthor {
	color: #000000;
	font-weight: normal;
	padding-left: 2px;
}

section#comments ol.comments li p.date {
	margin-top: 0;
	color: #909090;
}

section#comments ol.comments li p.date span.daymonth {
	color: #606060;
}

/* Add comment box */

section#addcomment {
	background-color: #303030;
	padding: 12px 12px 24px 12px;
	margin-top: 24px;
}

section#addcomment header h2 {
	margin-top: 0;
	margin-bottom: 24px;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	color: #ffffff;
	font-size: 24px;
	line-height: 1;
}

section#addcomment div.column {
	float: left;
	width: 290px;
	margin-left: 24px;
}

section#addcomment div.column.last {
	width: 400px;
	float: right;
	margin-right: 24px;
}

section#addcomment ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-position: outside;
}

section#addcomment ul li {
	margin-bottom: 18px;
	height: 30px;
	color: #aaaaaa;
}

section#addcomment div.column label {
	color: #ffffff;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	float: left;
	width: 85px;
	text-align: right;
	margin-right: 15px;
}

section#addcomment ul li label small {
	display: block;
	text-transform: lowercase;
	font-variant: small-caps;
	color: #aaaaaa;
}

section#addcomment ul li input {
	border: none;
	font-size: 15px;
	font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
	padding: 3px;
	width: 180px;
}

section#addcomment textarea {
	width: 294px;
	height: 80px;
	border: none;
	float: left;
	font-size: 15px;
	font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
	padding: 3px;
}

section#addcomment div.errormessage {
	clear:both;
	color:red;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	font-size:15px;
	margin-bottom:-12px;
	margin-right:24px;
	text-align:right;
	display: none;
}

section#addcomment div.buttons {
	clear: both;
}

section#addcomment input[type=submit] {
	height: 30px;
	margin-top: 24px;
	float: right;
	margin-right: 24px;
	border: none;
	background-color: #cccccc;
	color: #202020;
	font-size: 13px;
	text-shadow: 0 1px #dddddd;
}

section#addcomment input[type=submit]:hover {
	background-color: #aaaaaa;
	cursor: pointer;
}

/* === Page styles === */
header.page {
	margin-bottom: 24px;
}

header.page h1 {
	margin-bottom: 0;
}

section.content {
	margin-bottom: 48px;
}

/* === Home page === */
header.home h1 {
	font-size: 24px;
	text-align: right;
	margin-top: -12px;
	margin-bottom: 36px;
}

section.intro {
	font-family: 'Helvetica Neue', Helvetica, Arial;
	font-size: 14px;
	line-height: 1.714;
	color: #606060;
}

section.intro a {
	color: #202020;
	border-color: #202020;
}

section.latestpost {
	background-color: #fff4d1;
	height: 100%;
	overflow: hidden;
	padding: 24px;
	margin-top: 48px;
}

section.latestpost h2 {
	margin-top: 0;
}

section.latestpost div.postinfo {
	float: left;
	width: 652px;
}

section.latestpost div.postinfo h3 {
	margin-top: 0;
	font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}

section.latestpost div.excerpt {
	font-family: Georgia;
	font-size: 90%;
	color: #404040;
	font-style: italic;
}

section.latestpost span.date {
	color: #606060;
	float: left;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	font-size: 14px;
	width: 100px;
}

section.recentposts {
	clear: left;
}

section.recentposts h2 {
	margin-left: 24px;
}

ol#recentposts {
	list-style-type: none;
	list-style-position: outside;
	padding: 0;
	margin: 0 24px;
}

ol#recentposts li span.date {
	color:#606060;
	float:left;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	font-size:14px;
	width:100px;
}

ol#recentposts li span.categories {
	float: right;
}

ol#recentposts li span.categories a {
	border-color:#777777;
	color:#606060;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	font-size: 14px;
	line-height: 1.714;
}

div.viewarchives {
	margin-left: 24px;
	margin-top: 24px;
}

/* === Archives styles === */
section.browsebycategory {
	position: relative;
	height: 100%;
	overflow: hidden;
	background-color: #fff4d1;
	padding: 24px;
	margin-top: -12px;
}

section.browsebycategory h2 {
	color: #513c25;
	margin-top: 0;
	margin-bottom: 12px;
	text-transform: uppercase;
	font-size: 15px;
	line-height: 1.6;
	font-weight: bold;
}

section.browsebycategory div.column {
	float: left;
	width: 250px;
}

section.browsebycategory div.column ul {
	list-style-type: none;
	list-style-position: outside;
	margin: 0 12px 0 12px;
	padding: 0;
}

section.browsebycategory div.column li.selected a {
	font-weight: bold;
	border-bottom: none;
	color: #880000;
}

section.browsebycategory div.column li span.count {
	margin-left: 6px;
	color: #606060;
	font-style: italic;
}

section.browsebycategory div.column li.selected span.count {
	color: #000000;
	font-style: normal;
}

section.postlist {
	clear: both;
	padding: 0 0 24px 0;
	margin: 0 24px;
}

section.postlist ul {
	list-style-type: none;
	list-style-position: outside;
	margin:0;
	padding:0;
}

section.postlist li span.date {
	font-size: 14px;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	color: #606060;
	float: left;
	width: 100px;
}

section.postlist li span.categories {
	float: right;
}

section.postlist li span.categories a {
	font-family: 'Helvetica Neue', Helvetica, Arial;
	color: #606060;
	border-color: #777777;
	font-size: 14px;
	line-height: 1.714;
}

/* === Work page === */
h3.projecttitle {
	margin-top: 24px;
	padding-top: 24px;
	clear: both;
}

/* === About page === */
div#links {
	float: right;
	position: relative;
	height: 100%;
	overflow: hidden;
	background-color: #fff4d1;
	margin-left: 24px;
	padding: 0 24px 12px 24px;
	width: 150px;
}

div#links h2 {
	font-size: 17px;
	line-height: 1.411;
	margin-bottom: 12px;
	margin-top: 12px;
	text-align: right;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	color: #404040;
}

div#links ul {
	margin: 0 0 0 12px;
	padding: 0;
	list-style-position: outside;
}

div.photobox.about div.caption {
	text-align: right;
	font-family: 'Helvetica Neue', Helvetica, Arial;
	color: #aaaaaa;
	font-size: 80%;
}

div.photobox.about div.caption a {
	color: #606060;
	border-color: #606060;
}

/* === Contact page === */
ul.contact {
	list-style-type: none;
	list-style-position: outside;
}

ul.contact li strong {
	margin-right: 6px;
	display: block;
	float: left;
	width: 5em;
}