.field-shuffle-display {
  float: none;
  width: 100%;
}

.shuffle-container {
  position: relative;
  overflow: hidden;
}

.shuffle-item {
  height: auto;
  /*margin-bottom: 5px;*/
}

.shuffle-inner {
  display: block;
  position: relative;
}

.field-shuffle-display .shuffle-inner img {
  margin: 0;
}

.shuffle-inner .shuffle-caption {
  position: absolute;
  bottom: 5px;
  width: 100%;
  color: #bdbdbd;
  background-color: rgba(0, 0, 0, 0.5);
}

.shuffle-inner .shuffle-caption p {
  padding: 5px 10px;
  margin: 0;
}

.shuffle-filters-container {
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}

.shuffle-filters-container .filter-label {
  margin: 1em;
}

.item-list ul li.shuffle-filters-item {
  padding: 5px 20px;
  background: #e8e8e8;
  margin-right: 20px;
  border-radius: 3px;
}

.item-list ul li.shuffle-filters-item.active {
  background: #aeaeae;
}

.item-list ul li.shuffle-filters-item:hover {
  cursor: pointer;
  background: #aeaeae;
}

/* Magnific popup */

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
