﻿
.stkModal {

position: fixed;
z-index: 9999;
padding-top: 20px;
left: 0;
opacity: 1;
top: 0;
width: 100%;
height: 100%;

background-color: rgba(0, 0, 0, 0.34);
}
.StkModalContent{
margin: auto;
display: block;
height:100%;
width: 78%;
overflow-x:hidden;

}
.heading {
background: #5fbeaa;
padding: 5px;
color: #fff;
border: 1px solid #ccc;
border-radius: 3px;
text-align: center;
}
.stkTable
    td, th {
    padding: 13px;
}
.galImagelight {
    text-align: center;
    margin-bottom: 40px;
}

.lightbox-img-container {
    width: 60%;
    height: 70%;
    text-align: center;
    margin-top: -70px;
    z-index: 6;
    object-fit: contain;
    box-sizing: border-box;
    position: fixed;
}

#lightbox-img {
    width: 50%;
    height: 50%;
    transition: transform 0.1s ease;
    cursor: pointer;
    z-index: 5;
    animation: fadeInScale 0.5s ease-out;
    background-size: 100% 100%; 
    background-repeat: no-repeat;
    background-position: center center; 
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide animation */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%) scale(0.8);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%) scale(0.8);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

.zoomable {
    cursor: zoom-in;
}

#zoom-in-btn, #zoom-out-btn {
    position: absolute;
    top: 10px;
    font-size: 16px;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 10;
    background-image: linear-gradient(to right, #53bbfa, #6270f8);
    color: #fff;
    border-radius: 21%;
}

#zoom-in-btn {
    left: 10px;
}

#zoom-out-btn {
    left: 65px;
}

.thumbnail {
    padding: 0;
    width: 5rem;
    height: 5rem;
    margin: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

    .thumbnail.active-thumbnail {
        border: 2px solid #fff;
        opacity: 1;
    }

    .thumbnail:hover {
        opacity: 1;
    }

h1 {
    text-align: center;
    padding: 40px;
    margin: 0;
    color: beige;
    font-size: 3em;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .gallery img {
        margin: 10px;
        cursor: pointer;
        max-width: 250px;
        width: 50%;
        height: 50%;
        border-radius: 10px;
    }

#lightbox {
    display: none; 
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 80%; 
    max-width: 1200px; 
    height: 100%; 
    max-height: 800px; 
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999; 
    padding: 20px;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    box-sizing: border-box; 
    overflow: visible;
}
    #lightbox img {
        max-width: 80%;
        max-height: 60vh;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
        border-radius: 10px;
    }

#close-btn {
    background-image: linear-gradient(to right, #53bbfa, #6270f8);
    color: #fff;
    border: none;
    border-radius: 180% !important;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0 5px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

#prev-btn,
#next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
    background-image: linear-gradient(to right, #53bbfa, #6270f8);
    color: #fff;
    border-radius: 21%;
}

#prev-btn {
    left: 10px;
}

#next-btn {
    right: 10px;
}

    #prev-btn:hover,
    #next-btn:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.thumbnail-container {
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: 10px;
    width: 100%;
}

#thumbnail-container {
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: 10px;
    width: 100%;
}

    #thumbnail-container img {
        border: none;
    }

.thumbnail {
    max-width: 50px;
    width: 83px;
    height: 55px;
    cursor: pointer;
    margin-top: 40px;
    margin-left: 5px;
    margin-right: 5px;
    /*border: 2px solid #fff;*/
    transition: opacity 0.3s;
}

    .thumbnail:hover,
    .thumbnail.active-thumbnail {
        opacity: 0.7;
    }

.image-container {
    width: 300px;
    height: 200px;
    background-image: url('image/image.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid #ddd;
    cursor: zoom-in;
}

.zoom-frame {
    border: 1px solid #ddd;
    background-repeat: no-repeat;
    display: none;
    background-size: 200%;
    position: absolute;
    left: 76%;
    top: 11%;
    z-index: 9987;
    width: 55%;
    height: 67%;
}


