.thumbnail-staff {
    flex-direction: row;
    border: 1px solid #E7E7E7;
    margin-bottom: 30px;
    padding: 30px 15px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
}
.row-employess {
    margin: 0 -15px;
}
.office-staff-first .nav-tab-employees {
    margin-bottom: 33px;
    border: none;
}
.nav-tab-employees .nav-item {
    flex: 1 1 33%!important;
}
.office-staff-first .nav-tab-employees li a {
    border: none;
    border-radius: 0;
    background: #F4F4F4;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px; 
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #343434;
    padding: 16px 0 15px;
}
.nav-tab-employees li a:hover{
    color: #CC0000;
    background: rgba(204, 0, 0, 0.1);
}
.office-staff-first .nav-tab-employees li a.active {
    background-color: #CC0000;
}
.office-staff-first {
    padding-bottom: 40px;
}
.staff-image {
    border-radius: 0;
    max-height: 210px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.staff-image img {
    width: 150px;
    margin: 0 auto;
    display: block;
}
.surname {
    font-family: 'AvenirNextCyrDemi', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;  /* identical to box height */
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #343434;
    margin-bottom: 9px;
}
.position {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;  /* identical to box height, or 150% */
    color: #9E9E9E;
    padding-bottom: 18px;
    border-bottom: 1px solid #E7E7E7;
    margin-bottom: 16px;
}

.phone, .mail {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;  /* or 150% */
    color: #343434;
    margin-bottom: 8px;
}

.office-staff-first .send-message-staff {
    background: #CC0000;
    border-radius: 5px;
    font-family: 'AvenirNextCyrDemi', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 8px 18px 8px;
    border: 1px solid #CC0000;
}
.office-staff-first .send-message-staff:hover{
    text-decoration: none;
    color: #CC0000;
    background: transparent;
    border: 1px solid #CC0000;
}
@media (max-width: 768px){
    .staff-image {
        margin-bottom: 15px;
    }
    .caption-staff.card-info {
        text-align: center;
    }
}