
#timeline_wrapper {
	width: 100%;	
}
.timeline {
  position: relative;
}

/* sticky bars */

.timeline-bars {
  position: sticky;
  top: calc(100vh - 500px);      /* stick position */
  width: 100%;      /* span the viewport width */
  height: 10px;      /* bar thickness */
}

.timeline-bars.unstick {
  position: absolute;   /* stops sticking */
  top: auto;
  bottom: 400px;        /* same offset as releaseOffset */
}

.bar {
	position: absolute;
	width: 100px;     /* length of each gold segment */
	 height: 10px;      /* bar thickness */
	background: var(--gold);
	top: 200px; /* halfway down each "item" */

}

.bar.left { 
	left: 0; 
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}
.bar.right { 
	right: 0; 
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

/* main timeline content */
#timeline-content {
    position: relative;
	margin-left: 240px;
	max-width: 1050px;
	top: -5px;

}


/* each item */
.timeline-item {
	position: relative;

}
.timeline-item .timeline-year {
	position: absolute;
	left: -90px;
	font-weight: 700;
	font-size: 1.3em;
	color: #fff;
	top: 175px;
	background-color: var(--red);
	width: 38px;
	height: 38px;
	line-height: 38px;
	border-radius: 40px;
	text-align: center;
}
.timeline-item .timeline-dots {
	position: absolute;
  	left: -73px;
  	top: 50px;
	top: calc(175px + 50px);
}

/** dots **/
/* height + margin-bottom must add up to 30px */
.timeline-item .timeline-dots .dot {
	width: 10px;
	height: 10px;
	margin-bottom: 20px;
	border: 1px solid var(--gold);
	background: #fff;	
	border-radius: 15px;
	transition: all 0.2s ease-in-out;
}

.timeline-item .timeline-dots .dot.active {
	background: var(--gold);
}
.timeline-item .timeline-content {
	transition: all 0.75s ease-out;
	margin-bottom: 30px;
}
.tc-inner {
	 display: grid;
	grid-template-columns: 570px 1fr; /* first column fixed, second fills remaining */
	column-gap: 30px; /* gutter between columns */
	align-items: center; /* centers items vertically in each row */
}
.tc-inner .tc-image {
	aspect-ratio: 570/400;
}
.tc-inner .tc-image img {
	display: block;
}
.tc-inner .tc-text p:last-of-type {
	margin-bottom: 0;	
}
.tc-inner .process_stage {
	display: none;	
}
/* indent video in time-lines */
#fortem_ident_video_timeline  {
	height: 100%;
	display: flex;
	 align-items: center;
  	justify-content: center;
}
/* website video - timeline */
#fortem_website_video_timeline {
	overflow: hidden;
	height: 100%;

}
#fortem_website_video_timeline video {
	margin-top: -1px;	
}
/* image in "brief" section */
#brief_image {
	padding-top: 2em;	
}


@media(max-width: 1480px) {
	.bar.right { 
		display: none; 
	}
}

@media(max-width: 1410px) {
	#timeline-content {
		 padding-right: 45px; /* as the AOS animation causes a horizontal scrollbar */
	}
}
@media(max-width: 1300px) {
	.bar {
		width: 50px;
	}
	#timeline-content {
		margin-left: 170px;
	}
	.tc-inner {
		grid-template-columns:400px 1fr; /* first column fixed, second fills remaining */
		height: 400px;
	}
}

@media(max-width: 1120px) {
	#timeline-content {
		margin-left: 30px;
	}
	
}

@media(max-width: 900px) {
	#process_brief .col-2  {
		display: none;
	}
	#timeline_wrapper {
		width: 96%;
	}
	#timeline-content {
		margin-left: 0;
	}
	#timeline-content {
		 padding-right: 0; /* as the AOS animation causes a horizontal scrollbar */
	}
	.timeline-bars {
		display: none;	
	}
	.tc-inner {
		display: flex;
		flex-direction: column-reverse;
		align-items: flex-start;
		height: auto;
	}
	.tc-inner .tc-text {
		margin-bottom: 30px;
		max-width: 570px;
	}
	.tc-inner .process_stage {
		display: inline;	
	}
	.tc-inner .tc-image {
		aspect-ratio: auto;
		width: 95%;
		margin: 0 auto;
	
	}
}


@media(max-width: 740px) {
	#process_outcome .col-1,
	#process_outcome .col-2 {
		grid-column: auto;
	}
	#process_outcome .col-2 .content {
		max-width: 300px;
			
	}
}