/*
Slider
Listing
Popout
 */

.flex-content.team-members .container > .text {
    margin-bottom: 0px;
}
/** Slider */
.flex-content.team-members .slides-container {
    display: flex;
    flex: 1;
    /* height: 65vh; */
    overflow: hidden;  
    position: relative;
    max-height: 865px;
    /* max-width: 60vw;
    min-width: 1000px; */
    /* width: 1512px; */
}
.flex-content.team-members .team-slide {
    align-items: flex-start;
    display: flex;
    gap: 56px;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    /* position: absolute; */
    /* width: calc(100% / 3); */
    width: 100%;
}
.flex-content.team-members .slides-inner {
    position: relative;
    height: 100%;
    width: 100%;  
    overflow: hidden;
}
.flex-content.team-members .slides-inner .team-slide,
.flex-content.team-members .slides-inner .team-slide.hide {
    display: none;
    visibility: hidden;
}
.flex-content.team-members .slides-inner .team-slide.active {
    display: flex;
    position: relative;
    visibility: visible;
    z-index: 100;
}
.flex-content.team-members .slider-nav {
    cursor: pointer;
    padding: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.18s ease-out;
    transform-origin: center;
}
.flex-content.team-members .slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
}
.flex-content.team-members .caret-back {
    transform: rotate(180deg);
}
.flex-content.team-members .fade-left,
.flex-content.team-members .fade-up {
    visibility: hidden;
}

/* Listing */
.flex-content.team-members {
    padding: 80px 30px;
    position: relative;
}
.team-listing h3 {
	margin: 30px auto 0 auto;
	text-align: center;
}
.flex-content.team-members .team-listing {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.flex-content.team-members .person {
    align-self: stretch;
    border-radius: 16px;
    border: 2px solid var(--Neutral-very-light, #DAE0E1);
    background: var(--White, #FFF);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 0 1 202px;
    gap: 16px;
    text-align: center;
    padding: 20px;
}

.flex-content.team-members .person-inner {
    width: 100%;
}

.scrollable {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
}

.flex-content.team-members .person-inner .left-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.flex-content.team-members .person-inner .left-side > .row {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
}

.flex-content.team-members .person .more-text,
.flex-content.team-members .person p {
    font-family: "Red Hat Display";
    margin-bottom: 0px;
}

.flex-content.team-members .person .more-text {
    align-items: center;
    display: flex;
    gap: 10px;
    font-weight: 600;
    justify-content: center;
    margin: auto auto 0 auto;
}

.flex-content.team-members .person .more-text .caret {
    transition: all 0.18s ease-out;
}

.flex-content.team-members .person .more-text:hover .caret {
    margin-left: 5px;
}

.flex-content.team-members .headshot-container {
    align-items: center;
    display: flex;
    height: 124px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    width: 162px;
}
.flex-content.team-members .headshot-container img {
    height: auto;
    max-width: 100%;
    transform-origin: center;
    transition: all 0.5s ease-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
}
.flex-content.team-members .person:hover .headshot-container img {
    transform: translate(-50%, -50%) scale(1.1);
    transform-origin: center;
}
body section.flex-content.team-members .name {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 26.4px */
}
body section.flex-content.team-members .title {
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

/* Popout */
.flex-content.team-members .team-popout {
    background-color: white;
    border-radius: 16px;
    border: 2px solid var(--Neutral-very-light, #DAE0E1);
    display: none;
    padding: 50px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    z-index: -1;
}

.flex-content.team-members .team-popout .name {
    max-width: 60%;
    text-align: left;
}

.flex-content.team-members .team-overlay {
    background-color: rgba(0,0,0,0.5);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    visibility: hidden;
    width: 100%;
}
.flex-content.team-members .team-popout.open {
    display: block;
    max-width: 95vw;
    min-width: 70vw;
    z-index: 100001;
}
.flex-content.team-members .team-overlay.open {
    display: block;
    z-index: 10000;
}
body section.flex-content.team-members .team-popout .name {
    font-size: 44px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 52.8px */
}

.flex-content.team-members .team-popout .title {
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 33.6px */
}
.flex-content.team-members .team-popout .details,
.flex-content.team-members .team-popout .details p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}
.flex-content.team-members .team-popout .vid-info {
    align-items: center;
    display: flex;
    gap: 30px;
    margin-bottom: 48px;
}
.flex-content.team-members .team-popout .thumb {
    max-width: 244px;
}
.flex-content.team-members .team-popout .btn-container {
	display: flex;
	gap: 30px;
}
.flex-content.team-members .team-popout .close {
    cursor: pointer;
    padding: 20px;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1000;
}
.team-popout .close svg {
    transition: all 0.15s ease-in-out;
}
.team-popout .close:hover svg {
    transform: rotate(180deg);
}
.team-popout .socials a.linkedIn svg path {
    transition: fill 0.2s ease-out;
}
.team-popout .socials a.linkedIn:hover svg path {
    fill: var(--flame);
}
.controls {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.flex-content.team-members .slider-nav-btn.prev {
    left: 0px;
}
.flex-content.team-members .slider-nav-btn.next {
    right: 0px;
}
.flex-content.team-members .team-popout .bio,
.flex-content.team-members .team-popout .bio p {
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}
.flex-content.team-members .team-popout .bio p:first-child {
    margin-top: 0px;
}
.flex-content.team-members .team-popout .bio p:last-child {
    margin-bottom: 0px;
}
@media screen and (min-width: 992px) {
    .flex-content.team-members .team-popout .details {
        height: 100%;
        /* overflow-y: scroll; */
        /* overflow-x: hidden; */
        padding-right: 20px;
    }
}
@media screen and (max-width: 1399px) {
    .flex-content.team-members .team-popout.open {
        min-width: 90vw;
    }
}
@media screen and (max-width: 991px) {
    .flex-content.team-members .person-inner {
        overflow-y: auto;
        overflow-x: hidden;
        gap: 40px;
    }
	.flex-content.team-members .container {
		padding: 0px;
	}
	.flex-content.team-members .team-listing {
        gap: 25px;
        padding: 50px 0px;
        margin-bottom: 0px;
    }
    .flex-content.team-members .person {
        max-width: calc(50% - 20px);
    }
    body section.flex-content.team-members .name {
        font-size: 20px;
    }
    body section.flex-content.team-members .title {
        font-size: 18px;
    }
    .flex-content.team-members h2 {
        font-size: 44px;
        text-align: center;
    }
	.flex-content.team-members .team-popout {
        padding: 20px 0px 20px 50px;
    }
	.flex-content.team-members .team-popout .headshot {
        max-width: 100%;
    }
	.flex-content.team-members .team-popout .close {
        top: 0;
        right: 0;
    }
    .flex-content.team-members .slides-container {
        height: 50vh;
        min-height: 30vh;
        max-height: 80vh;
        max-width: 100%;
    }
    .flex-content.team-members .team-slide {
        flex-direction: column;
        height: 100%;
        justify-items: flex-start;
    }
    .flex-content.team-members .slides-inner .team-slide.active {
        justify-content: flex-start;
        padding-right: 50px;
    }
    .flex-content.team-members .slider-nav.next {
        right: 10px;
    }
    .flex-content.team-members .slider-nav.prev {
        left: -10px;
    }
}

@media screen and (max-width: 767px) {
    /* .flex-content.team-members .slides-container {  
        height: 80vh;
    } */
    .flex-content.team-members .team-popout .vid-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .flex-content.team-members .team-listing {
        gap: 15px;
    }

    body section.flex-content.team-members .team-popout .name {
        font-size: 32px;
    }
}