.bm-staff-img-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.bm-staff-img-grid img {
margin-bottom: 0 !important;
}
.bm-staff-img-grid .bm-meet-team {
text-align: left !important;
padding: 0 20px;
}
.bm-staff-img-grid .bm-meet-team img {
height: 50px !important;
width: auto !important;
}
.bm-staff-img-grid .bm-meet-team {
display: none !important;
}
@media screen and (min-width: 999px) {
.bm-staff-img-grid {
grid-template-columns: repeat(6, 1fr);
}
}
@media screen and (min-width: 650px) {
.bm-staff-img-grid {
grid-template-columns: repeat(4, 1fr);
}
}
@media screen and (min-width: 1250px) {
.bm-staff-img-grid .bm-meet-team {
display: flex !important;
}
}
.bm-staff-img-grid .bm-meet-team {
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
}
.bm-staff-img-grid .bm-meet-team img {
margin-bottom: 10px !important;
}
.bm-staff-img-grid .bm-staff-img-grid__item {
position: relative;
overflow: hidden;
}
.bm-staff-img-grid .staff-item__meta {
display: flex;
justify-content: flex-end;
flex-direction: column;
position: absolute !important;
bottom: -50px;
left: 0;
right: 0;
height: 100%;
padding: 0 20px 20px 20px;
z-index: 123123;
transition: all 0.4s ease;
background: linear-gradient(to top, #645f5f, #00000000) !important;
border-radius: 4px;
opacity: 0;
}
.bm-staff-img-grid__item:hover .staff-item__meta {
bottom: -0px !important;
opacity: 1;
}
.bm-staff-img-grid__item img {
border-radius: 4px;
}