.wsv-app-wrapper {
  position: absolute;
  container-type: inline-size; /* per attivare @container */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.wsv-nav {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.wsv-nav .wsv-nav-item {
  margin-left: 10px;
  float: left;
}

.wsv-nav .dropdown-menu-dark {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
}

/* BUTTONS ******* */

.wsv-btn,
.wsv-ui-btn .btn {
  border: none;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  color: #eeeeee;
}

.wsv-btn:hover,
.wsv-ui-btn .btn:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.wsv-settings-btn.show {
  background-color: rgba(0, 0, 0, 0.5);
}

.wsv-settings-btn.show .btn {
  background-color: transparent;
}

.wsv-btn-icon {
  display: inline-block;
}

.wsv-ui-btn {
  padding: 5px;
  border-radius: 4px;
}

.wsv-fullscreen-btn .wsv-btn-icon,
.wsv-settings-btn .wsv-btn-icon,
.wsv-help-btn .wsv-btn-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: url('./icons/expand-solid.svg') center center no-repeat transparent;
}

.wsv-settings-btn .wsv-btn-icon {
  background: url('./icons/gear-solid.svg') center center transparent no-repeat;
}

.wsv-help-btn .wsv-btn-icon {
  background: url('./icons/question-solid.svg') center center transparent no-repeat;
}

.wsv-fullscreen-btn.wsv-fullscreen-on .wsv-btn-icon {
  background-image: url('./icons/compress-solid.svg');
}

.wsv-ar-btn {
  position: absolute;
  padding: 5px 10px;
  top: 15px;
  right: 15px;
  line-height: 20px;
  font-size: 0.75rem;
}

.wsv-ar-btn .wsv-btn-icon {
  float: left;
  margin-right: 5px;
  width: 20px;
  height: 20px;
  background: url('./icons/cube-solid.svg') center center no-repeat transparent;
}

.wsv-btn-info {
  background: url('./icons/circle-info-solid.svg') center center transparent no-repeat;
}


/* END BUTTONS ******* */

/* MODAL ******* */

.wsv-modal {
  background-color: rgba(0, 0, 0, 0.25);
}

.wsv-modal-header {
  justify-content: space-between;
  padding: 1rem 1rem;
  border-top-left-radius: calc(.3rem - 1px);
  border-top-right-radius: calc(.3rem - 1px);
}

.wsv-modal-body-help .wsv-modal-header {
  position: absolute; right:0; z-index:99;
}

.wsv-modal-content {
  background-color: #dedede;
  background-clip: padding-box;
  /*border: 1px solid rgba(0,0,0,.2);*/
  border-radius: .3rem;
  outline: 0;
}

.wsv-modal-body {
  padding: 1rem;
  text-align: center;
}

.wsv-modal-body-help .wsv-modal-body {
  padding: 0;
  height: 205px;
}

.wsv-modal-body p {
  margin: 0 0 1rem 0;
}

.wsv-modal-close {
  width: 25px;
  height: 25px;
  background: url('./icons/xmark-solid.svg') center center no-repeat transparent;
  border: none;
  opacity: 0.25;
}

.wsv-modal-close:hover {
  opacity: 0.35;
  background: url('./icons/xmark-solid.svg') center center no-repeat transparent;
}

.wsv-qrcode {
  margin-bottom: 1rem;
  height: 200px;
  width: auto;
  border-radius: 1rem;
}

/* END MODAL ******* */

/* HOTSPOTS ******* */

.wsv-hotspot button {
  background: rgb(255, 255, 255);
  border-radius: 32px;
  border: 0px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
  box-sizing: border-box;
  cursor: pointer;
  height: 24px;
  padding: 8px;
  position: relative;
  transition: opacity 0.3s ease 0s;
  width: 24px;

  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wsv-hotspot:not([data-visible]) button {
  background: transparent;
  border: 4px solid rgb(255, 255, 255);
  box-shadow: none;
  height: 32px;
  pointer-events: none;
  width: 32px;
}

.wsv-hotspot>*:not(button) {
  opacity: 1;
  transform: translateY(-50%);
}

.wsv-hotspot:not([data-visible])>*:not(button) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 4px));
  transition: transform 0.3s ease 0s, opacity 0.3s ease 0s;
}

