.gallery-block{
  padding-bottom: 0px;
  padding-top: 50px;
}

.gallery-block .heading{
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block .heading h2{
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.compact-gallery .item{
  overflow: hidden;
  margin-bottom: 0;
  background: black;
  opacity: 1;
}

.gallery-block.compact-gallery .item .image{
  transition: 0.8s ease;
}

.gallery-block.compact-gallery .item .info{
  position: relative;
    display: inline-block;
}

.gallery-block.compact-gallery .item .description{
  display: grid;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 10px;
    font-size: 17px;
    line-height: 18px;
    width: 100%;
	height:100%;
    padding-top: 15px;
    padding-bottom: 15px;
    opacity: 1;
    color: #fff;
    transition: 0.8s ease;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    background: -moz-linear-gradient(left, rgba(85 126 224 / 85%) 0%, rgb(47 135 212 / 90%) 100%);
    background: -webkit-linear-gradient(left, rgba(85 126 224 / 85%) 0%,rgb(47 135 212 / 90%) 100%);
    background: linear-gradient(to right, rgb(85 126 224 / 85%) 0%,rgb(47 135 212 / 90%) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(85, 126, 224, 0.85)', endColorstr='rgba(47, 135, 212, 0.90)',GradientType=1 );
	display: flex;
    justify-content: space-around;
    align-items: center;
}

.gallery-block.compact-gallery .item .description .description-heading{
  font-size: 3em;
  font-weight: bold;
}

.gallery-block.compact-gallery .item .description .description-body{
  font-size: 0.8em;
  margin-top: 10px;
  font-weight: 300;
}

@media (min-width: 320px) {

  .gallery-block.compact-gallery .item .description {
    opacity: 0; 
  }

  .gallery-block.compact-gallery .item a:hover .description {
    opacity: 1; 
  } 

  .gallery-block .zoom-on-hover:hover .image {
    transform: scale(1.3);
    opacity: 0.7; 
  }
}
