/* Grid layout */

.image-list {
    margin: 10px 20px;
    columns: 3 250px;
    column-gap: 10px;
}

.gallery-img img {
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
}

/*Light box styles */
.light-box-wrapper {
    display:none;
    position: fixed;
    right:0;
    left:0;
    top:0;
    bottom:0;
    background-color: rgba(0, 0, 0, 0.9);
}

.light-box-wrapper.active {
    display:block;
}

.light-box {
    position: absolute;
	overflow: hidden;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 100%;
	width: 400px;
}

.light-box img {
    width: 100%;
}