.team-current-theme2 .inner-box {
position: relative;
padding: 25px 15px 0;
}
.team-current-theme2 .inner-box:before {
position: absolute;
left: 0;
top: 0;
bottom: 120px;
width: 100%;
background-color: #F4F5F8;
content: "";
transition: all 400ms ease;
}
@media (prefers-reduced-motion: reduce) {
.team-current-theme2 .inner-box:before {
transition: none;
}
}
.team-current-theme2 .inner-box .info-box {
position: relative;
padding: 0 15px;
margin-bottom: 25px;
}
.team-current-theme2 .inner-box .info-box .share-icon {
position: absolute;
right: 20px;
bottom: -45px;
height: 40px;
width: 40px;
line-height: 40px;
text-align: center;
font-size: 16px;
color: var(--text-color-bg-theme-color1);
background-color: var(--theme-color1);
transition: all 300ms ease;
z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
.team-current-theme2 .inner-box .info-box .share-icon {
transition: none;
}
}
.team-current-theme2 .inner-box .info-box .name {
margin-top: 0;
margin-bottom: 5px;
}
.team-current-theme2 .inner-box .info-box .speciality {
display: block;
font-size: 12px;
font-weight: 500;
color: #767676;
text-transform: uppercase;
letter-spacing: 1px;
line-height: 1em;
transition: all 400ms ease;
}
@media (prefers-reduced-motion: reduce) {
.team-current-theme2 .inner-box .info-box .speciality {
transition: none;
}
}
.team-current-theme2 .inner-box .info-box .social-links {
position: absolute;
right: 20px;
top: 100%;
margin-top: 5px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
background-color: var(--theme-color1);
-webkit-transform: scaleY(0);
transform: scaleY(0);
-webkit-transform-origin: top;
transform-origin: top;
z-index: 3;
visibility: hidden;
opacity: 0;
transition: all 400ms ease;
}
@media (prefers-reduced-motion: reduce) {
.team-current-theme2 .inner-box .info-box .social-links {
transition: none;
}
}
.team-current-theme2 .inner-box .info-box .social-links a {
position: relative;
height: 40px;
width: 40px;
display: block;
font-size: 14px;
line-height: 40px;
text-align: center;
margin: 0;
color: var(--text-color-bg-theme-color1);
transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
.team-current-theme2 .inner-box .info-box .social-links a {
transition: none;
}
}
.team-current-theme2 .inner-box .info-box .social-links a:hover {
color: var(--text-color-bg-theme-color2);
background-color: var(--theme-color2);
}
.team-current-theme2 .inner-box .image-box {
position: relative;
}
.team-current-theme2 .inner-box .image-box .thumb {
position: relative;
overflow: hidden;
margin-bottom: 0;
}
.team-current-theme2 .inner-box .image-box .thumb img {
width: 100%;
transition: all 400ms ease;
}
@media (prefers-reduced-motion: reduce) {
.team-current-theme2 .inner-box .image-box .thumb img {
transition: none;
}
}
.team-current-theme2 .inner-box:hover:before {
background-color: var(--theme-color2);
}
.team-current-theme2 .inner-box:hover .info-box .name {
color: #ffffff;
}
.team-current-theme2 .inner-box:hover .info-box .speciality {
color: #8c8f94;
}
.team-current-theme2 .inner-box:hover .info-box .social-links {
-webkit-transform: scaleY(1);
transform: scaleY(1);
opacity: 1;
visibility: visible;
}
.team-current-theme2 .inner-box:hover .image-box .thumb img {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
-webkit-transform-origin: top center;
transform-origin: top center;
}