/* FLEX GALLERY */

.gg-gallery.gg-gallery-flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.gg-gallery-flex .gg-gallery-item {
	overflow: hidden;
	flex: auto;

}

.gg-gallery-flex .gg-gallery-item-sizer {
	position: relative;
}

.gg-gallery-flex .gg-gallery-item-contents {
	position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;
	background-size: cover;
	margin: 0;
}

.gg-gallery-flex .gg-gallery-item-contents img {
	width: 100%;
	height: 100%;
	opacity: 0;
}



/* MASONRY GALLERY */

.gg-gallery.gg-gallery-masonry {
	display: block;
	overflow: auto;
}

.gg-gallery-masonry .gg-gallery-item {
	break-inside: avoid;
	display: block;
	line-height: 0;
	position: relative;
}

.gg-gallery-masonry figure.gg-gallery-item-contents {
	margin: 0;
}

.gg-gallery-masonry .gg-gallery-item .gg-gallery-item-contents img {
	max-width: 100%;
}

.gg-gallery-masonry .gg-gallery-item .gg-gallery-item-contents figcaption {
	display: none;
}

/* GRID GALLERY */
.gg-gallery-grid .gg-gallery-item {
	overflow: hidden;
	flex: auto;
	position: relative;
}

.gg-gallery-grid .gg-gallery-item-contents {
	margin: 0;
}

.gg-gallery-grid .gg-gallery-item-contents img {
	width: 100%;
	height: auto;
}

.gg-gallery-grid .gg-gallery-item .gg-gallery-item-contents figcaption {
	display: none;
}
#_gallery-312-755.gg-gallery-flex .gg-gallery-item {
                width: calc(33.333% - 5px - 5px);
                margin: 5px;
                min-width: px;
                overflow: hidden;
                flex: auto;
            }

            #_gallery-312-755.gg-gallery-flex .gg-gallery-item-sizer {
                padding-bottom: 100.00%;
                position: relative;
            }
        
            #_gallery-312-755.gg-gallery-captions .gg-gallery-item .gg-gallery-item-contents figcaption:not(:empty) {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                background-color: rgba(0,0,0,0.75); /* caption background color */
                padding: 1em;
                color: #ffffff;  /* caption text color */
                font-weight: bold;
                -webkit-font-smoothing: antialiased;
                font-size: 1em;
                text-align: center;
                line-height: var(--gg-small-line-height);
                /*pointer-events: none;*/
                transition: 0.3s ease-in-out opacity;
                display: block;
            }

                
            #_gallery-312-755.gg-gallery-captions .gg-gallery-item .gg-gallery-item-contents figcaption:not(:empty) {
                opacity: 0;
            }
            #_gallery-312-755.gg-gallery-captions .gg-gallery-item:hover .gg-gallery-item-contents figcaption {
                opacity: 1;
            }

                    
            /* hover effects */
            #_gallery-312-755.gg-gallery .gg-gallery-item {
              opacity: ;
              transition: 0.3s ease-in-out opacity;
            }

            #_gallery-312-755.gg-gallery .gg-gallery-item:hover {
              opacity: ;
            }
