
.section-team {
    margin-bottom: 8rem;
}
.team-btn{
    z-index:10;
    opacity:0;
    transition:all .3s;
    position:relative;
    align-items:center;
    display:flex;
    flex-direction:column;
}
.team-btn:hover{
    z-index:11;
    opacity:1 !important;
    transform:scale(1.2);
}
.team-img{
    display:inline-block;
    border-radius:100px !important;
    border: 4px solid var(--orange-light-light) !important;
    width:100px !important;
    height:100px !important;
    transition: all .3s;
    background: var(--white);
}
.team-img:hover{
    border: 4px solid var(--orange-light) !important;
    box-shadow:var(--shadow-md);
}
.team-img.bio{
    width:160px !important;
    max-width: max-content;
    border: 6px solid var(--orange-light) !important;
    height:auto;
    position: absolute;
    top: -80px;
    left: calc(50% - 80px);
}
.email{
    color: white;
}
.email:hover{
    color: white;
}

.team-imagesFlex {
  display: flex !important;
  /*max-width:800px;*/
  flex-flow: row wrap !important;
  justify-content: center;
  margin:auto;
}

a.openModalTeamBtn, a.openModalTeamBtn:hover{
    text-decoration:none !important;
    border: 0 !important;
    cursor:pointer;
    color:unset;
    font-weight:unset;
}
.linkedin {
    position: absolute;
    top: 50px;
    left: calc(50% + 50px);
}
.department:after{
    content:" / ";
}
.department:last-of-type:after{
    content:"";
}
.team-btn .badge{
    opacity:0;
    transition:all .3s;
    width:auto;
    bottom:-40px;
    position:absolute;
    z-index:2;
    white-space:nowrap;
    align-self:center;
}
.team-btn .badge.show{
    opacity: 1;

}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-gap: 20px !important;
}
.team-btn.card {
    padding:var(--box-padding-lg);
    background:var(--white);
    border-radius:var(--round-deep);
    margin-top:var(--margin-tb-md);
    display:flex;
    justify-items: center;
    justify-content: center;
    padding: var(--box-padding-md);
    gap: 40px;
}
.team-btn.card .team-img{
    border: 4px solid var(--orange-light-light) !important;
    width:200px !important;
    height:200px !important;
    transition: all .3s;
    background: var(--white);
}

@media screen and (max-width: 1024px) {
    .team-col-left{
        text-align:center;
    }
  .linkedin {
    top: 10px;
    left: calc(50% + 40px);
    }
  .modal-content {
    width: 80%;
    max-height:75%;
  }
  .modal-content .team-img {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    margin: 15px;
    display:inline-block;
    border-radius:100px !important;
    border-width: 2px !important;
    width:100px !important;
    height:auto;
    left: calc(50% - 50px);
  }
}

@media screen and (max-width: 768px) {

    .team-btn:not(.card) .team-img {
        display: flex !important;
        flex-flow: row wrap !important;
        justify-content: center;
    }
    .team-btn:not(.card) .team-img {
        width: 95px !important;
        min-width: 95px !important;
        max-width: 95px !important;
        height: 95px !important;
        min-height: 95px !important;
        max-height: 95px !important;
        margin: 5px;
    }

  
}

@media screen and (max-width: 992px) {
    .cards { 
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media screen and (max-width: 576px) {
    .cards { 
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }   
}

