/*---{ responsive zoomer }---------------------------------------------------------*/

/*----- Color variables -----*/
/*----- Size variables -----*/
/*----- Font variables -----*/
/*----- Responsive variables -----*/
/*----- Ratio variables (product item ratio (thumb + content)) -----*/
/* set ProductImageRatio in productOverview! */
/*----- OLD Color variables -----*/
/*----- MIXINS -----*/
/*----- Default functions -----*/
/*----- Default Crossbrowser functions -----*/
/*----- CSS3 functions -----*/
/*----- CSS3 Animation functions -----*/
/*----- Buttons -----*/
/*----- Responsive functions -----*/
#dividezoom.fixed {
  position: fixed;
  background: #d7dce5;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
}
#dividezoom.fixed #dividezoom-image-container {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  height: 500px;
  width: 300px;
  border: 5px solid white;
  background: white;
}
#dividezoom.fixed #dividezoom-image-container .overflow {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#dividezoom.fixed #dividezoom-image-container .close {
  position: absolute;
  top: -40px;
  right: -20px;
  text-decoration: none;
  height: 40px;
  display: block;
  overflow: hidden;
  width: 40px;
  color: white;
  line-height: 40px;
  text-align: center;
}
#dividezoom.fixed #dividezoom-image-container img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  display: block;
}
#dividezoom.fixed #dividezoom-image-container img.portrait {
  width: auto;
  height: 100%;
}
/*end #dividezoom.fixed*/

#dividezoom.responsive {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 900;
}
#dividezoom.responsive #dividezoom-image-container {
  position: relative;
  height: 100%;
  text-align: center;
}
#dividezoom.responsive #dividezoom-image-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
  /* Adjusts for spacing */

}
#dividezoom.responsive #dividezoom-image-container:after {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 100;
}
#dividezoom.responsive #dividezoom-image-container .overflow {
  width: 100%;
  height: 90%;
  z-index: 110;
  border: 5px solid white;
  width: 90%;
  position: relative;
  margin: 0 auto;
  max-width: 900px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  background: white;
}
#dividezoom.responsive #dividezoom-image-container .close {
  position: absolute;
  top: 5px;
  right: 8px;
  display: block;
  height: 20px;
  width: 20px;
  line-height: 20px;
  color: #222222;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
  z-index: 120;
}
#dividezoom.responsive #dividezoom-image-container .close:hover {
  color: #ff8000;
}
#dividezoom.responsive #dividezoom-image-container img {
  width: 100%;
  max-width: none;
  height: auto;
  z-index: 110;
  position: relative;
  display: block;
}
#dividezoom.responsive #dividezoom-image-container img.portrait {
  height: 100%;
  width: auto;
}
#dividezoom.responsive #dividezoom-image-container .overflow #divideZoomButton {
  position: absolute;
  right: 0px;
  height: 40px;
  z-index: 130;
  bottom: 10px;
}
#dividezoom.responsive #dividezoom-image-container .overflow #divideZoomButton a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: inline-block;
  background: #222222;
  color: white;
  margin: 0 10px 0 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: light;
}
