/* FONTS */
h1, h2, h3, h4, h5, h6 {
	font-family: "NewCenturySchoolbookLTRoman", serif !important;
}



/* IMAGE COLS */
.img-col .fl-module-photo, 
.img-col .fl-module-photo .fl-module-content, .img-col .fl-module-photo .fl-photo, .img-col .fl-module-photo .fl-photo-content {
	height: 100% !important;
}

.img-col .fl-module-photo img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover;
	border-radius: 5px !important;
}

@media (min-width: 2001px) {
	.img-col .fl-module-photo, 
.img-col .fl-module-photo .fl-module-content, .img-col .fl-module-photo .fl-photo, .img-col .fl-module-photo .fl-photo-content {
		width: 100%;
	}
}



/* BG */
.fl-page-content {
	background: #f5f5f5 !important
}



/* BUTTONS */
.fl-button-icon {
	margin-left: 25px !important;
}

.fl-module-button .fl-button-width-full a {
	display: flex !important;;
}
.fl-module-button .fl-button-width-full .fl-button-text {
	text-align: left;
	margin-top: 1px !important;
}

.fl-module-button .fl-button-width-full .fl-button-icon {
	margin-left: auto !important;
	text-align: right;
}


.button-bottom-row .fl-col-content {
	height: -webkit-fill-available;
}
.button-bottom-row .fl-module-button {
	margin-top: auto
}

.button-style-link {
	padding: 7px 15px;
	color: white !important;
	font-weight: 700 !important;
	font-family: "Source Sans 3",sans-serif !important;
	font-size: 16px !important;
	background: #04a0c9;
	border-radius: 5px;
}



/* DIVIDER HEADERS */
.divider-header .fl-module-content {
	text-align: center;
	display: flex !important;
	align-items: center !important;
}
.divider-header-left .fl-module-content, .divider-header-button .fl-module-content {
	text-align: left;
	display: flex !important;
	align-items: center !important;
}
.divider-header .fl-module-content::before {
	margin-right: 30px;
	height: 2px;
	background-color: #e3e3e3;
	flex-grow: 1;
}
.divider-header .fl-module-content::after, .divider-header-left .fl-module-content::after, .divider-header-button .fl-module-content::after {
	margin-left: 30px;
	height: 2px;
	background-color: #e3e3e3;
	flex-grow: 1;
}


@media only screen and (min-width: 751px) {
	.divider-header-button .fl-module-content::after {
		margin-right: 284px;
	}
}

@media only screen and (max-width: 750px) {
	.divider-header .fl-module-content::before {
		margin-right: 20px;
	}
	.divider-header .fl-module-content::after, .divider-header-left .fl-module-content::after {
		margin-left: 20px;
	}
}



/* HEADER */
@media (min-width: 992px) {
	ul.sub-menu {
		max-width: 680px;
		margin-left: auto;
	}
	
	#menu-item-1181 a {
		font-weight: 600;
	}
}


.th-wrapper {
	width: fit-content;
	margin-left: auto;
}

@media (min-width: 751px) {
	.fl-rich-text:has(.th-wrapper) {
		width: fit-content;
		margin-left: auto !important;
	}
	
	.th-wrapper {
		float: left
	}
}

.th-secondblock a::before {
	content: "\f879";
	font-family: "Font Awesome 5 Pro";
	margin-right: 7px;
	font-size: 16px;
}

.tophead-button {
	float: left;
}
.tophead-button a {
	padding: 5px 10px !important;
	background: #d6d6d6;
	border-radius: 5px !important;
	font-size: 15px !important;
	color: black !important;
	font-weight: 400 !important;
}

.tophead-button {
	margin-left: 10px !important;
}

@media (max-width: 750px) {
	.tophead-button {
		margin-bottom: 15px !important;
		margin-left: 0px !important;
		margin-right: 10px
	}
}

@media only screen and (max-width: 750px) {
	.th-wrapper {
		margin-right: auto !important;
		margin-left: 0px;
	}
	.th-wrapper .th-firstblock {
		margin: 0 !important;
		padding-right: 15px;
		padding-left: 0px;
	}
	.th-wrapper .th-secondblock {
		margin: 0 !important;
		padding-right: 0px;
		padding-left: 15px;
	}
}


