/** components for timeline including awards and news timeline for elearning */
/* also application deadlines on services pages */

/* content wrappers */
.online-timeline-wrap {
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
/* keep schedule timelines compact so the middle date column doesn't over-stretch */
.online-timeline-wrap:has(.online-timeline--schedule) { max-width: 37rem; margin-inline: auto; }
.online-timeline-row {
	display: flex;
	position: relative;
	flex-direction: row;
	width: 100%;
	min-width: 0;
}
/* primitive for stacked semi-timeline-y things */
.online-timeline-row--stacked {
	display: block;
	margin-bottom: 1rem;
	position: relative;
	width: 100%;
	clear: both;
	min-width: 0;
}
.online-timeline-spine { position: relative; min-width: 100px; }
.online-timeline-content { flex: 1 1 auto; min-width: 0; }
.online-timeline-row--stacked .online-timeline-content {
	margin-top: -10px;
	margin-left: 4px;
	width: 100%;
	min-width: 0;
}

/* markers and spines */
.timeline-marker {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
/* default circle node */
.timeline-marker--circle {
	width: 60px;
	height: 60px;
	background-color: var(--fau-blue);
	color: #ffffff;
	border-radius: 50%;
	font-size: 0.85rem;
	font-weight: bold;
	text-align: center;
	line-height: 1.15;
	padding: 0.4rem;
	margin: 5px 0;
}
/* pill node */
.timeline-marker--pill {
	width: 120px;
	height: 20px;
	background: var(--fau-red);
	color: #fff;
	border-radius: 12px;
	font-weight: bold;
	text-align: center;
	position: relative;
	margin-top: 12px;
	padding: 4px;
}
/* tinted pill node */
.online-timeline--schedule .timeline-marker--pill {
	width: 100%;
	height: 2.25rem;
	min-height: 2.25rem;
	margin-top: 0;
	border-radius: 999px;
	padding: 0 1rem;
	font-family: var(--font-family-heading);
	line-height: 1;
	white-space: nowrap;
	font-size: 0.75rem;
	background-color: rgba(var(--timeline-accent-rgb), 0.08);
	border: 2px solid var(--timeline-accent);
	color: var(--timeline-accent);
}
/* plain in-line node */
.timeline-marker--plain {
	font-weight: bold;
	text-align: center;
	line-height: 1;
	color: var(--fau-blue);
	margin-top: 12px;
	padding: 4px 0;
}
/* spine connectors */
.timeline-spine-line {
	position: absolute;
	left: 20px;
	top: 20px;
	bottom: 20px;
	width: 2px;
	z-index: 0;
	box-sizing: border-box;
	pointer-events: none;
}
.timeline-spine-line--dotted { border-left: 6px dotted var(--fau-red); width: 6px; }
.timeline-spine-line--solid { width: 2px; background-color: var(--fau-blue); border-radius: 999px; }

/* scoped variant for faux-table cycle schedules */
.online-timeline--schedule {
	--timeline-accent: var(--fau-blue);
	--timeline-accent-rgb: var(--fau-blue-rgb);
	list-style: none;
	padding: 0;
	margin: 0;
}
.online-timeline--schedule.online-timeline--dark        { --timeline-accent: var(--dark-gray);   --timeline-accent-rgb: var(--dark-gray-rgb); }
.online-timeline--schedule.online-timeline--medium-blue { --timeline-accent: var(--medium-blue); --timeline-accent-rgb: var(--medium-blue-rgb); }
.online-timeline--schedule.online-timeline--slate       { --timeline-accent: var(--slate-gray);  --timeline-accent-rgb: var(--slate-gray-rgb); }
.online-timeline--schedule .online-timeline-row { align-items: stretch; gap: 1.5rem; margin-bottom: 0.35rem; }
.online-timeline--schedule .timeline-marker--plain {
	width: 100%;
	height: auto;
	min-height: 2.75rem;
	margin-top: 0;
	padding: 0 0.5rem;
	font-family: var(--font-family-heading);
	font-size: 1.05rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.2;
	white-space: nowrap;
	color: var(--timeline-accent);
}
.online-timeline--schedule .online-timeline-spine {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 140px;
	width: 140px;
}
.online-timeline--schedule .timeline-spine-line--dotted {
	position: static;
	flex: 1 1 auto;
	min-height: 1rem;
	width: 6px;
	margin-top: 0.35rem;
}
.online-timeline--schedule .online-timeline-row:last-child .timeline-spine-line--dotted { display: none; }
.online-timeline--schedule .online-timeline-content { flex: 1 1 0%; min-width: 0; padding-bottom: 1.25rem; }
.online-timeline--schedule .online-timeline-row:last-child .online-timeline-content { padding-bottom: 0; }
/* end of scopes */

/* header for table-timeline hybrid things */
.online-timeline-header {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
	padding-bottom: 0.6rem;
	margin-bottom: 0.5rem;
	border-bottom: 2px solid var(--medium-gray);
	font-family: var(--font-family-body);
	font-size: var(--font-size-s);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1;
	color: var(--dark-gray);
	background-color: var(--light-gray);
	padding: 0.4rem 0;
	border-top: 1px solid var(--medium-gray);
	border-bottom: 2px solid var(--medium-gray);
	align-items: flex-start;
}
.online-timeline-header-term { flex: 0 0 140px; width: 140px; text-align: center; }
.online-timeline-header-deadline {
	flex: 1 1 0%;
	min-width: 0;
	text-align: left; 
	text-align: center;
	align-items: center;
	justify-content: center;
}
.online-timeline-header-action { flex: 0 0 180px; width: 180px; text-align: center; }
.online-timeline-milestone {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	min-height: 1.75rem;
}
.online-timeline-deadline {
	flex: 1 1 0%;
	min-width: 0;
	height: 2.75rem;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	border-bottom: 2px solid var(--medium-gray);
}
/* mobile headers/smaller screens only for vertical stack */
.online-timeline-deadline-label {
	display: none;
	font-size: var(--font-size-xxs);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--dark-gray);
	line-height: 1.2;
	margin-bottom: 0.15rem;
}
.online-timeline-deadline-date {
	display: block;
	font-family: var(--font-family-body);
	font-size: 1.05rem;
	font-weight: var(--font-weight-bold);
	color: var(--timeline-accent);
	line-height: 1.2;
}
.online-timeline-action { flex: 0 0 180px; width: 180px; }
/* button stuff to override padding and change the focus ring since it will merge in with the red button */
.online-timeline-action .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.25rem;
	border: 2px solid var(--fau-red);
	border-radius: 999px;
	background-color: var(--fau-red);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: var(--font-weight-bold);
	line-height: 1;
	text-decoration: none !important;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.online-timeline-action .btn:hover {
	background-color: var(--fau-blue);
	border-color: var(--fau-blue);
	color: #ffffff;
	text-decoration: none !important;
	transform: translateY(-1px);
}
.online-timeline-action .btn:focus-visible {
	outline: 0 !important;
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px var(--fau-blue) !important;
}
@media (max-width: 767.98px) {
	.online-timeline-header { display: none; }
	.online-timeline-deadline-label { display: block; }
	.online-timeline-deadline { height: auto; padding-bottom: 0.4rem; align-items: flex-start; text-align: left; }
	.online-timeline--schedule .online-timeline-spine { flex: 0 0 136px; width: 136px; }
	.online-timeline-milestone { flex-direction: column; align-items: stretch; gap: 0.65rem; }
	.online-timeline-action { flex: 1 1 auto; width: 100%; font-size: 0.5rem; }
}