
* {
	font-family: "MyriadProRegular", "Myriad Pro", "Helvetica", "Arial";
	-webkit-font-smoothing: antialiased;
	text-shadow: #FFF 0 1px 0;
	font-weight: normal;
	font-style: normal;
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	padding-top: 50px;
}

a {
	color: #1a51c2;
}

b, strong {
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
	font-weight: 800;
}

i { 
	font-family: "MyriadProItalic", "Myriad Pro", "Helvetica", "Arial";
	font-style: italic; 
}

	

#header {
	font-size: 26px;
	font-weight: 800;
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
	margin-bottom: 100px;
	position: relative;
}

#menu {
	float: right;
	position: absolute;
	top: 5px;
	right: 0;
	font-size: 18px;
}

.center, article {
	width: 800px;
	left: 50%;
	position: relative;
	margin: 0 0 0 -400px;
}

p.title {
	font-weight: 800;
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
	font-size: 26px;
	margin-bottom: 30px;
	margin-top: 0px;
}

body.web .title {
	margin-top: 50px;
	margin-bottom: 70px;
}

a { text-decoration: none; }

#menu a {
	font-weight: 800;
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
	margin-left: 30px;
	color: #000;
}

#menu a.disabled {
	color: rgb(150,150,150);
}

body.blog #header {
	margin-bottom: 110px;
}

body.about #header {
	margin-bottom: 110px;
}

body.web #header {
	margin-bottom: 140px;
}

a {
	position: relative;
}

a:hover:not(.disabled) {
	text-decoration: underline;
}

a:active:not(.disabled) {
	top: 1px;
}

article {
	width: 800px;
	display: block;
}

body.blog article, body.blog #nav {
	width: 550px;
	margin: 0;
	left: 50%;
	font-size: 20px;
	margin-bottom: 0;
	margin-left: -400px;
	z-index: 50;
}

body.iphone article {
	height: 310px;
	position: relative;
	margin-bottom: 0px;
}

body.web article {
	height: 200px;
	z-index: 40;
	margin-bottom: 40px;
	margin-top: 10px;
}

body.iphone .graphics {
	position: relative;
	width: 440px;
}


body.iphone .graphics { float: left; }
body.iphone article.right .graphics { float: right; }
body.iphone article.right .text { float: left; }

body.web .graphics { float: right; margin-right: -30px; }
body.web .text { float: left; }
body.web article.left .graphics { float: left; }
body.web article.left .text { float: right; }


body.iphone div.graphics img { position: absolute; }

body.iphone div.graphics img:nth-child(1) { left: -13px; top: 20px; z-index: 5; }
body.iphone div.graphics img:nth-child(2) { left: 100px; z-index: 20; }
body.iphone div.graphics img:nth-child(3):not(.app_icon) { left: 237px; top: 20px; z-index: 5; }
body.iphone div.graphics img.landscape { top: 106px; }
body.iphone div.graphics img.landscape:nth-child(3) { left: 150px; top: 106px; }


body.web article img { left: -15px; position: relative; }

div#about {
	position: absolute;
	z-index: 50;
	top: 180px;
	left: 50%;
	margin: 0 0 0 192px;
	background-color: rgba(255,255,255,0.8);
	width: 175px;
	height: 280px;
	padding: 15px;
	font-size: 14px;
	line-height: 20px;
	border: 1px solid rgb(230,230,230);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

div#about #x:hover {
	opacity: 0.5;
}

div#about #x:active {
	opacity: 1;
	bottom: 23px;
	position: absolute;
}

div#about #photo {
	background: url('../images/me_blog.jpg') no-repeat;
	margin: 0 0 15px 0;
	display: block;
	width: 175px;
	height: 76px;
}

/*
div#about #photo:hover {
	background-position: 0 -76px;
}
*/

div#about form {
	border: 1px solid rgb(200,200,200);
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	margin-top: 20px;
	height: 22px;
	padding: 4px 0 0 32px;
	background: url('../images/searchIcon.jpg') no-repeat 10px 5px;
}

div#about form input {
	font-weight: 500;
	width: 135px;
	height: 22px;
	outline: none;
	font-size: 14px;
	color: rgb(180,180,180);
	background-color: transparent;
	-webkit-appearance: none;
}


div.separator {
	background: url('../images/separator.jpg');
	height: 136px;
	width: 100%;
	top: -40px;
	position: relative;
	margin-bottom: -50px;
}