@media only screen and (max-width: 535px) {
	.th-wrapper .th-firstblock {
		clear: left !important;
	}
}

@media only screen and (max-width: 992px) {	
	.fl-module-menu li.menu-item {
		margin-bottom: -10px !important;
	}
	
	.fl-module-menu li.menu-item a {
		padding-right: 20px
	}
	
	.fl-menu-mobile-flyout #menu-main-navigation {
		padding-top: 5px !important
	}
	
	.menu-button-1 a, .menu-button-2 a {
		width: fit-content !important;
		float: right;
		margin-top: 10px
	}
	
	.fl-menu-mobile-close {
		color: white !important;
		font-size: 16px !important;
		z-index: 2 !important;
		position: absolute !important;
		top: 8px !important;
	}
}

.fl-has-submenu-container .fl-menu-toggle::before {
	width: 6px !important;
	height: 6px !important;
	top: 50% !important;
	left: 10px !important;
}


@media only screen and (max-width: 992px) {
	.fl-has-submenu-container {
		padding-right: 5px !important
	}
	
	.sub-menu {
		margin-top: -10px !important;
		border-right: #131313 1.5px solid;
		margin-right: 6px !important;
	}
	
	.sub-menu li a {
		color: white !important;
		padding-right: 13px !important;
	}
	.sub-menu li a:hover, .sub-menu li.current-menu-item a {
		color: #131313 !important;
	}
	
	.fl-has-submenu-container .fl-menu-toggle::before {
		margin-left: -4px !important;
	}
}

@media only screen and (min-width: 993px) {
	ul.sub-menu li a:hover {
		color: #131313 !important
	}
	
	ul.sub-menu .fl-has-submenu .fl-menu-toggle {
		right: 20px
	}
	
	ul.sub-menu li a {
		padding-right: 25px !important;
	}
}

@media only screen and (max-width: 992px) {
	.fl-has-submenu-container {
		padding-right: 20px !important;
	}
	.fl-has-submenu-container a {
		padding-right: 0px !important;
	}
	
	ul.sub-menu .fl-has-submenu .fl-menu-toggle:before {
		border-color: white !important;
	}
	ul.sub-menu .fl-has-submenu:hover .fl-menu-toggle:before {
		border-color: black !important;
	}
	
	ul.sub-menu ul.sub-menu {
		margin-left: -10px !important;
		padding-left: 0px !important;
	}
}



/* BLOGS */
.fl-theme-builder-singular-blogs-layout a.btn, .fl-theme-builder-singular-news-layout a.btn, .fl-theme-builder-singular-events-layout a.btn, .fl-theme-builder-singular-case-studies-layout a.btn {
	border: 2px black solid;
	padding: 7px 15px;
	margin-right: 5px;
	margin-bottom: 5px;
	display: block;
	width: fit-content;
	float:left;
	color: black;
	text-decoration: none;
	border-radius: 5px
}
.fl-theme-builder-singular-case-studies-layout a.btn {
	float: none;
}
.fl-theme-builder-singular-blogs-layout a.btn-primary, .fl-theme-builder-singular-news-layout a.btn-primary, .fl-theme-builder-singular-events-layout a.btn-primary,
.fl-theme-builder-singular-case-studies-layout a.btn-primary {
	background: black;
	color: white;
}



/* HOME */
#home-lightbox-video img {
	border-radius: 25% 25% 0px 0px !important;
}



/* CASE STUDIES */
@media only screen and (max-width: 992px) {
	.case-study-grid .uabb-blog-posts-grid .uabb-post-wrapper {
		width: 100% !important;
	}
}

.case-study-grid .uabb-post-wrapper, .case-study-grid .uabb-blog-posts-shadow {
	min-height: 500px !important;
	height: 500px !important;
}
.case-study-grid .uabb-blog-post-inner-wrap {
	height: -webkit-fill-available;
}

.case-study-grid .uabb-post-heading {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
}

.case-study-grid .uabb-blog-posts-description {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}

.case-study-grid .uabb-post-thumbnail {
	border-radius: 5px
}

.case-study-grid .uabb-post-thumbnail::before {
	background: linear-gradient(0deg, #131313, transparent);
}

.case-study-grid .uabb-blog-post-content {
	height: -webkit-fill-available !important;
	overflow: visible !important;
	position: inherit !important;
	display: flex;
	flex-direction: column;
	padding-bottom: 60px !important;
}
.case-study-grid h3 {
	margin-top: auto !important
}

.case-study-grid .uabb-read-more-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
}
.case-study-grid .uabb-read-more-text a {
	display: flex;
	padding: 0px 20px;
}

