#containerGallery {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;

    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;

    -moz-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -o-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
}

#containerGallery.showGallery {
    opacity: 1;
    display: block !important;
    -moz-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -o-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
}

#galleryPrev,
#galleryNext {
    width: 100%;
    height: 50%;
    position: absolute;
    display: block;
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    background: transparent;
    z-index: 9998;
}
#galleryPrev:hover,
#galleryNext:hover {
    opacity: 1;
}
#galleryPrev {
    top: 0;
    cursor: url(/images/prev.png), pointer;
}
#galleryNext {
    bottom: 0;
    cursor: url(/images/next.png), pointer;
}
.close {
    position: absolute;
    top: 40px;
    width: 25px;
    height: 25px;
    display: block;
    right: 40px;
    background: var(--wpr-bg-3ade97b9-0ec4-4402-8f6e-a3f25d3cf4dd) no-repeat center center;
    cursor: pointer !important;
    opacity: 1 !important;
    z-index: 9999;
}
#closeMousePrevent {
    position: absolute;
    top: 0;
    right: 0;
    width: 105px;
    height: 85px;
    display: block;
    cursor: auto;
    z-index: 9999;
}

#galleryThumbs {
    width: 95px;
    height: 315px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -158px;
    z-index: 9999;
    padding-top: 0;
    padding-left: 40px;
    cursor: auto;
    overflow: hidden;
}

#galleryThumbs .containerThumbs {
    width: 55px;
    height: 100%;
    padding-top: 130px;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

#containerGallery #imageCaption {
    left: 40px;
    bottom: 40px;
    position: absolute;
    color: rgb(90, 91, 94);
    font-size: 14px;
    font-weight: normal;
    font-family: "Helvetica Neue Roman";
}
#galleryThumbs .thumb {
    width: 55px;
    height: 55px;
    margin-bottom: 10px;
    cursor: pointer;
    display: block;
    opacity: 0.3;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    background-color: black;
}
#galleryThumbs .thumb:hover {
    opacity: 0.6;
}
#galleryThumbs .currentThumb {
    opacity: 1 !important;
    cursor: auto;
}
.loading {
    display: block;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -35px;
    margin-left: -35px;
}

#contentGallery {
    opacity: 0;
    overflow: auto;
    height: 100%;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    max-width: 90%;
}

#contentGallery.showGallery {
    opacity: 1;
}

#containerGallery .sliderGallery {
    width: 100%;
    height: 100%;
    background: white;
}

#containerGallery .rsCaption {
    left: 40px;
    bottom: 34px;
    position: fixed;
    color: rgb(90, 91, 94);
    font-size: 14px;
    font-weight: normal;
    font-family: "Helvetica Neue Roman";
    text-align: left;
    width: 100%;
}

.slider-gallery-container-image {
    padding: 60px 0;
}

.slider-gallery-image {
    overflow: auto;
    position: relative;
}
.slider-gallery-image .background-image {
    max-height: 1000px;
}

.slider-gallery-image {
    height: 80% !important;
    top: 10%;
}

#containerGallery .rsCaption {
    left: 0;
    padding-left: 40px;
    width: 100%;
    padding-right: 40px;
    max-width: 800px;
}
@media (max-width: 991px) {
    #contentGallery {
        max-width: 75% !important;
    }
    #galleryThumbs {
        padding-left: 17px;
    }
    #containerGallery .rsCaption {
        padding-left: 17px;
        padding-right: 17px;
    }
    .slider-gallery-image {
        height: 70% !important;
        top: 15%;
    }
}

@media (max-width: 768px) {
    #containerGallery .rsGCaption,
    #containerGallery .rsCaption {
        position: absolute;
        left: 0;
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    #containerGallery .rsGCaption {
        bottom: 0;
    }
}
@media (max-width: 639px) {
    .slider-gallery-image {
        height: 90% !important;
        top: 5%;
    }
    #containerGallery .rsCaption,
    #galleryThumbs {
        display: none;
    }
    #contentGallery {
        max-width: 90% !important;
    }
}

.TOUCH #galleryPrev,
.TOUCH #galleryNext {
    display: none !important;
}
