.team_list ul { padding: 0; margin: 0; list-style: none; display: flex; flex-flow: wrap; align-items: center; justify-content: flex-start; gap: 10px;}
.team_list ul li { padding: 5px 15px; border: 1px solid #111;font-weight: 600; cursor: pointer;}
.team_list { padding-bottom: 20px;}
.team_list ul li:hover {background-color: #00FF8C;border-color: #00FF8C;}
.team_list ul li.active { background-color: #00FF8C; border-color: #00FF8C;}


.team_detail{ margin:5px; }
/* .team_row {display: flex; align-items: flex-start; justify-content: center;  gap: 10px;} */
.team_detail.small { width:calc(25% - 10px); height:462px; overflow:hidden;}
.team_detail.large { width:calc(50% - 10px); height:362px; overflow:hidden;}

.team_detail.small img{ height:462px !important;}
.team_detail.large img{ height:362px !important;}

.team_content.right_align { right: 0; left: auto; text-align: end;}
.team_content.right_align .media_links { justify-content: end;}

.team_detail.small img.landscape {
    display: none;
}

.team_detail.large img.portrait {
    display: none;
}

.box.blank {
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #aaa;
}

@media(min-width:501px){}
.team_row { gap: 10px; grid-template-columns:calc(50% - 5px) calc(50% - 5px); display: grid; margin: 0 auto; max-width: 1300px; }
.team_row .box-group { gap: 10px; display: grid; }
.team_row .box.box-6 { aspect-ratio: 9 / 13; }
.team_row .box.box-12 { aspect-ratio: 16 / 9; grid-column: 1 / span 2; }



.team_row .box { position: relative; gap: 10px; background-color: #ddd; max-height: 500px; transition: max-height 1s; }

.team_row .team_thumbnail img { position: absolute; z-index: 0; width: 100%; height: 100% !important; !i; !; }
.team_row .team_detail { margin: 0; height: 100%; }
.team_row .team_detail_wrap { height: 100%; }
.team_row .team_content { transform: translateY(0px); }
.team_row .box .team_content .media_links { height: 0; transition: all 0.4s ease; overflow: hidden; }
.team_row .box:hover .team_content .media_links { height: 15px; opacity: 1; }
.team_thumbnail {
    height: 100%;
}
.team_row  img {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team_row .box {
    overflow: hidden;
}

.team_row .box .content {
    height: 100%;
}

.team_row .box {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.team_row.wrap-left-last {}

.team_row.wrap-left-last .box-group.left:last-child {
    width: 1310px;
    grid-template-columns: repeat(4, 1fr);
}

.team_row.wrap-left-last .box-group.left:last-child .box:nth-child(3) {
    grid-area: 1/3/2/5;
}

.box.blank {
    display: none;
}

.team_row .box .info {
    transition: opacity .3s, bottom .3s;
    line-height: 1.1;
    background-color: #00FF8C;
    padding: 15px 15px;
    z-index: 3;
    position: absolute;
    bottom: 0;
}

.team_row .box .info svg {
    width: 18px;
    height: 18px;
}

.team_row .box .info .name {
    font-weight: 600;
}

.team_row .box .info .designation {
    font-size: 14px;
}

.team_row .box .info .social-link {height: 0;overflow: hidden;transition: all 0.3s ease;opacity: 0;margin-top: 0;display: flex;flex-wrap: wrap;gap: 10px;}

.team_row .box:hover .info .social-link {
    height: 18px;
    opacity: 1;
    margin-top: 15px;
}
.team_row .box {
    position: relative;
}

.team_row .box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00FF8C;
    z-index: 4;
    transition: all 0.3s ease;
}

.team_row .box:not(.loading):before {
    opacity: 0;
    visibility: hidden;
}

.team_row .box.loading:before {
    opacity: 1;
    visibility: visible;
}

.team_row .box:not(.loading) img {
    transform: scale(1);
    transition: all 0.5s ease-in-out;
}

.team_row .box.loading img {
    transform: scale(1.1);
    transition: all 0.5s ease-in-out;
}


.team_row .box.box-6 img.landscape {
    display: none;
}

.team_row .box.box-12 img.portrait {
    display: none;
}
.team_row .box img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: filter .5s;
}

.team_row .box:hover img {
    -webkit-filter: none;
    filter: none;
}

.team_row .box-group.left .box-6:nth-child(2) .info {
    left: auto;
    right: 0;
}

.team_row .box-group.right .box:nth-child(3) .info {left: auto;right: 0;}
.team_row .box .info .social-link .no-value {
    display: none;
}
/*new*/

@media(max-width:1230px){ 
    .team_row .box.box-6 {
        height: 340px;
    }
}
@media(max-width:991px){
    .team_row .box.box-6 {
        height: auto;
    }

    .team_row .box .info .name {
        font-size: 15px;
    }

    .team_row .box .info .designation {
        font-size: 13px;
    }
}

@media(max-width:767px){
    .team_list ul { display: flex; flex-flow: wrap;}
    .team_list ul li { width: 100% !important; }
    .team_detail.small { width: 100%; position: relative !important; left: 0 !important; top: 0 !important; height:300px !important  }
    .team_detail.large { width: 100%; position: relative !important; left: 0 !important; top: 0 !important; height:300px !important; }
    .team_detail { margin:5px 0px !important; }
    .team_row {grid-template-columns: 100%;}

    .team_row .box .info .social-link {
        height: 18px;
        opacity: 1;
        visibility: visible;
        margin-top: 9px !important;
    }

    .team_row .box .info .name {
        font-size: 18px;
    }

    .team_row .box .info .designation {
        font-size: 14px;
    }
}


@media(max-width:500px){
    .team_row .box.box-6 .images-wrapper {
        position: relative;
        padding-bottom: 100%;
    }

    .team_row .box {
        aspect-ratio: auto !important;
    }

    .team_row .box .info {
        position: static;
        background: transparent;
        padding: 10px 0 0;
    }

    .team_row {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .team_row .box.box-12 .images-wrapper {
        padding-bottom: 100%;
        position: relative;
    }

    .team_row .box {
        width: calc(50% - 5px);
        background: transparent;
    }

    .team_row .box:hover .info .social-link {
        display: block;
    }

    .team_row .box .info .social-link {
        display: none;
    }

}






