/* ======= Gallery Scroll style ======= */
.galleryscroll {
    position: relative;
    outline: none;
    overflow-x: hidden;
    padding: 60px 0 80px;
}

/* Dots navigation */
.galleryscroll .owl-dots {
    margin-top: 40px !important;
}
.galleryscroll .item {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border-radius: 5px;
    isolation: isolate;
}
.galleryscroll .item .img {
    position: relative;
    overflow: hidden;
    transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
    isolation: isolate;
}
.galleryscroll .item .img:after {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
    overflow: hidden;
    -webkit-transition: all .5s;
    transition: all .5s;
}
.galleryscroll .item .img > img {
    transition: all 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
    border-radius: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}
.galleryscroll .item:hover .img > img {
    -webkit-filter: none;
    filter: none;
    -webkit-transform: scale(1.03, 1.03);
    transform: scale(1.03, 1.03);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

/* magnific popup custom */
.mfp-counter {
    display: none;
}
.mfp-figure button {
    border: 0px solid transparent;
}
button.mfp-close,
button.mfp-arrow {
    border: 0px solid transparent;
    background: transparent;
}
.mfp-bg,
body.mfp-zoom-out-cur {
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
}
