@charset "UTF-8";
/* CSS Document */

.gallery-image-container {
  position: relative;
  width: 100%;
  padding:2%;

}

.gallery-image {
  display: block;
  width: 100%;
  height: auto;
}
 
.gallery-image-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: inherit;
  width: inherit;
  display:block;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.gallery-image-container:hover .gallery-image-overlay {
  opacity: .98;
}

.gallery-image-text {
  color: white;
  font-size: 2em;
  font-weight:bold;
  position: absolute;
  text-align:center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
