/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*
--- Global --- 
*/
#page {
	max-width: 100%;
}
.wp-block-columns {
	margin-bottom: 0 !important;
	max-width: 100%;
}
.wp-block-columns:not(.alignfull) {
    max-width: 1200px;
    margin: 0 auto;
}
.services .wp-block-column:not(:first-child), 
.wp-block-image {
	margin: 0;
}
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
	margin-left: 0 !important;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	margin-bottom: 0;
}
p {
	margin-bottom: 0 !important;
}
#main p {
	width: 100%;
}
#content {
	padding: 0 !important;
}
.description {
	display: inline-block;
	font-size: 25px;
	line-height: 25px;
	margin: 0;
	margin-bottom: 18px;
}
.page-id-4263 #main {
	margin-top: 100px;
}

/*
--- Transitions --- 
*/
.page:not(.block-editor-page) .fade-in {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}
.page:not(.block-editor-page) .fade-in-up {
    transform: translateY(20vh);
}
.page:not(.block-editor-page) .fade-in.speed-300 {
    transition-duration: 0.3s;
}
.page:not(.block-editor-page) .fade-in.speed-500 {
    transition-duration: 0.5s;
}
.page:not(.block-editor-page) .fade-in.speed-600 {
    transition-duration: 0.6s;
}
.page:not(.block-editor-page) .fade-in.speed-700 {
    transition-duration: 0.7s;
}
.page:not(.block-editor-page) .fade-in.speed-900 {
    transition-duration: 0.9s;
}
.page:not(.block-editor-page) .fade-in.speed-1000 {
    transition-duration: 1s;
}
.page:not(.block-editor-page) .fade-in.speed-1100 {
    transition-duration: 1.1s;
}
.page:not(.block-editor-page) .fade-in.speed-1300 {
    transition-duration: 1.3s;
}
.page:not(.block-editor-page) .fade-in.visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/*
--- Scrollbar ---
*/
/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #1d376c white;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-track {
  margin: 20px;
}

*::-webkit-scrollbar-thumb {
  background-color: #1d376c;
  border-radius: 10px;
}

/*
--- Margins, Paddings --- 
*/
.margin-top-50 {
	margin-top: 50px !important;
}
.entry-content > .margin-top-80 {
	padding-top: 80px;
	padding-left: 30px;
	padding-right: 30px;
}
.entry-content > .margin-top-80.learn-more {
	margin-top: 80px;
	padding-left: 30px;
	padding-right: 30px;
}
p#testimonials {
	padding-top: 80px;
}
div.testimonials {
	max-width: 1300px !important;
}
.padding-left-10 {
	padding-left: 10px !important;
}
.padding-right-10 {
	padding-right: 10px !important;
}
.padding-100 {
	padding-right: 100px !important;
	padding-left: 100px !important;
}
.padding-150 {
	padding: 150px;
}

/*
--- Global Header --- 
*/
.header-wrap {
	box-shadow: 0px 0px 5px 0.15px rgb(0 0 0);
}
.inside-header .site-logo {
    padding: 15px 24px;
}
nav#site-navigation,
#primary-menu,
li.menu-item,
li.menu-item > a {
    display: flex;
    align-self: stretch;
}
li.menu-item > a {
    align-items: center;
    transition: all 0.5s ease;
}
li.menu-item > a:hover {
    color: #ffffff !important;
    background-color: #1d376c !important;
    transition: all 0.5 ease;
}

/*
--- Banner Overlay --- 
*/
.wp-block-cover.image-overlay {
	padding: 0;
	background-color: rgba(0,0,0,1);
	margin-bottom: 70px !important;
}

.wp-block-cover.image-overlay:before {
    content: '';
    background-image: url("../images/glass_1080.png");
	background-position: center center;
    z-index: 1;
    height: 977px;
    width: 100%;
    position:absolute;
}
.wp-block-cover.image-overlay > .wp-block-cover__video-background,
.wp-block-cover.alignfull.banner img {
	width: 1736px;
	max-width: 100%;
	margin: 0 auto;
}

/*
--- Homepage - Tagline ---
*/
.header {
	font-size: 50px;
}

.small-header {
	font-size: 43px;
}

.header.margin-top-80 {
	margin-bottom: 0;
}

