.mg-image-scroll-container,
.mg-image-scroll-wrap {
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out
}
.item-visiable {
    opacity: 1 !important;
    visibility: visible !important;
}
.mg-image-scroll-wrap {
    overflow: hidden;
    width: 100%;
    position: relative
}

.mg-image-scroll-container {
    width: 100%;
}

.mg-container-scroll {
    overflow: auto;
}

.mg-image-scroll-container .mg-image-scroll-horizontal {
    position: relative;
    width: 100%;
    height: 100%
}

.mg-image-scroll-container .mg-image-scroll-horizontal.mg-image-scroll-image img {
    max-width: none;
    height: 100%
}

.mg-image-scroll-container .mg-image-scroll-vertical.mg-image-scroll-image img {
    width: 100%;
    max-width: 100%;
    height: auto
}

.mg-image-scroll-ver {
    position: relative
}

.mg-image-scroll-container .mg-image-scroll-overlay {
    background: rgba(2, 2, 2, .3)
}

.mg-image-scroll-container .mg-image-scroll-link,
.mg-image-scroll-container .mg-image-scroll-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4
}

.mg-image-scroll-content {
    display: inline-block;
    position: absolute;
    height: auto;
    top: 50%;
    left: 50%;
    text-align: center;
    z-index: 5;
    transform: translate(-50%, -50%)
}

.mg-container-scroll-instant .mg-image-scroll-image img {
    transition: all 0s ease-in-out !important
}

.mg-image-scroll-container .mg-image-scroll-content,
.mg-image-scroll-container .mg-image-scroll-overlay {
    transition: all .3s ease-in-out;
    opacity: 1
}

.mg-image-scroll-container:hover .mg-image-scroll-content,
.mg-image-scroll-container:hover .mg-image-scroll-overlay {
    opacity: 0
}

.mg-image-scroll-container:hover .mg-image-scroll-content {
    visibility: hidden
}

.mg-image-scroll-content .mg-image-scroll-icon {
    display: inline-block;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out
}

.mg-mouse-scroll-horizontal {
    -webkit-animation-name: mg-scroll-horizontal;
    animation-name: mg-scroll-horizontal
}

.mg-mouse-scroll-vertical {
    -webkit-animation-name: mg-scroll-vertical;
    animation-name: mg-scroll-vertical
}

@-webkit-keyframes mg-scroll-vertical {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(5px)
    }
}

@keyframes mg-scroll-vertical {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(5px)
    }
}

@-webkit-keyframes mg-scroll-horizontal {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(5px)
    }
}

@keyframes mg-scroll-horizontal {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(5px)
    }
}