html, body
{
	margin: 0;
	padding: 0;
	height: 100%;
	background-color: #ececec;
	font-family: 'Segoe UI',Candara,'Bitstream Vera Sans','DejaVu Sans','Bitstream Vera Sans','Trebuchet MS',Tahoma,Verdana,'Verdana Ref',sans-serif;
	font-size: 14px;
}

h1, h2, h3, h4, h5, h6
{
	margin: 0;
	padding: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
{
	text-decoration: none;
}

a
{
	color: #000;
	transition: all 0.1s ease 0.05s;
	text-decoration: none;
}

a img
{
	border: none;
}

a:hover
{
	color: #777;
}

a.outlink:before
{
	content: "";
	background-image: url('design/link.png');
	background-repeat: no-repeat;
	background-position: 0 bottom;
	width: 19px;
	min-height: 15px;
	line-height: 1em;
	display: inline-block;
	vertical-align: middle;
}

hr
{
	border: none;
	border-top: 1px solid gray;
}

ul
{
	list-style:none;
	padding-left: 30px;
}

li
{
	padding: 3px 0;
}

li:before
{
	content: "■";
	padding-right: 5px;
	color: #999;
	font-size: 0.6em;
	line-height: 1em;
	vertical-align: middle;
}

.row-pic
{
	text-align: center;
}

#top-layout
{
	border-bottom: 1px solid #dcdcdc;
	text-transform: uppercase;
	color: #fff;
}

#top-background
{
	border-top: 20px solid #171717;
	border-bottom: 10px solid #000;
	background: url('design/header-back.png') repeat-x;
	height: 75px;
	padding: 0 10px;
}

#top-background header
{
	max-width: 800px;
	margin: auto;
	position: relative;
	top: 50%;
	bottom: 50%;
	transform: translateY(-50%);
}

#top-background header h1
{
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 10px;
	line-height: 22px;
}

#top-background header h2
{
	font-size: 12px;
	font-weight: normal;
	letter-spacing: 2px;
}

#content
{
	position : relative;
	min-height: 100%;
	background: linear-gradient(#bebebe 10px, #ececec 200px) left 0;
}

nav
{
	text-align: right;
	margin: 0px auto 10px auto;
	max-width: 800px;
	padding-top: 20px;
	line-height: 60px;
}

nav a
{
	margin: 0 5px;
	padding: 10px;
	color: #000;
	text-decoration: none;
	font-size: 16px;
	text-shadow: 1px 1px #999;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.25s ease 0.05s;
}

nav a:hover
{
	background: url('design/menu-item-hover.png');
	text-shadow: 0 0 5px #fff;
	padding-bottom: 20px;
	color: #000;
}

nav div
{
	display: inline-block;
}

nav div a
{
	margin: 0;
}

#page-background
{
	width: 800px;
	margin: auto;
	position: relative;	
	z-index: 1;
	background-image: url('design/page-border.png');
	padding: 10px;
}

#page
{
	background-color: white;
	padding: 20px 20px 80px 20px;
	border: 1px solid #b4b4b4;
	text-align: justify;
	hyphens: auto;
}

#page a
{
	text-decoration: none;
	color: #1c4c79;
}

#page a:hover
{
	color: #777;
}

#content footer
{
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 10;
	text-align: center;
	padding: 15px 0;
	background: #1f242a;
	font-size: 12px;
	color: #ccc;
	border-top: 2px solid #444;
}

#main-page-header
{
	background: url('design/corporate.jpg') no-repeat center center;
	height: 200px;
	margin: -20px -20px 0 -20px;
}

#main-page-header-shadow
{
	margin: 0 -20px;
	background: url('design/main-page-header-shadow.png') no-repeat center center;
	height: 13px;
}

#main-page-header-info
{
	position: relative;
	top: 10px;
	width: 270px;
	color: white;
	padding: 10px;
	font-size: 12px;
	text-align: left;
	background: rgba(0, 0, 0, 0.8);
}

#main-page-header-social
{
	position: relative;
	float: right;
	top: 100px;
	right: 20px;
}

#main-page-header-social a
{
	display: inline-block;
	transition: all 0.25s ease 0.05s;
	vertical-align: top;
}

#main-page-header-social a:hover
{
	padding-top: 10px;
}

#page h1
{
	background-image: url('design/title-back.png');
	font-size: 30px;
	text-transform: uppercase;
	padding: 10px 20px;
	font-weight: bold;
	margin: 20px -20px;
}

#page h2
{
	background-image: url('design/title-back.png');
	font-size: 15px;
	text-transform:uppercase;
	padding: 8px 10px;
	font-weight: bold;
	margin: 10px 0px;
}

#page .paragraph-title
{
	font-size: 15px;
	font-weight: bold;
	padding: 0 15px 0 0;
	display: inline-block;
	font-variant: small-caps;
}

#page .note
{
	border: 1px dotted #aaa;
	padding: 5px 10px;
	background-color: #fafafa;
	margin-bottom: 10px;
	font-style: italic;
}

.mini-icon
{
	vertical-align: middle;
}

#more
{
	background-color: #f0f0f0;
	padding: 5px 15px;
}

#more-title
{
	display: block;
	font-weight: bold;
}

#last-infos
{
	display: flex;
	flex-flow: row wrap;
}

#last-infos h1
{
	padding: 5px 10px;
	margin: 0;
	font-size: 14px;
}

#last-infos h1 a
{
	color: #000;
}


#last-infos .last-infos-block
{
	width: 50%;
	box-sizing: border-box;
	padding: 10px;
	padding-bottom: 10px;
	text-align: left;
}

#last-infos .last-infos-block:nth-child(even)
{
	padding-left: 5px;
}

#last-infos .last-infos-block:nth-child(odd)
{
	padding-right: 5px;
}

#last-infos .last-info
{
	padding: 0 10px;
	margin-bottom: 10px;
}

#last-infos .last-info h1
{
	background: none;
	margin: 0;
	padding: 0;
	text-transform: none;
}

#xp-page .xp-item
{
	padding-bottom: 10px;
}

#xp-page .xp-item + .xp-item
{
	border-top: 1px dotted #aaa;
	padding: 10px 0px;
}

#xp-page .xp-item h1
{
	padding: 0;
	margin: 0;
	background: none;
	font-size: inherit;
	text-transform: none;
}

#xp-page .xp-item .xp-publications ul
{
	padding: 0 0 0 15px;
	margin: 0;
}

#xp-page ul
{
	padding: 0 0 0 40px;
	margin: 0;
}

#xp-page .more
{
	padding-bottom: 15px;
	margin-top: -15px;
}

#xp-page .xp-item .xp-publications h1, #xp-page .xp-item .xp-skills h1
{
	padding-top: 5px;
}

#cv
{
	font-size: 14px;
}

#cv .cv-entry
{
	padding: 5px 0;
}

#cv .cv-entry + .cv-entry
{
	border-top: 1px dotted #aaa;
}

#cv .cv-time
{
	display: table-cell;
	width: 120px;
	font-weight: bold;
	text-align: left;
}

#cv .cv-time a
{
	text-decoration: none;
	color: #000;
	font-weight: normal;
}

#cv .cv-content
{
	display: table-cell;
}

#cv .cv-mission
{
	padding-bottom: 5px;
}


#cv h1
{
	background: none;
	padding: 0;
	font-size: 15px;
	margin: 10px 0;
	border-bottom: 1px solid #aaa;
}

#cv .mission-tag
{
	text-decoration: underline;
}

#cv .note
{
	font-size: 12px;
}

#contact-vcard
{
	text-align: center;
	margin: 50px 0px;
}

pre.code
{
	overflow: auto;
	word-wrap: normal;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-shadow: inset 0 0 5px #ccc;
	padding: 10px;
}

@media (max-width: 799px) 
{
	#header-name
	{
	}

	#menu
	{
		text-align: center;
		line-height: 40px;
	}

	#menu .menu-item:hover
	{
		padding-bottom: 10px;
	}
	
	#page
	{
		text-align: left;
	}
	
	#page-background
	{
		width: auto;
	}
	
	#main-page-header-shadow
	{
		background-size: 100% 13px;
	}

	#last-infos .last-infos-block
	{
		width: 100%;
		padding: 0;
	}

	#last-infos .last-info
	{
		padding: 0;
	}
	
	#cv .cv-time
	{
		display: block;
		width: auto;
		text-align: center;
		margin-bottom: 10px;
		font-size: 16px;
	}

	#cv .cv-content
	{
		display: block;
	}
}
