@import '../../../../../styles/definitions/mixins';

.productImageViewerThumbnail {
	&_wrapper {
        position: relative;
        appearance: none;
        margin: 0;
        padding: 0;
        font: inherit;
        color: inherit;
        text-align: inherit;
        background: none;
        cursor: pointer;
        border-radius: 3px;
        overflow: hidden;
        height: 82px;
        display: flex !important;
        justify-content: center;
        align-items: center;

        @include border-gray;

        .slick-current & {
            @include border-primary;
            border-width: 2px;
        }

        &:not(&--with-image) {
            @include background-lightGray;
        }
	}
	&_image {
		@include fit;
		width: 100%;
		height: 100%;

		&--video-preview {
			opacity: 0.6;
		}
	}
	&_text {
		@extend %sr-only;
	}
	&_icon {
		width: 28px;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
	}
}
