.RadImageGallery {
    background-color: transparent !important;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    text-align: left;
}

    .RadImageGallery,
    .RadImageGallery .rigItemBox,
    .RadImageGallery .rigThumbnailsBox {
        position: relative;
    }

        .RadImageGallery.product-image .rigItemBox {
            left: 0;
            right: 0;
            height: calc(100% - 100px) !important;
        }


        .RadImageGallery .rigActiveImage img {
            transition: transform 0.2s ease-out;
        }

        .RadImageGallery .rigThumbnailsBox {
            background-color: transparent !important;
        }

            .RadImageGallery .rigThumbnailsBox div {
                overflow: hidden;
            }

        .RadImageGallery .rigActiveImage {
            display: inline-block;
            position: relative;
            overflow: hidden;
            height: 100%;
            width: 100%;
        }

            .RadImageGallery .rigActiveImage img {
                -webkit-box-sizing: content-box;
                -moz-box-sizing: content-box;
                box-sizing: content-box;
            }

        .RadImageGallery .rigThumbnailsList {
            zoom: 1;
            padding-left: 0;
            margin: 0;
        }

            .RadImageGallery .rigThumbnailsList:after {
                content: "";
                height: 0;
                clear: both;
                display: block;
            }

            .RadImageGallery .rigThumbnailsList > li {
                float: left;
                list-style: none;
            }

            .RadImageGallery .rigThumbnailsList img {
                display: block;
                opacity: 0.5;
                border: 0 none;
                object-fit: scale-down;
            }

            .RadImageGallery .rigThumbnailsList a:hover img {
                opacity: 0.75;
            }

            .RadImageGallery .rigThumbnailsList > li:only-child {
                display: none !important;
            }

            .RadImageGallery .rigThumbnailsList .rigThumbnailActive a {
                border: 0;
                overflow: hidden;
                display: block;
                -webkit-box-sizing: border-box;
                -moz-box-sizing: border-box;
                box-sizing: border-box;
            }


                .RadImageGallery .rigThumbnailsList .rigThumbnailActive a img {
                    opacity: 1;
                    display: block;
                    border: 0 none !important;
                }

        .RadImageGallery .rigToolbar .rigActionButton {
            margin-left: 20px;
        }

        .RadImageGallery .rigDescriptionBox {
            padding: 20px;
            color: #ffffff;
            background: #4b4b4b;
            background: rgba(75, 75, 75, 0.6);
        }

            .RadImageGallery .rigDescriptionBox h4 {
                margin: 0;
                color: inherit;
                font-size: 1.25em;
                text-transform: none;
            }

            .RadImageGallery .rigDescriptionBox p {
                margin: 0;
            }

        .RadImageGallery .rigToolbar {
            position: relative;
            z-index: 10;
            padding: 0 1.66666667em;
            height: 3.33em;
            line-height: 3.33em;
        }

        .RadImageGallery .rigToolbarTopInside {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10;
        }

        .RadImageGallery .rigControlsSet {
            text-align: right;
        }

        .RadImageGallery .rigItemsCount {
            float: left;
        }

        .RadImageGallery .rigItemsCount {
            font-size: 1.1em;
        }

        .RadImageGallery .rigActionButton {
            background: none;
            border: 0 none;
            padding: 0;
            cursor: pointer;
            vertical-align: middle;
        }

            .RadImageGallery .rigActionButton::-moz-focus-inner {
                border: 0;
                padding: 0;
            }

        .RadImageGallery .rigPrevButton,
        .RadImageGallery .rigNextButton,
        .RadImageGallery .rigScrollPrevIcon,
        .RadImageGallery .rigScrollNextIcon,
        .RadImageGallery .rigCloseIcon
        .RadImageGallery .rigFullScrIcon {
            background-image: url('/Skins/MVL/Common/radImageGallerySprite.png');
        }

        .RadImageGallery .rigIcon,
        .RadImageGallery .rigActionButton {
            height: 22px;
            width: 22px;
        }

        .RadImageGallery .rigIcon {
            display: inline-block;
            vertical-align: top;
        }

        .RadImageGallery .rigPlayIcon {
            background-position: 1px -1999px;
        }

        .RadImageGallery .rigActionButton:hover .rigPlayIcon {
            background-position: -19px -1999px;
        }

        .RadImageGallery .rigPauseIcon {
            background-position: 1px -2019px;
        }

        .RadImageGallery .rigActionButton:hover .rigPauseIcon {
            background-position: -19px -2019px;
        }

        .RadImageGallery .rigFullScrIcon {
            background-position: 1px -2099px;
        }

        .RadImageGallery .rigActionButton:hover .rigFullScrIcon {
            background-position: -19px -2099px;
        }

        .RadImageGallery .rigFullScrIcon::before {
            font-family: "Font Awesome 5 Free";
            font-weight: 400;
            content: "\f31e";
            font-size: 20px;
            padding: 5px;
            color: black;
            background-color: #ffffff80;
            border: 1px solid #00000020;
        }

        .RadImageGallery .rigExtFullScrIcon {
            background-position: 1px -2119px;
            position: relative;
        }

            .RadImageGallery .rigExtFullScrIcon::before {
                font-family: "Font Awesome 5 Free";
                font-weight: 400;
                content: "\f057";
                font-size: 30px;
                color: #ffffff;
                position: absolute;
                left: 0;
                top: 0;
            }

        .RadImageGallery .rigActionButton:hover .rigExtFullScrIcon {
            background-position: -19px -2119px;
        }

        .RadImageGallery .rigShowThumbnIcon {
            background-position: 0px -2159px;
        }

        .RadImageGallery .rigActionButton:hover .rigShowThumbnIcon {
            background-position: -20px -2159px;
        }

        .RadImageGallery .rigHideThumbnIcon {
            background-position: 0px -2179px;
        }

        .RadImageGallery .rigActionButton:hover .rigHideThumbnIcon {
            background-position: -20px -2179px;
        }

        .RadImageGallery .rigPrevButton,
        .RadImageGallery .rigNextButton,
        .RadImageGallery .rigScrollPrevButton,
        .RadImageGallery .rigScrollNextButton,
        .RadImageGallery .rigScrollPrevIcon,
        .RadImageGallery .rigScrollNextIcon,
        .RadImageGallery .rigCloseButton {
            background-repeat: no-repeat;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
        }

        .RadImageGallery .rigPrevButton,
        .RadImageGallery .rigNextButton,
        .RadImageGallery .rigScrollPrevButton,
        .RadImageGallery .rigScrollNextButton {
            position: absolute;
            left: 10px;
            top: 50%;
            margin-top: -29px;
            height: 57px;
            width: 57px;
            font-size: 1px;
            color: transparent;
            overflow: hidden;
            opacity: 0.4;
            z-index: 10;
        }

        .RadImageGallery .rigScrollPrevButton,
        .RadImageGallery .rigScrollNextButton {
            background: none;
            height: 26px;
            width: 16px;
            margin-top: -12px;
            opacity: 1;
        }

        .RadImageGallery .rigScrollPrevIcon,
        .RadImageGallery .rigScrollNextIcon {
            height: 26px;
            width: 16px;
        }

        .RadImageGallery .rigNextButton,
        .RadImageGallery .rigScrollNextButton {
            left: auto;
            right: 10px;
        }

        .RadImageGallery .rigThumbnailsBoxVertical .rigScrollPrevButton,
        .RadImageGallery .rigThumbnailsBoxVertical .rigScrollNextButton {
            width: 24px;
            height: 14px;
            left: 50%;
            margin: 0 0 0 -12px;
            top: 10px;
        }

        .RadImageGallery .rigThumbnailsBoxVertical .rigScrollNextButton {
            top: auto;
            bottom: 10px;
        }

        .RadImageGallery .rigThumbnailsBoxVertical .rigScrollPrevIcon,
        .RadImageGallery .rigThumbnailsBoxVertical .rigScrollNextIcon {
            width: 24px;
            height: 14px;
        }

        .RadImageGallery .rigPrevButton:hover,
        .RadImageGallery .rigNextButton:hover,
        .RadImageGallery .rigPrevButton.rigHover,
        .RadImageGallery .rigNextButton.rigHover {
            opacity: 1;
        }

        .RadImageGallery .rigPrevButton {
            background-position: 0 -140px;
            /*display: none !important;*/
            /*opacity: 0 !important;*/
        }

        .RadImageGallery .rigNextButton {
            background-position: -60px -140px;
            /*display: none !important;*/
            /*opacity: 0 !important;*/
        }

        .RadImageGallery .rigThumbnailsBoxHorizontal .rigScrollPrevIcon {
            background-position: -79px -49px;
        }

        .RadImageGallery .rigThumbnailsBoxHorizontal .rigScrollNextIcon {
            background-position: -104px -49px;
        }

        .RadImageGallery .rigThumbnailsBoxVertical .rigScrollPrevIcon {
            background-position: -62px -89px;
        }

        .RadImageGallery .rigThumbnailsBoxVertical .rigScrollNextIcon {
            background-position: -96px -89px;
        }

        .RadImageGallery .rigCloseIcon {
            background-position: -79px -12px;
        }

        .RadImageGallery .rigDrawerIcon {
            background-position: -52px -60px;
        }

        .RadImageGallery .rigProgressBar {
            height: 5px;
            width: 100%;
            left: 0;
            position: absolute;
            top: -5px;
        }

            .RadImageGallery .rigProgressBar div {
                opacity: 0.6;
                height: 100%;
            }

        .RadImageGallery .rigPager {
            padding: 12px 20px;
            line-height: 1.5;
            position: relative;
        }

            .RadImageGallery .rigPager a {
                padding: 2px 6px;
                border-radius: 2px;
                border: 1px solid transparent;
                color: inherit;
                text-decoration: none;
                display: inline-block;
            }

            * + html .RadImageGallery .rigPager a {
                color: expression(this.parentNode.currentStyle['color']);
            }

        .RadImageGallery .rigNumPart {
            float: left;
        }

        .RadImageGallery .rigInfoPart {
            float: right;
        }

        .RadImageGallery .rigDrawerButton {
            width: 80px;
            height: 20px;
            position: absolute;
            left: 50%;
            bottom: 0;
            margin-left: -40px;
        }

        .RadImageGallery .rigDrawerIcon {
            width: 24px;
            margin-top: 7px;
        }

        .RadImageGallery .rigCloseButton {
            position: absolute;
            z-index: 10;
            top: 0;
            right: 0;
            width: 34px;
            height: 34px;
            padding-top: 3px;
        }

        .RadImageGallery .rigCloseIcon {
            width: 16px;
            height: 16px;
        }

        .RadImageGallery .rigToolsWrapper {
            position: absolute;
            z-index: 10;
            bottom: 0;
            left: 0;
            width: 100%;
            display: none;
        }

        .RadImageGallery .rigDotList {
            margin: 10px 0;
            text-align: center;
            position: relative;
        }

            .RadImageGallery .rigDotList > a {
                padding: 2px !important;
                margin: 0 .5em !important;
                width: 12px !important;
                height: 12px !important;
                border-width: 1px !important;
                border-style: solid !important;
                border-radius: 12px !important;
                display: inline-block !important;
            }

                .RadImageGallery .rigDotList > a span {
                    background-color: white !important;
                    color: white !important;
                    position: absolute !important;
                    top: 5px !important;
                    margin-left: -1px !important;
                    width: 8px !important;
                    height: 8px !important;
                }

            .RadImageGallery .rigDotList .rigCurrentItem span {
                background-color: red !important;
                color: red !important;
                position: absolute !important;
                top: 5px !important;
                margin-left: -1px !important;
                width: 8px !important;
                height: 8px !important;
            }

            * + html .RadImageGallery .rigDotList .rigCurrentItem span {
                background-color: expression(this.parentNode.currentStyle['color']);
            }

        .RadImageGallery .rigTooltip {
            position: absolute;
            bottom: 25px;
            width: 100px;
            height: 100px;
            border: 1px solid #828282;
            padding: 2px;
            margin-left: 3px;
        }

            .RadImageGallery .rigTooltip:after {
                border: 5px solid transparent;
                height: 0;
                width: 0;
                content: "";
                position: absolute;
                bottom: -10px;
                left: 50%;
                margin-left: -5px;
            }

            .RadImageGallery .rigTooltip div {
                overflow: hidden;
            }

            .RadImageGallery .rigTooltip .rigThumbnailsList {
                height: 100%;
                overflow: hidden;
            }

                .RadImageGallery .rigTooltip .rigThumbnailsList img {
                    opacity: 1;
                }

        .RadImageGallery .rigThumbnailsBoxHorizontal,
        .RadImageGallery .rigThumbnailsBoxVertical {
            position: relative;
            overflow: hidden;
        }

        .RadImageGallery .rigPositionLeft,
        .RadImageGallery .rigPositionRight {
            position: absolute;
            left: 0;
            top: 0;
        }

        .RadImageGallery .rigPositionRight {
            right: 0;
            left: auto;
        }

        .RadImageGallery.rigFullscreen {
            z-index: 2147483647;
        }

            .RadImageGallery.rigFullscreen .rigCloseButton {
                display: none;
            }