.header.white {
	font-weight: 700;
	margin-bottom: 0;
}

.header > .underline-dark {
	border-bottom: 3px solid rgba(29,55,108,1);
}

.header > .underline-light {
	border-bottom: 3px solid rgba(84,116,182,1);
}

.subheader {
	font-size: 30px;
	line-height: 30px;
	padding: 50px;
	margin-bottom: 0;
}

/* 
--- Homepage - Details --- 
*/
.wp-block-columns.alignfull.gradient-background {
    padding: 100px 0;
    margin-top: 80px;
}
.no-sidebar .entry-content .wp-block-columns.alignfull.gradient-background > div > div {
    width: 1486px;
    margin: 0 auto;
}
.wp-block-columns.alignfull .wp-block-column > p:first-of-type {
    margin-bottom: 40px;
}
.wp-block-columns.alignfull .wp-block-column > p:last-of-type {
    line-height: 30px;
}

/* 
--- Homepage - Services --- 
*/
.no-sidebar .entry-content .wp-block-columns.services {
	width: 1672px;
	max-width: 100%;
	margin: 0 auto;
}

/* 
--- Homepage - Solutions --- 
*/
.wp-block-columns.reliable-solutions {
	width: 800px;
	margin: 0 auto;
    box-shadow: 0px 8px 3px rgba(50, 50, 0, 0.5);
}

/* 
--- Homepage - Learn More --- 
*/
.entry-content > #know-more {
	margin-bottom: 0;
}
.learn-more,
.learn-more-interior {
    display: flex;
    flex-basis: auto;
    flex-grow: 100000;
}

.learn-more {
	padding: 193px 0 !important;
}

.learn-more-interior {
	padding-right: 0 !important;
	padding-left: 0 !important;
	padding-bottom: 50px !important;
}

.learn-more .wp-block-columns,
.learn-more-interior .wp-block-columns {
    width: auto !important;
    margin: 0 auto !important;
}

.learn-more .header {
	font-size: 43px;
	line-height: 43px;
}

.learn-more .wp-block-column .wp-block-column,
.learn-more-interior .wp-block-column .wp-block-column {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

/* 
--- Service Pages; Obsolescence, Electronics, Oil, RND ---
*/
.wp-block-cover.alignfull.banner:before {
    content: '';
    background-color: rgb(0,0,0)
}
.banner-text {
	line-height: 80px;
}
.service-intro {
	padding: 25px;
}
.wp-block-columns.vertical-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#main .services-caption figure {
    position: relative;
    display: flex;
    border-radius: 10px;
}
#main .services-caption figure:before {
    content: '';
    box-shadow: inset 1px 8px 18px 8px rgb(0 0 0 / 30%);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    border-radius: 10px;
}
#main .services-caption figcaption {
    background-color: rgba(255,255,255,0.85);
    padding: 10px;
    margin: 0;
    font-size: 18px;
	line-height: 1;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

/*
--- Who We Are, Intellectual Property, Technical Papers --- 
*/
.box-shadow {
    box-shadow: -10px 10px 10px rgb(0 0 0 / 30%);
	padding: 55px;
}
.wp-block-columns.alignwide.core-values {
    display: flex;
    flex-wrap: wrap;
}
.page-id-4256 .service-intro,
.core-values {
	width: 100% !important;
}
.core-values h2 {
	padding: 20px;
}
.core-values .wp-block-column {
	margin-left: 0;
}
.leadership-team {
	box-shadow: inset -5px 5px 10px 5px rgb(0 0 0 / 30%);
		padding: 50px;
}
.leadership {
	letter-spacing: 5px;
	line-height: 1;
}
.profile-display {
    display: flex;
    flex-wrap: wrap;
    flex: 1 0 50%;
    flex-direction:  row;
    column-gap:  0.5em;
}
.profile-display .wp-block-spacer {
    width: 300px;
}

