/**
 * EasyZoom core styles
 */
.easyzoom {
	position: relative;

	/* 'Shrink-wrap' the element */
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

.easyzoom img {
	vertical-align: bottom;
}

.easyzoom.is-loading img {
	cursor: progress;
}

.easyzoom.is-ready img {
	cursor: crosshair;
}

.easyzoom.is-error  img {
	cursor: not-allowed;
}

.easyzoom-notice {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 150;
	width: 10em;
	margin: -1em 0 0 -5em;
	line-height: 2em;
	text-align: center;
	background: #FFF;
	box-shadow: 0 0 10px #888;
}

.easyzoom-flyout {
	position:absolute;
	z-index: 100;
	overflow: hidden;
	background: #FFF;
}

/**
 * EasyZoom layout variations
 */
.easyzoom--overlay .easyzoom-flyout {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.easyzoom--adjacent .easyzoom-flyout {
	top: 0;
	left: 100%;
	width: 100%;
	height: 100%;
	margin-left: 20px;
}

/**
 * CUSTOM STYLES 
 */
.easyzoom img.img-fluid {
	max-height: 500px;
}
ul.thumbnails {
    display: grid;
    -moz-column-gap: 10px;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
	max-height: 500px;
	overflow-y: scroll;
}
ul.thumbnails li {
    height: 130px;
    border: solid 1px #bbbbbb;
    overflow: hidden;
}
ul.thumbnails li.active {
    border: solid 2px #00AFF9;
}
ul.thumbnails li a img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
@media (max-width: 992px) {
	ul.thumbnails {
		max-height: 300px;
	}
	.easyzoom img.img-fluid {
		max-height: 300px;
	}
    ul.thumbnails li{
        height: 110px;
    }
}
@media (max-width: 767.9px) {
    ul.thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 576px) {
    ul.thumbnails li{
        height: 90px;
    }
}