﻿.gallery-image {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
    .gallery-image .various {
        display: none;
    }
.font-cus{
    font-size:40px;
}

.gallery-image img {
    height: 250px;
    width: 350px;
    transform: scale(1.0);
    transition: transform 0.4s ease;
}

    .gallery-image .img-box {
        box-sizing: content-box;
        margin: 10px;
        height: 250px;
        width: 350px;
        overflow: hidden;
        display: inline-block;
        color: #fff;
        position: relative;
        background-color: #343a40;
    }

        .gallery-image .img-box a {
            color: #fff;
        }
        .gallery-image .img-box:hover .various {
            display: flex;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            z-index: 9;
            background: rgba(150, 83, 6, 0.6);
            align-items: center;
            justify-content: center;
        }
            .gallery-image .img-box:hover .various .font-cus {
                color: #fff;
                font-size: 40px;
            }
            .gallery-image .img-box:hover .various .name {
                text-transform: uppercase;
                font-size: 14px;
                letter-spacing: 2px;
                font-weight: 500;
                -webkit-text-stroke-width: 1px;
                -webkit-text-stroke-color: white;
            }

            .gallery-image .img-box:hover .various .button {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                z-index: 9;
                color: #fff;
                text-align: center;
            }
            .gallery-image .img-box:hover .various .btn {
                background-color: rgba(255, 255, 255, 0.2);
                color: #fff;
                border: solid 1px #fff;
                border-radius: 3px;
                margin-top: 10px;
                font-size: 14px;
                padding: 2px 15px;
            }
            .gallery-image .caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    opacity: 1.0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 0 !important;
}

        .gallery-image .caption p {
            margin-bottom: 0;
            line-height: 24px;
        }

    .gallery-image .transparent-box .caption .title {
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 2px;
        color: transparent;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: white;
        margin-top: -25px;
        transition: 0.4s ease-in-out 0.4s;
        position: relative;
        width: 100%;
        opacity: 1 !important;
        line-height:normal;
    }

           

        .gallery-image .caption .stats, .gallery-image .caption .desc {
            font-size: 16px;
            font-style: italic;
        }

        .gallery-image .caption .desc {
            display: none;
        }

    .gallery-image .transparent-box {
        height: 250px;
        width: 350px;
        background-color: rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 0;
        left: 0;
        transition: background-color 0.3s ease;
    }

    .gallery-image .img-box:hover img {
        transform: scale(1.1);
    }

    .gallery-image .img-box:hover .transparent-box {
        display:none;
    }

    

    .gallery-image .img-box:hover {
        cursor: pointer;
    }

    .gallery-image .opacity-low {
        opacity: 0.5;
    }

/*gallery-wrap*/
.gallery-wrap {
}

.gallery-heading {
    text-align: center;
    padding-top: 20px;
    line-height: 1.5;
}

    .gallery-heading .gallery-subtitle a {
        font-size: 18px;
        letter-spacing: 1px;
        color: #7c859b;
    }

    .gallery-heading .gallery-album-title {
        color: #ffc107;
        font-size: 22px;
    }

    .gallery-heading .gallery-album-stats {
        font-size: 14px;
    }

        .gallery-heading .gallery-album-stats a {
            color: #fff;
        }

    .gallery-heading .gallery-album-desc {
        font-size: 14px;
        font-style: italic;
    }

/*gallery-3d-space*/
.gallery-3d-space {
    position: relative;
    width: 100vw;
    height: 85vh;
    overflow: hidden;
    -webkit-user-select: none; /* Chrome all / Safari all */
    -moz-user-select: none; /* Firefox all */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Likely future */
}

    .gallery-3d-space::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../../../img/space-bg.jpg);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        filter: grayscale(100%) brightness(0.3);
    }

    .gallery-3d-space img {
        position: absolute;
        overflow: hidden;
        cursor: pointer;
        left: 100%;
        max-width: 80%;
        max-height: 75%;
        width: auto;
        height: auto;
        border-radius: 4px;
        /*box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/
    }

    .gallery-3d-space span {
        position: absolute;
        color: #efe;
        font-size: 0px;
        white-space: nowrap;
        left: -999px;
        background: rgba(0, 0, 0, 0.7);
        padding: 5px;
        margin: 0;
        line-height: 1.2;
    }

        .gallery-3d-space span small {
            display: block;
        }

        .gallery-3d-space span:empty {
            display: none;
        }