div.one_purpose {
	height: 100px;
	background-position: 0 -10px;
}

body.iphone img.app_icon {
	position: absolute;
	top: 236px;
	z-index: 25;
	left: 240px;
}

article#app_websites {
	height: 460px;
}

#app_websites a {
	display: inline-block;
	margin-bottom: 20px;
}

#app_websites a:nth-child(odd) {
	float: left;
	margin-left: -5px;
}

#app_websites a:nth-child(even) {
	float: right;
	margin-right: -10px;
}

/* TEXT */


div.text {
	display: block;
	float: right;
	width: 310px;
	margin-top: 25px;
	z-index: 50;
	position: relative;
}


em {
	background-color: yellow;
}

.df {
	font-family: "Helvetica";
}


body.web div.text {
	width: 330px;
	margin-top: 20px;
}


h1, .h1 {
	font-weight: 800;
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
	font-size: 26px;
	text-decoration: none;
}

body.web a.h1, body.web h1 {
	margin-bottom: 3px;
	color: #000;
	clear: both;
	display: inline-block;
}

body.blog .h1 {
	line-height: 30px;
	padding-bottom: 10px;
}

h2 {
	font-weight: normal;
	font-size: 16px;
	margin-bottom: 15px;
	
}

body.blog h2 {
	line-height: 30px;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 800;
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
}

body.web h2, .h2 {
	font-weight: 600;
	font-size: 22px;
	color: #000;
	display: inline;
	margin-right: 20px;
	font-family: "MyriadProSemibold", "Myriad Pro", "Helvetica", "Arial";
}
		
h3, body.web h4 {
	font-family: "MyriadProItalic", "Myriad Pro", "Helvetica", "Arial";
	font-style: italic;
	font-size: 16px;
	line-height: 23px;
	margin-bottom: 15px;
	color: rgb(50,50,50);
}

body.web h3 {
	font-family: "MyriadProRegular", "Myriad Pro", "Helvetica", "Arial";
	font-style: normal;
}



body.web h4 {
	display: inline;
}

body:not(.web) h4 {
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 15px;
	position: relative;
	color: rgb(110,110,110);
}

h4 a {	

}

h5 {
	font-family: "MyriadProItalic", "Myriad Pro", "Helvetica", "Arial";
	font-style: italic;
	font-size: 16px;
	line-height: 19px;
	margin-top: 3px;
	margin-bottom: 12px;
	position: relative;
	color: rgb(0,0,0);
}

a.sublink {
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;
	color: #000;
}


/* BLOG FORMATTING */


body.blog article a {
	color: #1a51c2;
}

body.blog article a.username {
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
	font-weight: 800;
	margin-right: 5px;
}

body.blog article .username em {
	font-family: "MyriadProBold", "Myriad Pro", "Helvetica", "Arial";
	font-weight: 800;
}

body.blog article .username em:hover, .username:hover em {
	text-decoration: underline;
}

body.blog article img.tw_avatar {
	margin-top: 3px;
	margin-left: 8px;
	width: 58px;
	height: 58px;
	float: left;
	border: 0;
}

body.blog article img:not(.tw_avatar) {
	margin-top: 12px;
	margin-bottom: 5px;
} 

body.blog article span.created_at {
	font-size: 14px;
	color: #8e8e8e;
	display: block;
	margin-top: 2px;
}

body.blog article span.created_at a {
	color: #8e8e8e;
}

body.blog article a.title {
	color: #222;
}

body.blog article a.title:hover {
	color: #000;
}

body.blog article p.date {
	width: 65px;
	text-align: right;
	margin-top: 15px;
	line-height: 15px;
	padding-right: 20px;
	font-size: 14px;
	float: left;
}

body.blog article .wordCount {
	clear: both;
	display: block;
	margin-top: 5px;
	margin-bottom: 5px;
	color: rgb(200,200,200);
}

body.blog article .tags {
	margin-left: 85px;
	color: rgb(150,150,150);
	font-size: 13px;
	letter-spacing: 1px;
	margin-bottom: 10px;
	margin-top: 0;
}

body.blog article .post {
	font-size: 15px;
	line-height: 24px;
	margin-left: 85px;
}

body.blog article .post p {
	margin-bottom: 10px;
}

body.blog article .post pre {
	font-family: "Panic Sans", "Courier";
	
	/* 	http://weblogtoolscollection.com/archives/2007/06/16/css-for-code-wrap-long-lines/ */
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
	
	font-size: 12px;
	margin-bottom: 20px;
	margin-top: 15px;
	margin-left: 20px;
}

