/*
	HTML5 Reset :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Eric Meyer					:: http://ericmeyer.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 


/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  



/* Layout style - 9 col grid width = 963px. Col width = 87px, margin = 20px
-------------------------------------------------------------------------------*/


body {font: 18px/1.5 baskerville, palatino, 'palatino linotype', georgia,serif; background:url(../images/body_bg.jpg);}

body, select, input, textarea {color: #333;}

a {color: #03f;}
a:hover {color: #69f;}

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #333; color: #fff; text-shadow: none;}
::selection {background: #333; color: #fff; text-shadow: none;} 

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

.content{max-width:963px; position:relative;}

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

header {background:url(../images/dark_bg.jpg); width:100%; padding:12px 0 3px; }
header .content{ padding-left:224px; max-width:739px; position:relative;}

header h1{position:absolute; top:-5000px;}
header h1 em {color:#e93e10;}

/* Main
-------------------------------------------------------------------------------*/

#main {background:url(../images/light_bg.jpg);padding-left:224px; overflow:hidden;}
#main .content{padding:66px 0 15px 0;}
#main .content p, #main .content ul{max-width:600px; font-size:24px; line-height:1.3; color:#666; letter-spacing:-0.2px;}
#main .content p:first-child{font-size:30px; line-height:1.2; margin-bottom:15px; color:#222;}

#main ul{margin:40px 0 50px 0; oveflow:hidden; float:left;}
#main ul li {float:left; margin-right:49px;}
#main ul li a{width:58px; height:58px; background-position:0 0; background-repeat:no-repeat; float:left; display:block; text-indent:-5000px;outline:0;}
#main ul li a:hover { background-position:0 -58px;}
#main #twitter a{background-image: url(../images/ico_twitter.png);}
#main #flickr a{background-image: url(../images/ico_flickr.png);}
#main #linkedin a{background-image: url(../images/ico_linkedin.png);}
#main #email a{background-image: url(../images/ico_mail.png);}

#find_me_details{clear:both; margin:0px 0 0 0; }

#find_me_details a{color:#333; text-decoration:none; }
#find_me_details a strong{color:#e93e10; font-weight:normal;}
#mark{position: absolute; left:-174px; top:66px; }

/* About me
-------------------------------------------------------------------------------*/

#about_me {background:url(../images/orange_bg.jpg); position:relative; z-index:4;}
#about_me .content {padding:66px 0 66px 224px}
#about_me a{color:#111; text-decoration:none; z-index:100; position:relative;}
#about_me a:hover {background:#111; color:#e93e10;}
#about_me p{color:#fff; font-size:24px; max-width:630px; padding-right:250px; line-height:1.3;letter-spacing:-0.2px;}
#about_me p em{font-size:32px; font-style:normal;}

#tree {position:absolute; right:15px; bottom:-4px; width:480px; margin:0; padding:0;}
#me{position:absolute; left:46px; top:66px;}

#mountains {width:100%; height:51px; background: url(../images/mountains.jpg) 22% top repeat-x;clear:both; float:left position:relative; z-index:70;}

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

footer {position:relative;background: url(../images/footer_bg.png) right top repeat-x; margin-top:-28px; z-index:5;}
footer .content{padding:86px 0 66px 224px; color:#a5a0a0;}

footer p{font-style:italic; color:#a5a0a0; font-size:26px; max-width: 800px; line-height:1.3; text-indent:-15px;}


/* Print styles!
-------------------------------------------------------------------------------*/
@media print {


}


/* Media queries!
-------------------------------------------------------------------------------*/

@media screen and (max-width: 1180px) {
	#tree {display:none;}
	#about_me p {padding-right:20px;}
}

@media screen and (max-width: 800px) {	
	#main, #about_me .content, footer .content, header .content {padding-left:20px;}
	#mark, #me {display:none;}
}

@media screen and (max-device-width: 480px) {
	#main, #about_me .content, footer .content, header .content {padding-left:20px;}
	#main .content{padding:20px 0;}
	#about_me .content{padding:20px 20px 30px 20px;}
	#mark, #me {display:none;}
	#main .content p, #main .content ul{padding-right:20px; }
	#main .content ul{ margin:30px 0 20px 0;}
	#main .content ul li{margin:0 40px 15px 0;}
	#main .content p:first-child, footer p, #about_me p em{font-size:20px;}
	#main .content p, #about_me p{font-size:16px;}
	footer .content {padding:60px 0 30px 20px;}
	footer p{padding-right:20px;}
}


