@import url("fonts.css");
@import url("reset.css");
@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,700,400italic,700italic);


body {
	background: url(/images/ver6/bg_cream_dust.png);
	font: 1em/1.45 'PT Serif', serif;
	color: #333;
	-webkit-text-size-adjust: none;	
	}

	
/* -------------------------------------
Header
------------------------------------- */

	header {
		display: block;
		xheight: 170px;
		}
		
		header a {
			display: block;
			margin: -20px 0 0 0;
			width: 130px;
			height: 130px;
			background: url("/images/ver6/logo.svg") 0 0 no-repeat;
			background-size: 130px 130px;
			text-indent: -9999em;
			}

		header p {
			margin: 15px 0 40px 0;
			color: #aaa;
			font-size: .85em;
			}
		
	
	


/* -------------------------------------
Structure
------------------------------------- */

.core {
	padding: 10px;
	}

article section {
	margin: 3em 0 0 0;
	}

/* -------------------------------------
Typography
------------------------------------- */

h1	{
	margin: 0 0 1.2em 0;
	font: 2em/1 "Arvo", Arial, sans-serif;
	color: rgb(200, 213, 50);
	text-transform: lowercase;
	}

	article h1 a, article h1 a:visited { color: rgb(200, 213, 50); }
	article h1 a, article h1 a:hover { border: none; background: none; }

	section h1 {
		font-size: 1.7em;
		color: #c25700;
		}

	article.excerpt h1 {
		margin-bottom: .7em;
		font-size: 1.6em;
		}

h2,
legend	{
	font: normal 1.6em "Karla";
	color: #999;
	}

	h2 { margin: 2em 0 1em 0; }
	legend { padding: 1em 0; }
	
	h2 em {
		font-family: "KarlaItalic";
		}

h3	{
	margin: 2em 0 1em 0;
	font: normal 1.3em "KarlaBold";
	color: #5c9e8d;
	}

p,ul,ol,dl,table,figcaption {
	margin-bottom: 1.1em;
	}

ol,ul	{
	margin-left: 2em;
	}
	
	ol li,
	ul li	{
		padding-left: 10px;
		margin: 0 0 .4em 0;
		}

pre {
	width: 100%;
	overflow: scroll;
	}

code	{
	color: green;
	font-size: 1.2em;
	}

figure {
	margin: 2.5em 0;
	}

figcaption {
	margin: 1em 0 0 1.5em;
	font-style: italic;
	font-size: 90%;
	color: #999;
	}

	figcaption:before {
		position: absolute; 
		display: inline-block;
		margin: 0 0 0 -1.5em;
		content: "\2591";
		}

blockquote p {
	padding: .5em 0 .5em 25px;
	margin-left: 25px;
	border-left: 1px solid rgba(0,0,0,.2);
	border-right: none;
	border-top: none;
	font: 1.2em/1.3 "KarlaItalic";
	color: #777;
	}

	p.source {
		text-align: right;
		margin-left: 51px;
		font-family: "KarlaItalic";
		color: rgba(255,255,255,.5);
		}

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
	
.footnote {
	margin: 2em 0 0 0;
	font-size: .9em;
	color: #777;
	}

	a {
		/* default */
		}

