/* The Modal (background) */
.modal-gallery {
display: none;
align-items: center;
justify-content: center;
position: fixed;
z-index: 99999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: #000000e6;
}
/* Modal Content */
.modal-content-gallery {
position: relative;
background-color: transparent;
margin: 100px auto;
padding: 0;
width: 70%;
max-width: 1200px;
border: none;
}
/* The Close Button */
.close-gallery {
color: white;
position: absolute;
top: 10px;
right: 25px;
font-size: 35px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #999;
text-decoration: none;
cursor: pointer;
}
.mySlides {
display: none;
}
.cursor {
cursor: pointer;
}
/* Next & previous buttons */
.prev,
.next {
color: white;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -50px;
border-radius: 50%;
height: 48px;
width: 48px;
line-height: 15px;
font-weight: bold;
font-size: 35px;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.prev:focus {
color: #999;
text-decoration: none;
cursor: pointer;
text-shadow: 0 1px 0 #fff;
}
.next:hover,
.next:focus {
color: #999;
text-decoration: none;
cursor: pointer;
text-shadow: 0 1px 0 #fff;
}
/* Number text (1/3 etc) */
.numbertext {
color: #ffffff;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
img {
object-fit: cover;
max-width: 100%;
}
.caption-container {
text-align: center;
background-color: black;
padding: 2px 16px;
color: white;
}
.demo {
opacity: 0.6;
}
.active,
.demo:hover {
opacity: 1;
}
img.hover-shadow {
transition: 0.3s;
}
.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);
}
.img-fluid {
max-height: 70vh;
}