.wsv-hotspot-label {
  background: rgb(255, 255, 255);
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
  color: rgba(0, 0, 0, 0.8);
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: justify;
  left: calc(100% + 1em);
  /*max-width: 200px;*/
  overflow-wrap: break-word;
  padding: 0.5em 1em;
  position: absolute;
  top: 50%;
  width: max-content;
}

.wsv-prop-hotspot-hover .wsv-hotspot-label {
  visibility: hidden;
}
/*.wsv-prop-hotspot-hover .wsv-hotspot:hover .wsv-hotspot-label {
  visibility: visible;
}*/

.wsv-hotspot-label-viewer {
  display: none;
  position: absolute;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
}

.wsv-prop-hotspot-hover .wsv-hotspot-label-viewer {
  display: block;
}

.wsv-hotspot-label-viewer .wsv-hotspot-label {
  position: relative!important; 
  top: auto!important;
  left: auto!important;
  /*width: auto!important;*/
}

.wsv-prop-hotspot-hover .wsv-hotspot-label-viewer .wsv-hotspot-label {
  visibility: visible;
}

@container (min-width: 768px) {
  .wsv-prop-hotspot-hover .wsv-hotspot-label {
    visibility: visible;
  }

  .wsv-prop-hotspot-hover .wsv-hotspot-label-viewer {
    display: none;
  }
}

/* END HOTSPOTS *** */

/* VARIANTS SELECT *** */

.wsv-variant-select {
  position: absolute;
  top: 15px;
  left: 15px;
  align-items: flex-start;
  /*transform: rotate3d(0, 0, 1, 90deg);
    transform-origin: top center;*/
}

.wsv-vs-container {
  /*transition: max-width .5s;
    transition-timing-function: ease-in-out;*/
  visibility: hidden;
  margin-top: 22.5px;
}

.opened .wsv-vs-container {
  visibility: visible;
}

.opened .wsv-vs-container .wsv-vs-list-item {
  opacity: 1;
  transform: scale(1);
}

.wsv-vs-list {
  flex-wrap: wrap;
}

.wsv-vs-list-item {
  transform: scale(0.8);
  position: relative;
  margin: 0 12.5px 20px;
  cursor: pointer;
  text-align: center;
  opacity: 0;
  transition: all 0.3s;
  transition-delay: 0.1s;
}

.wsv-vs-list-item.active::after {
  display: inline-block;
  position: absolute;
  left: 50%;
  bottom: -12px;
  overflow: hidden;
  content: "\00a0";
  width: 7px;
  height: 7px;
  background-color: #222222;
  border-radius: 50%;
  transform: translateX(-50%);
}

.wsv-vs-list-item .swatch {
  display: block;
  width: 40px;
  height: 40px;
  background-color: #eeeeee;
  border-radius: 50%;
  background-position: center center;
  background-size: 100% auto;
}

.wsv-vs-list-item .description {
  display: none;
}

.wsv-vs-btn {
  overflow: hidden;
  width: 85px;
  height: 85px;
  text-indent: -1000px;
  border: none;
  background: none;
  background: url('./images/variants_btn.png') center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  flex-shrink: 0;
  position: relative;

}

.wsv-vs-btn:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 85px;
  height: 85px;
  background: url('./images/variants_btn_switch.png') center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.opened .wsv-vs-btn:after {
  transform: rotate(90deg);
}

/* END VARIANTS SELECT *** */

/* ANIMATIONS */

.wsv-animation-select {
  height: 30px;
}

/* END ANIMATIONS */

/* HELP */

.wsv-help-box {
  height: 100%;
}

.wsv-help-box .wsv-help-box-content {
  width: 100%;
  background: url('./images/help_ui.gif') transparent center center;
  background-size: 100% auto;
}

/* END HELP */

/* POSTER */
.wsv-poster-btn {
  cursor: pointer;
  display: inline-block;
  padding: 10px 18px 10px 18px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 100;
  cursor: pointer;
}
/* END POSTER */

/* MEDIA */

@media (min-width: 576px) {
  .wsv-modal-body-help .wsv-modal-body {
    height: 285px;
  }
}

