.w3-row-padding:before, .w3-row-padding:after {
  content: "";
  display: table;
  clear: both;
}
.w3-row-padding, .w3-row-padding>.w3-third {
  padding: 0 0.8rem;
}
.w3-third {
  float: left;
  width: 100%;
}
@media (min-width: 601px) {
.w3-third {
  width: 33.33333%;
}
}

.image-zoom {
  position: relative;
  touch-action: manipulation;
}
#image-zoom-image {
  height: 100%;
  width: 100%;
}
#image-zoom-canvas {
  position: absolute;
}
#image-zoom-result {
  position: absolute;
  top: 0;
  left: 0;
  border: 0.3rem solid var(--w3-theme-background-color);
  border-radius: 0.8rem;
  transform: scale(0);
  transition: all 0.5s ease;
}
#item-description {
  position: absolute;
  bottom: 0;
  margin-bottom: 0.8rem;
  border-radius: 0.8rem;
  padding: 0.4rem 0.8rem;
  text-align: center;
  white-space: nowrap;
  background-color: var(--w3-theme-l1-background-color) !important;
  color: var(--w3-theme-l1-color) !important;
}
#item-list {
  transition: margin-top 0.5s ease, border-width 0.5s ease;
}
#item-list h3 {
  text-align: center;
}
.item-list-item {
  display: inline-block;
  padding: 0.4rem;
  border-radius: 0.8rem;
  white-space: pre-wrap;
  cursor: pointer;
}
.show-image-zoom-result {
  transform: scale(1) !important;
}
.close-zoom {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0.8rem;
  border-radius: 2.5rem;
  padding: 0.5rem 1.4375rem;
  line-height: 1;
  font-size: 4rem;
  font-weight: bold;
  background-color: var(--w3-theme-l1-background-color);
  color: var(--w3-theme-l1-color);
}
@media (hover:hover) {
.close-zoom:hover {
  text-decoration: none;
  cursor: pointer;
  background-color: var(--w3-theme-background-color);
  color: var(--w3-theme-color);
}}
.close-text {
  border-radius: 1.5rem;
  padding: 0 0.834rem;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  background-color: var(--w3-theme-l1-background-color);
  color: var(--w3-theme-l1-color);}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
#image-zoom-image {
  width: 60%;
}
#image-zoom-result, .left-20 {
  left: 20%
}
}