div.papers-gallery {
  display: inline-block;
}

div.gallery {
  border: 1px solid #ccc;
  height: 260px;
  overflow: scroll;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  display: block;
  margin-top: .25em;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 200px;
}

div.papers-gallery-item {
  padding: 0px;
  width: auto;
  max-height: 200px;
  margin: auto;
}
div.desc {
  padding: 1px;
  text-align: left;
  line-height: 75%;
  max-height: 60px;
}

.papers-gallery .papers-gallery-item {
  box-sizing: border-box;
}

.responsive {
  padding: 0 2px;
  float: left;
  width: 24.49999%;
}

@media only screen and (max-width: 1200px) {
  .responsive {
    width: 32.5%;
  }
}

@media only screen and (max-width: 1000px) {
  .responsive {
    width: 49.0%;
  }
}

@media only screen and (max-width: 600px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
