html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

* { box-sizing: border-box } 

body {
    font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 300;
	line-height: 1.5;
	font-size: 16px;
}
	
a {
	text-decoration: none;
	text-decoration: underline;
	color: #2686d5;
	color: black;
	-webkit-transition: color 0.1s linear;
}

a:hover {
	color: #1b4e7b;
	color: #FE4B22;
}
	
strong {
	font-weight: 700;
}
	
header {
	margin: 100px 0 30px;
	text-align: center;
}
		
h1 {
	font-family: "bello-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	position: relative;
	margin: 0;
	padding: 0;
	font-size: 96px;
	line-height: 1.5; 
	color: black;
	-webkit-transition-property: background-color, -webkit-transform;
	-webkit-transition-duration: .1s, .15s;
	-webkit-transition-timing-function: linear, linear;
	-webkit-backface-visibility: hidden;
}
	
h1:hover {
	-webkit-transform: rotate(-0.5deg) scale(1.02);
}

h3 {
	margin: 1em 0 0 0;
	font-weight: 700;
}

h3 + p {
	margin: 0 0 1em 0;
}

p {
	margin: 1em 0;
}
	
p.subhead {
	text-align: center;
	padding: 0 15px;
}

#container {
	margin: 0 auto;
}

#container.main {
	width: 320px;
}

#container.blog {
	max-width: 530px;
	padding: 0 15px;
}

div.post img {
	max-width: 100%;
}

div.photo_container {
	text-align: center;
}

div.pagination,
div.meta {
	font-size: 14px;
	text-align: center;
	color: #aaa;
}

div.pagination a,
div.meta a {
	color: #ccc;
}

div.pagination a:hover,
div.meta a:hover {
	color: #FE4B22;
}

li.post {
/*	margin: 20px 0;*/
}

p.divider {
	text-align: center;
	margin: 50px 0;
}

code {
    font-size: 90%;
    font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
    background-color: #eee;
}

pre {
    padding: 5px 5px 5px 13px;
    margin-bottom: 10px;
    overflow: auto;
    background-color: #eee;
    border-left: 3px solid #ddd;
}

pre code {
    background-color: transparent;
}

#container.work {
	max-width: 500px;
	padding: 0 15px;
}

.project-wrapper {
	margin: 1em 0;
	clear: both;
	overflow: hidden;
}

.project-wrapper a.img {
	display: block;
	float: left;
	margin-right: 10px;
}

.project-wrapper a.img img {
	display: block;
	border-radius: 5px;
	width: 110px;
	height: 110px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.2);
	margin: 2px; /* The overflow:hidden clearfix means we lose the bottom shadow unless we account for it */
	-webkit-transition: box-shadow 0.2s;
}

.project-wrapper a.img:hover img {
	box-shadow: 0 0 3px #FE4B22;
}

.project-wrapper h2 {
	font-weight: 700;
	margin-top: 1em;
}

.project-wrapper h2 + p {
	margin-top: 0;
}

#container.portfolio {
	max-width: 800px;
	padding: 0 15px;
}

#container.portfolio h2.home {
	float: left;
	margin: 1em 0;
}

#container.portfolio h2.home a {
	margin-right: 10px;
	margin-top: 10px;
/*    text-indent: 100%;*/
/*    white-space: nowrap;*/
	display: inline-block;
	height: 32px;
}

#container.portfolio p.nav {
	float: right;
}

#container.portfolio a.social {
	margin-top: 0;
}

.portfolio-container {
	clear: both;
}

.portfolio-container h2 {
	font-family: "bello-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: center;
	font-size: 36px;
}

.portfolio-photos {
	position: relative;
	border-radius: 8px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.2);
	overflow: hidden;
}

.portfolio-photos.prerender {
	box-shadow: none;
}

.portfolio-photos img {
	display: block;
	max-width: 100%;
	border-radius: 8px;
}

.portfolio-photos.prerender img {
	border-radius: 0;
}


.portfolio-photos img + img {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	-webkit-transition: opacity 2s;
}

.portfolio-photos img.shown {
	opacity: 1;
}

