
.listteam-block{
    margin-top: 60px;
    margin-bottom: 100px;
}
.listteam-block:before{
    content: "";
    display: block;
    background: url("../../../assets/images/left-overlay-sec.svg");
    background-size: cover;
    position: absolute;
    left: -5vw;
    top: 20vh;
    width: 39vw;
    height: 37.6vw;
    z-index: 0;
    position: absolute;
}
.wrapper-list{
    width: 1360px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.title-students{
    font-weight: 800;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color:  #1A1B1F;
}
.title-students:before{
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #BC1E21;
    margin-bottom: 15px;
}
.listteam-block .title-filters{
    position: relative;
}
.container-team-drop{
    position: absolute;
    right: 0;
    top: 23px;
    display: flex;
    z-index: 2;
}
.container-team-drop .filter-by{
    font-weight: 500;
    font-size: 13px;
    line-height: 40px;
    text-align: right;
    color: #1A1B1F;
    margin-right: 10px;
}
.container-team-drop .select{
    height:40px;
    width:240px;
    overflow:hidden;
    background-color: #fff;
    border: 2px solid #1A1B1F;
    padding:0px;
    margin:0px;
    cursor:pointer;
}

.container-team-drop .select:hover{
    height:auto;
}

.container-team-drop .select li{
    height:40px;
    line-height:40px;
    padding-left:5px;
    background: none;
    margin-bottom: 0;
}

.container-team-drop .select li:hover{
    background-color:#BC1E21;
}

.container-team-drop .select li a{
    text-decoration:none;
    color:#1A1B1F;
    font-family:calibri;
}

.container-team-drop .select li:first-child a:after{
    content:' ';
    background-image: url('../../../assets/images/arrow-select-white.svg');
    background-size:16px 16px;
    background-position:center center;
    background-repeat:no-repeat;
    float:right;
    height:40px;
    width:40px;
    text-align:center;
    line-height:20px;
    filter: invert(100%);
}
.team-category-title{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 29px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color:  #1A1B1F;
    border-bottom: 3px solid #BC1E21;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.team-list{
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    margin-right: -2%;
}
.team-box{
    background: url('../../../assets/images/team-image-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    flex: 0 0 23%;
    height: 420px;

    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    justify-content: flex-start;
    box-shadow: 0px 0px 10px 0px #00000025;
}
.team-box::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: #BC1E21;
    opacity: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.team-box:hover:after{
    opacity: 0.85;
}

.team-box img{
    width: 100%;
    height: 100%;
    object-fit: none;
    display: block;
}
.team-box .person-image {
    height: 75%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.team-box .person-image:before{
    content: "";
    background: linear-gradient(0deg, #254D59 0%, rgba(217, 217, 217, 0) 100%);
    mix-blend-mode: multiply;
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
}
.anchorlink{
    display: block;
    margin-top: -220px;
    padding-top: 220px;
}
.team-box .person-text{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    background: #fff;
}
.team-box:hover .person-text{
    background:transparent;
}
.team-box .person-text .details-person{
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}


.team-box .person-text .person-title{
    font-family: 'Roboto';
    font-weight: 600;
    font-size: 25px;
    line-height: 32px;
    color: #BC1E21;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    margin-bottom: 10px;
    display: block;
}
.team-box .person-text .person-year{
    font-family: 'Noto Sans';
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1A1B1F;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    margin-bottom: 10px;
}
.team-box:hover .person-text .person-title,
.team-box:hover .person-text .person-year{
    color: #fff;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.team-box .person-text .hidden-content{
    visibility: hidden;
    opacity: 0;
    height: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    overflow: hidden;
}
.team-box:hover .person-text .hidden-content{
    visibility: visible;
    opacity: 1;
    height: 30px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.team-box .person-text .hidden-content .excerpt{
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 33px;
    color: #fff;
    margin-top: 10px;
}
.team-box .person-text .hidden-content .link-video{
    margin-top: 10px;
    flex-direction: row;
    display: flex;
    justify-content: space-between;
}
.team-box .person-text .hidden-content .link-video .video-person{
    font-weight: 500;
    font-size: 12.5px;
    line-height: 16px;
    letter-spacing: 1.78571px;
    text-transform: uppercase;
    color: #FFFFFF;
    position: relative;
    padding-bottom: 10px;
}
.team-box .person-text .hidden-content .link-video .video-person i,
.team-box .person-text .hidden-content .link-video .video-person svg{
    font-weight: 400;
    font-size: 10.7143px;
    line-height: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.team-box .person-text .hidden-content .link-video .video-person:after{
    content: "";
    height: 2px;
    background: #fff;
    width: 0;
    display: block;
    position: absolute;
    bottom: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.team-box .person-text .hidden-content .link-video .video-person:hover:after{
    width: 100%;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.team-box .person-text .hidden-content .link-video .view-profile-person{
    font-weight: 500;
    font-size: 12.5px;
    line-height: 16px;
    letter-spacing: 1.78571px;
    text-transform: uppercase;
    color: #FFFFFF;
    position: relative;
    padding-bottom: 10px;
}
.team-box .person-text .hidden-content .link-video .view-profile-person:after{
    content: "";
    height: 2px;
    background: #fff;
    width: 0;
    display: block;
    position: absolute;
    bottom: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.team-box .person-text .hidden-content .link-video .view-profile-person:hover:after{
    width: 100%;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
@media only screen and (max-width: 1400px) {
    .wrapper-list{
        width: 100%;
        margin: 0 auto;
        padding: 0 5vw;
        box-sizing: border-box;
    }
}
@media only screen and (max-width: 1024px) {
    .team-list{
        gap: 0%;
    }
    .team-box{
        flex: 0 0 100%;
    }
    .container-team-drop {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
}