.horizontal.timeline {
	display: flex;
	position: relative;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 80%;
}

.horizontal.timeline:before {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 0.15em;
	background-color: var(--primary);
}

.horizontal.timeline .steps {
	display: flex;
	position: relative;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.horizontal.timeline .steps .step {
	display: block;
	position: relative;
	bottom: calc(100% + 1em);
	padding: 0.4em;
	margin: 0 2em;
	box-sizing: content-box;
	color: var(--white);
	background-color: currentColor;
	border: 0.16em solid var(--primary);
	border-radius: 50%;
	z-index: 500;
	line-height: normal
}

.horizontal.timeline .steps .step:first-child {
	margin-left: 0;
}

.horizontal.timeline .steps .step:last-child {
	margin-right: 0;
}

.horizontal.timeline .steps .step span {
	position: absolute;
	top: calc(100% + 1em);
	left: 50%;
	transform: translateX(-50%);
	color: var(--border);
	font-size: 12px;
	text-align: center;
	font-weight: 400;
	width: max-content;
}

.horizontal.timeline .steps .step.passed:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 1em;
	background-color: currentColor;
	border-radius: 50%;
	opacity: 0;
	z-index: -1;
	animation-name: animation-timeline-current;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-out;
}

.horizontal.timeline .steps .step:after {
	content: '';
    background: var(--primary);
    border-radius: 50%;
    width: 0.4em;
    height: 0.4em;
    position: absolute;
    background-size: cover;
    left: 4px;
    bottom: 4px;
}

.horizontal.timeline .steps .step.passed:after {
	content: '';
	background-image: url(../img/checked_white.svg);
	color: var(--white);
	width: 10px;
    height: 10px;
    position: absolute;
    background-size: cover;
    left: 2px;
    bottom: 2px;
}

.horizontal.timeline .steps .step.passed span {
	opacity: 1;
	font-weight: 600;
	color: var(--black);
}

.date {
	color: var(--border);
	font-weight: 400;
}

.horizontal.timeline .steps .step span div {
	margin-top: 5px;
}

.horizontal.timeline .steps .step.passed {
	color: var(--primary);
}