/*
.portfolio-photos img + img + img {
	display: none;
}
*/
#container.instagram header {
	margin: 70px 0 15px;
}

#instagram-wrapper {
	text-align: center;
	margin: 50px 0 15px;
	padding: 0 15px;
	overflow: hidden;
}

.ig-container img {
	display: block;
	width: 100%;
}

.ig-container {
	max-width: 100%;
	display: block;
	margin: 0 auto;
	padding: 1px;
}

@media screen and (max-width: 642px) {
	#container.instagram header {
		margin: 30px 0 20px;
	}
	
	#container.instagram h1 {
		font-size: 64px;
	}
}

@media screen and (min-width: 30px) {
	/* If we support media queries this sets us up. Otherwise our fallback is to center images. */
	.ig-container {
		width: 100%;
		float: left;
		margin: 0;
	}
}

@media screen and (min-width: 642px) {
	.ig-container {
		width: 50%;
	}
}

@media screen and (min-width: 1254px) {
	.ig-container {
		width: 33.333333333333%;
	}
}

@media screen and (min-width: 1866px) {
	.ig-container {
		width: 25%;
	}
}

@media screen and (min-width: 2478px) {
	.ig-container {
		width: 20%;
	}
}

@media screen and (min-width: 3090px) {
	.ig-container {
		width: 16.6666666666667%;
	}
}

@media screen and (min-width: 3702px) {
	.ig-container {
		width: 14.2857142857143%;
	}
}

a#email {
	background-image: url(email.png);
}
.webkitcssmask a#email {
	-webkit-mask: url(email.png);
	background-image: none;
}

a#work {
	background-image: url(work.png);
}
.webkitcssmask a#work {
	-webkit-mask: url(work.png);
	background-image: none;
}

a#twitter {
	background-image: url(twitter.png);
}
.webkitcssmask a#twitter {
	-webkit-mask: url(twitter.png);
	background-image: none;
}

a#tumblr {
	background-image: url(tumblr.png);
}
.webkitcssmask a#tumblr {
	-webkit-mask: url(tumblr.png);
	background-image: none;
}

a#instagram {
	background-image: url(instagram.png);
}
.webkitcssmask a#instagram {
	-webkit-mask: url(instagram.png);
	background-image: none;
}

a#github {
	background-image: url(github.png);
}
.webkitcssmask a#github {
	-webkit-mask: url(github.png);
	margin-right: 0;
	background-image: none;
}

a.social {
	margin-right: 10px;
	margin-top: 10px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
	display: inline-block;
	height: 32px;
	width: 32px;
}

.webkitcssmask a.social {
	background-color: #000;
	-webkit-transition: background-color 0.2s;
}

.webkitcssmask a.social.current {
	background-color: #FE4B22;
}

.webkitcssmask a.social:hover {
	background-color: #FE4B22;
}

blockquote {
    border-left: 3px solid #ccc;
    margin: 10px 0px 10px 14px;
    padding-left: 14px;
}

@media screen and (max-width: 480px) {
	#container {
		margin: 0 auto;
/*		width: 100%;*/
	}
	
	header {
		margin: 30px 0 20px;
		text-align: center;
	}
}

@media all and (-webkit-min-device-pixel-ratio: 2) {
	.webkitcssmask a.social {
		-webkit-mask-size: 32px 32px;
	}
	.webkitcssmask a#email {
		-webkit-mask: url(email@2x.png);
		-webkit-mask-size: 32px 32px;
	}
	.webkitcssmask a#work {
		-webkit-mask: url(work@2x.png);
		-webkit-mask-size: 32px 32px;
	}
	.webkitcssmask a#twitter {
		-webkit-mask: url(twitter@2x.png);
		-webkit-mask-size: 32px 32px;
	}
	.webkitcssmask a#tumblr {
		-webkit-mask: url(tumblr@2x.png);
		-webkit-mask-size: 32px 32px;
	}
	.webkitcssmask a#instagram {
		-webkit-mask: url(instagram@2x.png);
		-webkit-mask-size: 32px 32px;
	}
	.webkitcssmask a#github {
		-webkit-mask: url(github@2x.png);
		-webkit-mask-size: 32px 32px;
	}
}