.pubdate {
	display: block;
	width: 70px;
	padding: 5px 5px;
	margin: 0 0 1em 0;
	background: #ddd;
	border-radius: 5px;
	font: .75em "KarlaBold";
	text-align: center;
	}

	.archive .pubdate {
		font-size: .8em;
		}
	
	.year { color: #5c9e8d; }
	.month { color: #2b637c; }
	.day { color: #000; }

.byline, .summary {
	padding: .2em 0 3em 0;
	border-bottom: 1px solid #eee;
	}
	
	.byline {
		font-size: .85em;
		text-transform: lowercase;
		font-variant: small-caps;
		letter-spacing: .2em;
		color: #ccc;
		}
		
	.summary p {
		margin-bottom: 0;
		font-style: italic;
		color: #666;
		}
	

.vertical-space {
	margin: 3em 0;
	}

.preceding-break {
	margin-top: 3em;
	position: relative;
	}

	.preceding-break:before {
		content: "";
		display: block;
		width: 20%;
		height: 2px;
		margin: 0 auto 3em auto;
		background: #57c1a4;
		}


/* --- archive --- */

.archive dt {
	margin: 3em 0 1em 0;
	font-size: 1.2em;
	}

	.archive dd {
		margin: 0 0 1.5em 0;
		}
		
	.archive p { margin: 0; }

	.tags a {
		display: inline-block;
		padding: .1em .4em;
		margin: 0 !important;
		border: none !important;
		background: #eee;
		color: #4589a0;
		line-height: 1.3;
		text-decoration: none;
		}
		
		
/* links */

.link {
	display: block;
	padding: 1em;
	line-height: 1.6;
	}
	
	.link p:last-of-type {
		margin-bottom: 0;
		}
	
	.link-title {
		color: #000;
		}
		
	.link-date {
		display: inline-block;
		padding-left: .7em;
		border-left: 1px solid #ccc;
		margin-left: .5em;
		color: #999;
		}


/* prev/next */


.backandforth {
	overflow: hidden;
	margin: 5em 0 0 0;
	}

	.backandforth a {
		display: block;
		padding: .1em .5em;
		border: none !important;

		}

		.backandforth .marker {
			font: .8em 'KarlaItalic';
			text-transform: uppercase;

			color: rgba(0,0,0,.4);
			}

	.backandforth hr {
		margin: .6em 0;
		background: none;
		border: none;
		border-bottom: 1px solid #ddd;
		}



/* post socialize links */

.socialize {
	margin: 2em 0 0 0;
	overflow: hidden;
	}
	
	.socialize a {
		width: 16px;
		height: 16px;
		float: left;
		margin: 0 4px 0 0;
		text-indent: -9999em;
		background-image: url(/images/ver6/sprite.png);
		background-repeat: no-repeat;
		}
		
		.gp { background-position: 0 0; }
		.tw { background-position: -16px 0; }
		.dl { background-position: -32px 0; }
		.em { background-position: -48px 0; }


.code-example {
	overflow: hidden;
	margin-bottom: 0;
	}
	
	.code-example dt {
		float: left;
		margin: 0 8px 0 0;
		}
	
	.code-example dd {
		display: inline-block;
		font: normal 1em "Karla";
		margin: 4px 0 0 0;
		color: #666;
		}


/* --- icons --- */

.icon-examples {
	padding: 8px 14px 0 14px;
	margin: 1em 0;
	background: #fff;
	}

	.icon-examples img {
		display: inline-block;
		margin: 0 10px 8px 0;
		}

/* --- tables --- */

.table {
	background: #fff;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	}
	
	table th,
	.table td {
		padding: .6em 1em;
		border-right: 1px solid #eee;
		border-bottom: 1px solid #eee;
		text-align: left;
		}
		
	caption {
		padding: 1em 1em .5em 1em;
		background: #eee;
		font-size: .75em;
		text-transform: uppercase;
		letter-spacing: .15em;
		}

	
/* -------------------------------------
Comments
------------------------------------- */

.gravatar {
	width: 48px;
	height: 43px;
	padding: 3px 0 0 3px;
	float: left;
	margin: 0 0 0 -65px;
	background: url(/images/ver6/gravatar_bubble_dark.png) 0 0 no-repeat;
	}
	
	.gravatar img {
		width: 40px;
		height: 40px;
		display: block;
		}
	
.comment {
	margin: 3em 0 0 0;
	font-size: 1em;
	color: #484d5d;
	}

.comment .name {
	margin: 0;
	padding: .15em 0 .2em 0;
	font: 1.2em "Karla";
	}

	.comment .name a {
		padding: 0;
		background: transparent;
		}

.comment .meta {
	margin: 0 0 1.3em 0;
	font-size: .8em;
	color: #2b637c;
	}



/* -------------------------------------
Form Design
------------------------------------- */

/* tips box */

.trigger {
	font-size: .7em;

	line-height: 20px;
	color: #6389b5;
	text-align: right;
	text-transform: uppercase;
	}
	
	.trigger span {
		display: inline-block;
		cursor: pointer;
		}
	
	.trigger span:before {
		content: "";
		display: block;
		width: 16px;
		height: 16px;
		float: left;
		margin: 1px 4px 0 0;
		background: url(/images/ver6/sprite.png) 0 -16px no-repeat;
		}
	
	.trigger .active {
		color: orange;
		}
		
.innerbox {
	padding: .6em 1em 1em 1em;
	margin: 10px 0;
	background: #eee;
	border-radius: 5px;
	border: 1px dotted orange;
	}
	
.collapsed {
	height: 24px;
	overflow: hidden;
	}
	
.expand {
	height: 160px;
	}

#textile-tips {
	display: none; /* hide by default in case JS isn't active */
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;	
	transition: all .3s ease-in-out;
	}
	

/* form stuff */

p.inline {
	margin: 0 0 .7em 0;
	}
	
	p.inline label {
		display: block;
		}
	
		.inline label strong {
			font-weight: normal;
			}

textarea,
input[type="text"],
input[type="email"],
input[type="url"] {
	display: block;
	padding: 4px 7px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font: 1em "Karla";
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	width: 90%;
	}

	textarea:focus,
	input[type="text"]:focus,
	input[type="email"]:focus,
	input[type="url"]:focus {
		border: 1px solid rgba(226,236,255,.4);

		}

	textarea.error,
	input[type="text"].error,
	input[type="email"].error,
	input[type="url"].error {
		border-color: #111723;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		box-shadow: none;
		}

	label.error {
		padding: 2px 7px;
		background: #111723;
		background: rgba(0,0,0,.4);
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
		font-size: .9em;
		color: #ffd557;
		}
	
textarea {
	height: 200px;
	}

	
p.checkbox label {
	width: 80%;
	padding: 3px 7px;
	display: block;
	border-radius: 40px;
	overflow: hidden;
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	cursor: pointer;
	}
	
	label.checked {
		background: #057928;
		color: #fff;
		}

p.checkbox label span.holder { 
	height: 61px;
	background: url(/images/ver6/sprite.png) -32px -16px no-repeat;
	}

label.checked span.holder,
label.checked span.holder,
label.checked:hover span.holder,
label.checked:hover span.holder { 
	background: url(/images/ver6/sprite.png) -16px -16px no-repeat !important;
	}

label.list {
	float: left;
	margin: 5px 0 0 0
	}

input.hiddenCheckbox { position:absolute; left:-10000px; }

label.prettyCheckbox span.holderWrap {
	float: left;
	position: relative;
	margin: 3px 5px 0 1px;
	overflow: hidden
	}

label.prettyCheckbox span.holder {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	}

.button,
.zemSubmit {
	display: inline-block;
	padding: .3em .7em;
	margin: 1em .5em 0 0;
	border: 1px solid #fff;
	border-radius: 6px;
	background: #cc6c00;
	background: -moz-linear-gradient(top, #cc6c00 0%, #b34400 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc6c00), color-stop(100%,#b34400));
	background: -webkit-linear-gradient(top, #cc6c00 0%,#b34400 100%);
	background: -o-linear-gradient(top, #cc6c00 0%,#b34400 100%);
	background: -ms-linear-gradient(top, #cc6c00 0%,#b34400 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc6c00', endColorstr='#b34400',GradientType=0 );
	background: linear-gradient(top, #cc6c00 0%,#b34400 100%);
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.3);
	font: 1.2em "Karla", Arial, sans-serif;
	color: #fff;
	text-align: center;
	}
	
	.button:hover,
	.zemSubmit:hover {
		box-shadow: 
			inset 0 0 0 1px rgba(0,0,0,.3),
			inset 0 0 3px 1px yellow;
		text-shadow: 0 1px 2px rgba(0,0,0,.4);
		}

.disabled {
	background: #eee;
	border: 1px dotted #999;
	box-shadow: none;
	color: #aaa;
	cursor: default !important;
	}

	.disabled:hover {
		box-shadow: none;
		text-shadow: none;
		}
	
	
	

/* -------------------------------------
Footer
------------------------------------- */

footer {
	padding: 20px 10px;
	background: rgba(0,0,0,.1);
	border-top: 1px dotted #aaa;
	}
	
	footer:before { /* thin white border */
		content: "";
		display: block;
		width: 100%;
		height: 1px;
		background: #fff;
		}

	.epitaph {
		font-size: .9em;
		}
		
		.copyright {
			margin: 2em 0 0 0;
			font-size: .85em;
			}
		
		footer nav a {
			display: block;
			padding: 0 5px;
			margin: 0 0 5px 0;
			}

	footer nav ul {
		list-style: none;
		font-size: .8em;
		color: #44668e;
		margin: 20px 0;
		}

		footer nav ul a {
			display: inline;
			padding: 0;
			}
	
	footer a {
		color: #44668e;
		}

	article img.forcefit {
		width: 100%;
		height: auto;
		}

@media only screen and (max-width: 480px) {

	article img {
		width: 100%;
		height: auto;
		}

}



@media only screen and (min-width: 581px) {

	html {
		height: 100%;
		overflow-y: scroll;
		}
	
	body {
		height: 100%;
		}

	.core {
		padding: 0 0 500px 0;
		}

	.wrap {
		position: relative;
		padding: 0 0 200px 0;
		min-height: 100%;
		}		


	/* --- header --- */
	
	header {
		width: 900px;
		height: 250px;
		margin: 0 auto;
		}
		
		header a {
			margin: -20px 0 0 145px;
			}
		
		header p {
			margin: -76px 140px 0 340px;
			line-height: 1.6;
			}

	/* --- structure --- */

	article section {
		margin: 6em 0 0 0;
		}

	footer section {
		margin: 3.5em 0 0 0;
		}

	article {
		width: 600px;
		margin: 0 auto;
		}

	article.excerpt,
	article.article-list {
		margin-bottom: 9em;
		}
		
	/* --- typography --- */
	
	h2 { margin: 2em 0 1em -1em; }


	ol,ul	{
		margin-left: -10px;
		}
		
	/* general hover animation */
	
	a,
	input[type="submit"] {
		-webkit-transition: all .2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-o-transition: all .2s ease-in-out;
		-ms-transition: all .2s ease-in-out;	
		transition: all .2s ease-in-out;
		}
	

	article a {
		border-bottom: 1px solid blue;
		display: inline-block;
		line-height: 1;
		text-decoration: none;
		}
		
	article a:visited {
		border-bottom: 5px dotted #c8cdd4;
		color: #039;
		}
	
	article a:hover {
		border-bottom: 1px solid transparent;
		background: #eaff3d;
		color: #333;
		}

	article img.x2 {
		width: 500px;
		height: auto;
		}
		
	.pubdate {
		float: left;
		margin: 0 0 0 -130px;
		}
	
		.archive .pubdate {
			position: absolute;
			margin: 0 0 0 -118px;
			}

	/* --- archive --- */
	
	.moreinfo {
		position: absolute;
		width: 22px;
		height: 22px;
		background: url(/images/ver6/arrow_down.svg) 5px 5px no-repeat;
		background-size: 14px 11px;
		margin: 1px 0 0 -22px;
		cursor: pointer;
		opacity: 0;
		-webkit-transition: all .2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-o-transition: all .2s ease-in-out;
		-ms-transition: all .2s ease-in-out;	
		transition: all .2s ease-in-out;
		}
	
	.archive dd {
		height: 2em;
		-webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		-ms-transition: all .3s ease-in-out;	
		transition: all .3s ease-in-out;
		overflow: hidden;
		border-left: 24px solid rgba(255,255,255,.1);
		margin: .3em 0;
		}
		
		.archive dd .title {
			line-height: 2em;
			margin-bottom: .3em;
			border-bottom: 0;
			}
	
		.archive dd.expand {
			padding: 1.5em 0;
			height: 7em;
			background: #ddd;
			}
	
		.archive dd:hover {
			border-left: 24px solid rgba(255,255,255,.5);
			}
	
		.archive dd:hover .moreinfo {
			opacity: 1;
			}
			
			.archive dd.expand .moreinfo {
			    -webkit-transform: rotate(180deg);  
			    -moz-transform: rotate(180deg);  
			    -o-transform: rotate(180deg);  
			    -ms-transform: rotate(180deg);  
			    transform: rotate(180deg);  
				}
	
		.archive .details,
		.archive a {
			margin: 0 0 0 14px;
			}
			
		.archive .tags {
			margin-top: .3em;
			}
	




	/* --- form design --- */
	
	textarea,
	input[type="text"],
	input[type="email"],
	input[type="url"] {
		width: 584px;
		}
	
	p.checkbox label.checkbox {
		width: 586px;
		}
		
	p.inline {
		position: relative;
		margin: 0 0 .7em 0;
		}
		
		p.inline label.js {
			position: absolute;
			color: #6f7582;
			top: 2px;
			left: 9px;
			}


	/* --- footer --- */
	
	footer {
		padding: 0;
		margin-top: -500px;
		height: 500px;
		overflow: hidden;
		position: relative;
		}
		
		footer div {
			width: 600px;
			margin: 0 auto;
			}
			
		.epitaph {
			width: 600px;
			}

		.copyright {
			margin: 80px 0 0 0;
			}
			
		footer nav {
			width: 300px;
			margin: 0 0 0 -350px;
			float: left;
			}

			footer nav a {
				text-align: right;
				padding: 2px 5px;
				}

		footer nav ul {
			margin-top: 90px;
			text-align: right;
			}


}