.responsive-background-image {
  background-size: cover !important;
  background-position: center; }

.responsive-background-image img.responsive-image-placement {
  display: none; }

.image-gallery.no-nav {
  padding-top: 0; }

.image-gallery ul.gallery-list {
  list-style: none;
  overflow: hidden; }

.image-gallery ul.gallery-list li {
  width: calc((100% / 5) - 10px);
  float: left;
  margin: 5px;
  position: relative;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 20px; }

.image-gallery ul.gallery-list li:last-of-type {
  margin-bottom: 0; }

.image-gallery ul.gallery-list li a {
  color: #fff;
  display: block;
  height: calc((730px / 3));
  cursor: zoom-in; }

.image-gallery ul.gallery-list li a .bgimg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  -webkit-transition: transform 0.5s ease-in-out;
  -moz-transition: transform 0.5s ease-in-out;
  -ms-transition: transform 0.5s ease-in-out;
  -o-transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out; }

.image-gallery ul.gallery-list li a:hover > .caption {
  opacity: 0.9;
  color: #fff; }

.image-gallery ul.gallery-list li a:hover > .overlay {
  opacity: 0.9; }

.image-gallery ul.gallery-list li a:hover {
  display: block; }

.image-gallery ul.gallery-list li a:hover .bgimg {
  transform: scale(1.05);
  filter: blur(1px); }

.image-gallery ul.gallery-list li .overlay {
  width: 105%;
  height: 105%;
  opacity: 0;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(35, 31, 32, 0.8);
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -ms-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out; }

.image-gallery ul.gallery-list li.with-icon a .vr-icon, .image-gallery ul.gallery-list li.with-icon a .video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  z-index: 9;
  width: 100%;
  height: auto;
  font-size: 9em;
  display: block;
  text-align: center;
  line-height: 1em;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -ms-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  -webkit-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.3));
  -moz-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.3));
  -o-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.3)); }

.image-gallery ul.gallery-list li.with-icon a .video-icon {
  font-size: 4em; }

.image-gallery ul.gallery-list li.with-icon a:hover .vr-icon, .image-gallery ul.gallery-list li.with-icon a:hover .video-icon {
  opacity: 0.5; }

.image-gallery ul.gallery-list img {
  height: auto;
  width: 100%; }

@media (min-width: 768px) {
  .image-gallery ul.gallery-list img {
    height: auto; } }

.image-gallery .caption {
  font-weight: 500;
  letter-spacing: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  z-index: 20;
  opacity: 0;
  text-align: center;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -ms-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
  font-size: 1.125rem;
  width: 100%;
  padding: 2em;
  line-height: 1.125em;
  -webkit-text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
  -moz-text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
  -ms-text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
  -o-text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75); }
