.teachers-list .teacher-item {
    padding: 10px;
    border-radius: 5px;
    overflow: hidden;
    width: 25%;
    max-width: 100%;
    text-align: center;
}
.teachers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}

.teachers-list .meta {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e9e8e8ee;
    margin-top: 5px;
    padding: 5px;
    margin-bottom: 10px;
}

.teachers-list .meta .meta-item {
    display: flex;
    align-items: center;
}


.teachers-list .meta .meta-item .aticon{
    margin-bottom: 4px;
}
.teachers-list .meta .meta-item .aticon::before{
    font-size: 20px !important;
    margin-left: 3px;
    color: black;
}


.teachers-list .meta .meta-item:not(:first-child) {
    margin-right: 6px;
    border-right: 1px solid #e9e8e8ee;
    padding-right: 6px;
}

.teachers-list  .teacher-item 
 .name {
    margin-top: 9px;
    display: inline-block;
    margin-bottom: 0;
    padding: 5px;
 }

.teachers-list .teacher-item .description {
    font-size: 12px;
    color: #333;
    padding: 5px;
}

.teachers-list .meta .meta-item .text {
    color: #615a5acc;
    font-size: 12px;
    font-weight: normal;
}

.teachers-list .teacher-item span.show-profile {
    border-radius: 5px;
    display: inline-block;
    background: #ff004c;
    color: white;
    padding: 1px 12px;
    font-size: 13px;
    border: 2px solid;
    transition: 0.5s;
}

.teachers-list .teacher-item span.show-profile:hover {
    background: white;
    color: #ff004c;
}


.teachers-list .teacher-item a.teacher-item-link {
    border: 1px solid #e9e8e8ee;
    border-radius: 5px;
    display: block;
    padding-bottom: 10px;
    transition: 0.5s all;
	height: 100%;
}

.teachers-list .teacher-item a.teacher-item-link:hover {
    box-shadow: 0 5px 15px -5px #cccc;
}


@media screen and (max-width: 900px){
    .teachers-list .teacher-item{
        width: 50%;
    }
}


@media screen and (max-width: 765px){
    .teachers-list .teacher-item{
        width: 100%;
    }
}

.teachers h1 {
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 10px;
}

.teachers-list .teacher-item .image {
    position: relative;
    overflow: hidden;
}

.teachers-list .teacher-item .image .two {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    transition: 0.5s;
    opacity: 0;
}

.teachers-list .teacher-item .image .two img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teachers-list .teacher-item:hover .image .two {
    opacity: 1;
}


/* Single */


.single-teacher .meta .meta-item {
    display: flex;
    align-items: center;
}



.single-teacher .meta .meta-item .aticon{
    margin-bottom: 4px;
}
.single-teacher .meta .meta-item .aticon::before{
    font-size: 20px !important;
    margin-left: 3px;
    color: black;
}


.single-teacher .meta .meta-item:not(:first-child) {
    margin-right: 6px;
    border-right: 1px solid #e9e8e8ee;
    padding-right: 6px;
}
.single-teacher .meta {
    display: flex;
    align-items: center;
    margin: 0px;
}

.single-teacher .meta .meta-item {
    display: flex;
    align-items: center;
}

.single-teacher .meta .meta-item:not(:first-child) {
    margin-right: 6px;
    border-right: 1px solid #e9e8e8ee;
    padding-right: 6px;
}
.single-teacher .meta .meta-item .text {
    color: #615a5acc;
    font-size: 12px;
    font-weight: normal;
}



.single-teacher .profile {
    display: flex;
    align-items: center;
    margin: 23px 0;
}

.single-teacher .profile .image {
    margin-left: 14px;
}

.single-teacher .profile .image img {
    min-width: 150px;
    width: 150px;
    min-height: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.single-teacher h1.teacher-name {
    margin: 0 0 15px 0;
    FONT-VARIANT: JIS04;
    FONT-VARIANT: JIS04;
    padding: 0;
    font-size: 19px;
}



.single-teacher .description {
    font-size: 13px;
    color: #333;
    margin-top: 5px;
}

.single-teacher a.back {
    color: #ff004c;
    font-size: 12px;
    margin-top: 5px;
    display: inline-block;
}
@media screen and (max-width: 765px){
    .single-teacher .profile{
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
 }
 .single-teacher .profile .meta{
  justify-content: center;
 }
}

.single-teacher .profile .image {
    position: relative;
    overflow: hidden;
}

.single-teacher .profile .image .two {
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.single-teacher .profile .image .two img {width: 100%;height: 100%;object-fit: cover;}

.single-teacher .profile .image:hover .two {
    opacity: 1;
}