.custom-timeline-boxes { 
	--custom-timeline-color: #57A734;
	counter-reset:timeline;
	position: relative;
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	gap: 5px;
	margin: 0;
	padding: 0;
	height: var( --custom-timeline-box-height );
} 
.custom-timeline-boxes *,
.custom-timeline-boxes:after, 
.custom-timeline-boxes:before,
.custom-timeline-boxes *:after, 
.custom-timeline-boxes *:before {
	box-sizing: border-box;
}
.custom-timeline-boxes:before {
	content: "";
	position: absolute;
	top: calc( 50% - 1px );
	width: calc( 100% - calc( var( --custom-timeline-box-width ) / 2 ) );
	height: 3px;
	background: var( --custom-timeline-color );
}
.custom-timeline-boxes .custom-timeline-box { 
	display: flex;
	width: var( --custom-timeline-box-width );
	counter-increment:timeline;
	align-self: flex-start;
	margin-left: calc( var( --custom-timeline-box-width ) / -4 );
	margin-right: calc( var( --custom-timeline-box-width ) / -4 );
	height: calc( 50% );
	text-align: center;
	position: static !important;
}
.custom-timeline-boxes .custom-timeline-box:nth-child(2n) {
	align-self: flex-end;
}
.custom-timeline-boxes .custom-timeline-box > .wp-block-group {
	position: relative;
	padding: 10px;
	/* border: 1px var( --custom-timeline-color ) solid; */
	align-self: flex-start;
}
.custom-timeline-boxes .custom-timeline-box:nth-child(2n - 1) > .wp-block-group {
	align-self: flex-end;
	margin-top: auto;
}
.custom-timeline-boxes .custom-timeline-box:before {
	content: counter(timeline);
	position: absolute;
	top: 50%;
	margin-left: calc(var(--custom-timeline-box-width) / 2);
	color: #fff;
	transform: translate(-50%, -50%);
	border: 10px #e8faee solid;
	width: 45px;
	height: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	line-height: 1;
	background: var(--custom-timeline-color);
	font-size: 20px;
	padding: 20px;
}
.custom-timeline-boxes .custom-timeline-box:after {
	content: url('../img/custom-timeline-arrow-up.svg');
	position: absolute;
	top: calc(50% - 80px);
	margin-left: calc(var(--custom-timeline-box-width) / 2 - 45px);
}
.custom-timeline-boxes .custom-timeline-box:nth-child(2n):after {
	top: calc(50% - 3px);
	transform: scaley(-1);
}
.custom-timeline-boxes .custom-timeline-box:nth-child(2n - 1) {
	padding-bottom: 80px;
}
.custom-timeline-boxes .custom-timeline-box:nth-child(2n) {
	padding-top: 80px;
}
.custom-timeline-boxes .custom-timeline-box > .wp-block-group:before {
	/* content: ""; */
	position: absolute;
	left: 50%;
	top: 100%;
	width: 20px;
	height: 20px;
	transform: translate(-50%, -1px) rotateZ(45deg);
	background: #fff;
}
.custom-timeline-boxes .custom-timeline-box:nth-child(2n - 1) > .wp-block-group:before {
	top: 100%;
	margin-top: -8px;
	border-right: 1px var(--custom-timeline-color) solid;
	border-bottom: 1px var(--custom-timeline-color) solid;
}
.custom-timeline-boxes .custom-timeline-box:nth-child(2n) > .wp-block-group:before {
	top: 0;
	margin-top: -10px;
	border-left: 1px var(--custom-timeline-color) solid;
	border-top: 1px var(--custom-timeline-color) solid;
}
@media (max-width: 780px) {
	.custom-timeline-boxes {
		flex-direction: column;
		height: auto;
		border-left: 3px var(--custom-timeline-color) solid;
		margin-left: 25px !important;
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
	.custom-timeline-boxes::before {
		content: unset;
	}
	.custom-timeline-boxes .custom-timeline-box:before {
		margin-left: 0;
		top: 30px;
		left: -26px
	}
	.custom-timeline-boxes .custom-timeline-box:after {
		content: unset;
	}
	.custom-timeline-boxes .custom-timeline-box {
		display: flex;
		width: auto;
		counter-increment: timeline;
		align-self: flex-start;
		margin-left: 0;
		margin-right: 0;
		height: auto;
		position: relative !important;
		text-align: left;
	}
	.custom-timeline-boxes .custom-timeline-box:nth-child(2n) {
		padding-top: 0px;
	}
	.custom-timeline-boxes .custom-timeline-box:nth-child(2n - 1) {
		padding-bottom: 0px;
	}
}