/* 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 {
  text-align: center;
  margin-bottom: 10px;
}

.xzoom { 
  -webkit-box-shadows: 0px 0px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadows: 0px 0px 5px 0px rgba(0,0,0,0.5);
  box-shadows: 0px 0px 5px 0px rgba(0,0,0,0.5);  
  margin-bottom: 15px; 
}
.xzoom2, .xzoom3, .xzoom4, .xzoom5 {
  -webkit-box-shadows: 0px 0px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadows: 0px 0px 5px 0px rgba(0,0,0,0.5);
  box-shadows: 0px 0px 5px 0px rgba(0,0,0,0.5);  
  margin-bottom: 15px;
  border-radius:15px;
}

/* Thumbs */
.xzoom-gallery, .xzoom-gallery2, .xzoom-gallery3, .xzoom-gallery4, .xzoom-gallery5 { 
  borders: 1px solid #e5e5e5; 
  margin:2px;
}

.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 #f2f2f2;
  background: none;
  sbox-shadow: -0px -0px 10px rgba(0,0,0,0.50);
}

/* Lens */
.xzoom-lens {
  box-shadow: -0px -0px 10px rgba(0,0,0,0.50);
  cursor: crosshair;
}

/* Loading */
.xzoom-loading {
      border: 5px solid #fff;
      border-radius: 50%;
      border-top: 5px solid #2ecc71;
      width: 150px;
      height: 150px;
      margin:0;
      -webkit-animation: spin .5s linear infinite; /* Safari */
      animation: spin .5s linear infinite;
}    
    /* Safari */
    @-webkit-keyframes spin {
      0% { -webkit-transform: rotate(0deg); }
      100% { -webkit-transform: rotate(360deg); }
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
/* 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(200,200,200,1); 
}

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