﻿

.g-item {
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

    .g-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        transition: transform .28s ease;
        border: 2px solid #008daf;
        /*        border-radius:10px;*/
    }

    .g-item:hover img {
        transform: scale(1.05);
    }

    .g-item:hover {
        border: 2px solid #cf2c68;
    }

/* Lightbox overlay */
.lb-overlay {
    position: fixed;
    inset: 0;
    /*    background: rgba(0,0,0,0.85);*/
    background: #eee;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    padding-top: 40px;
}

    .lb-overlay.open {
        display: flex;
    }

/* container */
.lb-container {
    width: 100%;
    max-width: 1100px;
    color: #fff;
    position: relative;
}

/* close button */
.lb-btn {
    background: rgba(255,255,255,0.06);
    border: 0;
    color: dimgray;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.lb-close {
    position: absolute;
    top: -10px;
    right: -10px;
    transform: translate(50%,-50%);
    font-size: 18px;
}

/* main area with prev/next */
.lb-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-prev, .lb-next {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 12px;
    font-size: 18px;
}

.lb-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    max-height: 80vh;
}

    .lb-stage img {
        max-width: 100%;
        max-height: 70vh;
        border-radius: 6px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    }

/* caption */
.lb-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #eee;
    opacity: 0.95;
    text-align: center;
}

/* controls row */
.lb-controls {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.ctrl {
    background: rgba(0, 0, 0, 0.06);
    border: 0;
    color: #008daf;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
}

/* thumbnail strip */
.lb-thumbs {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
}

    .lb-thumbs img {
        width: 80px;
        height: 50px;
        object-fit: cover;
        border-radius: 4px;
        opacity: 0.7;
        cursor: pointer;
        border: 2px solid transparent;
    }

        .lb-thumbs img.active {
            opacity: 1;
            border-color: #008daf;
        }

/* small-screen tweaks */
@media (max-width:640px) {
    .lb-prev, .lb-next {
        padding: 8px;
        font-size: 16px;
    }

    .lb-stage img {
        max-height: 50vh;
    }

    .lb-thumbs img {
        width: 64px;
        height: 46px;
    }
}

/* hidden state */
.hidden {
    display: none !important;
}

/*Gallery*/
.twm-two-part-section {
    margin-bottom: 30px;
}

.tw-sidebar-gallery ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    padding-left: 0px;
}

    .tw-sidebar-gallery ul li {
        width: 25%;
        border-right: 4px solid #fff;
        border-bottom: 4px solid #fff;
    }

        .tw-sidebar-gallery ul li .tw-service-gallery-thumb {
            position: relative;
            z-index: 1;
            transition: 0.5s all ease;
        }

            .tw-sidebar-gallery ul li .tw-service-gallery-thumb:after {
                position: absolute;
                left: -3px;
                top: -3px;
                right: -3px;
                bottom: -3px;
                content: "";
                border: 2px solid #1967d2;
                border-radius: 10px;
                opacity: 0;
                z-index: -1;
            }

            .tw-sidebar-gallery ul li .tw-service-gallery-thumb:hover {
                padding: 0px;
            }

                .tw-sidebar-gallery ul li .tw-service-gallery-thumb:hover:after {
                    opacity: 1;
                }

        .tw-sidebar-gallery ul li a {
            display: block;
            text-align: center;
            position: relative;
            background-color: #000;
            border-radius: 10px;
        }

            .tw-sidebar-gallery ul li a img {
                transition: 0.5s all ease;
                border-radius: 10px;
            }

            .tw-sidebar-gallery ul li a i {
                opacity: 0;
                width: 46px;
                height: 46px;
                line-height: 46px;
                border-radius: 50%;
                background-color: #fff;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                transition: 0.5s all ease;
            }

        .tw-sidebar-gallery ul li:hover a img {
            opacity: 0.3;
        }

        .tw-sidebar-gallery ul li:hover a i {
            opacity: 1;
        }

