body {
	
    padding: 50px;
    padding-bottom: 250px;
}

main {
    position: relative;
}

.scale {
	left: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	width: 150px;
	z-index: 1;
}

	.scale .millenium,
	.scale .century,
	.scale .decade {
		position: absolute;
	}

		.scale .millenium {
			font-size: 1.6em;
		}


		.scale .millenium span,
		.scale .century span {
			display: block;
			text-align: center;
			float: left;
			height: 30px;
			line-height: 30px;
			margin-top: -16px;
		}

		.scale .millenium::before,
		.scale .century::before,
		.scale .decade::before {
			content: "";
			background-color: #000;
			margin-right: 10px;
			height: 1px;
			display: block;
			float: left;
		}

		.scale .millenium::before { width: 70px; }
		.scale .century::before { width: 30px; }
		.scale .decade::before { width: 10px; }


.timeline {
	margin-left: 150px;
	position: relative;
	height: 20px;
}


.anchor {
	position: absolute;
	width: 32px;
	white-space: nowrap;
}
	
	.anchor::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 8px;
		/* border-left: 8px solid; */
		background-color: #000;
	}
	.anchor.ponctual::before {
		border-radius: 50%;
	}

	
	
.timeline .dateContainer {
	display: inline-block;
	position: relative;
	height: 100%;
}

	.timeline .time {
		display: block;
	}


.timeline .linkWrapper {
	padding: 4px 5px;
    display: inline-block;
    margin-left: 30px;
    vertical-align: top;
    background-color: #fff;
    margin-top: 0px;
    z-index: 2;
    transform: rotate(90deg);
    transform-origin: left top;
    overflow: hidden;
    text-overflow: ellipsis;
    position: sticky;
    max-width: 200px;
    margin-bottom: 200px;
    top: 0;
    padding-left: 0;
    padding-bottom: 0px;
}
	/*.perso .linkWrapper, */
	.perso::before { background-color: #f3ed9e;}
	/*.civilisation .linkWrapper,*/
	.civilisation::before { background-color: #9ff39e; }
	/*.bataille .linkWrapper,*/
	.bataille::before { background-color: #f39e9e; }

	.timeline .linkWrapper:hover {
		overflow: visible;
		max-width: none;
	}

	.timeline .linkWrapper a {
		text-decoration: none;
		font-family: Arial;
		color: #000;
		padding-left: 2px; 
		padding-right: 2px; 
		margin-left: 2px;
	}
		.timeline .linkWrapper a:hover {
			text-decoration: underline;
		}
		.timeline .linkWrapper a:not(:first-child) {
			border-left: 1px solid;
			margin-left: 2px;
		}