.newTeacherContenair{
  padding: 0 20px !important;
}
.newTeacherPanel{
  display: block;
  background-size:cover;
  height: 360px;
  width: 100%;
  line-height: 360px;
  text-align: center;
}
.newTeacherTitle{
  text-align: center;
  font-size: 43px;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  color: white;
}
.newTeacherImage{
  display: table-cell;
  width: 25%;
}
.newTeacherImageMobile{
  display: none;
  width: 100%;
  height: 300px;
}
.newTeacherDescription{
  width:75%;
}
.newTeacherPadding{
  padding: 20px;
  margin-bottom: 50px;
}
@media print, screen and (max-width: 768px) {
  .newTeacherContenair{
    padding: 0 10px !important;
  }
  .newTeacherPanel{
    height: 260px;
    line-height: 260px;
  }
  .newTeacherTitle{
    font-size: 33px;
  }
  .newTeacherImage{
    display: none;
    width: 25%;
  }
  .newTeacherImageMobile{
    display: block;
    width: 100%;
    height: 300px;
  }
  .newTeacherDescription{
    width:100%;
  }
  .newTeacherPadding{
    padding: 10px;
    margin-bottom: 50px;
  }
}
