/* CSS added by Online Optimism in July 2025 update */

main.oo2025 h1, main.oo2025 h2, main.oo2025 h3, main.oo2025 h4 {
    font-family: "Industry", sans-serif !important;
    text-transform: uppercase;
}

body .fw-header,
body .fw-footer{
	background-color: var(--wp--preset--color--dark-gray);
}
strong {
	font-weight: 900;
}
.hero-video {
	width: 100vw;
	min-width: 100%;
	padding-bottom: 200px !important;
	padding-top: 150px !important;
}
.hero-video:has(video) {
	height: 100vh;	
}
.hero-video .wp-block-cover__background {
	opacity: 0.25;
}
.hero-video h1,
.hero-video p {
	text-transform: uppercase !important;
	text-align: center;
}
.hero-video p {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	font-family: "Industry", sans-serif;
}
.hero-video h1 {
	font-size: 3rem;
	font-weight: 900;
}
.green-menu ul {
	list-style-type: none;
	display: flex;
	align-content: center;
	justify-content: center;
	gap: 2rem;
}
.green-menu ul li {
	margin-top: 0 !important;
}
.green-menu ul li a {
	color: #fff !important;
	text-decoration: unset;
	border-bottom: 1px solid transparent;
	text-transform: capitalize;
	width: fit-content;
	font-weight: 900;
	transition: all 0.3s ease !important;
}
.green-menu ul li a:hover {
	border-color: inherit !important;
}
.oo-project-subtypes-list-container {
	display: block;
	margin: 0 auto;
	height: auto;
	padding: 1rem 0;
	width: 100%;
}
.fw-projects__subtypes-list {
	display: flex;
	justify-content: space-around;
	margin: 0;
	padding: 0;
	border-left: none;
}
.fw-projects__subtypes-list li {
	margin: 0 !important;
	padding: 0;
}
.fw-projects__subtypes-list li>a {
	font-family: "Industry", sans-serif;
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--yellowgreen);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease !important;
}
.fw-projects__type-link:hover, 
.fw-projects__type-link:focus, 
.fw-projects__subtype-link:hover, 
.fw-projects__subtype-link:focus,
.fw-projects__subtype-link--active{
	color: var(--yellowgreen) !important;
}
.fw-projects__subtypes-list li>a:hover,
.fw-projects__subtypes-list li>a:focus,
.fw-projects__subtype-link--active,
#case-studies a.case-study-link:hover,
#case-studies a.case-study-link:focus {
	border-color: inherit !important;
}
#case-studies .wp-block-fw-oo-carousel.fw-carousel .fw-carousel__items {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	gap: 3rem;
}
#case-studies .fw-carousel__item {
	display: flex;
	gap: 3rem;
	justify-content: space-between;
	align-items: center;
}
#case-studies figure.wp-block-image.size-full {
    max-width: 50% !important;
}
#case-studies p.tiny-heading,
#case-studies h3.case-study-title {
	font-family: "Industry", sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--wp--preset--color--medium-green);
}
#case-studies p.tiny-heading {
	margin-bottom: 1rem;
}
#case-studies h3.case-study-title {
	margin-bottom: 0.5rem;
}
#case-studies .case-study-text {
	color: var(--wp--preset--color--dark-gray);
	margin-bottom: 1rem;
}
#case-studies a.case-study-link {
	color: #848484;
	border-bottom: 2px solid;
	font-family: "Industry", sans-serif;
	text-decoration: unset;
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: 900;
	line-height: 20px;
	transition: all 0.3s ease !important;
	width: fit-content;
}
#case-studies a.case-study-link:hover,
#case-studies a.case-study-link:focus {
	color: var(--wp--preset--color--medium-green);
}
#awards {
	background-color: var(--wp--preset--color--light-black);
}
#team {
	background-color: white;
}
.award-container,
.team-list {
	list-style-type: none;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	margin: 0 auto;
	padding: 0;
}
.team-list {
	grid-template-columns: repeat(4, calc(25% - 2.25rem));
	gap: 3rem;
}
.award-container {
	text-align: center;
}
.award-container>li,
.team-list>li{
	margin: 0 auto !important;
	padding: 0;
	width: 100%;
}
.award-container img {
	max-width: 150px;
	margin: 0 auto 1rem;
}
.award-container .counter:not(:last-child) {
	border: none;
}
.team-list .square-wrapper {
	height: 0;
	width: 100%;
	overflow: hidden;
	padding-top: 100%;
	position: relative;
	margin-bottom: 1rem;
	background-size: cover;
}
.team-list .square-wrapper:before {
	content: '';
}
.award-container .award-name,
.counter h3.counter-title,
.team-list h3.name {
	font-family: "Industry", sans-serif;
	font-weight: 900 !important;
	font-size: 1.25rem;
	text-transform: uppercase;
	margin-bottom: 0;
	color: white;
}
.counter h3.counter-title {
	font-weight: 900;
}
#team h2,
.team-list h3.name {
	color: var(--wp--preset--color--medium-green);
}
.award-container .years {
	color: var(--wp--preset--color--light-gray);
} 
.team-list .job-title {
	color: black;
	font-size: 0.9rem;
}
.team-list a {
	text-decoration: unset;
}
@media screen and (max-width: 1024px) {
	#case-studies .fw-carousel__item {
		flex-direction: column-reverse;
		height: 100%;
		justify-content: end;
	}
	#case-studies figure.wp-block-image.size-full {
		max-width: 100% !important;
	}
	.award-container {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
		align-items: center;
	}
	.team-list {
		grid-template-columns: repeat(2, calc(50% - 1.5rem));
	}
}
@media screen and (max-width: 850px) {
	:root {
		--wp--preset--spacing--80: 40px;
	}
	.green-menu ul,
	.fw-projects__subtypes-list{
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}
	.award-container,
	.team-list{
		max-width: 100%;
		grid-template-columns: 1fr;
	}
}
@media screen and (max-width: 450px) {
	.hero-video h1,
	.hero-video h2 {
		font-size: 10vw;
	}
}

