/* Compatibility styles for frameworks like bootstrap, foundation e.t.c */

.xzoom-source img,
.xzoom-preview img,
.xzoom-lens img {
	display: block;
	max-width: none;
	max-height: none;
}
/* --------------- */

/* xZoom Styles below */
.xzoom-container {
	display: inline-block;
}
.xzoom-thumbs {
	margin-top: 10px;
	text-align: left;
	margin-bottom: 0px;
}
.xzoom-thumbs a {
	width: 19%;
	float: left;
	display: block;
	margin: 0px 0.5%;
}
.xzoom {
	margin-bottom: 15px;
}
/* Thumbs */
.xzoom-gallery,
.xzoom-gallery4 {
	border: 1px solid #cecece;
	margin-left: 0px;
	margin-bottom: 10px;
}
.xzoom-source,
.xzoom-hidden {
	display: block;
	position: static;
	float: none;
	clear: both;
}
/* Everything out of border is hidden */
.xzoom-hidden {
	overflow: hidden;
}
/* Preview */
.xzoom-preview {
	border: 1px solid #888;
	background: #145ccd;
	box-shadow: -0px -0px 10px rgba(0, 0, 0, 0.50);
}
/* Lens */
.xzoom-lens {
	border: 1px solid #555;
	box-shadow: -0px -0px 10px rgba(0, 0, 0, 0.50);
	cursor: crosshair;
}
/* Loading */
.xzoom-loading {
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 100%;
	opacity: .7;
	background: url(../images/xloading.gif);
	width: 48px;
	height: 48px;
}
/* Additional class that applied to thumb when it is active */
.xactive {
	-webkit-box-shadow: 0px 0px 3px 0px #145ccd;
	-moz-box-shadow: 0px 0px 3px 0px #145ccd;
	box-shadow: 0px 0px 3px 0px #145ccd;
	border: 1px solid #145ccd;
}
/* Caption */
.xzoom-caption {
	position: absolute;
	bottom: -43px;
	left: 0;
	background: #000;
	width: 100%;
	text-align: left;
}
.xzoom-caption span {
	color: #fff;
	font-family: Arial, sans-serif;
	display: block;
	font-size: 0.75em;
	font-weight: bold;
	padding: 10px;
}