/*
--- Newsroom ---
*/
.blog #primary,
.single #primary {
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 50px;
    width: 1486px;
}
.blog .site-main>* {
    margin-bottom: 0;
}
.blog #main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
	padding: 0 50px;
}
.single #main {
	padding: 0 50px;
}
.blog .post {
    width: 30%;
    padding-bottom: 0 !important;
	margin-bottom: 30px !important;
    box-shadow: -10px 10px 10px rgb(0 0 0 / 30%);
}
.blog .post-image {
    width: 100%;
    margin: 0 auto !important;
}
.blog .post-image img {
	height: 300px;
	object-fit: contain;
}
.blog .entry-header,
.blog .entry-summary {
    padding: 5px 20px;
    margin: 0;
    text-align: center;
}
.blog .entry-header {
    padding-top: 45px;
}
.blog .entry-header a,
.single .entry-title {
    color: rgba(29,55,108,1);
    font-weight: 600;
}
.blog .entry-summary {
    padding-bottom: 45px;
}
.blog .entry-summary p {
    font-size: 20px;
    line-height: 22px;
}
.blog .read-more {
    color: #5474b6;
    font-weight: 600;
}
.blog .entry-meta {
    padding: 0;
    margin: 0;
}
.blog #nav-below {
	width: 100%;
	text-align: center;
}

/*
--- Ninja Form - Contact Page --- 
*/
.page-id-4664 nf-fields-wrap {
	display: flex;
	flex-wrap: wrap;
}

.page-id-4664 nf-fields-wrap > nf-field {
	width: 100%;
}
.page-id-4664 nf-fields-wrap > nf-field:first-of-type,
.page-id-4664 nf-fields-wrap > nf-field:nth-of-type(2) {
	width: 48%;
}
.page-id-4664 nf-fields-wrap > nf-field:first-of-type {
	margin-right: 2%;
}
.page-id-4664 nf-fields-wrap > nf-field:nth-of-type(2) {
	margin-left: 2%;
}
.page-id-4664 nf-fields-wrap > nf-field:last-of-type {
	width: auto;
}
.page-id-4664 .submit-wrap input[type=button] {
	background: transparent;
	color: #1d376c;
	border: 3px solid #1d376c;
	border-radius: 10px;
	line-height: 1;
}
.page-id-4664 .submit-wrap input[type=button]:hover {
	background: #1d376c;
	color: #ffffff;
}

/*
--- Buttons --- 
*/
.wp-block-button .wp-block-button__link {
	border-width: 5px;
	padding: 10px 22px;
	line-height: 1;
}

button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, a.button:hover, button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, a.button:focus, a.wp-block-button__link:not(.has-background):active, a.wp-block-button__link:not(.has-background):focus, a.wp-block-button__link:not(.has-background):hover {
	background-color: #1d376c;
	border-color: #1d376c;
	color: #ffffff !important;
}

.learn-more .wp-block-button .wp-block-button__link:hover,
.learn-more .wp-block-button .wp-block-button__link:focus {
	background-color: #ffffff;
	border-color: #ffffff;
	color: #1d376c !important;
}

/*
--- Footer --- 
*/
.site-footer {
	border-top: 8px solid rgba(29,55,108,1);
}
.site-footer a {
	color: #ffffff;
}
.site-footer a:hover{
	color: #1d376c;
}
.site-footer .wp-block-column {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
	justify-content: center;
}
.site-footer .wp-block-columns .wp-block-column > p,
.site-footer .wp-block-columns .wp-block-column div.social span {
	padding: 10px;
}
.site-footer .wp-block-columns .wp-block-column div.social span {
	width: 38px;
	height: 38px;
}
.site-footer .footer-divide {
	border-top: 1px solid #ffffff;
}
.site-footer img {
	width: 100%;
	height: 180px;
	padding: 0 20px 20px;
}
.site-footer .wp-block-image {
	margin: 0;
}
.site-footer .social {
	display: flex;
	align-items: center;
}
.site-footer .dashicons {
	color: #ffffff;
}
.site-footer .dashicons-facebook-alt:hover {
	color: #3b5998;
}
.site-footer .dashicons-twitter:hover {
	color: #1da1f2;
}
.site-footer .dashicons-linkedin:hover {
	color: #0077b5;
}
.site-footer .footer-contact a {
	color: #ffffff;
}
.site-footer .footer-contact a:hover {
	color: #ffffff;
}




