/* Image title footer overlay */
#cugb-photo-gallery .cugb-gallery-main::after{
  height:34% !important;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.54) 35%,
    rgba(0,0,0,.16) 72%,
    rgba(0,0,0,0) 100%
  ) !important;
}

#cugb-photo-gallery .cugb-gallery-image-title{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  min-height:64px;
  display:flex;
  align-items:center;
  padding:18px 105px 18px 24px;
  color:#fff;
  font-family:Heebo,Arial,sans-serif;
  font-size:18px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:.01em;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.56) 58%,
    rgba(0,0,0,.38) 100%
  );
  text-shadow:0 2px 5px rgba(0,0,0,.55);
  pointer-events:none;
}

#cugb-photo-gallery .cugb-gallery-counter{
  bottom:21px !important;
  z-index:4 !important;
}

@media(max-width:480px){
  #cugb-photo-gallery .cugb-gallery-image-title{
    min-height:52px;
    padding:14px 78px 14px 14px;
    font-size:14px;
  }

  #cugb-photo-gallery .cugb-gallery-counter{
    bottom:17px !important;
  }
}
