﻿
.search-container {
    display: none;
}

.gallery-section {
    padding: 40px 0;
    background-image: url(../images/bg-all-img.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.image-holder {
    border: 1px solid rgb(233, 238, 248);
    box-shadow: rgba(8, 22, 46, 0.06) 0px 8px 28px;
    transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    /* min-height: 335px; */
}

.gallery-item {
    margin-bottom: 20px;
}

.image-holder::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 3px;
    background: linear-gradient(90deg, rgb(0, 194, 178), rgb(0, 169, 157));
    transform-origin: left center;
    transform: scaleX(0);
    transition: 0.5s;
    z-index: 3;
}

.image-holder:hover {
    transform: translateY(-8px);
    box-shadow: rgba(8, 22, 46, 0.14) 0px 18px 50px;
    border-color: rgb(217, 232, 234);
}

    .image-holder:hover::before {
        transform: scaleX(1);
    }

div#bindgallery {
    margin-top: 20px;
}

.img-event {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(rgb(247, 251, 255), rgb(238, 245, 255));
}

    .img-event a.events {
        display: block;
        width: 100%;
        height: 100%;
    }

    .img-event img {
        /* width: 100%; */
        object-position: top;
        /* height: 100%; */
        object-fit: cover;
        transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        margin: 0;
    }

.image-holder:hover .img-event img {
    transform: scale(1.1);
}

.img-event::after {
    content: "";
    position: absolute;
    inset: 0px;
    background: linear-gradient(to top, rgba(8, 22, 46, 0.65) 0%, rgba(8, 22, 46, 0.15) 50%, transparent 100%);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.image-holder:hover .img-event::after {
    opacity: 1;
}

.event-desc-wrap {
    padding: 12px 12px 5px;
    background: rgb(255, 255, 255);
    /* flex: 1 1; */
    /* display: flex; */
    /* flex-direction: column; */
    /* position: relative; */
}

    .event-desc-wrap a {
        text-decoration: none;
    }

.aftervhover {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date_tri {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(238, 250, 248);
    border: 1px solid rgb(212, 242, 239);
    color: rgb(19 128 133);
    padding: 0px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content;
}

    .date_tri::before {
        content: "◷";
        font-size: 11px;
    }

.gallery-title {
    /* font-family: Sora, sans-serif; */
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    color: rgb(8, 22, 46);
    margin: 6px 0px 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* min-height: 40px; */
    transition: 0.3s;
}

.image-holder:hover .gallery-title {
    color: rgb(12, 38, 79);
}




@media (max-width: 991px) {
    .img-event {
        height: 200px;
    }

    .gallery-title {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        /* padding: 8px 0px; */
    }

    .img-event {
        height: 220px;
    }
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -12px;
}

    .gallery-grid .gallery-item {
        width: 33.333%;
    }

@media (max-width: 991px) {
    .gallery-grid .gallery-item {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .gallery-grid .gallery-item {
        width: 100%;
    }
}

/*Gallery Detail*/


.img-responsive {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: 0.7s;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 14px;
}

.hb-wrapper .hb-image-container div.hb-image-div img {
    max-width: 96% !important;
}