.case-study-grid .uabb-next-right-arrow {
	font-size: 1.3em;
	visibility: hidden;
	margin-left: auto;
}
.case-study-grid .uabb-next-right-arrow::after {
	content: "\f178";
	font-family: "Font Awesome 5 Pro";
	visibility: visible;
}

.case-study-grid .slick-next {
	width: 60px !important;
	height: 60px !important;
	right: -30px !important;
}
.case-study-grid .slick-prev {
	width: 60px !important;
	height: 60px !important;
	left: -30px !important
}
.case-study-grid .slick-next i, .case-study-grid .slick-prev i {
	font-size: 20px !important;
	padding: 10px !important;
	background: white !important;
	color: #04a0c9;
	font-weight: 400;
}

.uabb-masonary-filters-wrapper {
	width: fit-content;
	margin-left: auto !important;
	text-align: right !important;
	background: none !important;
}
.uabb-masonary-filters-wrapper:before {
	padding: 20px !important;
}
@media (max-width: 750px) {
	.uabb-masonary-filters-wrapper:before {
		padding: 8px !important;
	}
}

.uabb-masonary-filters-wrapper select {
	margin-right: 0px !important;
	margin-left: 0px !important;
}
@media (max-width: 750px) {
	.uabb-masonary-filters-wrapper {
		margin-right: -20px !important;
		margin-left: -30px
	}
}

.uabb-blog-post-content {
	height: 100%;
}



/* NEWS */
.news-grid .uabb-post-wrapper, .news-grid .uabb-blog-posts-shadow, .events-grid .uabb-post-wrapper, .events-grid .uabb-blog-posts-shadow {
	min-height: 450px !important;
}
.news-grid .uabb-blog-post-inner-wrap, .events-grid .uabb-blog-post-inner-wrap {
	height: -webkit-fill-available;
}

.news-grid .uabb-read-more-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0px;
	background: #070707;
	border-radius: 0px 0px 10px 10px;
	margin: 0px 10px 0px 10px !important;
}
.events-grid .uabb-read-more-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0px;
	background: #04a0c9;
	border-radius: 0px 0px 10px 10px;
	margin: 0px 8px;
}
.news-grid .uabb-read-more-text a, .events-grid .uabb-read-more-text a {
	display: flex;
	padding: 15px 20px 12px 20px;
}

.news-grid .uabb-next-right-arrow, .events-grid .uabb-next-right-arrow {
	font-size: 1.3em;
	visibility: hidden;
	margin-left: auto;
	margin-top: -4px;
}
.news-grid .uabb-next-right-arrow::after, .events-grid .uabb-next-right-arrow::after {
	content: "\f178";
	font-family: "Font Awesome 5 Pro";
	visibility: visible;
}

.news-grid .uabb-blog-post-content, .events-grid .uabb-blog-post-content {
	height: 100% !important;
	overflow: visible !important;
	position: inherit !important;
	display: flex;
	flex-direction: column;
}

.news-grid .uabb-post-thumbnail img, .events-grid .uabb-post-thumbnail img {
	height: 220px;
	object-fit: cover;
	border-radius: 10px 10px 0px 0px;
}

.news-grid .uabb-post-heading, .events-grid .uabb-post-heading {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}


select.uabb-masonary-filters {
	margin-right: -7px;
	margin-left: 20px;
	margin-top: 5px;
	border: none;
	border-radius: 5px !important;
	padding: 10px;
}
.uabb-masonary-filters-wrapper::before {
	content: "Filter:";
	font-size: 18px;
}

@media (max-width: 750px) {
	select.uabb-masonary-filters {
		max-width: 180px;
	}
}



/* TESTIMONIALS */
.fl-module-adv-testimonials .uabb-slider-prev {
	display: none;
}
.uabb-testimonials-wrap {
	padding: 0px !important;
}

.fl-module-adv-testimonials .bx-wrapper {
	margin-bottom: 0px;
}

.uabb-testimonial {
	display: flex !important;
}
.uabb-testimonial-photo, .uabb-testimonial-info {
	display: block !important;
}

