/* Global image inspect / save deterrents */
.img-protect-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
  max-width: 100%;
}

.img-protect-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  cursor: inherit;
}

.img-protected,
.img-protected-bg,
img.img-protected-auto {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none;
  pointer-events: none;
}

.img-protected-bg {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  z-index: 1;
}

body.img-protect-enabled img:not([data-img-protect="off"]) {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
}

body.img-protect-enabled picture,
body.img-protect-enabled svg.image-protect-target {
  user-select: none !important;
  -webkit-user-drag: none !important;
}
