﻿.box-bg-top {
    min-height: 200px;
    position: relative;
    text-align: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.container > .box-bg-top > .container {
    width: 100%;
}

.box-bg-top .container .container {
    width: 100%;
    padding: 0;
}

.box-bg-top .box-bg-title {
    background-color: rgba(0,0,0,0.5);
    text-align: center;
    height: 130%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
}

    .box-bg-top .box-bg-title:after {
        content: '';
        background-color: rgba(0,0,0,0.5);
        text-align: center;
        height: 130%;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        color: #fff;
    }

    .box-bg-top .box-bg-title .title {
        position: relative;
        top: 30%;
        transform: translateY(-30%);
        z-index: 1;
    }

        .box-bg-top .box-bg-title .title h1.header {
            text-align: left;
            font-size: 40px;
            color: #fff;
            padding-bottom: 15px;
        }

.box-bg-top .breadcrumb-box {
    background-color: transparent;
    text-align: left;
}

    .box-bg-top .breadcrumb-box .btn-breadcrumb a.btn.btn-default {
        color: #fff;
    }

    .box-bg-top .breadcrumb-box .btn-breadcrumb span {
        font-size: 12px;
    }

.box-bg-top.post_detail .title h1.header {
    text-align: left;
    font-size: 20px;
    color: #fff;
    padding-bottom: 15px;
}

.wrapper {
    padding-top: 0;
}

.box-bg-top.box-bg-center .title h1.header {
    text-align: center;
}

.box-bg-top.box-bg-center .breadcrumb-box {
    text-align: center;
}
body .wrapper .wrapper-container {
    margin-top: 35px;
}

.photo-gallery-category {
    overflow: hidden;
}

    .photo-gallery-category .item {
        margin-bottom: var(--bs-gutter-x);
        overflow: hidden;
        position: relative
    }

        .photo-gallery-category .item .img {
            overflow: hidden;
        }

            .photo-gallery-category .item .img img {
                -webkit-transform: scale(1.03);
                -ms-transform: scale(1.03);
                transform: scale(1.03);
                -webkit-transition: -webkit-transform .5s ease-out;
                transition: -webkit-transform .5s ease-out;
                -o-transition: transform .5s ease-out;
                transition: transform .5s ease-out;
                transition: transform .5s ease-out,-webkit-transform .5s ease-out;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .photo-gallery-category .item .title {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            padding: 20px;
            opacity: 0;
            transition: 0.8s all;
        }

            .photo-gallery-category .item .title h3 {
                margin-top: 60%;
                font-size: 18px;
                line-height: 25px;
                letter-spacing: 5px;
                text-align: left;
                color: #fff;
                text-transform: uppercase;
                opacity: 0;
                margin-left: -10px;
                transition: 0.5s all;
            }

                .photo-gallery-category .item .title h3:after {
                    content: "";
                    display: table;
                    margin: 10px 0;
                    height: 1px;
                    width: 0;
                    background: #fff;
                    transition: 0.8s all;
                }

        .photo-gallery-category .item:hover .title,
        .photo-gallery-category .item.active .title {
            opacity: 1;
            transition: 0.3s all;
        }

            .photo-gallery-category .item:hover .title h3,
            .photo-gallery-category .item.active .title h3 {
                opacity: 1;
                margin-left: 0px;
                transition: 0.5s all;
            }

                .photo-gallery-category .item:hover .title h3:after,
                .photo-gallery-category .item.active .title h3:after {
                    width: 100%;
                    transition: 0.8s all;
                }

        .photo-gallery-category .item:hover img {
            -webkit-transform: scale(1.03) translateX(1%);
            -ms-transform: scale(1.03) translateX(1%);
            transform: scale(1.03) translateX(1%);
        }

@media (max-width: 768px) {

    .photo-gallery-category .item .title {
        opacity: 1;
        transition: 0.3s all;
    }

        .photo-gallery-category .item .title h3 {
            opacity: 1;
            margin-left: 0px;
            transition: 0.5s all;
        }

            .photo-gallery-category .item .title h3:after {
                width: 100%;
                transition: 0.8s all;
            }
}