.uabb-testimonial-photo {
	display: flex !important;
	align-items: center;
}
.uabb-testimonial-photo img {
	width: 160px !important;
}

.uabb-testimonial-info {
	border: 1px solid;
	border-radius: 5px;
	padding: 30px;
	padding-left: 130px;
	padding-right: 40px;
	margin-left: -130px;
	margin-right: 0px;
}

.fl-module-adv-testimonials .uabb-slider-next {
	width: 75px;
	height: 75px;
	margin-right: -32px !important;	
}
.fl-module-adv-testimonials .uabb-slider-next button {
	background: none !important;
	border: none !important;
	padding: 0px !important;
}
.fl-module-adv-testimonials .uabb-slider-next i {
	font-size: 20px !important;
	padding: 25px !important;
	background: #f5f5f5 !important;
	color: #04a0c9;
	font-weight: 400 !important;
}

@media only screen and (max-width: 750px) {
	.uabb-testimonial {
		flex-direction: column;
	}
	.uabb-testimonial-info {
		padding-left: 20px;
		padding-right: 20px;
		margin-left: 0px;
		margin-right: 0px;
		padding-top: 120px;
		margin-top: -80px;
	}
	
	.fl-module-adv-testimonials .uabb-imgicon-wrap {
		margin-right: 0px !important;
	}
	
	.fl-module-adv-testimonials .uabb-slider-next {
		position: absolute;
		top: 72px;
		right: calc(50% - 75px);
	}
	.fl-module-adv-testimonials .uabb-slider-next {
		width: 40px;
		height: 40px;
	}
	.fl-module-adv-testimonials .uabb-slider-next i {
		padding: 15px !important;
	}
}



/* FORM */
.wpcf7 {
	margin: 10px -10px;
}

.wpcf7 label {
	width: 50%;
	display: block;
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	color: #b1b1b1;
	font-weight: 400;
	font-size: 12px;
}
.wpcf7 label:nth-child(1) {
	margin-top: 23px !important;
}

@media only screen and (max-width: 992px) {
	.wpcf7 label:nth-child(1) {
		margin-top: 20px !important;
	}
	
	.wpcf7 label {
		width: 100%
	}
}

.wpcf7 input, .wpcf7-select {
	border: none;
	background: white;
}

.wpcf7-select {
	width: 100%;
	padding: 5px;
	font-size: 16px;
	color: #131313;
}

.wpcf7-submit {
	padding: 15px 30px !important;
	background: #04a0c9 !important;
	margin: 20px 10px 0px 10px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	border: none !important;
}

.wpcf7-not-valid-tip {
	display: none;
}



/* CTAS */
@media only screen and (max-width: 750px) {
	.cta-yellow .fl-row-content-wrap {
		background-size: 460px;
		background-position: bottom right;
	}
	.cta-grey .fl-row-content-wrap {
		background-size: 330px;
	}
}

@media only screen and (min-width: 751px) and (max-width: 992px) {
	.cta-grey .fl-row-content-wrap {
		background-size: 370px;
		background-position: calc(50% + 120px) 100%;
	}
	.cta-yellow .fl-row-content-wrap {
		background-size: 360px;
		background-position: bottom right;
	}
}

@media only screen and (min-width: 993px) {
	.cta-grey .fl-row-content-wrap {
		background-size: 470px;
		background-position: calc(50% + 120px) 100%;
	}
	.cta-yellow .fl-row-content-wrap {
		background-size: 600px;
		background-position: bottom right;
	}
}



/* MEET THE TEAM */
.department-links .fl-rich-text {
	margin-left: auto !important;
	margin-right: auto !important;
	width: fit-content;
	display: flex;
	flex-wrap: wrap;
	max-width: 600px
}
.department-links .fl-rich-text div {
	padding: 20px 10px 0px 10px;
	margin-left: auto;
	margin-right: auto
}

@media only screen and (max-width: 750px) {
	.department-links .fl-rich-text div {
		width: 100%;
		margin-bottom: -10px;
	}
}

.team-row .fl-module-rich-text:first-child {
	margin-bottom: auto;
	color: white !important;
	min-height: 350px !important
}

.team-row .fl-col-content .fl-module-rich-text:first-child {
	opacity: 0;
	transition: 0.5s;
}

