.horizontal-timeline {
	font-family: "K2D", sans-serif;
	opacity: 0;
	width: 100%;
	margin: 2em auto;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
	display: flex;
	flex-direction: column-reverse;
	margin-top: -163px;
}
.horizontal-timeline ol {
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
}

.horizontal-timeline::before {
	content: 'desktop';
	display: none;
}
.horizontal-timeline.loaded {
	opacity: 1;
}
.horizontal-timeline .touch-enabled {
	cursor: grab;
}
/* Timeline */
.horizontal-timeline .timeline {
	position: relative;
	height: 100px;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
	display: flex;
	-ms-flex-wrap: wrap;
    	flex-wrap: wrap;
}
.horizontal-timeline .events-wrapper {
	position: relative;
	height: 100%;
	-ms-flex: 1 1 auto!important;
    	flex: 1 1 auto!important;
}
.horizontal-timeline .events {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 30px;
	height: 2px;
	width: 100% !important; /* Force 100% width */
	background: #398C7B;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}
/* Filling line */
.horizontal-timeline .filling-line {
	position: absolute;
	z-index: 100;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: #398C7B;
	-webkit-transform: scaleX(0);
	-moz-transform: scaleX(0);
	-ms-transform: scaleX(0);
	-o-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-ms-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
}
/* Event dates on the timeline */
.horizontal-timeline .events a {
	position: absolute;
	bottom: auto;
	top: 0;
	text-align: center;
	text-decoration: none;
	padding-top: 15px;
	color: #8E8E8E;
	transform: translateX(-50%);
	font-size: 14px;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	user-select: none;
}
/* Dots for the event dates on the timeline */
.horizontal-timeline .events a::after {
	content: '';
	position: absolute;
	left: 50%; /* Center the dot */
	transform: translateX(-50%); /* Center the dot */
	top: -5px;
	height: 12px;
	width: 12px;
	border-radius: 50%;
	background-color: #398C7B;
	-webkit-transition: background-color 0.3s, border-color 0.3s;
	-moz-transition: background-color 0.3s, border-color 0.3s;
	transition: background-color 0.3s, border-color 0.3s;
}
/* Stop mouse pointer events on a selected event */
.horizontal-timeline .events a.selected {
	pointer-events: none;
	color: #484848;
}
.horizontal-timeline .events a.selected::after, 
.horizontal-timeline .events a.older-event::after {
	background-color: #398C7B;
}

.horizontal-timeline .events a.selected::after {
	width: 18px;
	height: 18px;
	top: -8px;
}

/* Navigation */
.timeline-navigation {
	position: relative;
	top: 3px;
	-webkit-transform: translateY(50%);
	-moz-transform: translateY(50%);
	-ms-transform: translateY(50%);
	-o-transform: translateY(50%);
	transform: translateY(50%);
	z-index: 2;
}
.timeline-navigation#leftNav {
    left: 1px;
}
.timeline-navigation#rightNav {
	left: 62px;
}
.timeline-navigation a {
	position: relative;
	display: inline;
    text-decoration: none;
    color: #000;
	width: 50px;
	height: 50px;
	border-radius: 100%;
	background-color: #398C7B;
}

.timeline-navigation a:hover {
	color: #398C7B;
	border-color: #398C7B;
}

.timeline-navigation .prev-arr::before,
.timeline-navigation .next-arr::before {
	content: '';
	position: absolute;
	width: 14px;
	height: 12px;
	top: 50%;
	left: 50%;
}

.timeline-navigation .prev-arr::before {
	background: url('http://feeo-y2l6.wp1.site/wp-content/uploads/2024/12/ico-right-arr.svg')no-repeat center/contain;
    transform: translate(-50%, -50%) rotate(180deg);
}

.timeline-navigation .prev-arr.inactive::before {
	background: url('http://feeo-y2l6.wp1.site/wp-content/uploads/2024/12/ico-left-arr.svg')no-repeat center/contain;
    transform: translate(-50%, -50%);
}

.timeline-navigation .next-arr::before {
	background: url('http://feeo-y2l6.wp1.site/wp-content/uploads/2024/12/ico-right-arr.svg')no-repeat center/contain;
    transform: translate(-50%, -50%);
}

.timeline-navigation .next-arr.inactive::before {
	background: url('http://feeo-y2l6.wp1.site/wp-content/uploads/2024/12/ico-left-arr.svg')no-repeat center/contain;
    transform: translate(-50%, -50%) rotate(180deg);
}

/* Inactive */
.timeline-navigation a.inactive {
	cursor: not-allowed;
	background-color: #EDEDED;
}
/* Autoplay Pause/Play button */
.timeline-navigation#pausePlay {
	width: 100%;
	top: -10px;
	text-align: center;
}
/* Event content */
.horizontal-timeline .events-content {
	position: relative;
	margin: 2em 0;
	margin-left: auto;
   	margin-right: auto;
	-webkit-transition: height 0.4s 0.2s;
	-moz-transition: height 0.4s 0.2s;
	transition: height 0.4s 0.2s;
}

.horizontal-timeline .events-content li h4 {
	color: #000;
	font-weight: 500;
	font-size: 24px;
	text-align: left;
}

.horizontal-timeline .events-content li p {
	font-size: 18px;
	color: #545454;
	text-align: left;
}

/* Events content navigation */
.horizontal-timeline .events-content .timeline-navigation {
    position: absolute;
	top: 50%;
    z-index: 2;
}

.horizontal-timeline .events-content .timeline-navigation#pausePlay {
    right: 0;
    bottom: 0;
    height: auto;
}

