.pic-jm {
  width: 14.281%;
  max-height: 250px;
  min-height: 0;
  background-image: url('../images/Dr.-Roman-and-Patient-p-500.jpg');
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: cover;
}

.pic-jm._7 {
  background-image: url('../images/Roman-and-Patient-2-p-500.jpg');
}

.pic-jm._5 {
  background-image: url('../images/Riddle-and-patient-p-500.jpg');
}

.pic-jm._2 {
  background-image: url('../images/Parisi-and-Patient-2-p-500.jpg');
}

.pic-jm._3 {
  background-image: url('../images/Parisi-and-Patient-p-500.jpg');
}

.pic-jm._4 {
  background-image: url('../images/Riddle-and-Patient-2-p-500.jpg');
}

.pic-jm._6 {
  background-image: url('../images/Roman-and-Carlson-p-500.jpg');
}

.pic-jm._8 {
  background-image: url('../images/IMG_0357.jpg');
}

.photo-scroll-new {
  background-color: #031231;
}

.container-jm {
  width: 100%;
  overflow: hidden;
}

.inner-container-jm {
  width: 200vw;
  height: 250px;
  min-height: 0;
  justify-content: space-between;
  display: flex;
}

.photo-holder {
  width: 200vw;
  overflow: hidden;
  height: 250px;
  min-height: 0;
  justify-content: space-between;
  display: flex;
}

.marquee-content {
  animation: scrolling 60s linear infinite;
}

@keyframes scrolling {
  0% { transform: translateX(0); }
  100% { transform: translatex(-50%); }
}

@media screen and (max-width: 991px) {
  .pic-jm {
    max-height: 150px;
    min-height: 0;
  }

  .inner-container-jm, .photo-holder {
    height: 150px;
  }
}

@media screen and (max-width: 767px) {
  .pic-jm {
    max-height: 100px;
    min-height: 0;
  }

  .inner-container-jm, .photo-holder {
    height: 100px;
  }
}

@media screen and (max-width: 479px) {
  .pic-jm {
    width: 150px;
    height: 65px;
    max-height: none;
    min-height: 0;
    margin-bottom: 10px;
  }

  .inner-container-jm, .photo-holder {
    height: 65px;
  }
}


