/*
 * Team Single
*/

.our-team-menu-item a {
	position: relative;
}

header.show #menu-main-menu > li.our-team-menu-item > a::before,
li.our-team-menu-item > a::before {
	content: '';
    display: block;
    width: 100%;
    height: 5px !important;
    background: #4ACD3E !important;
    position: absolute;
    bottom: 0.1em;
}

.photo-col {
	position: relative;
	padding-top: 2em;
}

.back-to-team {
	position: absolute;
	top: 0;
	left: 15px;
	border: 0;
	background-color: transparent;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.11em;
	padding: 0;
	color: #4F4D88;
	text-transform: uppercase;
	z-index: 2;
}

.member-top .full-width {
	position: relative;
	padding-top: 3em;
}

.member-top {
	padding-top: 12em;
}

.member-top .photo {
	display: flex;
	align-items: flex-start;
	height: 100%;
	justify-content: center;
}

.member-top .photo.eir-photo {
	height: auto;
	float: left;
	margin-right: 2em;
}

.member-top .photo video {
	width: 100%;
	filter: brightness(107%);
}

.member-top .photo img {
    width: 100%;
    max-height: 580px;
    object-position: top;
    object-fit: cover;
    filter: brightness(103%);
}

article#post-3615 .photo img,
article#post-1106 .photo img,
article#post-3574 .photo img,
article#post-5771 .photo img,
article#post-6119 .photo img,
article#post-5576 .photo img {
    object-fit: contain;
}

.member-top .photo.eir-photo img {
	width: 22.7em;
	max-width: 100%;
	margin-bottom: 0.5em;
}

.member-top h1 {
	margin-bottom: 0;
	font-family: Roboto;
	font-weight: 300;
	font-size: 2.88em;
	line-height: 1.12;
}

.member-top .position {
	line-height: 1;
	margin-bottom: 0.6em;
	color: #4F4D88;
}

.member-quote {
	color: #4F4D88;
	/*max-width: 21em;*/
	margin-bottom: 1em;
}

.socials {
	margin-bottom: 2em;
}

.socials a {
	display: inline-block;
	margin-right: 1em;
}

.member-top .content {
	line-height: 1.77;
	color: #4F4D88;
	opacity: 0.8;
	/*max-width: 31em;*/
	margin-bottom: 1.4em;
}

.member-top .content p {
	margin-bottom: .5em;
}

.mobile-content,
.mobile-content .member-quote,
.mobile-content .content {
	display: none;
}

section.transactions {
	background: #F1F1F1;
	padding: 4.5em 0 1px;
}

section.transactions h2 {
	padding: 0 15px;
	text-transform: uppercase;
}

.transactions-subtitle {
	margin-bottom: 2.8em;
	padding: 0 15px;
	color: #4F4D88;
}

.latest-news {
	padding-top: 1.1em;
	background: #F1F1F1;
	margin-bottom: 2em;
}

.latest-news article > img {
	display: none;
}

.latest-news .row article:not(:nth-child(1)):not(:nth-child(2)) .type-post-meta {
	border-top: 2px solid #AEAEB8;
}

section.transactions .row {
	margin: 0 -15px;
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-auto-flow: row dense;
}
.socials {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-end;
}
@media (max-width: 1650px){
	.member-quote {
		margin-bottom: 0.2em;
		line-height: 1.5;
		font-size: 15.4px;
	}

	.socials {
		margin-bottom: 1.5em;
	}

	.member-top .content {
		line-height: 1.5;
	}
}

@media (max-width: 991px) {
	.member-top {
		padding-top: 8em;
	}

	.member-top h1 {
		font-size: 2.5em;
	}

	.member-top .col-6 .content {
		display: none;
	}

	.mobile-content,
	.mobile-content .content {
		display: block;
	}

	.mobile-content {
		padding-top: 1.5em;
	}

	.member-top .content {
		max-width: 100%;
		line-height: 1.5;
	}

	section.transactions .row {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {

	.member-top .photo.eir-photo img {
		margin-bottom: 1em;
	}

	.member-top h1 {
		font-size: 2em;
	}

	.member-top .col-6 .member-quote {
		display: none;
	}

	.mobile-content .member-quote {
		display: block;
		max-width: 100%;
	}

	.latest-news .row article:nth-child(2) .type-post-meta {
		border-top: 2px solid #AEAEB8;
	}

	section.transactions .row {
		grid-template-columns: repeat(2, 1fr);
	}

}

@media (max-width: 480px) {
	.back-to-team {
		font-size: 1em;
		width: 300px;
	}

	.member-top .col-6 {
		padding-top: 2em;
		min-height: 16em;
	}

	.member-top h1 {
		font-size: 1.9em;
	}

	.member-top .position {
		font-size: 1.4em;
	}

	section.transactions .row {
		grid-template-columns: repeat(1, 1fr);
	}
}