@media (min-width: 992px) {
  .wsv-ar-btn {
    top: auto; right: auto;
    bottom: 15px;
    left: 15px;
  }
}

/* END MEDIA */

/*delay animations*/
.wsv-vs-list-item:nth-last-child(1) {
  transition-delay: 0.1s;
}

.wsv-vs-list-item:nth-last-child(2) {
  transition-delay: 0.2s;
}

.wsv-vs-list-item:nth-last-child(3) {
  transition-delay: 0.3s;
}

.wsv-vs-list-item:nth-last-child(4) {
  transition-delay: 0.4s;
}

.wsv-vs-list-item:nth-last-child(5) {
  transition-delay: 0.5s;
}

.wsv-vs-list-item:nth-last-child(6) {
  transition-delay: 0.6s;
}

.wsv-vs-list-item:nth-last-child(7) {
  transition-delay: 0.7s;
}

.wsv-vs-list-item:nth-last-child(8) {
  transition-delay: 0.8s;
}

.wsv-vs-list-item:nth-last-child(9) {
  transition-delay: 0.9s;
}

.wsv-vs-list-item:nth-last-child(10) {
  transition-delay: 1s;
}

.wsv-vs-list-item:nth-last-child(11) {
  transition-delay: 1.1s;
}

.wsv-vs-list-item:nth-last-child(12) {
  transition-delay: 1.2s;
}

.wsv-vs-list-item:nth-last-child(13) {
  transition-delay: 1.3s;
}

.wsv-vs-list-item:nth-last-child(14) {
  transition-delay: 1.4s;
}

.wsv-vs-list-item:nth-last-child(15) {
  transition-delay: 1.5s;
}

.wsv-vs-list-item:nth-last-child(16) {
  transition-delay: 1.6s;
}

.wsv-vs-list-item:nth-last-child(17) {
  transition-delay: 1.7s;
}

.wsv-vs-list-item:nth-last-child(18) {
  transition-delay: 1.8s;
}

.wsv-vs-list-item:nth-last-child(19) {
  transition-delay: 1.9s;
}

.wsv-vs-list-item:nth-last-child(20) {
  transition-delay: 2s;
}

.opened .wsv-vs-list-item:nth-child(1) {
  transition-delay: 0.1s;
}

.opened .wsv-vs-list-item:nth-child(2) {
  transition-delay: 0.2s;
}

.opened .wsv-vs-list-item:nth-child(3) {
  transition-delay: 0.3s;
}

.opened .wsv-vs-list-item:nth-child(4) {
  transition-delay: 0.4s;
}

.opened .wsv-vs-list-item:nth-child(5) {
  transition-delay: 0.5s;
}

.opened .wsv-vs-list-item:nth-child(6) {
  transition-delay: 0.6s;
}

.opened .wsv-vs-list-item:nth-child(7) {
  transition-delay: 0.7s;
}

.opened .wsv-vs-list-item:nth-child(8) {
  transition-delay: 0.8s;
}

.opened .wsv-vs-list-item:nth-child(9) {
  transition-delay: 0.9s;
}

.opened .wsv-vs-list-item:nth-child(10) {
  transition-delay: 1s;
}

.opened .wsv-vs-list-item:nth-child(11) {
  transition-delay: 1.1s;
}

.opened .wsv-vs-list-item:nth-child(12) {
  transition-delay: 1.2s;
}

.opened .wsv-vs-list-item:nth-child(13) {
  transition-delay: 1.3s;
}

.opened .wsv-vs-list-item:nth-child(14) {
  transition-delay: 1.4s;
}

.opened .wsv-vs-list-item:nth-child(15) {
  transition-delay: 1.5s;
}

.opened .wsv-vs-list-item:nth-child(16) {
  transition-delay: 1.6s;
}

.opened .wsv-vs-list-item:nth-child(17) {
  transition-delay: 1.7s;
}

.opened .wsv-vs-list-item:nth-child(18) {
  transition-delay: 1.8s;
}

.opened .wsv-vs-list-item:nth-child(19) {
  transition-delay: 1.9s;
}

.opened .wsv-vs-list-item:nth-child(20) {
  transition-delay: 2s;
}


/* END VARIANTS SELECT *** */