@media (min-width: 992px) and (max-width: 1199.99px) {
    /* Gallery */
    .gallery-filter {
        margin-bottom: 40px;
    }
    #gallery-1 .item-overlay::before,
    #gallery-2 .item-overlay::before,
    #gallery-1 .item-overlay::after,
    #gallery-2 .item-overlay::after {
        top: 15px;
        right: 15px;
        bottom: 15px;
        left: 15px;
    }
    #gallery-1 .image-zoom a,
    #gallery-2 .image-zoom a {
        width: 46px;
        height: 46px;
        font-size: 18px;
        line-height: 42px!important;
    }
    /* Gallery */
    .gallery-filter button {
        font-size: 1.15rem;
    }
    .masonry-wrap .gallery-item {
        width: 50%;
    }
}

@media (min-width: 576px) and (max-width: 767.99px) {
    /* Gallery */
    .gallery-filter {
        text-align: center!important;
    }
    .gallery-filter button {
        width: 100%;
        display: block !important;
        padding: 12px 0;
        float: none!important;
        font-size: 1.133rem;
        margin: 0 0 5px 0;
        border-bottom: none;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
    }
    .gallery-filter button:hover {
        color: #fff;
        background-color: #00a3c8;
        border-bottom: none;
    }
    .gallery-filter button.is-checked {
        color: #fff;
        background-color: #00a3c8;
        border-bottom: none;
    }
    .masonry-wrap .gallery-item {
        width: 100%;
    }
    #gallery-1 .image-zoom a,
    #gallery-2 .image-zoom a,
    #gallery-3 .image-zoom a {
        width: 68px;
        height: 68px;
        font-size: 32px;
        line-height: 64px!important;
    }
}

@media (max-width: 575px) {
    /* Gallery */
    .gallery-filter {
        text-align: center!important;
        margin-bottom: 30px;
    }
    .gallery-filter button {
        width: 100%;
        display: block !important;
        padding: 12px 0;
        float: none!important;
        font-size: 1.133rem;
        margin: 0 0 5px 0;
        border-bottom: none;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
    }
    .gallery-filter button:hover {
        color: #fff;
        background-color: #00a3c8;
        border-bottom: none;
    }
    .gallery-filter button.is-checked {
        color: #fff;
        background-color: #00a3c8;
        border-bottom: none;
    }
    .masonry-wrap .gallery-item {
        width: 100%;
        margin: 0 10px 20px;
        padding: 0 15px;
    }
    #gallery-1 .image-zoom a,
    #gallery-2 .image-zoom a,
    #gallery-3 .image-zoom a {
        width: 68px;
        height: 68px;
        font-size: 32px;
        line-height: 64px!important;
    }
}