/************************************************
***************** MEDIA QUERIES *****************
************************************************/
@media (max-width: 1450px) {
	.core-values > .wp-block-column:nth-of-type(1),
	.core-values > .wp-block-column:nth-of-type(2),
	.core-values > .wp-block-column:nth-of-type(3),
	.core-values > .wp-block-column:nth-of-type(4) {
		flex: 1 0 25%;
	}
	.core-values > .wp-block-column:nth-of-type(5) {
		flex: 1 0 100%;
	}
	.wp-block-columns:not(.alignfull) {
		max-width: 100%;
	}
}
@media (min-width: 1200px) {
	.site-footer .wp-block-column > p ~ div:first-of-type:before {
    	content: "|";
    	color: white;
    	padding: 0px 28px;
    	font-weight: 700;
	}
}
@media (max-width: 1200px) {
	/* Header */
	#mobile-header {
		background-color: #ffffff;
		padding: 0;
	}
	.site-logo.mobile-header-logo {
		height: 50px;
		padding: 15px;
		box-sizing: content-box;
	}
	.site-logo.mobile-header-logo img {
		height: 50px !important;
	}
	.main-navigation button.menu-toggle {
		padding:15px;
		line-height: 1;
	}
	.icon-menu-bars > svg {
		width: 40px;
		height: 34px;
	}
	.hero-header {
		padding: 54px;
	}
	/* Body */
    .padding-150,
    .padding-100 {
        padding: 20px;
    }
	.wp-block-column:not(.testimonial-stretch)) {
		margin-left: 0 !important;
	}
    .wp-block-buttons {
        justify-content: center;
    }
	.wp-block-columns {
		flex-wrap: wrap !important;
	}
	.wp-block-columns.testimonials {
		flex-direction: column;		
	}
	.wp-block-columns.testimonials > .wp-block-column {
		margin: 0 auto 25px;
	}
	.wp-block-columns.testimonials > .wp-block-column:first-of-type {
		margin-top: 25px;
	}
	.wp-block-columns.gradient-background p {
		padding: 0 25px;
	}
	.entry-content .header.margin-top-80 {
		font-size: 38px;
		line-height: 38px;
		padding: 24px 0;
	}
	.services > .wp-block-column {
		flex-basis: 50% !important;
	}
	.learn-more {
		padding: 80px 20px !important;
	}
	.learn-more .header {
		font-size: 38px;
		line-height: 38px;
		padding-bottom: 10px;
	}
	.learn-more .wp-block-buttons>.wp-block-button .wp-block-button__link {
		width: 365px;
		height: 77px;
		margin: 0 auto 15px;
	}
	.button-inline {
		position: absolute;
		top: 13%;
    	left: -1.4%;
	}
	.learn-more .wp-block-column .wp-block-column {
		flex-direction: column;
	}
	.learn-more .wp-block-buttons>.wp-block-button {
		margin-bottom: 0;
	}
	.learn-more .wp-block-buttons>.wp-block-button .wp-block-button__link {
		width: 365px;
	}
	.leadership-team {
		padding: 50px 10px;
	}
	.leadership-team .gci-label > .wp-block-column {
		flex: 1 0 100%;
	}
	.leadership-team .gci-label > .wp-block-column:first-of-type,
	.leadership-team .gci-label > .wp-block-column:last-of-type {
		display: none;
	}
	.service-intro {
		width: 100% !important;
		padding: 0;
	}
	.profile-display {
		flex: 1 0 50%;
	}
	.core-values > .wp-block-column:nth-of-type(1),
	.core-values > .wp-block-column:nth-of-type(2),
	.core-values > .wp-block-column:nth-of-type(3) {
		flex: 1 0 33%;
	}
	.core-values > .wp-block-column:nth-of-type(4),
	.core-values > .wp-block-column:nth-of-type(5) {
		flex: 1 0 50%;
	}
	/* Footer */
	.site-footer .wp-block-column.navigation > p {
		flex-grow: 100000;
	}
	.site-footer .wp-block-column:not(.navigation) div,
	.site-footer .wp-block-column:not(.navigation) p {
		font-size: 13px !important;
	}
	.site-footer .navigation {
    	flex-wrap: wrap;
	}
	.site-footer .navigation > p {
    	display: inline-block;
    	flex: 1 0 25%;
	}
	.site-footer .navigation > div {
	    display: flex;
	}
	.site-footer .navigation .social {
    	display: inline-block;
	}
}
@media (max-width: 992px) {
	.padding-100 {
		padding: 25px !important;
	}
	.entry-content > .margin-top-80 {
		padding: 20px 15px;
	}
	.header,
	.entry-content .header.margin-top-80 {
		font-size: 30px;
	}
	.subheader {
		font-size: 22px;
	}
	.description {
		font-size: 22px;
		line-height: 22px !important;
	}
    .wp-block-cover {
        min-height: 500px !important;
    }
	.wp-block-cover.image-overlay {
		margin-bottom: 35px !important;
	}
	.wp-block-cover.image-overlay:before {
		height: 500px;
	}
    .wp-block-cover__inner-container > p {
        font-size: 30px !important;
        line-height: 30px;
    }
	p#testimonials {
		padding: 0 15px;
	}
	p#testimonials.fade-in {
		opacity: 1;
		visibility: visible;
		transition: none;
	}
	p#testimonials.fade-in-up {
		transform: none;
		transition: none;
	}
	.learn-more .wp-block-buttons {
		flex-direction: column;
	}
	.learn-more .wp-block-buttons>.wp-block-button .wp-block-button__link {
		width: 70%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.core-values > .wp-block-column:nth-of-type(1),
	.core-values > .wp-block-column:nth-of-type(2),
	.core-values > .wp-block-column:nth-of-type(3),
	.core-values > .wp-block-column:nth-of-type(4) {
		flex: 1 0 50%;
	}
	.core-values > .wp-block-column:nth-of-type(5) {
		flex: 1 0 100%;
	}
	.blog #primary {
		width: 100%;
	}
	.blog .post,
	.single #primary {
		width: 80%;
		margin: 0 auto;
		margin-bottom: 50px;
	}
	.site-footer .wp-block-column {
		flex-wrap: wrap;
	}
}
@media (max-width: 767px) {	
	#mobile-header .menu-toggle {
		margin: 0 auto;
		padding: 0 15px 15px;
	}
	.blog #primary {
		margin-top: 30px;
	}
}
@media (max-width: 700px) {
	.core-values > .wp-block-column:nth-of-type(1),
	.core-values > .wp-block-column:nth-of-type(2),
	.core-values > .wp-block-column:nth-of-type(3),
	.core-values > .wp-block-column:nth-of-type(4),
	.core-values > .wp-block-column:nth-of-type(5) {
		flex: 1 0 100%;
	}
}
@media (max-width: 600px) {
	.padding-left-10,
	.padding-right-10 {
		padding: 0 !important;
	}
	.mobile-reverse {
		flex-direction: column-reverse;
	}
	.about-gci {
		margin-top: 20px !important;
		padding: 20px 10px !important;
	}
	.about-gci p:first-of-type {
		font-size: 30px !important;
	}
	.about-gci p:last-of-type {
		font-size: 18px !important;
		line-height: 24px !important;
	}
	.learn-more .wp-block-buttons>.wp-block-button .wp-block-button__link {
		width: 100%;
		font-size: 24px;
	}
	.box-shadow {
		padding: 20px;
	}
	.leadership {
		font-size: 35px !important;
	}
	.site-footer .footer-nav p {
		flex: 1 0 50%;
	}
}
@media (max-width: 576px) {
	.wp-block-cover {
		min-height: 250px !important;
	}
	.wp-block-cover.image-overlay:before {
		height: 250px;
	}
	.header {
		font-size: 24px;
	}
	.services > .wp-block-column {
		flex-basis: 100% !important;
	}
}





