.liiva_foto_gallery .img-slide a {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.liiva_foto_gallery .gallery-wrapper{
    float: left;
    width: 100%;
}
.liiva_foto_gallery .caption {
    position: absolute;
    bottom: 7%;
    right: 5%;
    font-size: 18px;
    color: #fff;
    padding: 3px 8px;
    line-height: 1.2;
    width: 280px;
    min-height: 65px;
    background: url('../img/caption.png')  no-repeat;
    font-family: 'laCartoonerie';
    display: -ms-flexbox !important;
    display: -webkit-box !important;
    display: flex !important;
    -ms-flex-align: center !important;
    -webkit-box-align: center !important;
            align-items: center !important;
    -ms-flex-pack: center !important;
    -webkit-box-pack: center !important;
            justify-content: center !important;
}

.liiva_foto_gallery .img-slide {
    position: relative;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 10px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.liiva_foto_gallery .img-slide:hover {
    opacity: 0.8;
}


.liiva_foto_gallery .slide-quad {
    width: 365px;
    height: 353px;
}

.liiva_foto_gallery .slide-quad::before {
    background: url('../img/mask-quad.png')  no-repeat;
}

.liiva_foto_gallery .mask-horizontal {
    width: 735px;
    height: 356px;
    background-repeat: no-repeat;
}

.liiva_foto_gallery .mask-horizontal::before {
    background: url('../img/mask-horizontal.png') no-repeat;
}

.liiva_foto_gallery .mask-vertical {
    width: 356px;
    height: 708px;
}

.liiva_foto_gallery .mask-vertical::before {
    background: url('../img/mask-vertical.png')  no-repeat;
}
.liiva_foto_gallery .img-slide::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-repeat: no-repeat;
}

.liiva_foto_gallery .g-block {
    float: left;
    position: relative;
    padding: 5px;
    width: 375px;
}


.g-block-4{
    width: 745px !important;
}



div.scrollableArea {
    position: relative;
    width: auto;
    height: 100%;
}
div.scrollWrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

div.scrollingHotSpotRight.scrollingHotSpotRightVisible,
div.scrollingHotSpotLeft.scrollingHotSpotLeftVisible{
    opacity:1 !important;
}
div.scrollingHotSpotRight {
    min-width: 75px;
    height: 100%;
    background: rgba(59, 50, 87, 0.42);
    position: absolute;
    z-index: 200;
    right: 0;
}
div.scrollingHotSpotLeft:before {
    content: "";
    position: absolute;
    top: 40%;
    left: 0%;
    color: #fff;
    width: 72px;
    height: 70px;
    background: url('../img/nav.png') no-repeat;
}
div.scrollingHotSpotLeft {
    min-width: 75px;
    height: 100%;
    background: rgba(59, 50, 87, 0.42);
    position: absolute;
    opacity: 1;
    z-index: 200;
    left: 0;
}
div.scrollingHotSpotRight:before {
    content: "";
    position: absolute;
    top: 40%;
    right: 0%;
    width: 72px;
    height: 70px;
    background: url('../img/nav.png') no-repeat;
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
}
@media (min-width: 0px) and  (max-width: 400px) {
    div.scrollingHotSpotRight {
        min-width: 15px;
        opacity: 0.3 !important;
        display: block !important;

    }
    div.scrollingHotSpotLeft:before {
        top: 40%;
        left: 21%;
        font-size: 60px;
    }
    div.scrollingHotSpotLeft {
        min-width: 15px;
        opacity: 0.3 !important;
        display: block !important;
    }
    div.scrollingHotSpotRight:before {
        top: 40%;
        right: 21%;
        font-size: 60px;
    }
}