/* Reset */
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}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} 
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Clearfix */
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

#top p, #middle p, #outro p,.post ul {
	margin: 0 auto 20px auto;
}

.post img {
	margin: 40px auto;
	position: relative;
	max-width: 800px;
	width: 100%;
}

.post img+img {
	margin-top: -20px;
}

/* Base */
html,body {
	min-height: 100%;
}

body, span {
	font: 20px/1 "proxima-nova", Helvetica, Arial, sans-serif;
	color: #1A1D23;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	position: relative;
}


#avatar {
	display: inline-block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin-bottom: 20px;
}

.wrapper {
	max-width: 640px;
	margin: 0 auto;
	padding: 40px 40px 40px 40px;
}

#header {
	position: relative;
}

#top {
	background: #6C788E;
	color: #FCFDFF;
}

.middle {
	background: #EDEDF2;
}

.middle:nth-child(even) {
	background: #FCFDFF;
}

#outro {
	background: #CFD5E1;
}

#top p {
	font-family: "ff-tisa-web-pro", Times, serif;
	font-size: 24px;
	text-align: center;
	margin: 0 auto;
	margin-top: 20px;
}

img {
	max-width: 100%;
}

#thumbnails {
	margin: 0 auto;
	margin-top: 40px;
	text-align: center;
}

#thumbnails a {
	width: 49%;
	float: left;
	position: relative;
	border-radius: 5px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.12);
	display: inline-block;
	overflow: hidden;
	-webkit-transform-style: preserve-3d;
	-webkit-transform: translateZ(0);
	background: #FCFDFF;
}

#thumbnails a {
		margin-right: 2%;
		margin-top: 2%;
}

#thumbnails a:nth-child(1), #thumbnails a:nth-child(2) {
		margin-top: 0;
}

#thumbnails a:nth-child(2n) {
	margin-right: 0;
}

#thumbnails a,#thumbnails a span {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#thumbnails a img {
	display: none;
	background: #fff;
	width: 100%;
	height: auto;
}

#thumbnails a span {
	color: #6C788E;
	display: inline-block;
	font-size: 20px;
	font-weight: 400;
	margin: 20px 0;
	text-transform: uppercase;
	letter-spacing: 0.035em;
}

#thumbnails a:hover {
	opacity: .7;
}

#thumbnails a:hover span {
	opacity: 0.75;
	visibility: visible;
}

#footer { 
	position: relative;
	text-align: center;
	background: #6C788E;
	padding: 20px;
}

/* Type */
/* Accent color */
a	{
	text-decoration: none; 
	color: #B654B6;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

ul 	{ margin:0 auto; padding: 0; max-width: 600px; }
li	{ list-style-position: inside; }

/* Line Height */

.post-body, p {
	margin: 0 auto;	
	line-height:1.6;
}

.post-body p, .wrapper p { 
	margin: 0 auto 20px auto;
}

.post-body p:last-child, #outro p:last-child {
	margin-bottom: 0px;
}


#top p {
	line-height:1.3;
}

h1, h2, #header span.title, .project-header span.title {
	line-height: 100%;
	color: #1A1D23;
	font-weight: 400;
	margin: 0 auto;
	padding-bottom: 20px;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

#header span.title, #header h1, #header a {
	font-family: "ff-tisa-web-pro", Times, serif;
	font-weight: bold;
	font-size: 36px;
	padding-bottom: 0px;
	text-transform: none;
	text-align: center;
	color: #FCFDFF;
}

h2 {
	padding-bottom: 40px;
}

h3 {
	font-size: 15px;
	text-transform: none;
	margin-top: 6px;
	color: #6C788E;
}

h4 {
	font-size: 13px;
	font-weight: bold;
	color: #666;
	margin-bottom: 6px;
}

p.small { 
	color: #EDEDF2;;
	opacity: 0.5;
	font-size: 15px;
	line-height: 1.5;
	display: block;
}

.vid {
	border-radius: 5px;
}

.post-body video {
	margin: 0 0 20px 0;
	border-radius: 5px;
}

/* Post Page */


#header span.title {
	float: left;
}

#header span.date, .project-header span.date {
	color: #6C788E;
	float: right;
	font-size: 19px;
}

.project-header span.title {
	float: left;
}

#post-meta, .project-header {
	font-size: 13px;
	font-weight: bold;
	line-height: 1.4;
	color: #444;
	margin-bottom: 20px;
}

#post-meta div {
	display: inline-block;
}

#post-meta div span {
	color: #aaa;
	font-weight:5 00;
	display: block;
	margin-bottom: 2px;
}

#sharing {
	float: right;
	margin: -2px;
}

#sharing a {
	font-size: 23px;
	margin-left: 2px;
	margin-top: 4px;
	color: #d4d4d4;
	display: inline-block;
	vertical-align: middle;
}

#sharing a:hover {
	color: #444;
}

/* Post Navigation */
#post-nav {
	text-align: center;
	padding-top: 40px;
	padding-bottom: 20px;
}

#post-nav span {
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	-ms-transition: all 0.1s linear;
	-o-transition: all 0.1s linear;
	transition: all 0.1s linear;
	position: relative;
}

#post-nav span.prev {
	float: left;
}

#post-nav span.next {
	float: right;
}

#post-nav span .arrow {
	position: relative;
	padding: 1px;
}

.press {
	margin: 40px auto;
	text-align: center;
}

.press-link {
	margin-bottom: 30px;
}

.press-link:last-child {
	margin-bottom: 0px;
}

#footer-links {
	margin-top: 20px;
	margin-bottom: 40px;
}

#footer ul {
	list-style-type: none;
}

#footer-links a {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.035em;
	font-size: 15px;
	padding: 10px;
	color: #EDEDF2;
	line-height: 2.0em;
}

@media screen and (min-width: 1400px) {
	.wrapper { max-width: 860px; }
}


@media screen and (max-width: 540px) {
	.wrapper { padding: 20px 40px; }
	#header { margin-bottom: 40px; }
	#header h1 a, #header h1 { font-size: 22px; }
	h1 { font-size: 17px; }
	#top p { font-size: 17px; }
	body, span { font-size: 17px; }
	.project-header span.date { font-size: 17px; }
	.post-body, p { line-height: 1.5em; }
}

@media screen and (max-width:440px) {
	#thumbnails a:nth-child(n) {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
		margin-top: 20px;
		display: inline-block;
		float: none;
	}

	a#docs { display: none; }
	#thumbnails a:first-child { margin-top: 0; }
	#header { text-align: center; margin-bottom: 0; }
	.wrapper { padding: 20px; }
	.post { margin-bottom: 0; }
	.post-body video { margin: 0 0 20px 0; }
	.press { margin: 20px auto; }
	.press h2 { padding-bottom: 20px; }
}