.teamList {
    position: relative;
}

.teamListWrapper {
    width: 95.14%;
    margin-left: auto;
    padding-left: 100px;
    padding-right: 100px;
    position: relative;
}

.team_card {
    flex: 0 0 auto;
    width: 27.28%;
    text-align: center;
   
}

.team_card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 25px;
}

h5.person_name {
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 4px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--secondary-color);
    cursor: pointer;
}
h5.person_name:hover {
    text-decoration: none;
}
.team_card h4 {
    text-transform: capitalize;
    margin-bottom: 6px;
}
/* p.position {
    font-family: Work Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
} */

p.see_all_team a {
    color: var(--primary-color);
    text-align: center;
    font-family: Work Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.8px;
    display: block;
}
p.see_all_team a:hover {
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-decoration-thickness:2px;
    text-underline-offset: 3px;
}

.see_all_team img{
    width: 13px;
    vertical-align: middle;
}
/******Modal Popup*******/
.team_modal_popup {
    width: 69.44446%;
    margin: auto;
    box-shadow: 0px 0px 10px #0000004f;
    position: fixed;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    visibility: hidden;
}
.team_card img{
    cursor: pointer;
}
.team_modal_popup.show {
    background: #fff;
}

.modal_wrapper {
    /* display: flex; */
    flex-wrap: wrap;
    min-height: 620px;
}

.team_profile {
    flex: 0 0 auto;
    width: 36%;
    background: var(--primary-color);
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.team_bio {
    flex: 0 0 auto;
    width: 64%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 140px 80px 90px 40px;
    flex-direction: column;
    background: #fff;
}

.team_profile img {
    border-radius: 50%;
    margin-bottom: 20px;
    width: 100%;
}

.team_profile .email{
    text-align: center;
}

.team_profile .email a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
}

.team_bio h5 {    
    text-transform: capitalize;
    margin-bottom: 4px;
}

.team_info_wrapper .pronouns {
    text-transform: capitalize;
    margin-bottom: 11px;
}

.team_bio_info {
    margin-top: 36px;
    font-family: Work Sans;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 50px;
}
.team_bio_info strong {
    font-weight: 600;
    color: var(--secondary-color);
}

.team_info_wrapper {
    height: 390px;
    overflow-x: auto;
    padding-right: 40px;
}


.team_modal_popup .close_icon {
    position: absolute;
    right: 40px;
    top: 40px;
    cursor: pointer;
}

.team_info_wrapper::-webkit-scrollbar {
    width: 18px;
}

/* Track */
.team_info_wrapper::-webkit-scrollbar-track {
    border: 3px solid #F4F5F0;
    background-color: #F4F5F0;
    border-radius: 0px;
}

/* Handle */
.team_info_wrapper::-webkit-scrollbar-thumb {
    border: 4px solid #F4F5F0;
    background-color: #ffffff;
    border-radius: 10px;
}

.show {
    visibility: visible;
}

.hide {
    display: none;
}
.modal-background {
    background: rgb(244 245 240 / 60%);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 5;
    display: none;
}
.col_gap_130 {
    column-gap: 9.08%;
}
.team_tab_content .row, .teamList .row{
    row-gap: 60px;
}
.teamList .teamListWrapper{
    padding: 150px 6.95%;
}
.teamsList .team_tab_content{
    display: none;
}
.teamsList .team_tab_content.active{
    display: block;
}
.teamsList .team_wrapper{
    margin-top: 60px;
}
.team_card {
    position: relative;
}
.star1, .star2 {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all 2s;
}
.star1{
    top: 24px; left: 0px;
}
.star2{
    top: 50px; right: 0px;
}
.team_card:hover .star1,.team_card:hover .star2{
    opacity: 1;
    visibility: visible;
}
.lds-dual-ring.hidden { 
    display: none;
 }
 .lds-dual-ring {
    display: inline-block;
    width: 100%;
    position: absolute;
    top: 40%;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    position: relative;
    top:35%;
    margin:auto;
    transform:translate(50%,50%);
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: black transparent black transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
 }
 /*.teamMember:nth-child(n+7) {
    display: none;
}*/
.lds-dual-ring.teamListLoader{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin-bottom: 40px;
}
.team_bio_info p{
    margin-bottom: 20px;
}
.team_bio_info p:last-child{
    margin-bottom: 0;
}
.teamList .see_all_team{
    margin-top: 60px;
}


/********Responsive*******/

