/* 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;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;

}
/* --------------- */

/* xZoom Styles below */
.xzoom-container { 
  display: inline-block;
  width:100%;
  text-align: center;
 

}

.xzoom-thumbs {
	float:left;
	position: relative;
	bottom: 1px;
	max-width:94%;
  
  margin-top:0px;
  padding-top:10px;
  margin-left:1%;
  margin-bottom: 10px;
height: 120px;
overflow-y: hidden;
overflow-x:auto;
display: flex;
align-items: center;

}

.xzoom { 
 /* -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);*/
/*max-width:86%; */ 
max-height: 320px;
margin:0 auto;
margin-top:6px;

}
.xzoom2, .xzoom3, .xzoom4, .xzoom5 {
 /* -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);*/
  max-width:400px;  
max-height: 350px;
}

/* Thumbs */
.xzoom-gallery, .xzoom-gallery2, .xzoom-gallery3, .xzoom-gallery4, .xzoom-gallery5 {
  border: 0px solid #cecece;
  float:left;
  margin-left: 1px;
  margin-bottom: 10px;
    padding:10px;
	max-height:100px;
	max-width:100px;
	clear: none;
}

.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: #fff;
  box-shadow: -0px -0px 10px rgba(0,0,0,0.5);

}

/* 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 rgba(74,169,210,1);
  -moz-box-shadow: 0px 0px 3px 0px rgba(74,169,210,1);
  box-shadow: 0px 0px 3px 0px rgba(74,169,210,1); 
  border: 1px solid #4aaad2;
}

/* Caption */
.xzoom-caption {
  position: absolute;
  bottom: -43px;
  left: 0;
  background:#fff;
  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;
}
@media screen and (min-width: 481px) {
.xzoom { 
 /* -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);*/
/*max-width:100%;*/  
max-height: 350px;

}
.xzoom-thumbs {
position: relative;
	float:left;
	clear:both;
	max-width:90%;
  text-align: center;
  margin-top:5px;
  margin-left:5%;
  margin-bottom: 5px;
height: 120px;
overflow-y: hidden;
overflow-x:auto;
display: flex;
align-items: center;

}
.xzoom-gallery, .xzoom-gallery2, .xzoom-gallery3, .xzoom-gallery4, .xzoom-gallery5 {
  border: 1px solid #cecece;
  float:left;
  margin-left: 6px;
  margin-bottom: 6px;
    padding:10px;
	height:100px;
	width:100px;

	clear:none;
	
}
}

@media screen and (min-width: 769px) {
.xzoom { 
/*max-width:76%;  */
max-height: 380px;
/*margin-left:1.8%;
margin-top:6px;*/

}
}
@media screen and (min-width: 1300px) {
.xzoom { 
/*max-width:76%;  */
max-height: 485px;
/*margin-left:1.8%;
margin-top:6px;*/

}
}