.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper {
  position: relative;
  overflow: hidden;
}
.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper img {
  transition: all 0.4s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .team-current-theme4 .tm-staff .staff-inner .thumb-wrapper img {
    transition: none;
  }
}
@media (max-width: 991.98px) {
  .team-current-theme4 .tm-staff .staff-inner .thumb-wrapper img {
    width: 100%;
  }
}
.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links {
  bottom: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-out;
  width: 100%;
  right: 0;
  margin: 0 auto;
  z-index: 2;
  transition: all 0.4s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links {
    transition: none;
  }
}
@media (max-width: 1199.98px) {
  .team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links {
    width: 100%;
    text-align: center;
  }
}
.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links ul {
  text-align: center;
}
.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links ul li {
  display: inline-block;
  margin-right: 7px;
}
.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links ul li a {
  border-radius: 50%;
  display: inline-block;
  height: 38px;
  line-height: 38px;
  text-align: center;
  width: 38px;
  background: var(--theme-color1);
  color: var(--text-color-bg-theme-color1);
  transition: all 0.4s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links ul li a {
    transition: none;
  }
}
.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links ul li a:hover {
  background-color: var(--theme-color2);
  color: var(--text-color-bg-theme-color2);
}
.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper .staff-social-links ul li:last-child {
  margin-right: 0;
}
.team-current-theme4 .tm-staff .staff-inner .thumb-wrapper:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  z-index: 1;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0);
  -moz-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transition: transform 0.5s cubic-bezier(0.57, 0.04, 0.06, 0.84), opacity 0s 0.5s;
  transition: transform 0.5s cubic-bezier(0.57, 0.04, 0.06, 0.84), opacity 0s 0.5s;
  background-color: rgba(var(--theme-color2-rgb), 0.85);
}
.team-current-theme4 .tm-staff .staff-inner .staff-content {
  background-color: #fff;
  padding: 30px 0 30px;
  position: relative;
  text-align: center;
  box-shadow: 0px 10px 30px 0px rgba(1, 25, 50, 0.08);
}
.team-current-theme4 .tm-staff .staff-inner .staff-content:before {
  content: "";
  height: 3px;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transition: all 0.4s ease-out;
  background: var(--theme-color1);
}
@media (prefers-reduced-motion: reduce) {
  .team-current-theme4 .tm-staff .staff-inner .staff-content:before {
    transition: none;
  }
}
.team-current-theme4 .tm-staff .staff-inner .staff-content .name {
  margin-bottom: 2px;
  margin-top: 0;
}
.team-current-theme4 .tm-staff .staff-inner .staff-content .speciality {
  text-transform: capitalize;
}
.team-current-theme4 .tm-staff .staff-inner:hover .thumb-wrapper img {
  transform: scale(1.1);
}
.team-current-theme4 .tm-staff .staff-inner:hover .thumb-wrapper .staff-social-links {
  bottom: 20px;
  opacity: 1;
  visibility: visible;
}
.team-current-theme4 .tm-staff .staff-inner:hover .thumb-wrapper:after {
  opacity: 1;
  -webkit-transform: scaleY(1);
  -moz-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transition: transform 0.5s cubic-bezier(0.57, 0.04, 0.06, 0.84), opacity 0s;
  transition: transform 0.5s cubic-bezier(0.57, 0.04, 0.06, 0.84), opacity 0s;
}
.team-current-theme4 .tm-staff .staff-inner:hover .staff-content:before {
  transform: scaleX(1);
}