/*
 * Plumrocket Inc.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the End-user License Agreement
 * that is available through the world-wide-web at this URL:
 * http://wiki.plumrocket.net/wiki/EULA
 * If you are unable to obtain it through the world-wide-web, please
 * send an email to support@plumrocket.com so we can send you a copy immediately.
 *
 * @package     Plumrocket_ProductLabels
 * @copyright   Copyright (c) 2021 Plumrocket Inc. (http://www.plumrocket.com)
 * @license     http://wiki.plumrocket.net/wiki/EULA  End-user License Agreement
 */
div.prlabel-container > *{
  position: absolute;
  z-index: 10;
}

.prlabel-container.list,
.prlabel-container.view{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.prlabel-container.list .label-wrapper.dom,
.prlabel-container.view .label-wrapper.dom{
  position: absolute;
}

.label-wrapper.dom > img + .label-text,
.label-wrapper.dom > div + .label-text{
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  left: 50%;
  text-align: center;
  right: auto;
  bottom: auto;
  width: 100%;
}

.label-wrapper.dom > .label-text{
  display: inline-block;
}

div.prlabel-container .label-wrapper,
.label-wrapper{
  position: relative;
  display: block;
  width: fit-content;
}

div.prlabel-container{
  width: 100%;
  height: 100%;
}

div.prlabel-container .label-text {
  z-index: 11;
}

.hidden {
  display: none;
}

.position-undefined{
  left: 100%;
  top: 4px;
}

.position-top-left.dom {
  top: 0;
  left: 0;
}

.position-top-right.dom{
  top: 0;
  right: 0;
}

.position-middle-right.dom{
  right: 0;
}

.position-bottom-left.dom{
  bottom: 0;
  left: 0;
}

.position-bottom-right.dom{
  bottom: 0;
  right: 0;
}

.position-top-center.dom{
  top: 0;
}

.position-top-left {
  top: 4px;
  left: 4px;
}

.position-top-right{
  top: 4px;
  right: 4px;
}

.position-bottom-left{
  bottom: 4px;
  left: 4px;
}

.position-bottom-right{
  bottom: 4px;
  right: 4px;
}

.position-top-center{
  top: 4px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.position-middle-center{
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  -ms-transform:translate(-50%, -50%);
}

.position-bottom-center{
  top: auto;
  left: 50%;
  right: auto;
  bottom: 4px;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.position-middle-left{
  top: 50%;
  left: 4px;
  right: auto;
  bottom: auto;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.position-middle-right{
  top: 50%;
  left: auto;
  right: 4px;
  bottom: auto;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.shape-wrapper{
  width: 100%;
  height: 100%;
  font-size: 0;
}

.s7 .label-text{
  transform: translate(-75%, -75%) rotate(-45deg) !important;
  -ms-transform: translate(-75%, -75%) rotate(-45deg) !important;
  top: 45% !important;
  left: 63% !important;
}

.s12 .label-text{
  transform: translate(-50%, -50%) rotate(270deg) !important;
  -ms-transform: translate(-50%, -50%) rotate(270deg) !important;
  width: auto !important;
  white-space: nowrap;
}

.fotorama.fotorama--fullscreen .label-wrapper{
    display: none;
}
