.thumbnail {
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.thumbnail > a {
  display: block;
}
.thumbnail > img,
.thumbnail a > img {
  width: 100%;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #ddd;
}
.thumbnail .caption {
  padding: 17px;
  padding-top: 20px;
}
.thumbnail .caption i.pull-right,
.thumbnail .caption .icons-list.pull-right {
  margin-top: 4px;
}
.thumbnail .caption .media-heading {
  margin-top: 0;
}
.thumbnail .caption .media-heading:after {
  content: '';
  display: table;
  clear: both;
}
.modal-dialog .thumbnail {
  border-width: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.thumbnail > .panel-heading {
  margin: -3px;
  margin-bottom: 0;
}
.thumbnail .panel-footer {
  margin: -3px;
  margin-top: 0;
}
.thumbnail.no-padding img,
.thumbnail.no-padding .thumb {
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.thumbnail.no-padding .caption {
  padding: 20px;
}
.thumbnail.no-padding .panel-heading,
.thumbnail.no-padding .panel-footer {
  margin: 0;
}
.thumb {
  position: relative;
  display: block;
}
.thumb img:not(.media-preview) {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  height: 135px;
}
.thumb:not(.thumb-rounded) img {
  border-radius: 3px;
}
.thumb:hover .caption-zoom {
  border-radius: 0;
  -webkit-box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.7);
}
.thumb:hover .caption-offset {
  left: 8px;
  top: 8px;
}
.thumb .caption-collapse {
  top: 80%;
  z-index: 10;
  height: auto;
}
.thumb:hover .thumb .caption-collapse {
  top: 100%;
}
.thumb-rounded {
  width: 60%;
  margin: 20px auto 0 auto;
}
.thumb-rounded,
.thumb-rounded img,
.thumb-rounded .caption-overflow {
  border-radius: 50%;
}
.caption-overflow {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  visibility: hidden;
  border-radius: 3px;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.caption-overflow span {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  width: 100%;
  text-align: center;
}
.thumb:hover > .caption-overflow {
  background-color: rgba(0, 0, 0, 0.7);
  visibility: visible;
  opacity: 1;
  filter: alpha(opacity=100);
}
.zoom-image {
  color: #fff;
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.thumb:hover .zoom-image {
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 1;
  filter: alpha(opacity=100);
}
.img-rounded + .zoom-image {
  border-radius: 3px;
}
.img-circle + .zoom-image {
  border-radius: 50%;
}
.zoom-image i {
  font-size: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -16px;
  margin-left: -16px;
}
.thumb-slide {
  overflow: hidden;
}
.thumb-slide .caption {
  position: absolute;
  bottom: -100%;
  left: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10;
  -webkit-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
}
.thumb-slide .caption span {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -18px;
  width: 100%;
  text-align: center;
}
.thumb-slide:hover .caption {
  bottom: 0;
}