
body{
	background-image: url("imgs/cream-pixels.png");
    font-family: arial;
	font-size: 10pt;
	margin: 0;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
}

.page {
	width: 21cm;
	padding: 10px 12px;
	box-sizing: border-box;
	margin: auto;
}

#entete {
	width: 100%;
}

#entete .fa {
	color: #4E443C;
}

#identite {
	width: 29%;
	border: 2px groove;
	padding: 0 10px;
	box-shadow: 0 1px 6px rgba(0,0,0,0.2);
	line-height: 1.4;
}

#identite a {
	font-size: 0.9em;
}

#fonction {
	text-align: center;
	font-family: Georgia,serif;
	font-variant: small-caps;
	font-size: 2em;
	color: #4E443C;
	text-shadow: 0px 4px 4px rgba(0,0,0,0.2);
}

#fonction>hr {
	opacity: 0.5;
	margin: 9px 42% 0;
}

#skills {
	font-size: 0.75em;
}

#photo {
	text-align: right;
}

#photo div {
	border-radius: 100px;
	overflow: hidden;
}

#photo img {
	height: 120px;
	vertical-align: middle;
	border-radius: 9px;
	box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

#nom {
	font-weight: bold;
}

#eit-logo {
	position: absolute;
	width: 50px;
	left: -100px;
	top: -18px;
}

#tb-logo {
	position: absolute;
	width: 50px;
	left: -100px;
	top: 60px;
}

a {
	color: #0777BF;
	text-decoration: none;
}

a>img {
	transition: all 0.3s;
	transform: scale(1);
}

a>img:hover {
	transform: scale(1.2);
}

h1 {
	font-family: Georgia,serif;
	font-variant: small-caps;
	font-weight: normal;
	color: #4E443C;
	margin: 10px 0 -8px 0;
}

.pagebreak {
	page-break-before: always;
}

#description {
	margin: 12px 46px;
	font-style: italic;
	text-align: justify;
}

#hist{
    padding: 10px 0 0 60px
}

#hist > ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    top:0
}

/* Timeline */
#hist > ul:before{
    content: "";
    display: block;
    width: 0;
    height: 100%;
    border-left: 1pt dashed #134a56;
    position: absolute;
    top:0;
    left: 32.5px;
}

#hist > ul > li{
    margin: 0px 46px 12px;
    position: relative;
    padding: 4px 20px;
    background-color: #fff;
	background-image: url("imgs/cream-paper.png");
    color:#134a56;
	border-style: solid;
	border-width: 1pt;
	box-shadow: 0 2px 8px rgba(100,100,100,0.6);
}

#hist .subelement {
	margin: 0px 64px 12px;
}

#hist .subelement .main-line {
	left:-33px;
}

#hist .subelement .outer-line {
	left:-43px;
}

#hist .subelement .outer-outer-line {
	left:-50px;
}

#hist .first-element {
	border-radius: 10px 10px 0 0;
}

#hist .last-element {
	border-radius: 0 0 10px 10px;
}

#hist .full-element {
	border-radius: 10px;
}

#hist .place-icon {
	float: right;
	height: 52px;
}

#hist .timeline{
    content: "";
    display: block;
    width: 0;
	height: calc(100% + 16px);
    position: absolute;
	border-left: 2px solid #134a56;
	top: 0;
}

#hist .main-line{
    left:-15px;
}

#hist .outer-line{
    border-color: #0e4093;
    left:-25px;
}

#hist .outer-outer-line{
    border-color: #b1bc00;
    left: -32px;
}

#hist .end-line{
    height: 100%;
}

#hist .end-line:after, #hist .start-line:before{
	content: "";
	position: absolute;
    height: 0;
}

#hist .end-line:after{
	bottom: 0;
}

#hist .outer-line.end-line:after, #hist .outer-line.start-line:before{
	width: 10px;
    border-top: 2px solid #0e4093;
	left: -1px;
}

#hist .outer-outer-line.end-line:after, #hist .outer-outer-line.start-line:before{
	width: 17px;
    border-top: 2px solid #b1bc00;
	left: -1px;
}

#hist .line-horiz-blue {
	position: absolute;
	height: 0;
	width: 23px;
	border-top: 2px solid #0e4093;
	margin-top: 10px;
	z-index: 10;
}

#hist .line-horiz-green {
	position: absolute;
	height: 0;
	width: 16px;
	border-top: 2px solid #b1bc00;
	margin-top: 100px;
}

#hist .timeline > span {
    position: absolute;
    right: 8px;
    color: #134a56;
    font-size: 90%;
    font-weight: bold;
	width: 80px;
	text-align: right;
	top: 30%;
}

#hist .timeline > span:after{
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f9ddb5; /*#ff6d6d;*/
    border: 2px solid #134a56;
	display: inline-block;
    position: relative;
    left: 14px;
	top: 2px;
}

#hist .title {
    font-weight: 700;
	position: absolute;
	top: -8px;
	background-color: #fff;
	background-image: url("imgs/old-map.png");
	border-radius: 4px;
	border-width: 1pt;
	border-style: solid;
	padding: 0 8px;
}

#hist .place {
	margin-top: 12px;
}

#hist .name{
    margin-top: 10px;
    text-transform: capitalize;
    font-style: italic;
    text-align: right;
    margin-right: 20px
}

#hist hr {
	border: none;
	height: 1pt;
	background-color: #134a56;
}

.contenu p, .contenu ul {
	margin: 4px 0;
}

.contenu ul {
	font-size: 0.8em;
	list-style-type: none;
	padding-left: 22px;
	margin-top: -2px;
}


#exp div {
	display: inline-block;
	background-image: url("imgs/old-map.png");
	background-color: #f9ddb5; /*#efce9d;*/
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	margin-bottom: 12px;
	padding: 3px 10px;
	border: 1pt solid #ba880c;
	border-radius: 7px;
}

#exp div > u {
	font-style: italic;
}

#exp td {
	width: 50%;
}


#projets {
	column-count: 2;
}

#projets ul {
	list-style-type: none;
	margin: 4px 0;
	padding-left: 25px;
}

#projets li:before {
	content: "- ";
}

#projets .extra {
	float: left;
	margin-left: 4px;
	margin-top: 3px;
}

@media print {
	.page {
		height: 29.7cm;
		background-image: url("imgs/cream-pixels.png");
	}
	
	.body {
		background-image: initial;
	}
	
	#fonction {
		text-shadow: initial;
	}
}
