﻿.no-js img.lazyload {
    display: none;
}

figure.wp-block-image img.lazyloading {
    min-width: 150px;
}

.lazyload, .lazyloading {
    opacity: 0;
}

.lazyloaded {
    opacity: 1;
    transition: opacity 400ms;
    transition-delay: 0ms;
}

.gallery-section-two {
    position: relative;
    padding: 0px 0px 50px;
    background: #ffffff;
}

    .gallery-section-two .title-box {
        position: relative;
        text-align: center;
        margin-bottom: 25px;
    }

        .gallery-section-two .title-box h2 {
            font-size: 48px;
            text-transform: capitalize;
            margin: 0;
        }

.gallery-item {
    position: relative;
    margin-bottom: 30px;
}

    .gallery-item .gallery-block {
        margin: 0;
    }

.gallery-item {
    position: relative;
    margin-bottom: 30px;
}

    .gallery-item .gallery-block {
        margin: 0;
    }

.gallery-section {
    position: relative;
    background: #edf0f5;
    padding: 140px 0px 0px;
    overflow: hidden;
}

    .gallery-section .dotted-pattern-3 {
        right: -60px;
        top: -90px;
    }

    .gallery-section .tri-pattern-3 {
        right: 90px;
        top: 30px;
    }

    .gallery-section .sec-title {
        max-width: 650px;
    }

.gallery-block {
    position: relative;
    margin-bottom: 30px;
}

.owl-theme .gallery-block {
    margin: 0;
}

.gallery-block .inner-box {
    position: relative;
    display: block;
    overflow: hidden;
    transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.masonry-item.gallery-block .inner-box:hover {
    box-shadow: 0px 0px 30px 1px rgba(0,0,0,0.25);
}

.gallery-block .image {
    position: relative;
    display: block;
}

    .gallery-block .image img {
        position: relative;
        width: 100%;
        transition: all 0.9s ease;
        -moz-transition: all 0.9s ease;
        -webkit-transition: all 0.9s ease;
        -ms-transition: all 0.9s ease;
        -o-transition: all 0.9s ease;
    }

.gallery-block:hover .image img {
    transform: scale(1.1);
}

.gallery-block .overlink {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background: rgba(0,0,0,0.70);
    opacity: 0;
    visibility: hidden;
    transform: scale(2);
    transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    z-index: 2;
}

.gallery-block:hover .overlink {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.gallery-block .overlink .icon {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -30px;
    margin-top: -30px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 32px;
    text-align: center;
}

.gallery-section .owl-theme .owl-dots {
    display: none;
}

.gallery-section .owl-theme .owl-nav {
    position: absolute;
    left: 50%;
    top: -80px;
    width: 1170px;
    margin-left: -585px;
    text-align: right;
}

    .gallery-section .owl-theme .owl-nav .owl-next,
    .gallery-section .owl-theme .owl-nav .owl-prev {
        position: relative;
        display: inline-block;
        vertical-align: top;
        margin-left: 12px;
        font-size: 20px;
        font-weight: 700;
        color: rgba(0,0,0,0.30);
    }

        .gallery-section .owl-theme .owl-nav .owl-next:hover,
        .gallery-section .owl-theme .owl-nav .owl-prev:hover {
            color: rgba(0,0,0,0.90);
        }

.gallery-block .inner-box {
    position: relative;
    display: block;
    overflow: hidden;
    transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.masonry-item.gallery-block .inner-box:hover {
    box-shadow: 0px 0px 30px 1px rgba(0,0,0,0.25);
}

.portfolio-list {
    height: auto !important;
}