body.blog article .post ul {
	margin-bottom: 20px;
	margin-top: 15px;
	margin-left: 20px;
}

body.blog article .post li {
	margin-bottom: 5px;
}

body.blog article p.tweet {
	font-size: 20px;
	line-height: 24px;
	margin-left: 85px;
}

body.blog #nav {
	margin-top: 40px;
	margin-bottom: 0;
	height: 36px;
}

body.blog #nav a {
	height: 36px;
	display: block;
	cursor: default;
	position: absolute;
	z-index: 60;
}

body.blog #nav a:hover:not(.disabled)  {
	background-position: 0 -36px;
}

body.blog #nav a:active:not(.disabled)  {
	background-position: 0 -72px;
}

body.blog #older {
	width: 97px;
	right: 0;
	background: url('../images/older.png') no-repeat 0 0;
}

body.blog #newer {
	width: 102px;
	right: 120px;
	background: url('../images/newer.png') no-repeat 0 0;
}


/* BUTTONS */

div.buttons {
	width: 300px;
	height: 32px;
	position: relative;
	left: -6px;
	display: inline-block;
}

div.buttons a {
	cursor: default;
}

.disabled {
	opacity: 0.5;
}
	
a.website {
	background: url('../images/iphone_website.png') no-repeat 0 0;
	width: 101px;
	height: 32px;
	display: inline-block;
}

a.appstore {
	background: url('../images/iphone_appstore.png') no-repeat 0 0;
	width: 101px;
	height: 32px;
	display: inline-block;
	margin-left: 10px;
}

div.buttons a:hover:not(.disabled) {
	background-position: 0 -32px;
}

div.buttons a:active:not(.disabled) {
	background-position: 0 -64px;
}


div#footer {
	margin-bottom: 40px;
	font-size: 22px;
	color: rgb(150,150,150);
}

div#footer h1 {
	display: inline;
	margin-right: 10px;
	color: #000;
}









body.about #contact, body.about #firefly {
	position: absolute;
	z-index: 50;
	top: 190px;
	left: 50%;
	margin: 0 0 0 192px;
	background-color: rgba(255,255,255,0.8);
	width: 175px;
	height: 120px;
	padding: 15px 15px 15px 13px;
	font-size: 14px;
	line-height: 20px;
	border: 1px solid rgb(230,230,230);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	color: rgb(150,150,150);
}

body.about #firefly {
	top: 380px;
	color: #000;
	font-size: 14px;
	height: 210px;
	line-height: 18px;
	overflow: hidden;
	text-shadow: #FFF 0 1px 0;
}

body.about #map, body.about #overlay {
	position: absolute;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	z-index: 0;
	top: 0;
	left: 0;
	height: 240px;
	width: 203px;
}

body.about #firefly p, body.about #firefly h1, body.about #firefly img {
	position: relative;
	z-index: 50;
}

body.about #firefly img {
	opacity: 0.9;
}

body.about #firefly #status {
	margin-bottom: 10px;
}

body.about #firefly #date {
	position: absolute;
	top: 10px;
	right: 10px;
	color: rgb(190,190,190);
}

body.about #firefly #overlay {
	background: rgba(255,255,255,0.5) url('../images/map_bg.png') repeat-x 0 0;
}

body.about #firefly:hover {
	text-decoration: none;
	border: 1px solid rgb(200,200,200);
}

body.about #firefly:hover #overlay {
	background-color: rgba(255,255,255,0);
}

body.about #firefly:hover img {
	opacity: 1;
}

body.about #firefly:active  {
	top: 381px;
}

body.about #firefly #photo {
	position: absolute;
	bottom: 10px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-box-shadow: #FFF 0 1px 0;
}


body.about #contact a {
	font-size: 16px;
	line-height: 22px;
}

body.about #contact #others {
	margin-top: 10px;
}

body.about #contact h1, body.about #firefly h1 {
	font-size: 20px;
	color: #000;
	margin-bottom: 6px;
}


body.about article {
	background: url('../images/me_about.jpg') no-repeat 0 0;
	width: 430px;
	padding-left: 110px;
	padding-bottom: 3px;
	font-size: 16px;
	line-height: 24px;
	z-index: 60;
}

body.about article h1 {
	margin-bottom: 13px;
}

body.about article p {
	margin-bottom: 15px;
}