
/* Outermost container */
.lightbox {
	position: relative;
	/*border-top: 1px solid #B2BDFF;*/
	border-bottom: 1px solid #B2BDFF;
	user-select: none;
	xx-min-height: 400px;
	xx-max-height: 80%;
	overflow: auto;
	xx-border-radius:10px;
}

@media only screen and (max-width: 600px) {
	.lightbox {
		overflow-x: auto;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}
}

/* Container for the thumbnails */
.lightbox-thumbnail-gallery {
	display: flex;
    flex-wrap: wrap;
    xx-background: black;
    justify-content: space-around;
}

/* Container for a single thumbnail */
.lightbox-thumbnail {
	height: 200px;
    width: 200px;
    position: relative;
}

/* Thumbnail image */
.lightbox-thumbnail > img {
    max-width: 95%;
    max-height: 95%;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 10px;
    border: 1px solid black;
}

/* Modal background */
.lightbox-modal {
	display: none;
	position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content */
.lightbox-modal-content {
	/* position: relative; */
    /* background-color: #fefefe; */
    /* margin: auto; */
    /* padding: 0; */
    /* width: 100%; */
    /* max-width: 1200px; */
    /* height: 100%; */
}

/* The Close Button */
.lightbox-close {
	color: white;
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
	z-index: 10;
}

.lightbox-close:hover,
.lightbox-close:focus {
	color: #999;
	text-decoration: none;
	cursor: pointer;
}

/* Hide the slides by default */
.lightbox-slide {
	position: relative;
}

/* Thumbnail image */
.lightbox-modal-content > img {
	max-width: 95%;
    max-height: 95%;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 10px;
}

/* Next & previous buttons */
.lightbox-prev,
.lightbox-next {
	z-index: 10;
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.lightbox-next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.lightbox-prev:hover,
.lightbox-next:hover {
	color: #999;
	background-color: rgba(0, 0, 0, 0.8);
}

img.lightbox-hover-shadow {
	transition: 0.3s;
}

.lightbox-hover-shadow:hover {
	/*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
	/*box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.6), 0 6px 20px 0 rgba(255, 255, 255, 0.6); */
	/*box-shadow: 0px 0px 15px 10px rgba(255, 255, 255, 0.4);*/
	box-shadow: 0px 5px 15px 4px rgba(0, 0, 0, 0.3);

}

