#site-content {
    margin-right: 0;
    margin-left: 12px;
    padding: 0
}

#PFI_portfolio-gallery {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    min-height: 109px;
    overflow: hidden
}

.PFI_overlay-trigger {
    width: calc(33.33% - 12px);
    margin-bottom: 12px;
    margin-right: 12px;
    box-sizing: border-box;
    position: relative;
    transition: transform 0.5s ease-in-out;
    overflow: hidden;
    visibility: visible;
    transition: visibility 0s 0.5s
}

#PFI_portfolio-gallery a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%
}

.PFI_gallery-item,
.PFI_video-item {
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    min-height: 109px
}

.PFI_portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .6);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2
}

#PFI_portfolio-gallery a:hover .PFI_portfolio-overlay {
    opacity: 1;
    visibility: visible
}

.PFI_portfolio-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
    text-transform: capitalize;
    text-align: center
}

.PFI_portfolio-description {
    font-weight: 400;
    font-size: .9rem;
    color: #fff;
    opacity: .8;
    text-align: Center
}

.lg-sub-html h4 {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 5px;
    font-family: var(--font-primary, sans-serif)
}

.lg-sub-html p {
    font-weight: 400;
    font-size: .9rem;
    color: #fff;
    opacity: .8;
    font-family: var(--font-primary, sans-serif);
    text-transform: none !important
}

img.lg-object.lg-video-poster {
    object-fit: contain !important
}

#PFI_filter-options {
    text-align: center;
    margin-bottom: 20px
}

.PFI_filter-option {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease
}

.PFI_filter-option:hover {
    background-color: #f9f9f9;
    transform: scaleX(1.04) scaleY(1.01)
}

.PFI_filter-option span {
    display: inline-block;
    border-bottom: 2px solid #fff0
}

.PFI_filter-option.active span {
    border-bottom-color: currentColor
}

.PFI_poster-image-container {
    position: relative;
    display: inline-block
}

.PFI_video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgb(0 0 0 / .2);
    border-radius: 50%;
    cursor: pointer;
    opacity: .8;
    transition: opacity 0.2s ease;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center
}

.PFI_video-play-icon:hover {
    opacity: 1
}

.PFI_video-play-icon img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    pointer-events: none
}

.lg-backdrop,
.lg-outer,
.lg {
    z-index: 10000 !important
}

@media (max-width:62rem) {
    #PFI_portfolio-gallery .PFI_overlay-trigger {
        width: calc(50% - 12px)
    }
}

@media (max-width:30rem) {
    #PFI_portfolio-gallery {
        margin: 0 12px
    }
    #PFI_portfolio-gallery .PFI_overlay-trigger {
        width: 100%
    }
}