/* layout */

.page {
	padding-bottom: 3em;
	overflow: hidden;
}

#navigation .grid-1, #single .grid-3, #single .grid-1, #header, .pagetitle {
	padding-top: 1em;
}

#logo {
	display: block;
	margin: 0 0 1em -3px;
	height: 55px;
	width: 55px;
}

.postmetadata, .screenshot {
	margin-top: -1em;
}

.thumbnail, .screenshot {
	display: block;
	line-height: 0;
}

.screenshot {
	margin-top: 1em;
	padding: 5px;
}

img.thumbnail {
	padding: 5px;
}

#archive img.thumbnail, #search img.thumbnail {
	float: right;
	margin: 0 0 1em 20px;
}

#clients img.thumbnail {
	position: relative;
	margin-bottom: 1em;
}

.navigation {
	margin-right: -20px;
	padding: .5em 0;
}

.more, .post-edit-link {
	display: block;
	padding-bottom: 1em;
}

/* posts */

#work .post {
	position: relative;
}

#archive .post, #search .post {
	overflow: hidden;
}

#work h2 {
	padding-top: 0;
	margin-bottom: 1em;
	margin-right: -20px;
}

#single .post, #archive .post, #search .post, #home .post {
	margin: 0 -20px 1em 0;
	padding-right: 20px;
}

#archive .post {
	padding-top: 1em;
	margin-bottom: 0;
}

/* forms */

.form {
	padding: 20px;
	margin: 0 -20px;
}

fieldset {
	padding-bottom: .5em;
}

.input-text, textarea {
	padding: .5em;
}

.input-text {
	width: 345px;
}

#searchform {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 1em;
}

#searchform fieldset {
	position: relative;
	padding-bottom: 0;
}

#s {
	padding-right: 40px;
	width: 115px;
}

#searchsubmit {
	position: absolute;
	top: 0;
	right: 0;
	height: 27px;
	width: 37px;
	cursor: pointer;
}

textarea {
	width: 545px;
	min-height: 200px;
}

.btn {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	padding: .5em;
	display: inline-block;
	width: auto;
	overflow: visible;
}

/* helpers */

.lines {
	margin: 0 -20px;
}

.last, #home div.last {
	border: 0;
	margin: 0;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}