@media (max-width: 1280px) {
    .teamList .teamListWrapper {
        padding: 120px 5.95%;
    }
    .modal_wrapper {
        min-height: 520px;
    }
    .col_gap_130 {
        column-gap: 4.5%;
    }
    .team_card{
        width: 30.28%;
    }
}
@media (max-width: 1150px){
    .col_gap_130 {
        column-gap: 3%;
    }
    .team_card{
        width: 31.28%;
    }
}
@media (min-width: 992px) and (max-width: 1239.98px) {
    .team_bio{
        padding: 80px 80px 80px 40px;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* .team_modal_popup {
        width: 95%;
    } */
    .team_profile img {
        width: 95%;
    }
    .team_bio_info{
        margin-top: 40px;
    }
}
@media (max-width: 991.98px) {
    .team_card .surname{
        display: block;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .col_gap_130 {
        column-gap: 5%;
    }
    .team_bio {
        padding: 40px;
    }
    .teamListWrapper {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
    }

    .team_card img {
        margin-bottom: 15px;
    }

    .team_card {
        flex: 0 0 auto;
        width: 30%;
    }
    .team_tab_content .row, .teamList .row{
        row-gap: 40px;
    }

    .team_modal_popup {
        width: 95%;
    }
    .team_bio_info p {
        font-size: 16px;
        line-height: 24px;
    }
    .team_bio_info {
        margin-top: 30px;
    }
    .modal_wrapper{
        min-height: 520px;
    }
    .team_modal_popup .close_icon{
        right: 20px;
        top: 20px;
    }
}
@media (max-width: 767.98px) {
    .col_gap_130 {
        column-gap: 10%;
    }
    .teamListWrapper {
        width: 100%;
        margin-left: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .team_card {
        width: 45%;
        margin-bottom: 40px;
    }

    .col_gap_130 {
        column-gap: 10%;
    }

    .team_modal_popup {
        width: 95%;
    }

    .team_bio_info {
        margin-top: 15px;
    }

    .team_profile {
        padding: 30px 30px;
        flex-direction: column;
        width: 100%;
    }
    /* .team_modal_popup.show{
        transform: translate(-50%, -50%) scale(1);
    } */
    .modal_wrapper{
        min-height: auto;
    }
    .team_modal_popup .close_icon{
        right: 20px;
        top: 20px;
    }
    .teamList .teamListWrapper {
        padding: 80px 6.7%;
    }
    .team_card .surname{
        display: inline;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    /* .team_card {
        width: 26.555%;
    } */
    .team_profile {
        width: 40%;
    }
    .team_profile img {
        width: 75%;
    }
    .team_bio {
        width: 60%;
        padding: 40px 50px 40px 40px;
    }
    .team_info_wrapper {
        height: 295px;
        padding-right: 20px;
    }
    .team_bio_info p {
        font-size: 16px;
        line-height: 24px;
    }
    .teamList .see_all_team{
        margin-top: 40px;
    }
}
@media (max-width: 575.98px) {
    .team_card {
        width: 100%;
        margin: auto;
    }
    .team_tab_content .row, .teamList .row{
        row-gap: 40px;
    }
    .team_card img {
        margin-bottom: 20px;
        width: 61.54%;
    }
    h5.person_name{
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 4px;
    }
    .team_card h4 {
        margin-bottom: 7px;
    }
    .team_modal_popup {
        width: 86.67%;
        margin-top: 25px;
    }
    .modal_wrapper {
        min-height: 620px;
        max-height: 100vh;
        overflow-y: auto;
        padding-bottom: 50px;
    }
    .team_profile {
        padding: 53px 22px;
    }
    .team_bio {
        width: 100%;
        padding: 25px;
    }
    .team_modal_popup .team_bio{
        padding: 30px;
    }
    .team_modal_popup .team_bio .profileName {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 5px;
    }
    .team_info_wrapper .pronouns {
        margin-bottom: 10px;
    }
    .team_info_wrapper {
        height: auto;
        padding-right: 20px;
    }
    .team_bio_info p, .team_bio_info {
        font-size: 16px;
        line-height: 24px;
    }
    .team_bio_info {
        margin-top: 30px;
        margin-bottom: 0px;
    }
    .teamMember:nth-child(n+4) {
        display: none;
    }
    .teamList .see_all_team{
        margin-top: 40px;
    }
    .star1 {
        top: 26px;
        left: 18%;
    }
    .star2 {
        top: 40px;
        right: 16%;
    }
    .team_card .star1 img, .team_card .star2 img {
        width: 74%;
    }
}