.instructor-1 .instructor-1-single {
background-color: #fff;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 15px 15px;
}
.instructor-1 .instructor-1-single .thum img {
height: 70px;
width: 70px;
object-fit: cover;
border-radius: 50%;
}
.instructor-1 .instructor-1-single .cont {
padding-left: 20px;
}
.instructor-1 .instructor-1-single .cont a h5 {
font-size: 18px;
color: #23252a;
margin-bottom: 4px;
-webkit-transition: all 0.4s linear;
transition: all 0.4s linear;
}
.instructor-1 .instructor-1-single .cont a:hover h5 {
color: var(--edubin-primary-color);
-webkit-transition: all 0.4s linear;
transition: all 0.4s linear;
}
.instructor-1 .instructor-1-single .cont p {
font-size: 15px;
margin-bottom: 5px;
color: #8a8a8a;
font-weight: 500;
}
.instructor-1 .instructor-1-single .cont span {
font-size: 14px;
color: #07294d;
font-weight: 500;
-webkit-transition: all 0.4s linear;
transition: all 0.4s linear;
}
.instructor-1 .instructor-1-single .cont span i {
margin-right: 5px;
color: var(--edubin-primary-color);
} .edubin-single-teacher {
position: relative;
}
.edubin-single-teacher .teacher-image-wrap {
border-radius: 3px;
overflow: hidden;
}
.edubin-single-teacher .teacher-image-wrap .teacher-image img {
width: 100%;
}
.edubin-single-teacher .teacher-content-area {
position: absolute;
bottom: 20px;
left: 0;
right: 0;
width: 80%;
background-color: #f9f9f9;
border-radius: 3px;
margin: 0 auto;
padding: 0;
height: 75px;
overflow: hidden;
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-ms-transition: all .5s ease;
-o-transition: all .5s ease;
transition: all .5s ease;
}
.edubin-single-teacher .teacher-content {
position: absolute;
bottom: 10px;
left: 0;
right: 0;
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-ms-transition: all .5s ease;
-o-transition: all .5s ease;
transition: all .5s ease;
border-radius: 3px;
margin: 0 auto;
padding: 0;
}
.edubin-single-teacher:hover .teacher-content {
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-ms-transition: all .5s ease;
-o-transition: all .5s ease;
transition: all .5s ease;
bottom: 10px;
}
.edubin-single-teacher .teacher-content a {
display: block;
}
.edubin-single-teacher .teacher-content a .teacher-name {
color: var(--edubin-heading-color);
font-size: 18px;
font-weight: 700!important;
margin: 0 0 5px 0;
padding: 0;
}
.edubin-single-teacher .teacher-content .teacher-name {
font-weight: 700;
margin: 0;
padding: 0;
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
}
.edubin-single-teacher .teacher-content a:hover .teacher-name {
color: var(--edubin-primary-color);
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
}
.edubin-single-teacher .teacher-content .teacher-degree {
display: block;
margin-bottom: 0;
}
.edubin-single-teacher .teacher-content span {
font-size: 15px;
color: #8a8a8a;
font-weight: 500;
}
.edubin-single-teacher .teacher-content .teacher-social {
padding-top: 5px;
}
.edubin-single-teacher .teacher-social a.social-link {
color: #07294d;
padding: 0 5px;
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
}
.edubin-single-teacher .teacher-social a.social-link:hover {
color: var(--edubin-primary-color);
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
}
.edubin-single-teacher .teacher-content a {
display: inline-block;
}
.edubin-single-teacher.active-social .teacher-content {
bottom: -25px;
}
.edubin-single-teacher.active-social:hover .teacher-content-area {
height: 110px;
}
.edubin-single-teacher.active-social:hover .teacher-content {
bottom: 10px;
} .edubin-teacher-item.edubin-teacher-style-2 {
text-align: center;
}
.edubin-teacher-style-2 .teacher-img-wrap {
position: relative;
margin-bottom: 15px;
}
.edubin-teacher-style-2 .teacher-img-wrap>a::after {
position: absolute;
top: 0;
left: 0;
content: '';
background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
width: 100%;
height: 100%;
z-index: 0;
opacity: 0;
visibility: hidden;
border-radius: 10px;
overflow: hidden;
transition: all .5s;
}
.edubin-teacher-item.edubin-teacher-style-2:hover .teacher-img-wrap>a::after {
visibility: visible;
opacity: 1;
}
.edubin-teacher-style-2 .teacher-img {
border-radius: 10px;
overflow: hidden;
}
.edubin-teacher-style-2 .teacher-img img {
transition: all .5s ease-in-out;
transform: scale(1.000001);
}
.edubin-teacher-style-2:hover .teacher-img img {
transform: scale(1.1);
}
.edubin-teacher-style-2 .teacher-img-wrap .teacher-social {
position: absolute;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
width: 95%;
z-index: 1;
}
.edubin-teacher-style-2 .teacher-img-wrap .teacher-social .social-link {
margin: 0 5px;
background: #fff;
border-radius: 100%;
display: inline-flex;
width: 35px;
height: 35px;
align-items: center;
justify-content: center;
flex-wrap: wrap;
transform: translateY(25px);
opacity: 0;
visibility: hidden;
transition: .5s;
}
.edubin-teacher-style-2 .teacher-img-wrap .teacher-social .social-link i {
font-size: 14px;
line-height: 1;
}
.edubin-teacher-style-2:hover .teacher-img-wrap .teacher-social .social-link {
transform: translateY(0);
visibility: visible;
opacity: 1;
}
.edubin-teacher-style-2 .teacher-img-wrap .teacher-social .social-link:nth-child(5) {
margin-top: 10px;
}
.edubin-teacher-style-2 .teacher-content .title {
margin-bottom: 5px;
}