/* 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;
}

/* Base */
body {
	font:16px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	color: #777;
}

#wrapper {
	padding: 100px 40px;
	max-width: 500px;
	margin: 0 auto;
}

#header {
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
	padding-bottom: 20px;
	text-align: center;
	position: relative;
}

#pagelinks {
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
	padding-bottom: 20px;
	text-align: center;
	position: relative;
}

#pagelinks a {
	padding-left: 20px;
	padding-right: 20px;
}

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

/* @group Menu-link things */

.menu ul {
	text-align: center;
	display: table;
	width: 100%;
}

.menu ul li {
	display: table-cell;
}

/* @group Social Badges */


#sociallinks {
	padding-top: 20px;
	border-top-color: rgb(238, 238, 238);
	border-top-style: solid;
	border-top-width: 1px;
	padding-bottom: 20px;
	border-bottom-color: rgb(238, 238, 238);
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

#sociallinks ul li img {
	width: 24px;
	height: 24px;
}

/* @end */

#footer {
	margin-top: 20px;
	text-align: center;
	font-size: smaller;
	line-height: 1.2;
	color: #aaa;
}

/* Type */
/* Accent color */
a {
	text-decoration: none;
	color: #5694f1;
	font-weight: 400;
}

h1 {
	font-weight: 400;
	font-size: 20px;
	color: #222;
}

h2 {
	font-size: 20px;
	font-weight: 300;
	color: #aaa; 
	margin-top: 10px;
}

p {
	line-height: 1.8;
	 margin-bottom: 30px;
	 /*font-size: 16px;*/
}

code {
	font-family: "Courier New", Courier, mono;
	background-color: #eaeaea;
	padding-right: 5px;
	padding-left: 5px;
	border: 1px solid #aaa;
	border-radius: 3px;
	color: #333;
}

blockquote {
	margin-left: 20px;
	background-color: #eaeaea;
	border-radius: 5px;
	padding-left: 5px;
	padding-right: 5px;
}

cv entry {
	display: block;
	margin-top: 30px;
	line-height: 1.8;
}

cv entry name {
	font-weight: 300;
	font-size: 18px;
	color: #222;
}

cv hr {
	margin-top: 30px;
	margin-bottom: 30px; 
}

company, event, time {
	margin-left: 10px;
	font-weight: 200;
}

cv entry time {
	font-weight: 300;
}

cv entry description {
	display: block;
	line-height: 1.4;
}

cv entry a.cv-link {
	display: block;
}

@media screen and (max-width: 540px) {
	#wrapper { padding:40px; }
	#header { margin-bottom: 40px; }
	#docs { display: none; }
}

@media screen and (max-width:440px) {
	#wrapper { padding:20px; }
	#header { margin-bottom: 20px; }
}
