/* Reports */

/* Tabs */

.tab-title:is(:hover, :focus) {
	text-decoration: underline;
}
.report-tab-header p {
	margin-bottom: 1rem;
}
.report-tab-header .bg-accent-yellow {
	margin-top: -20px;
	margin-left: -20px;
	max-width: calc(100% + 20px);
}
.report-tab-header .bg-accent-yellow :is(strong, b) {
	font-size: var(--font-size--medium);
	line-height: 1.2;
}
.tab-content a {
	color: var(--secondary-blue);
}


/* Tables */

div.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable,
div.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable {
	margin: 0;
}
div.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,
div.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th {
	font-weight: bold;
}


/* Timeline */

#fok-timeline {
	display: flex;
	flex-direction: column;
	row-gap: 40px;
}

#timeline-year-links {
	flex-wrap: wrap;
	justify-content: flex-end;
	position: sticky;
	top: 87px;
	z-index: 2;
}
body.admin-bar #timeline-year-links {
	top: 117px;
}
body[data-builder-window="iframe"] #timeline-year-links {
	position: static;
}

.fok-year,
.fok-date {
	color: var(--primary-blue);
	justify-self: center;
	text-align: center;
}
.fok-year {
	display: flex;
	align-items: center;
	gap: 2rem;
	font-family: var(--body-font);
	font-size: var(--font-size--x-large);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.1;
	margin: 2rem 0;
	width: 100%;
}
.fok-year::before, .fok-year::after {
	background-color: var(--primary-blue);
	content: '';
	flex-grow: 1;
	height: 2px;
	position: relative;
	top: 0.1em;
}
.fok-date {
	font-size: var(--font-size--large);
	font-weight: 500;
	line-height: 1.1;
	margin-bottom: 0;
}
.fok-entry + .fok-date {
	margin-top: 2rem;
}

.fok-entry {
	padding-left: 55px;
}
.fok-entry-title {
	font-size: var(--font-size--medium);
	margin-bottom: 1rem;
}
.fok-entry-title::before {
	content: '';
	display: block;
	font-family: 'Font Awesome 6 Solid';
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	text-align: center;

	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 34px;
	height: 34px;

	float: left;
	margin-left: -55px;
	margin-top: 10px;
}
.fok-category-alert .fok-entry-title::before {
	background-image: url('/wp-content/themes/child-thrive/images/FOC-DCF-Icon-Triangle.png');
}
.fok-category-federal .fok-entry-title::before {
	background-image: url('/wp-content/themes/child-thrive/images/FOC-DCF-Icon-Federal.png');
	width: 55px;
	height: 55px;
	margin-left: -70px;
}
.fok-category-oca .fok-entry-title::before {
	background-image: url('/wp-content/themes/child-thrive/images/FOC-DCF-Icon-OCA.png');
}
.fok-category-list .fok-entry-title::before {
	content: "\f46d";
	color: #40ce6d;
}
.fok-category-gov .fok-entry-title::before {
	content: "\f19c";
	color: #6ac7cc;
}
.fok-category-law .fok-entry-title::before {
	content: "\f0e3";
	color: #6ac7cc;
}
.fok-category-search .fok-entry-title::before {
	content: "\f002";
	color: #f7ce00;
}
.fok-entry-title::after {
	content: '';
	display: table;
	clear: both;
	margin-top: 15px;
}

.fok-entry-text {
	margin-bottom: 1rem;
}

.fok-entry-details-toggle {
	color: #F7E033;
	cursor: pointer;
}
.fok-entry-details-toggle:is(:hover, :focus) {
	text-decoration: underline;
}
.fok-entry-details-toggle::after {
	content: '\f078';
	display: inline-block;
	font-family: 'Font Awesome 6 Solid';
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
	margin-left: 10px;
	transition: all 0.5s;
}
.fok-entry-details {
	overflow: hidden;
	padding-top: 0;
	height: 0;
	interpolate-size: allow-keywords;
	transition: all 0.5s;
}
.fok-entry-details.open {
	padding-top: 2rem;
	height: auto;
}
.fok-entry-details-toggle.open::after {
	rotate: 180deg;
}

@media (min-width: 980px) {
	.fok-entry {
		width: 55%;
	}
	.fok-entry:nth-of-type(even) {
		align-self: flex-end;
	}
	.fok-entry:last-of-type {
		margin: auto;
		padding-left: 0;
		text-align: center;
	}
	.fok-entry:last-of-type .fok-entry-title {
		line-height: 1.5;
	}
}

@media (max-width: 768px) {
	.fok-entry {
		padding-left: 0;
	}
	.fok-entry-title::before {
		float: none;
		margin-left: 0;
	}
}
