/*STAFF*/
office-staff-first {
    margin-bottom: 60px;
}
.office-staff-first .nav-fill .nav-item {
    flex: none;
    margin-right: 30px;
}
.office-staff-first .nav.nav-tabs.nav-pills.nav-fill.nav-tab-employees {
    border-bottom: 1px solid #DEDEDE;
    justify-content: center;
}


.office-staff-first a.nav-link {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 27px;
    text-transform: uppercase;
    color: #3C3947;
    padding: 0;
    padding-bottom: 8px;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid transparent;
}
.office-staff-first .nav-pills .nav-link.active, .office-staff-first .nav-pills .show > .nav-link {
    background: transparent;
    border: none;
    color: #000;
    border-bottom: 2px solid #F7FF14;
}
.office-staff-first .nav-tabs .nav-link:hover, .office-staff-first .nav-tabs .nav-link:focus {
    border: none;
    color: #000;
    border-bottom: 2px solid #F7FF14;
}
.office-staff-first .nav-tab-wrap{
    margin-bottom: 30px;
}
.office-staff-first .col-lg-6.staff-card {
    padding: 0;
    margin-bottom: 26px;
}
.office-staff-first .col-lg-6.staff-card {
    max-width: 50%;
}
.thumbnail-staff .col-md-6:first-child {
    flex: 0 0 35%;
    max-width: 180px;
    margin-bottom: 10px;
    padding-right: 5px;
}
.thumbnail-staff .col-md-6 {
    /* flex: 1;
    max-width: none; */
    flex: 0 0 65%;
    max-width: 65%;
}
.thumbnail-staff {
    background: transparent;
    border: none;
    flex-direction: row;
    /* align-items: center; */
    padding: 0;
}
.card-img-top.staff-image {
    /* width: 100%; */
}
.caption-staff .surname {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
    color: #796F6E;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.position {
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 21px;
    color: #796F6E;
    margin-bottom: 18px;
}
p.phone, p.mail {
    margin-bottom: .5em;
    display: flex;
    align-items: center;
}

p.phone a, p.mail a {
    display: block;
    width: 100%;
    height: 100%;

    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.3;
    /* identical to box height, or 131% */
    color: #796F6E;
    transition: all .18s;
}

p.phone a:hover, p.mail a:hover {
    text-decoration: underline;
    color: #000;
}
p.phone:before {
    content: '';
    display: inline-block;
    min-width: 16px;
    height: 16px;
    margin-right: 14px;
    background: url(../../../img/opel/icons/icon-team-phone.svg) no-repeat;
}
p.mail:before {
    content: '';
    display: inline-block;
    min-width: 18px;
    height: 18px;
    margin-right: 14px;
    background: url(../../../img/opel/icons/icon-team-email.svg) no-repeat;
}
a.send-message-staff {
    display: none;
}
@media (max-width: 767.98px) {
    ul.nav.nav-tabs.nav-pills.nav-fill.nav-tab-employees {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap !important;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        align-items: center;
        white-space: nowrap;
        justify-content: flex-start !important;
    }
    .office-staff-first .col-lg-6.staff-card {
        max-width: 100%;
    }
}