.enteraddons-image-gallery .grid-item-inner .tags a {
    color: #fff;
    font-size: 12px;
}
.enteraddons-image-gallery .grid-item-inner .tags a:not(:last-child):after {
    content: " ,";
}
.enteraddons-image-gallery .grid-item-inner h5, .enteraddons-image-gallery .grid-item-inner .tags {
    color: #fff;
}

.enteraddons-image-gallery .grid-item-before-inner-top .grid-item-inner {
    position: relative;
}
.enteraddons-image-gallery .grid-item-before-inner-top .grid-item-inner-top {
    overflow: hidden;
}
.enteraddons-image-gallery .grid-item-inner .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    opacity: 0;
    -webkit-transition: 0.3s ease-in;
    -o-transition: 0.3s ease-in;
    transition: 0.3s ease-in;
}
.enteraddons-image-gallery.overlay-active .grid-item-inner .overlay {
    visibility: hidden;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.5);
}

.enteraddons-image-gallery.title-show-on-always .grid-item-inner .overlay,
.enteraddons-image-gallery .grid-item-inner:hover .overlay {
    opacity: 1;
    visibility: visible;
}
.enteraddons-image-gallery.icon-show-on-always .grid-item-inner a,
.enteraddons-image-gallery .grid-item-inner:hover > a {
    opacity: 1;
    visibility: visible;
}
.enteraddons-image-gallery .grid-item-inner > a {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}
.grid-item-inner .overlay {
    display: flex;
    flex-direction: column;
}

