/**
 * 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;
}

/**
 * Voster overrides:
 * - The theme's base CSS sets `img { max-width: 100%; height: auto; }` for
 *   responsive sizing. That also applies to the zoom image inside the flyout
 *   and forces it down to the flyout's size, so the magnifier has nothing to
 *   pan over. Restore the natural dimensions so the magnifier can actually
 *   enlarge the cursor area.
 * - Hide the built-in "Loading image" notice text — the image is served from
 *   /wp-content/uploads/ and is hot-cached, so the flash is just noise.
 */
.easyzoom-flyout img,
.easyzoom-flyout > img {
	max-width: none !important;
	max-height: none !important;
	width: auto !important;
	height: auto !important;
}

.easyzoom-notice {
	display: none !important;
}