/* News page */

body.fw-body.blog,
body.fw-body.archive {
	background: white;
}

.fw-news__department-link--active:before,
.fw-news__department-link:hover:before, 
.fw-news__department-link:focus:before {
	content: '';
	display: none;
}
.fw-news__department-link--active {
	text-decoration: underline;
}

.fw-news__article h3,
.fw-news__article h3 a {
    text-transform: uppercase;
	color: #000;
    font-weight: 600;
	min-height: calc(2 * var(--wp--custom--display--h-4--font-size) );
}

.fw-news__article:first-child {
	display: unset !important;
	column-gap: unset !important;
}

@media (min-width: 640px) {
    .fw-news__article:first-child {
		flex: 0 0 calc(50% - 26px);
    }
}

@media (min-width: 1024px) {
    .fw-news__article:first-child {
        flex: 0 0 calc(33% - 26px);
    }
}

.fw-news__article h3{
	min-height: calc(2em * 1.29);
	margin-bottom: 0.5rem;
}

.fw-news__article .is-style-fw-small-tag {
	display: none;
}

.fw-news__article .fw-news__excerpt {
	color: #000 !important;
}

.wp-block-paginate.fw-pagination.alignwide {
    margin: 0 auto 4rem;
    max-width: 100%;
    width: 800px;
	justify-content: center;
    gap: 2rem;
}

.wp-block-paginate.fw-pagination.alignwide .wp-block-button__link,
.fw-pagination>:not(.fw-pagination__previous):not(.fw-pagination__next){
	color: #000 !important;
    padding: 0;
	border: none;
    background: none;
}

.fw-pagination a.page-numbers:hover, 
.wp-block-paginate.fw-pagination.alignwide .wp-block-button__link:not(.wp-block-button__link--disabled):hover {
	text-decoration: underline !important;
	color: var(--wp--preset--color--medium-green) !important;
}

/* Projects page and Projects archives */
.fw-projects__type-link--active+.fw-projects__subtypes-list-container,
.fw-projects__subtypes-list-container:has(.fw-projects__subtype-link--active) {
	max-height: unset !important;
}

.fw-projects__types-list {
	padding-left: 0 !important;
	position: static;
	top: 0;
}

.fw-projects__types-list .fw-projects__subtypes-list {
	border-left: none !important;
}

.fw-projects__types-wrapper {
	padding-left: 1rem !important;
	position: sticky;
	top: 110px;
}

.fw-projects__types-wrapper>p:first-child {
	text-transform:uppercase;
	color: var(--wp--preset--color--medium-green);
}

.fw-projects__types-wrapper>h3 {
	font-family:'Industry' !important; 
	font-size: 2rem !important;
	margin-bottom: 2rem !important;
	margin-top: 1rem !important;
    font-weight: 800 !important;
	color: #000 !important;
}

.fw-projects__types-list a.fw-projects__type-link {
    color: var(--wp--preset--color--gray);
    text-transform: uppercase;
    font-weight: 600;
}