.horizontal-timeline .events-content .timeline-navigation a {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

.horizontal-timeline .events-content .timeline-navigation#pausePlay a {
    top: auto;
    transform: none;
    margin-bottom: 10px;
}

.horizontal-timeline .events-content {
    position: relative;
    width: 100%;
    transition: height 0.4s;
}

.horizontal-timeline .events-content .timeline-navigation.prev {
	left: 0;
}

.horizontal-timeline .events-content .timeline-navigation.next {
	right: 0;
}

/* Autoplay progress bar */
.horizontal-timeline .events-content .progressBarWrapper {
	position: absolute;
	width: 100%;
	height: 4px;
	margin-top: -4px;
	padding: 0 20px;
}
.horizontal-timeline .events-content .progressBar {
  	width: 0%;
  	max-width: 100%;
  	height: inherit;
  	background: #398C7B;
}

.horizontal-timeline .events-content li {
	display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.horizontal-timeline .events-content li .items-content {
	width: 433px;
	margin-right: 30px;
}

.horizontal-timeline .events-content .item-image {
	max-width: 569px;
	width: 100%;
}

.horizontal-timeline .events-content li[data-horizontal-timeline],
.horizontal-timeline .events-content li[data-date] {
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	margin: auto;
	border-radius: 20px;
	opacity: 0;
	font-size: 16pt;
	text-align: center;
	
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
	
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s;
	transition: opacity 1s;
}
/* The selected events content */
.horizontal-timeline .events-content li[data-horizontal-timeline].selected,
.horizontal-timeline .events-content li[data-date].selected {
	position: relative;
	z-index: 2;
	opacity: 1;
}
/* Event content animations */
.horizontal-timeline .events-content li.enter-right, 
.horizontal-timeline .events-content li.exit-right {
	-webkit-animation-name: timeline-enter-right;
	-moz-animation-name: timeline-enter-right;
	animation-name: timeline-enter-right;
}
.horizontal-timeline .events-content li.enter-left, 
.horizontal-timeline .events-content li.exit-left {
	-webkit-animation-name: timeline-enter-left;
	-moz-animation-name: timeline-enter-left;
	animation-name: timeline-enter-left;
}
.horizontal-timeline .events-content li.exit-right, 
.horizontal-timeline .events-content li.exit-left {
	-webkit-animation-direction: reverse;
	-moz-animation-direction: reverse;
	animation-direction: reverse;
}
/* Speed */
.horizontal-timeline .events-content li.animationSpeed {
	-webkit-animation-duration: 0.4s;
	-moz-animation-duration: 0.4s;
	animation-duration: 0.4s;
}
/* Custom code */

@-webkit-keyframes timeline-enter-right {
	0% {
		 opacity: 0;
		 -webkit-transform: translateX(100%);
	}
	100% {
		opacity: 1;
		-webkit-transform: translateX(0%);
	}
}
@-moz-keyframes timeline-enter-right {
	0% {
		 opacity: 0;
		 -moz-transform: translateX(100%);
	}
	100% {
		 opacity: 1;
		 -moz-transform: translateX(0%);
	}
}
@keyframes timeline-enter-right {
	0% {
		 opacity: 0;
		 -webkit-transform: translateX(100%);
		 -moz-transform: translateX(100%);
		 -ms-transform: translateX(100%);
		 -o-transform: translateX(100%);
		 transform: translateX(100%);
	}
	100% {
		 opacity: 1;
		 -webkit-transform: translateX(0%);
		 -moz-transform: translateX(0%);
		 -ms-transform: translateX(0%);
		 -o-transform: translateX(0%);
		 transform: translateX(0%);
	}
}
@-webkit-keyframes timeline-enter-left {
	0% {
		 opacity: 0;
		 -webkit-transform: translateX(-100%);
	}
	100% {
		 opacity: 1;
		 -webkit-transform: translateX(0%);
	}
}
@-moz-keyframes timeline-enter-left {
	0% {
		 opacity: 0;
		 -moz-transform: translateX(-100%);
	}
	100% {
		 opacity: 1;
		 -moz-transform: translateX(0%);
	}
}
@keyframes timeline-enter-left {
	0% {
		 opacity: 0;
		 -webkit-transform: translateX(-100%);
		 -moz-transform: translateX(-100%);
		 -ms-transform: translateX(-100%);
		 -o-transform: translateX(-100%);
		 transform: translateX(-100%);
	}
	100% {
		 opacity: 1;
		 -webkit-transform: translateX(0%);
		 -moz-transform: translateX(0%);
		 -ms-transform: translateX(0%);
		 -o-transform: translateX(0%);
		 transform: translateX(0%);
	}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	/* Never visible - this is used in jQuery to check the current MQ */
	.horizontal-timeline::before {
		content: 'tablet';
	}
	.horizontal-timeline {
		margin-top: 0;
	}
	.horizontal-timeline .events-content .item-image {
		max-width: 425px;
	}
	.horizontal-timeline .events-content .timeline-navigation {
		top: 30%;
	}
}
@media only screen and (max-width: 768px) {
	/* Never visible - this is used in jQuery to check the current MQ */
	.horizontal-timeline::before {
		content: 'mobile';
	}

	.horizontal-timeline {
		margin-top: 0;
	}

	.horizontal-timeline .timeline {
		margin: -320px 0 0;
	}

	.horizontal-timeline .events-content li {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
	}

	.horizontal-timeline .events-content .item-image {
		max-width: 350px;
		margin-bottom: 185px;
	}

	.horizontal-timeline .events-content li .items-content {
		width: 100%;
		margin-right: 0;
	}

	.horizontal-timeline .events-content .timeline-navigation {
		top: unset;
		bottom: 140px;
	}
}