.tw-sidebar-gallery-2 .row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

    .tw-sidebar-gallery-2 .row [class*=col-] {
        margin-bottom: 30px;
    }

        .tw-sidebar-gallery-2 .row [class*=col-] .tw-service-gallery-thumb {
            position: relative;
            z-index: 1;
            transition: 0.5s all ease;
        }

            .tw-sidebar-gallery-2 .row [class*=col-] .tw-service-gallery-thumb:after {
                position: absolute;
                left: -3px;
                top: -3px;
                right: -3px;
                bottom: -3px;
                content: "";
                border: 2px solid #1967d2;
                border-radius: 10px;
                opacity: 0;
                z-index: -1;
            }

            .tw-sidebar-gallery-2 .row [class*=col-] .tw-service-gallery-thumb:hover {
                padding: 0px;
            }

                .tw-sidebar-gallery-2 .row [class*=col-] .tw-service-gallery-thumb:hover:after {
                    opacity: 1;
                }

        .tw-sidebar-gallery-2 .row [class*=col-] a {
            display: block;
            text-align: center;
            position: relative;
            background-color: #000;
            border-radius: 10px;
        }

            .tw-sidebar-gallery-2 .row [class*=col-] a img {
                transition: 0.5s all ease;
                border-radius: 10px;
            }

            .tw-sidebar-gallery-2 .row [class*=col-] a i {
                opacity: 0;
                width: 46px;
                height: 46px;
                line-height: 46px;
                border-radius: 50%;
                background-color: #fff;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                transition: 0.5s all ease;
            }

        .tw-sidebar-gallery-2 .row [class*=col-]:hover a img {
            opacity: 0.3;
        }

        .tw-sidebar-gallery-2 .row [class*=col-]:hover a i {
            opacity: 1;
        }

.lb-container {
    position: relative;
    z-index: 10000;
}

.lb-overlay {
    z-index: 9999;
}
/*Video*/
.video-section-first {
    height: 270px;
    background-size: cover;
    border-radius: 10px;
    position: relative;
    border: 2px solid #008daf;
    margin-bottom: 22px;
}

@media (max-width: 1199px) {
    .video-section-first {
        height: 236px;
    }
}

@media (max-width: 991px) {
    .video-section-first {
        height: 266px;
    }
}

.play-now-video .icon {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 78px;
    width: 78px;
    text-align: center;
    line-height: 78px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    z-index: 1;
    font-size: 32px;
    padding-left: 0px;
    display: block;
    transform: translateX(-50%) translateY(-50%);
    transform-origin: center center;
    border-radius: 50%;
    box-shadow: 0 5px 10px 0 rgba(255, 255, 255, 0.5);
}

.play-now-video .ripple,
.play-now-video .ripple:before,
.play-now-video .ripple:after {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 78px;
    width: 78px;
    transform: translateX(-50%) translateY(-50%);
    transform-origin: center center;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgb(255, 255, 255);
    animation: ripple-video 3s infinite;
    z-index: 1;
}

    .play-now-video .ripple:before {
        animation-delay: 0.9s;
        content: "";
        position: absolute;
    }

    .play-now-video .ripple:after {
        animation-delay: 0.6s;
        content: "";
        position: absolute;
    }

@keyframes ripple-video {
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}
/*Slide Top Animation*/
.slide-top {
    animation: slide-top 2s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite alternate-reverse both;
}

@keyframes slide-top {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50px);
    }
}
/*Zoom in Zoom Out Animation*/
.zoon-in-out {
    animation: zoom-in-zoom-out 8s ease-out infinite;
}

@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1.1, 1.1);
    }

    50% {
        transform: scale(1.5, 1.5);
    }

    100% {
        transform: scale(1.1, 1.1);
    }
}
/*Up Down Animation*/
.up-down {
    animation: slide-top 1.5s ease-in-out infinite alternate-reverse both;
}

@keyframes slide-top {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}
