.ba-caption-content h3 {
  line-height: normal;
  margin: 12px 0;
  padding: 0;
}

.ba-caption-content p {
  line-height: normal;
  margin: 15px;
}

.ba-caption .ba-caption-content {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.ba-caption .ba-caption-content h3,
.ba-caption .ba-caption-content .image-category,
.ba-caption .ba-caption-content .short-description {
  margin: 15px;
}

.ba-caption {
  align-items: center;
  -webkit-align-items: center;
  display: flex;
  display: -webkit-flex;
  overflow: hidden;
}

@keyframes ba-image-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes ba-image-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ba-gallery-items,
.ba-album-items {
  -webkit-animation: ba-image-fade 0.8s linear both;
  animation: ba-image-fade 0.8s linear both;
}

.ba-album.css-style-1 .ba-caption,
.ba-gallery-grid.css-style-1 .ba-caption {
  height: 100%;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  transition: all 0.4s 0s ease-in-out;
  -webkit-transition: all 0.4s 0s ease-in-out;
  width: 100%;
  z-index: 1;
}

.ba-album.css-style-1 .ba-album-items:hover .ba-caption,
.ba-gallery-grid.css-style-1 .ba-caption:hover {
  opacity: 1;
}

.ba-album.css-style-1 .ba-caption h3,
.ba-album.css-style-1 .ba-caption p,
.ba-gallery-grid.css-style-1 .ba-caption h3,
.ba-gallery-grid.css-style-1 .ba-caption p.image-category,
.ba-gallery-grid.css-style-1 .ba-caption p.short-description {
  opacity: 0;
  transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.ba-album.css-style-1 .ba-album-items:hover .ba-caption h3,
.ba-album.css-style-1 .ba-album-items:hover .ba-caption p,
.ba-gallery-grid.css-style-1 .ba-caption:hover h3,
.ba-gallery-grid.css-style-1 .ba-caption:hover p.image-category,
.ba-gallery-grid.css-style-1 .ba-caption:hover p.short-description {
  opacity: 1;
  transform: none;
  -webkit-transform: none;
}

.ba-album.css-style-1 .ba-image,
.ba-gallery-grid.css-style-1 .ba-image {
  overflow: hidden;
}

.ba-album.css-style-1 .ba-image img,
.ba-gallery-grid.css-style-1 .ba-image img {
  transition: transform 0.4s 0s ease-in-out;
  -webkit-transition: transform 0.4s 0s ease-in-out;
}

.ba-album.css-style-1 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-1 .ba-image:hover img {
  transform: scale(1.5) rotate(6deg);
  -webkit-transform: scale(1.5) rotate(6deg);
}

.ba-album.css-style-2 .ba-caption,
.ba-gallery-grid.css-style-2 .ba-caption {
  bottom: 0;
  height: 100px;
  max-height: 100%;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 100%;
  z-index: -1;
}

.ba-album.css-style-2 .ba-image img,
.ba-gallery-grid.css-style-2 .ba-image img {
  transition: transform 0.4s 0s ease-in-out;
  -webkit-transition: transform 0.4s 0s ease-in-out;
  z-index: 1;
}

.ba-album.css-style-2 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-2 .ba-image:hover img {
  transform: translateY(-100px);
  -webkit-transform: translateY(-100px);
}

.ba-album.css-style-3 .ba-album-items,
.ba-gallery-grid.css-style-3 .ba-gallery-items {
  overflow: hidden;
}

.ba-album.css-style-3 .ba-image img,
.ba-gallery-grid.css-style-3 .ba-image img {
  transition: transform 0.4s 0s ease-in-out;
  -webkit-transition: transform 0.4s 0s ease-in-out;
}

.ba-album.css-style-3 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-3 .ba-image:hover img {
  transform: translateY(-50px);
  -webkit-transform: translateY(-50px);
}

.ba-album.css-style-3 .ba-caption,
.ba-gallery-grid.css-style-3 .ba-caption {
  bottom: 0;
  height: 100px;
  opacity: 0;
  position: absolute;
  top: auto;
  width: 100%;
  transform: translateY(100%);
  -webkit-transform: translateY(100%);
  transition:
    all 0.4s 0s ease-in-out,
    opacity 0.1s 0.3s;
  -webkit-transition:
    all 0.4s 0s ease-in-out,
    opacity 0.1s 0.3s;
}

.ba-album.css-style-3 .ba-album-items:hover .ba-image + .ba-caption,
.ba-gallery-grid.css-style-3 .ba-image:hover .ba-caption {
  opacity: 1;
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transition:
    all 0.4s 0s ease-in-out,
    opacity 0.1s;
  -webkit-transition:
    all 0.4s 0s ease-in-out,
    opacity 0.1s;
}

.ba-album.css-style-4 .ba-album-items,
.ba-gallery-grid.css-style-4 .ba-gallery-items {
  overflow: hidden;
}

.ba-album.css-style-4 .ba-image img,
.ba-gallery-grid.css-style-4 .ba-image img {
  transition: transform 0.4s 0s ease-in-out;
  -webkit-transition: transform 0.4s 0s ease-in-out;
  z-index: 9;
}

.ba-album.css-style-4 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-4 .ba-image:hover img {
  transform: translateX(50%);
  -webkit-transform: translateX(50%);
}

.ba-album.css-style-4 .ba-caption,
.ba-gallery-grid.css-style-4 .ba-caption {
  bottom: 0;
  height: 100%;
  opacity: 0;
  top: auto;
  width: 50%;
  transform: translateX(-100px);
  -webkit-transform: translateX(-100px);
  transition:
    all 0.4s 0s ease-in-out,
    opacity 0.3s 0.1s;
  -webkit-transition:
    all 0.4s 0s ease-in-out,
    opacity 0.3s 0.1s;
  position: absolute;
}

.ba-album.css-style-4 .ba-album-items:hover .ba-image + .ba-caption,
.ba-gallery-grid.css-style-4 .ba-image:hover .ba-caption {
  opacity: 1;
  transform: translateX(0px);
  -webkit-transform: translateX(0px);
  transition:
    all 0.4s 0s ease-in-out,
    opacity 0.1s;
  -webkit-transition:
    all 0.4s 0s ease-in-out,
    opacity 0.1s;
}

.ba-album.css-style-5 .ba-album-items,
.ba-gallery-grid.css-style-5 .ba-gallery-items {
  overflow: hidden;
}

.ba-album.css-style-5 .ba-caption,
.ba-gallery-grid.css-style-5 .ba-caption {
  bottom: 0;
  height: 100px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 100%;
  z-index: 9;
}

.ba-album.css-style-5 .ba-image img,
.ba-gallery-grid.css-style-5 .ba-image img {
  position: static;
  -webkit-transition: -webkit-transform 0.4s ease-in;
  transition: transform 0.4s ease-in;
}

.ba-album.css-style-5 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-5 .ba-image:hover img {
  -webkit-transform: translate(0, -100px);
  transform: translate(0, -100px);
}

.ba-album.css-style-6 .ba-caption,
.ba-gallery-grid.css-style-6 .ba-caption {
  height: 100%;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  transition:
    all 0.4s 0s ease-in-out,
    opacity 0.4s;
  -webkit-transition:
    all 0.4s 0s ease-in-out,
    opacity 0.4s;
  width: 100%;
  z-index: 1;
}

.ba-album.css-style-6 .ba-album-items:hover .ba-caption,
.ba-gallery-grid.css-style-6 .ba-image:hover .ba-caption {
  opacity: 1;
  transform: translate(15px, 15px);
  -webkit-transform: translate(15px, 15px);
}

.ba-album.css-style-6 .ba-album-items:hover,
.ba-gallery-grid.css-style-6 .ba-gallery-items:hover {
  z-index: 1;
}

.ba-album.css-style-7 .ba-caption,
.ba-gallery-grid.css-style-7 .ba-caption {
  height: 100%;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  transition: all 0.4s 0s ease-in-out;
  -webkit-transition: all 0.4s 0s ease-in-out;
  width: 100%;
  z-index: 1;
}

.ba-album.css-style-7 .ba-album-items:hover .ba-caption,
.ba-gallery-grid.css-style-7 .ba-caption:hover {
  opacity: 1;
}

.ba-album.css-style-7 .ba-caption h3,
.ba-album.css-style-7 .ba-caption p,
.ba-gallery-grid.css-style-7 .ba-caption h3,
.ba-gallery-grid.css-style-7 .ba-caption p.image-category,
.ba-gallery-grid.css-style-7 .ba-caption p.short-description {
  opacity: 0;
  transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.ba-album.css-style-7 .ba-album-items:hover .ba-caption h3,
.ba-album.css-style-7 .ba-album-items:hover .ba-caption p,
.ba-gallery-grid.css-style-7 .ba-caption:hover h3,
.ba-gallery-grid.css-style-7 .ba-caption:hover p.image-category,
.ba-gallery-grid.css-style-7 .ba-caption:hover p.short-description {
  opacity: 1;
  transform: none;
  -webkit-transform: none;
}

.ba-album.css-style-13 .ba-image,
.ba-gallery-grid.css-style-13 .ba-image,
.ba-album.css-style-7 .ba-image,
.ba-gallery-grid.css-style-7 .ba-image {
  overflow: hidden;
}

.ba-album.css-style-13 .ba-image img,
.ba-gallery-grid.css-style-13 .ba-image img,
.ba-album.css-style-7 .ba-image img,
.ba-gallery-grid.css-style-7 .ba-image img {
  transition: transform 0.4s 0s ease-in-out;
  -webkit-transition: transform 0.4s 0s ease-in-out;
}

.ba-album.css-style-13 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-13 .ba-gallery-items:hover .ba-image img,
.ba-album.css-style-7 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-7 .ba-image:hover img {
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
}

.ba-album.css-style-8 .ba-caption,
.ba-gallery-grid.css-style-8 .ba-caption {
  height: 100%;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  transition: all 0.4s 0s ease-in-out;
  -webkit-transition: all 0.4s 0s ease-in-out;
  width: 100%;
  z-index: 1;
}

.ba-album.css-style-8 .ba-album-items:hover .ba-caption,
.ba-gallery-grid.css-style-8 .ba-caption:hover {
  opacity: 1;
}

.ba-album.css-style-8 .ba-caption h3,
.ba-album.css-style-8 .ba-caption p,
.ba-gallery-grid.css-style-8 .ba-caption h3,
.ba-gallery-grid.css-style-8 .ba-caption p.image-category,
.ba-gallery-grid.css-style-8 .ba-caption p.short-description {
  opacity: 0;
  transform: translateY(300%);
  -webkit-transform: translateY(300%);
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.ba-album.css-style-8 .ba-album-items:hover .ba-caption h3,
.ba-album.css-style-8 .ba-album-items:hover .ba-caption p,
.ba-gallery-grid.css-style-8 .ba-caption:hover h3,
.ba-gallery-grid.css-style-8 .ba-caption:hover p.image-category,
.ba-gallery-grid.css-style-8 .ba-caption:hover p.short-description {
  opacity: 1;
  transform: none;
  -webkit-transform: none;
}

.ba-album.css-style-8 .ba-caption .ba-caption-content,
.ba-gallery-grid.css-style-8 .ba-caption .ba-caption-content {
  transition: all 0.4s 0s ease-in-out;
  -webkit-transition: all 0.4s 0s ease-in-out;
}

.ba-album.css-style-9 .ba-caption,
.ba-gallery-grid.css-style-9 .ba-caption {
  height: 100%;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  transition: all 0.4s 0s ease-in-out;
  -webkit-transition: all 0.4s 0s ease-in-out;
  width: 100%;
  z-index: 1;
}

.ba-album.css-style-9 .ba-album-items:hover .ba-caption,
.ba-gallery-grid.css-style-9 .ba-caption:hover {
  opacity: 1;
}

.ba-album.css-style-9 .ba-caption p,
.ba-gallery-grid.css-style-9 .ba-caption p.image-category,
.ba-gallery-grid.css-style-9 .ba-caption p.short-description {
  margin-left: 100%;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.ba-album.css-style-9 .ba-caption h3,
.ba-gallery-grid.css-style-9 .ba-caption h3 {
  transform: translateY(-300%);
  -webkit-transform: translateY(-300%);
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.ba-album.css-style-9 .ba-album-items:hover .ba-caption h3,
.ba-gallery-grid.css-style-9 .ba-caption:hover h3 {
  transform: none;
  -webkit-transform: none;
}

.ba-album.css-style-9 .ba-album-items:hover .ba-caption p,
.ba-gallery-grid.css-style-9 .ba-caption:hover p.image-category,
.ba-gallery-grid.css-style-9 .ba-caption:hover p.short-description {
  margin-left: 15px;
}

.ba-album.css-style-9 .ba-image,
.ba-gallery-grid.css-style-9 .ba-image {
  overflow: hidden;
}

.ba-album.css-style-9 .ba-image img,
.ba-gallery-grid.css-style-9 .ba-image img {
  transition: transform 0.4s 0s ease-in-out;
  -webkit-transition: transform 0.4s 0s ease-in-out;
}

.ba-album.css-style-9 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-9 .ba-image:hover img {
  transform: scale(1.5) rotate(6deg);
  -webkit-transform: scale(1.5) rotate(6deg);
}

.ba-album.css-style-10 .ba-caption,
.ba-gallery-grid.css-style-10 .ba-caption {
  height: 100%;
  width: 100%;
  position: relative;
}

.ba-album.css-style-10 .ba-image,
.ba-gallery-grid.css-style-10 .ba-image {
  overflow: hidden;
}

.ba-album.css-style-10 .ba-image img,
.ba-gallery-grid.css-style-10 .ba-image img {
  transition: transform 0.4s 0s ease-in-out;
  -webkit-transition: transform 0.4s 0s ease-in-out;
}

.ba-album.css-style-10 .ba-album-items:hover .ba-image img,
.ba-gallery-grid.css-style-10 .ba-image:hover img {
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
}

.ba-album.css-style-10 .ba-album-items .ba-caption p,
.ba-gallery-grid.css-style-10 .ba-gallery-items .ba-caption .short-description {
  white-space: pre-wrap;
  line-height: 180%;
}

.ba-album.css-style-13 .ba-album-items,
.ba-album.css-style-13 .ba-image,
.ba-gallery-grid.css-style-13 .ba-gallery-items,
.ba-gallery-grid.css-style-13 .ba-image,
.ba-album.css-style-11 .ba-album-items,
.ba-album.css-style-11 .ba-image,
.ba-gallery-grid.css-style-11 .ba-gallery-items,
.ba-gallery-grid.css-style-11 .ba-image {
  overflow: hidden;
}

.ba-album.css-style-13 .ba-caption,
.ba-gallery-grid.css-style-13 .ba-caption,
.ba-album.css-style-11 .ba-caption,
.ba-gallery-grid.css-style-11 .ba-caption {
  bottom: -20px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(transparent),
    to(rgba(0, 0, 0, 0.6))
  ) !important;
  background: -webkit-linear-gradient(
    top,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 100%
  ) !important;
  background: -moz-linear-gradient(
    top,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 100%
  ) !important;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 100%
  ) !important;
  opacity: 0;
  position: absolute;
  transition: all 0.4s 0s ease-in-out;
  -webkit-transition: all 0.4s 0s ease-in-out;
  width: 100%;
}

.ba-album.css-style-13 .ba-image + .ba-caption,
.ba-gallery-grid.css-style-13 .ba-image .ba-caption,
.ba-album.css-style-11 .ba-album-items:hover .ba-image + .ba-caption,
.ba-gallery-grid.css-style-11 .ba-image:hover .ba-caption {
  bottom: 0;
  opacity: 1;
}

.ba-album.css-style-13 .ba-caption h3,
.ba-album.css-style-13 .ba-caption p,
.ba-gallery-grid.css-style-13 .ba-caption h3,
.ba-gallery-grid.css-style-13 .ba-caption p,
.ba-album.css-style-11 .ba-caption h3,
.ba-album.css-style-11 .ba-caption p,
.ba-gallery-grid.css-style-11 .ba-caption h3,
.ba-gallery-grid.css-style-11 .ba-caption p {
  color: #fff;
  line-height: normal !important;
  margin: 15px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: calc(100% - 30px);
  width: -webkit-calc(100% - 30px);
}

.ba-album.css-style-12 .ba-caption,
.ba-gallery-grid.css-style-12 .ba-caption {
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  visibility: hidden;
  width: 100%;
  z-index: 1;
}

.ba-album.css-style-12 .ba-album-items,
.ba-gallery-grid.css-style-12 .ba-gallery-items {
  overflow: hidden;
}

.ba-album.css-style-12 .ba-album-items:hover .ba-caption,
.ba-album.css-style-12 .ba-album-items:hover .ba-image + .ba-caption,
.ba-gallery-grid.css-style-12 .ba-image:hover .ba-caption {
  visibility: visible;
}

@keyframes from-top {
  from {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
}

@-webkit-keyframes from-top {
  from {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
}

.ba-album.css-style-12 .from-top,
.ba-gallery-grid.css-style-12 .from-top {
  -webkit-animation: from-top 0.3s ease-in-out both;
  animation: from-top 0.3s ease-in-out both;
}

@keyframes from-bottom {
  from {
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
}

@-webkit-keyframes from-bottom {
  from {
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
}

.ba-album.css-style-12 .from-bottom,
.ba-gallery-grid.css-style-12 .from-bottom {
  -webkit-animation: from-bottom 0.3s ease-in-out both;
  animation: from-bottom 0.3s ease-in-out both;
}

@keyframes from-right {
  from {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
}

@-webkit-keyframes from-right {
  from {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
}

.ba-album.css-style-12 .from-right,
.ba-gallery-grid.css-style-12 .from-right {
  -webkit-animation: from-right 0.3s ease-in-out both;
  animation: from-right 0.3s ease-in-out both;
}

@keyframes from-left {
  from {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
}

@-webkit-keyframes from-left {
  from {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
}

.ba-album.css-style-12 .from-left,
.ba-gallery-grid.css-style-12 .from-left {
  -webkit-animation: from-left 0.3s ease-in-out both;
  animation: from-left 0.3s ease-in-out both;
}

@keyframes to-top {
  from {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
  to {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    visibility: visible;
  }
}

@-webkit-keyframes to-top {
  from {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
  to {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    visibility: visible;
  }
}

.ba-album.css-style-12 .to-top,
.ba-gallery-grid.css-style-12 .to-top {
  -webkit-animation: to-top 0.3s ease-in-out both;
  animation: to-top 0.3s ease-in-out both;
}

@keyframes to-bottom {
  from {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
  to {
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    visibility: visible;
  }
}

@-webkit-keyframes to-bottom {
  from {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    visibility: visible;
  }
  to {
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    visibility: visible;
  }
}

.ba-album.css-style-12 .to-bottom,
.ba-gallery-grid.css-style-12 .to-bottom {
  -webkit-animation: to-bottom 0.3s ease-in-out both;
  animation: to-bottom 0.3s ease-in-out both;
}

@keyframes to-right {
  from {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    visibility: visible;
  }
  to {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    visibility: visible;
  }
}

@-webkit-keyframes to-right {
  from {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    visibility: visible;
  }
  to {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    visibility: visible;
  }
}

.ba-album.css-style-12 .to-right,
.ba-gallery-grid.css-style-12 .to-right {
  -webkit-animation: to-right 0.3s ease-in-out both;
  animation: to-right 0.3s ease-in-out both;
}

@keyframes to-left {
  from {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    visibility: visible;
  }
  to {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    visibility: visible;
  }
}

@-webkit-keyframes to-left {
  from {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    visibility: visible;
  }
  to {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    visibility: visible;
  }
}

.ba-album.css-style-12 .to-left,
.ba-gallery-grid.css-style-12 .to-left {
  -webkit-animation: to-left 0.3s ease-in-out both;
  animation: to-left 0.3s ease-in-out both;
}

.disable-caption .ba-caption {
  display: none;
}

.ba-album .ba-album-items:hover .ba-caption h3,
.ba-album .ba-album-items:hover .ba-caption p,
.ba-caption:hover .ba-caption-content h3,
.ba-caption:hover p.image-category,
.ba-caption:hover p.short-description {
  transition-delay: 0s !important;
  -webkit-transition-delay: 0s !important;
}

.ba-album .ba-album-items:hover .ba-caption h3 + p,
.ba-caption:hover p.image-category + p.short-description,
.ba-caption:hover h3 + p.image-category {
  transition-delay: 0.2s !important;
  -webkit-transition-delay: 0.2s !important;
}

.ba-caption:hover h3 + p.image-category + p.short-description {
  transition-delay: 0.4s !important;
  -webkit-transition-delay: 0.4s !important;
}

.modal-open .ba-scrollable {
  animation: type 0.5s;
  -webkit-animation: type 0.5s;
}

@keyframes type {
  0% {
    opacity: 0;
  }
  100% {
    opacity: inherit;
  }
}

@-webkit-keyframes type {
  0% {
    opacity: 0;
  }
  100% {
    opacity: inherit;
  }
}

.hide-animation.ba-scrollable.modal-scrollable {
  animation: hide-modal 0.3s linear both;
  -webkit-animation: hide-modal 0.3s linear both;
}

@-webkit-keyframes hide-modal {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes hide-modal {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.hide-animation .gallery-modal {
  animation: hide-gallery 0.2s linear both;
  -webkit-animation: hide-gallery 0.2s linear both;
}

@-webkit-keyframes hide-gallery {
  from {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  to {
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
}

@keyframes hide-gallery {
  from {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  to {
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
}

.ba-resize.ba-modal .modal-image img {
  animation: image-fade 1s linear;
  -webkit-animation: image-fade 1s linear;
}

@-webkit-keyframes image-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes image-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