/***************************************************************************************
***************************** ADVANCED CUSTOM FIELD BLOCKS *****************************
***************************************************************************************/

/*
--- ACF - Testimonials ---
*/

.wp-block-column.testimonial-stretch {
	align-self: stretch;
	margin: 0 24px;
}

.testimonial {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: -5px 8px 8px 1px rgba(0,0,0,.4);
	width: 370px;
	height: 100%;
}

.testimonial .testimonial-image {
	height: 200px;
	background-size: cover;
	background-position: center center;
}

.testimonial .testimonial-text {
	padding: 48px;
	height: calc(100% - 200px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.testimonial .testimonial-quote p,
.testimonial .testimonial-person p {
	margin: 0;
}

.testimonial .testimonial-quote {
	display: inline;
	font-size: 25px;
	line-height: 25px;
	text-align: center;
	margin: 0;
	margin-bottom: 18px;
}

.testimonial .testimonial-person {
	font-size: 19px;
	line-height: 20px;
	text-align: right;
	align-self: flex-end;
}
@media (max-width: 576px) {
	.testimonial {
		width: 100%;
	}
	.testimonial > .testimonial-text {
		padding: 20px;
	}
	.testimonial > .testimonial-text .testimonial-quote {
		font-size: 20px;
		line-height: 20px;
	}
	.testimonial > .testimonial-text .testimonial-person {
		font-size: 18px;
	}
}

/*
--- ACF - Image Teasers --- 
*/
.teaser-image {
    height: 418px;
    width: 100%;
	overflow: hidden;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-shrink: 0;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
    transition: all 0.5s ease;
}
.teaser-image.hover {
  opacity: 0;
}
.hover {
    position: absolute;
    top: 0;
    left: 0;
    flex-grow: 100000;
}
.image-text p {
    margin: 0;
    white-space: normal;
    overflow-wrap: break-word;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 22px;
    font-weight: 700;
    padding: 20px;
	transition: all 0.5s ease;
}
.image-text {
    display: inline;
    color: #ffffff;
	position: relative;
	z-index: 4;
}
.teaser-image:hover .image-text {
	color: #000000;
}
.no-hover .teaser-image:hover .image-text {
	color: #ffffff;
}
.teaser-image:hover > .teaser-image.hover {
    opacity: 1;
}

/*
--- ACF - Member Profiles --- 
*/
.member-profile {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 300px;
    height: 500px;
    overflow: hidden;
	background-color: #ffffff;
	margin: 0 auto;
	margin-top: 50px;
    box-shadow: -10px 10px 10px rgb(0 0 0 / 30%);
}
.member-profile p,
.member-profile .member-description > div {
	color: #000000 !important;
}
.member-profile .header {
    font-size: 30px;
    font-weight: 400;
    line-height: 30px;
}
.member-image {
    display: block;
    height: 333px;
    width: 100%;
}
.member-image img {
    height: 333px;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.member-name {
    background-color: #ffffff;
    height: 167px;
    position: relative;
    min-height: 167px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: auto;
	padding: 20px;
	box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 20%);
}
.member-name-position {
    margin-top: auto;
    margin-bottom: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.member-name-position > p {
	text-align: center;
}
.member-name p:last-of-type {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 400;
}
.member-description {
    background-color: #ffffff;
    height: 500px;
    min-height: 500px;
    overflow-y: auto;
	padding: 20px;
}
.page-template-default:not(.page-id-4256) .member-description {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.member-description .header {
    font-size: 25px;
    font-weight: 400;
    line-height: 25px;
}
.member-description > p {
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
}
.member-description a {
	color: #1d376c;
}
.member-description a:hover {
	color: #3b558a;
}
.animate .core-label,
.animate .core-details,
.animate .member-name,
.animate .member-description {
    transition: all 0.5s ease-in-out;
}
.scroll-up-member {
    transform: translate3d(0px, -500px, 0px);
}


.technical-papers .member-name,
.technical-papers .member-image,
.technical-papers .member-image img {
	height: 250px;
	min-height: 250px;
}
.technical-papers .member-name p:first-of-type {
	font-size: 24px;
	line-height: 24px;
}

/*
--- ACF - Core Values --- 
*/
.single-core-value {
    min-width: 250px;
    height: 250px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-basis: 0%;
    flex-grow: 100000;
}
.core-label,
.core-details {
    display: flex;
    align-self: center;
    height: 250px;
    min-height: 250px;
}
.core-label p,
.core-details p {
    display: flex;
	flex-wrap: wrap;
	min-width: 100%;
    align-self: center;
	text-align: center;
    color: white;
    font-size: 25px;
    line-height: 25px;
    font-weight: 700;
}
.core-details {
	padding: 20px;
}

.scroll-up-value {
    transform: translate3d(0px, -250px, 0px);
}
@media (min-width: 782px) {
	.core-values .wp-block-column {
		overflow: hidden;
	}
}