.stm-our-team {
margin-bottom: 30px !important;
max-width: 255px;
width: auto;
margin: 0 auto;
}
.stm-our-team .image {
margin-bottom: 13px;
position: relative;
}
.stm-our-team .image:before {
position: absolute;
content: "";
display: block;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.2);
opacity: 0;
}
.stm-our-team .image .team-info {
position: absolute;
padding: 0 15px;
bottom: 10px;
left: 0;
right: 0;
text-align: center;
visibility: hidden;
opacity: 0;
}
.stm-our-team .image .team-info .phone {
position: relative;
min-width: 160px;
max-width: 100%;
margin-top: 8px;
display: inline-block;
padding-left: 36px;
padding-right: 10px;
font-size: 14px;
line-height: 32px;
border-radius: 20px;
text-align: left;
background-color: #fff;
}
.stm-our-team .image .team-info .phone > a {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
color: #cc6119;
}
.stm-our-team .image .team-info .phone i {
position: absolute;
left: 8px;
top: 50%;
margin-top: -10px;
font-size: 20px;
color: #6c98e1;
}
.stm-our-team .image .team-info .email {
display: inline-block;
min-width: 160px;
max-width: 100%;
padding: 0 12px;
border-radius: 20px;
font-size: 13px;
line-height: 33px;
text-align: center;
text-decoration: none !important;
overflow: hidden;
text-overflow: ellipsis;
background-color: #6c98e1;
color: #fff;
}
.stm-our-team .meta {
padding: 21px 10px 23px 10px;
text-align: center;
}
.stm-our-team .meta .name, .stm-our-team .meta .name.h5 {
margin-bottom: -2px;
text-transform: uppercase;
text-align: center;
}
.stm-our-team .meta .position {
font-size: 13px;
}
.stm-our-team:hover .image:before {
opacity: 1;
}
.stm-our-team:hover .team-info {
bottom: 18px;
visibility: visible;
opacity: 1;
}
@media (max-width: 1025px) {
.stm-our-team {
max-width: inherit !important;
}
}