.team-row .fl-col-content:hover::after {
	background: linear-gradient(0deg, #04a0c9 10%, rgba(4,160,201,0.66) 40%) !important;
	transition: 0.5s;
}
.team-row .fl-col-content:hover .fl-module-rich-text:first-child {
	opacity: 1;
	transition: 0.5s;
}



/* JOIN US */
.join-tabs li.uabb-tab-current {
	background: #131313;
}
.join-tabs li.uabb-tab-current a {
	color: white !important;
}

.join-tabs li:not(.uabb-tab-current):has(h4.uabb-tag-selected) {
	background: #ededed;
}

.join-tabs li:not(.uabb-tab-current):has(h4.uabb-tag-selected):hover {
	background: #131313;
}
.join-tabs li:not(.uabb-tab-current):has(h4.uabb-tag-selected):hover a {
	color: white !important;
}



/* 5 STEP LIGHTBOXES */
.fl-button-lightbox-content:has(.fivesteps-support) div {
	background: #e74011;
	min-height: 234px;
}
.fl-button-lightbox-content:has(.fivesteps-development) div {
	background: #2d568f;
	min-height: 234px;
}
.fl-button-lightbox-content:has(.fivesteps-insights) div {
	background: #008a7b;
	min-height: 234px;
}
.fl-button-lightbox-content:has(.fivesteps-resources) div {
	background: #ed6d05;
	min-height: 234px;
}
.fl-button-lightbox-content:has(.fivesteps-collaboration) div {
	background: #95c11f;
	min-height: 234px;
}


.fl-button-lightbox-content:has(.popup-generic) div {
	background: white;
	border-radius: 5px;
}
.popup-generic h2 {
	margin-top: 0px !important;
}


.fl-button-lightbox-content {
	padding: 0px !important;
	display: flex;
	background: none !important;
}

.fl-button-lightbox-content img {
	width: 150px;
	object-fit: cover;
	object-position: 55%;
	margin-top: -80px;
}
.fl-button-lightbox-content:has(.fivesteps-development) img {
	object-position: 50%;
}
.fl-button-lightbox-content:has(.fivesteps-insights) img {
	object-position: 40%;
}
.fl-button-lightbox-content:has(.fivesteps-resources) img {
	object-position: 70%;
}
.fl-button-lightbox-content:has(.fivesteps-collaboration) img {
	object-position: 80%;
}


.fl-button-lightbox-content div {
	padding: 30px !important;
	border-radius: 0px 5px 5px 0px
}

.fl-button-lightbox-content h3 {
	font-family: "Source Sans 3", sans-serif !important;
	text-transform: uppercase;
	color: white;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 2px;
	margin-top: 0px
}
.fl-button-lightbox-content p {
	color: white;
	margin-bottom: 0px
}

.fl-button-lightbox-content .mfp-close {
	color: white !important;
	opacity: 1 !important;
	margin-top: 5px !important;
	margin-right: 5px !important;
}


@media only screen and (max-width: 750px) {
	.fl-button-lightbox-content {
		display: block;
		max-width: 420px !important;
	}
	.fl-button-lightbox-content img {
		width: 100%;
	}
	
	.fl-button-lightbox-content div {
		border-radius: 0px 0px 5px 5px
	}
	
	
.fl-button-lightbox-content .mfp-close {
		margin-top: -40px !important;
	}
}


/* MISC FIXES */
.bottom-heading {
	margin-top: auto
}

.fl-button-group-buttons a.fl-button {
	text-align: left !important;
}

@media (max-width: 750px) {
	.fl-number-string, .fl-number-int {
		font-size: 47px !important;
	}
}
@media (min-width: 751px) and (max-width: 890px) {
	.fl-number-string, .fl-number-int {
		font-size: 40px !important;
	}
}

.fl-sidebar #block-4 {
	display: none;
}

.uabb-blog-posts {
	min-height: 500px !important;
	height: auto !important;
}
.uabb-blog-posts .uabb-post-wrapper {
	position: inherit !important;
	top: unset !important;
	left: unset !important;
}

#resource-grid h3.uabb-photo-gallery-caption {
	line-height: auto;
	overflow: visible;
	text-overflow: unset;
	white-space: normal;
}

.fl-node-u6rzyx24kd1v .fl-menu .sub-menu a {
    color: #04a0c9 !important;
}