/* 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%;
}
.image-box{
    max-width: 83%;
    height: 333px;
    float: left;
    width: 100%;
}
.image-box img{
    width: auto!important;
    max-width:100%;
    max-height: 100%;
}
@media screen and (min-width:992px){
    
}  
@media screen and (max-width:991px){
    .image-box{        
        height: 225px;
    }
    .xzoom-container{
        width:70%;
    }
}  
@media screen and (min-width:400px) and (max-width:557px){
    .xzoom-container{
            width: 100%;
    }
}
@media screen and (max-width:399px){
    .xzoom-container{
        width: 100%!important;
    }
    .xzoom-thumbs{
        width:100%!important;
        display: inline-block!important;
    }
    .xzoom-thumbs a{
        margin-right:5px!important;
    }
    .image-box{
        max-width: 100%!important;
    }
    .service-image-left{
        padding: 0px 10px 0px 10px!important;
    }
}

.xzoom-thumbs {
    margin: 0px 5px;
    float: right;
    width: 50px;
}
.xzoom-thumbs a{
    margin-bottom: 5px;
    display: inline-block;
}
.xzoom-thumbs a:hover,.xzoom-thumbs a:focus{
    text-decoration: none;
}
.xzoom { 
    max-width: 100%;
}

/* Thumbs */
.xzoom-gallery {
  border: 1px solid #cecece;
}

.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: #2f4f4f;
  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 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: #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;
}