@media screen and (min-width:996px) {
    .d745ba-a05b-4cf6-9b06-eb8f7c4b504a:nth-child(1) {
        width: 240px;
    }

    .d745ba-a05b-4cf6-9b06-eb8f7c4b504a:nth-child(2) {
        flex: 1;
    }
}




.teacherDetails{position: relative;}
.details1{display: flex;padding: 40px 52px 0;position: relative;align-items: center;background: url(../images/teacherDetailsBg.png) no-repeat 90% center ;background-size: auto 90%;}
.details1::before{content: "";width: 100%;height: 60%;background: #F2F2F2;position: absolute;left: 0;bottom: 0;z-index: -1}
.details1 .img{width: 240px;margin-right: 88px;}
.details1 .img span{padding-bottom: 135.14%;}
.details1 .info{}
.details1 .info .top{
    margin-top: 20px;
}
.details1 .info .name{box-sizing: border-box;padding-left: 13px;color: #000;position: relative;font-weight: bold;display: inline-block;margin-right: 70px;}
.details1 .info .name::before{content: "";display: block;width: 6px;height: 1em;background: #900115;position: absolute;left: 0;top: 50%;margin-top: -.5em;}
.details1 .info .position{color: #900115;font-weight: bold;display: inline-block;}
.details1 .info .contact{margin: 50px 0 0;min-height: calc(6em + 60px);}
.details1 .info .contact p{margin-bottom: 20px;color: #000;word-break: break-all;line-height: 1.5;}
.details1 .info .contact p:last-child{margin-bottom: 0rem;}

.details2{box-sizing: border-box;padding: 0 67px;overflow: hidden;line-height: 2;}
.details2 h2{line-height: 2;color: #fff;position: relative;margin: 30px 0 10px;}
.details2 h2::before{content: "";display: block;width: 200%;height: 100%;background: #900115;position: absolute;left: -50%;top: 0;z-index: -1;}
 

ul.annex{list-style: none;}
ul.annex li a{color: #000;}
ul.annex li a:hover{color: #900115;}


@media screen  and (max-width:1460px){
    .details1 .img { margin-right: 60px;}
    .details1 {padding: 35px 45px 0;}
    .details2 {padding: 0 55px;}
}
@media screen  and (max-width:1386px){
    .details1 .img { margin-right: 50px;} 
}
@media screen  and (max-width:1320px){
    .details1 .img { margin-right: 40px;} 
}
@media screen  and (max-width:996px){ 
    .details1 {padding: 30px 30px 0;}
    .details1 .img { margin-right: 30px;} 
    .details2 {padding: 0 30px;}
}
@media screen  and (max-width:768px){ 
    .details1{flex-direction: column;align-items: normal;padding: 30px;background: url(../images/teacherDetailsBg.png) no-repeat 90% 95% ;background-size: auto 50%;}
    .details1 .img{margin: 0 auto;}
    .details1 .info{margin: 20px 0 0;}
    .details1 .info .contact {margin: 15px 0 0;min-height: auto;}
    .details1 .info .top {
    margin-top: 0px;
}
    .details1 .info .contact p {margin-bottom: 10px;}
}
@media screen  and (max-width:479px){ 
    .details1 {padding: 20px;} 
    .details2 {padding: 0 20px;}
    .details1 .info .name {margin-right: 50px;}
}