/* HTML5 Boilerplate  */
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 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
b, strong {
	font-weight: bold;
}
/* HTML5 display-role reset for older browsers */
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: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clearfix:after {content: "."; display: block; clear: both; visibility: hidden;	line-height: 0; height: 0; }
.clearfix { display: inline-block; }

/**
 * 	Fonts
 */
 /*
@font-face {
    font-family: 'MuseoSlab500';
    src: url('fonts/Museo_Slab_500-webfont.eot');
    src: url('fonts/Museo_Slab_500-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Museo_Slab_500-webfont.woff') format('woff'),
         url('fonts/Museo_Slab_500-webfont.ttf') format('truetype'),
         url('fonts/Museo_Slab_500-webfont.svg#MuseoSlab500') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'MuseoSlab500Italic';
    src: url('fonts/Museo_Slab_500italic-webfont.eot');
    src: url('fonts/Museo_Slab_500italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Museo_Slab_500italic-webfont.woff') format('woff'),
         url('fonts/Museo_Slab_500italic-webfont.ttf') format('truetype'),
         url('fonts/Museo_Slab_500italic-webfont.svg#MuseoSlab500Italic') format('svg');
    font-weight: normal;
    font-style: normal;

}
*/

/*
 * Layout Styles
 */
body {
	background: #d7d7d7;
	padding-top: 10px;
	color: 333333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

#wrap {
	width: 980px;
	margin: 0 auto;
	padding-bottom: 30px;
	position: relative;
}
#main {
	margin-top: 25px;
	position: relative;
}
h1 {
	color: black;
	font-size: 60px;
	font-family: 'Corben', Georgia, Times, serif;
	margin: 0 0 20px 0;
}
h2 {
	color: black;
	font-size: 34px;
	font-family: 'Corben', Georgia, Times, serif;
	margin: 0 0 10px 0;
}
h3 {
	color: black;
	font-size: 14px;
	font-family: 'Corben', Georgia, Times, serif;
	margin: 0 0 20px 0;
}
h3.red {
	color: #930000;
	font-style: italic;
}
h3.blue {
	color: #0d94e2;
	letter-spacing: 1px;
	line-height: 1.2;
}
h4 {
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 5px
}
p {
	color: #444;
	line-height: 1.8;
	text-align: justify;
	margin-bottom: 1.2em;
	font-family: 'Helvetica', 'FreeSans', sans-serif;
}
/*
 * Header
 */
header {
	height: 60px;
}
#logo {
	float: left;
}
#access {
	float: right;
	list-style: none;
	margin-top: 10px;
}
#access li {
	display: inline-block;
}   
#access li a {
	font-size: 18px;
	color: #000000;
	font-family: Georgia, serif;
	text-decoration: none;
	border-left: 1px solid black;
	padding: 0 10px;
}
#access li:first-child a {
	border: none;	
}
#access li a:hover {
	color: white;
}

/*
 * Body
 */
.row {
	position: relative;
	clear: both;
}
#welcome {
	width: 540px;
	height: 385px;
	padding: 30px 0 0 90px;
	background: url(images/welcome.png) no-repeat;
	overflow: hidden;
}
#welcome p {
	width: 490px;
}
#pictureframe {
	height: 390px;
	width: 350px;
	background: url(images/pictureframe.png) no-repeat;
	position: absolute;
	right: 0px;
	top: -27px;
}
#pictureframe img {
	position: absolute;
	top: 43px;
	left: 31px;
}
#about_me {
	background: url(images/about-me.png) no-repeat;
	width: 430px;
	height: 610px;
	padding: 70px 100px 0 140px;
	margin-left: -20px;
	overflow: hidden;
}
#about_me h2 {
	margin-bottom: 15px;	
}
#blog_posts, #projects {
	width: 259px;
	height: 315px;
	position: absolute;
	right: 0px;
	overflow: hidden;
	padding: 135px 44px 0 47px;
}
#blog_posts {
	background: url(images/blog-posts.png) no-repeat;
	top: -40px;
}
#projects {
	background: url(images/projects.png) no-repeat;
	top: 379px;
}
#recent_posts {
	height: 250px;
	overflow: hidden;
}
#recent_posts li {
	padding: 0 20px;
	border-bottom: 1px solid white;
	border-top: 1px solid #DDD;
}
#recent_posts li:hover {
	background: #EEE;
}
#recent_posts li a {
	color: #3C6C92;
	text-decoration: none;
	font-size: 14px;
	line-height: 34px;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
#recent_posts li a:hover {
	color: #9FC4E0
}
#projects {
	width: 260px;
	padding: 135px 45px 0 48px;
}
#projects .row {
	margin-bottom: 4px;	
}
#projects a img {
	border: 1px solid #CCC;
	padding: 2px;
	background: white;
	border-radius: 6px;
	opacity: 0.5;
}
#projects a img:hover {
	opacity: 1;
}
#projects a {
	margin-right: 3px;
}
#projects a:last-child {
	margin-right: 0px;	
}

/**
 * 	Print Styles
 */
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
