/** SIMPLE GALLERY **/
.page40 .pageGallery .panel-heading {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: normal;
    background: #0000004d;
    transition: .5s;
}

.page40 .pageGallery .panel-heading:hover {
    background: #00000000;
}

.page40 .pageGallery .panel-heading h2 {
    background: none;
    color: #fff;
    transition: .5s;
}

.page40 .pageGallery .panel-heading:hover h2 {
    opacity: 0;
}