.qwertyzoom * {
  box-sizing: border-box;
}
.qwertyzoom {
/*   max-width: 550px; */
  width: 100%;
  position: relative;
  text-align: center;
}

.qwertyzoom_pad {
  display: inline-block;
  position: relative;
}
.qwertyzoom_pad img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.qwertyzoom_pad, .qwertyzoom_lens {
  cursor: crosshair;
}

.qwertyzoom_lens {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
}

.qwertyzoom_thumbs {
  margin-top: 10px;
  text-align: center;
  overflow: auto;
}

.qwertyzoom_thumbs div {
  display: inline-block;
  width: 100px;
  margin: 0 2.5%;
  vertical-align: middle;
/*   float: left; */
}
.qwertyzoom_thumbs div:first-child {
  margin-left: 0;
}
.qwertyzoom_thumbs div:last-child {
  margin-right: 0;
}
.qwertyzoom_thumbs div img {
  display: block;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
}

.qwertyzoom_view {
  display: none;
  border: solid 1px #ccc;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 10;
  margin-left: 10px;
  background-repeat: no-repeat;
}

.loading {
  display: none;
  padding: 2px 4px;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0,0.5);
  color: #fff;
  font-size: 12px;
  font-family: sans;
}

.qwertyzoom_zoom_image {
  width: 28px;
  height: 28px;
  position: absolute;
  background: url('../img/icon-resize.png') 50% 50% no-repeat;
  bottom: 0;
  right: 0;
  cursor: zoom-in;
}
.qwertyzoom_modal, .qwertyzoom_popup_container {
  display: none;
}
.qwertyzoom_modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  background-color: rgba(0, 0, 0, 0.5);
}
.qwertyzoom_popup_container {
  position: absolute;
  min-width: 100%;
  left: 0;
  top: 0;
  z-index: 99999;
  text-align: center;
}
.qwertyzoom_popup {
  display: inline-block;
  position: relative;
  margin: 40px;
}

.qwertyzoom_popup > div {
  width: 86px;
  height: 84px;
  border-radius: 43px;
  position: absolute;
  top: -20px;
  right: -20px;
  background: url('../img/bouton_fermer.jpg') 50% 50% no-repeat;
}
