/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 15 2024 | 17:13:12 */
body.no-scroll{
	overflow:hidden!important;
}

.kw-image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.kw-image-gallery__item {
    position: relative;
    cursor: pointer;
	width: calc(33% - 15px);
}

@media(max-width:992px){
	.kw-image-gallery__item {
		width: calc(50% - 15px);
	}
}

@media(max-width:768px){
	.kw-image-gallery__item {
		width: calc(100% - 15px);
	}
}

.kw-image-gallery__item:after {
    content: '';
    position: absolute;
    width: 100%;
    height: calc(100% - 4.96rem);
    background-image:url("/wp-content/uploads/2024/10/img-hover-video-01.png");
	background-size: cover;
    top: 0;
    opacity: 0;
	transition:all 0.5s;
}

.kw-image-gallery__item:hover:after {
    opacity: 0.7;
}

.kw-image-gallery__item__img {
    width: 100%;
    height: auto;
    display: block;
}

.kw-image-gallery__item__caption {
    color: #fff;
    padding: 0.75rem;
    background-color: var(--wp--preset--color--base-2);
    position: absolute;
    bottom: 0;
    width: calc(100% - 1.5rem);
    min-height: 3.5rem;
    font-size: 1rem;
}

.kw-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
	overflow: hidden;
}

.kw-gallery-modal__slide{
	text-align:center;
	position:relative;
}

.kw-gallery-modal__slide__inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.kw-gallery-modal__slide img {
    max-width: 80vw; /* Adapt image size as needed */
    height: auto;
	max-height:80vw;
    margin: auto;
}

.kw-gallery-modal__slider-wraper{
	margin-top:100px
}

.kw-gallery-modal .slick-track
{
    display: flex !important;
}

.kw-gallery-modal .slick-slide
{
    height: inherit !important;
}

.kw-gallery-modal-close{
	    position: absolute;
    top: 3rem;
    right: 3rem;
    font-size: 4rem;
    color: rgb(255, 255, 255);
    cursor: pointer;
    z-index: 100;
}