.fw-projects__types-list a.fw-projects__type-link:hover,
.fw-projects__types-list a.fw-projects__type-link:focus,
.fw-projects__type-link--active, 
.fw-projects__subtype-link--active,
.fw-projects__type-item:has(.fw-projects__subtype-link--active)>a.fw-projects__type-link {
    color: var(--wp--preset--color--medium-green) !important;
    border-bottom: 2px solid;
}

.fw-projects__types-list .fw-projects__subtypes-list {
	display: block;	
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.fw-projects__types-list .fw-projects__subtypes-list a {
	color: var(--wp--preset--color--medium-green) !important;
	text-transform: capitalize;
	font-family: var(--wp--custom--copy--font-family) !important;
	font-size: var(--wp--custom--copy--font-size);
	font-weight: 600;
}

h2.project-page-title,
body.fw-body.tax-impts_projects_types h2.project-page-title {
	color: var(--wp--custom--links--color) !important;
	text-transform: uppercase;
    font-weight:800;
}

.oo-project-grid.oo-project-grid-archives.fw-projects__projects-list {
	padding-right: 1rem;
}

.oo-project-grid.oo-project-grid-archives .fw-projects__project.fw-project {
	height: fit-content;
	overflow: hidden;
}

.oo-project-grid.oo-project-grid-archives .project-meta {
	background: #2e9752bf; /*var(--wp--preset--color--medium-green) at 75% opacity*/
	top: 0;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.oo-project-grid.oo-project-grid-archives .project-meta>* {
	opacity: 1;
	color: #fff;
	text-transform: uppercase;
}

.oo-project-grid.oo-project-grid-archives .project-meta h3.fw-project__title a {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.oo-project-grid.oo-project-grid-archives .project-meta h3.fw-project__title a:hover {
	text-decoration: underline;
}

body.fw-body.tax-impts_projects_types {
	background-color: var(--wp--preset--color--light-black);
}

@media (max-width: 1200px) {
    .oo-project-grid.oo-project-grid-archives .fw-projects__project.fw-project {
        flex-basis: 50%;
    }
}

@media (max-width: 850px) {
	.oo-project-grid.oo-project-grid-archives.fw-projects__projects-list {
		flex-direction: column !important;
	}
    .oo-project-grid.oo-project-grid-archives .fw-projects__project.fw-project {
        flex-basis: 100%;
		max-height: fit-content;
    }
}

@media (max-width: 781px) {
	.fw-projects__types-wrapper {
		padding-left: 0 !important;
	}
	.oo-project-grid.oo-project-grid-archives.fw-projects__projects-list {
		padding-left: 1rem !important;
	}
	.oo-project-grid.oo-project-grid-archives .project-meta h3.fw-project__title a {
		font-size: min(1.25rem, 7vw);
	}
}

div.oo_loadmore {
	display: block;
    width: fit-content;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    background-color: var(--wp--preset--color--medium-green);
}

div.oo_loadmore:hover,
div.oo_loadmore:active {
	cursor: pointer;
	text-decoration: underline;
	background-color: #2e9752bf; /*var(--wp--preset--color--medium-green) at 75% opacity*/
}

/* "Why We're Better" Page CSS */
.page-id-4137 .wp-block-cover.hero-video {
    height: 100vh;
}
.page-id-4137 .fw-main.oo2025>.wp-block-group:not(.alignfull) {
	max-width: 1500px;
	width: 100%;
    padding-left: 80.96px;
    padding-right: 80.96px;
}

.page-id-4137 .fw-main .wp-block-group:not(.has-white-color) h2,
.page-id-4137 .fw-main .wp-block-group:not(.has-white-color) h3,
.page-id-4137 .fw-main .wp-block-group:not(.has-white-color) p {
    color: black;
}

.page-id-4137 .fw-main h2.wp-block-heading,
.page-id-4137 .fw-main h3.wp-block-heading {
	font-weight: 900;
}

.thin-caps {
	font-family: "Industry", sans-serif !important;
    text-transform: uppercase;
	font-size: var(--wp--custom--display--h-3--font-size, var(--wp--custom--display--h3--font-size));
    font-style: normal;
    font-weight: 400;
    line-height: 1.15;
}
.group-of-three.is-layout-grid {
	gap: 2rem;
}
.scrolling-timeline {
	position: relative;
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.scrolling-timeline:before {
	content: '';
	display: block;
	background: black;
	width: 1px;
	height: calc(100% + 4rem);
	position: absolute;
	top: -2rem;
	left: 50%;
	transform: translateX(-50%);
}
.scrolling-timeline>.wp-block-group {
	justify-content: space-between;
	align-items: center;
	opacity: 0;
}
.scrolling-timeline>.wp-block-group:not(:last-child) {
	margin-bottom: 4rem;
}
.scrolling-timeline>.wp-block-group>.wp-block-group {
    width: calc(50% - 4rem);
}
.scrolling-timeline>.wp-block-group:nth-child(odd)>.wp-block-group,
.scrolling-timeline>.wp-block-group:nth-child(odd)>.wp-block-group>.wp-block-group {
	text-align: right;
}
.scrolling-timeline>.wp-block-group:nth-child(odd)>.wp-block-group {
    align-items: end;
}
.scrolling-timeline>.wp-block-group>.wp-block-group h2:first-child {
    font-weight: 600;
	font-size: 30px;
}
.scrolling-timeline>.wp-block-group>.wp-block-group h2:last-child {
	font-size: 40px;
	font-weight: 600;
	color: #dbe441;
	position: relative;
}
.scrolling-timeline>.wp-block-group>.wp-block-group h2:last-child:before {
	content: '';
	display: block;
	background: black;
	height: 1px;
	width: 200px;
	position: absolute;
	top: 50%;
}
.scrolling-timeline>.wp-block-group:nth-child(odd)>.wp-block-group h2:last-child:before {
	left: calc(100% + 1rem);
}
.scrolling-timeline>.wp-block-group:nth-child(even)>.wp-block-group h2:last-child:before {
	right: calc(100% + 1rem);
}
.scrolling-timeline>.wp-block-group>.wp-block-group h2:last-child:after {
	content: '';
    display: block;
    background: #dbe441;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px dashed black;
    box-shadow: inset 0 0 0 10px #fff;
}
.scrolling-timeline>.wp-block-group:nth-child(odd)>.wp-block-group h2:last-child:after {
	right: calc(-4rem - 20px);
}
.scrolling-timeline>.wp-block-group:nth-child(even)>.wp-block-group h2:last-child:after {
	left: calc(-4rem - 20px);
}
.scrolling-timeline>.wp-block-group:nth-child(even),
.scrolling-timeline>.wp-block-group:nth-child(even)>.wp-block-group>.wp-block-group {
    flex-direction: row-reverse;
}
.scrolling-timeline figure {
	z-index: 2;
	background: white;
}
/* Responsive */
@media (max-width: 781px) {
	.group-of-three.is-layout-grid {
		display: flex;
		flex-direction: column;
		text-align: center;
		gap: 2rem;
	}
	.scrolling-timeline {
		margin-top: 0 !important;
	}
	.scrolling-timeline:before {
		display: none;
	}
	.scrolling-timeline>.wp-block-group,
	.scrolling-timeline>.wp-block-group:nth-child(even) {
		flex-direction: column;
		justify-content: center;
		position: relative;
		margin-bottom: 0 !important;
	}
	.scrolling-timeline>.wp-block-group>.wp-block-group {
		width: 90%;
		align-items: center !important;
	}
	.scrolling-timeline>.wp-block-group:nth-child(odd)>.wp-block-group {
		align-items: center;
	}
	.scrolling-timeline>.wp-block-group:nth-child(odd)>.wp-block-group, 
	.scrolling-timeline>.wp-block-group:nth-child(odd)>.wp-block-group>.wp-block-group,
	.scrolling-timeline p {
		text-align: center !important;
	}
	.scrolling-timeline>.wp-block-group:nth-child(even)>.wp-block-group>.wp-block-group {
		flex-direction: row;
	}
	/*hide the side lines and dots for column switching*/
	.scrolling-timeline>.wp-block-group>.wp-block-group h2:last-child:before,
	.scrolling-timeline>.wp-block-group>.wp-block-group h2:last-child:after {
		display: none;
	}
	/*make new vertical lines between the items*/
	.scrolling-timeline>.wp-block-group:not(:first-child):before,
	.scrolling-timeline>.wp-block-group:nth-child(even):before {
		content: '';
		display: block;
		position: relative;
		width: 1px;
		height: 6rem;
		background: black;
	}
	/*make new dots and place at each item's top center*/
	.scrolling-timeline>.wp-block-group:not(:first-child):after,
	.scrolling-timeline>.wp-block-group:nth-child(even):after {
		content: '';
		display: block;
		background: #dbe441;
		height: 40px;
		width: 40px;
		border-radius: 50%;
		position: absolute;
		top: 3rem;
		left: 50%;
		transform: translate(-50%, -50%);
		border: 1px dashed black;
		box-shadow: inset 0 0 0 10px #fff;
	}
}