.gallery-cta{position:absolute;top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;z-index:10}
.gallery-cta,.gallery-cta:hover,.gallery-cta:focus{opacity:1}
.gallery-cta:hover .gallery-cta-text,.gallery-cta:focus .gallery-cta-text{opacity:.75}
.gallery-poster{max-height:100vh;max-height:100svh;width:100%;position:relative;overflow:hidden}
.gallery-poster .expand{position:absolute;top:2rem;right:2rem;z-index:10}
.gallery-poster-img{height:100%;width:100%;object-fit:cover}
.gallery-poster::after{position:absolute;top:0;left:0;height:100%;width:100%;background-color:rgba(0,0,0,0.3);content:"";z-index:5}
.gallery-row{flex-grow:1}
@media(min-width:992px){.gallery-row{max-height:calc(100vh - 6rem)}
}
.gallery .modal.fade .modal-dialog{transform:scale(1.3)}
.gallery .modal.show .modal-dialog{transform:none}
@media(min-width:768px){.gallery .modal-body{height:100vh;max-height:100vh}
}
.gallery .modal .actuator{position:absolute;top:2rem;right:2rem;z-index:10}
.gallery .carousel-inner{transition:height .75s ease-out}
.gallery .carousel-item img{max-height:80vh;max-width:100%}
@media(min-width:992px){.gallery .carousel-item img{max-height:calc(100vh - 9rem)}
}
.gallery .carousel-control{opacity:0;z-index:4}
.gallery .carousel-control:focus:focus-visible{opacity:1}
@media(min-width:768px){.gallery .carousel-control:hover{opacity:1}
}
.gallery .carousel-control-prev,.gallery .carousel-control-next{width:auto;padding:0 1rem}
.gallery .image-carousel .carousel-item{float:none}
.gallery .image-carousel .carousel-item.active{display:flex}
.gallery .thumbnail-col{max-width:100%}
@media(min-width:992px){.gallery .thumbnail-col{max-width:66.66666667%}
}
.gallery .thumbnail-wrapper{overflow:hidden}
.gallery .thumbnail-carousel{display:inline-flex;flex-wrap:nowrap;transition:transform .6s}
.gallery .thumbnail-btn{border:0;padding:0;margin-right:.5rem;opacity:.4}
.gallery .thumbnail-btn.active{opacity:1}
.gallery .thumbnail-image{height:4rem;width:4rem}