.nav-link {
  text-decoration: none;
  padding: 10px;
}

nav {
  text-align: center;
}

.main-360-spin {
  max-width: 98%;
  max-height: 98%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  margin-top: 10px;
  width: auto !important;
  max-height: 70vh;
}

.on-load {
  display: none;
}

.spinner-grow {
  color: #343a40 !important;
  display: inline-block;
  vertical-align: text-bottom;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: spinner-grow 0.75s linear infinite;
  animation: spinner-grow 0.75s linear infinite;
  width: 100px;
  height: 100px;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px;
}

.img-clone,
.cloudimage-inner-box .iv-container,
.cloudimage-inner-box .iv-image-mode {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cloudimage-360 .cloudimage-360-prev,
.cloudimage-360 .cloudimage-360-next {
  padding: 8px;
  background: #f4f4f4;
  border: none;
  border-radius: 4px;
}

  .cloudimage-360 .cloudimage-360-prev:focus,
  .cloudimage-360 .cloudimage-360-next:focus {
    outline: none;
  }

.cloudimage-360 .cloudimage-360-prev {
  display: none;
  position: absolute;
  z-index: 100;
  top: calc(50% - 15px);
  left: 20px;
}

.cloudimage-360 .cloudimage-360-next {
  display: none;
  position: absolute;
  z-index: 100;
  top: calc(50% - 15px);
  right: 20px;
}

  .cloudimage-360 .cloudimage-360-prev:before,
  .cloudimage-360 .cloudimage-360-next:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background: 50% 50% / cover no-repeat;
  }

.cloudimage-360 .cloudimage-360-prev:before {
  background-image: url("https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/assets/img/arrow-left.svg");
}

.cloudimage-360 .cloudimage-360-next:before {
  background-image: url("https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/assets/img/arrow-right.svg");
}

.cloudimage-360 .cloudimage-360-prev.not-active,
.cloudimage-360 .cloudimage-360-next.not-active {
  opacity: 0.4;
  cursor: default;
}

.iv {
  /***** snap view css *****/
  /*** zoom slider ***/
  /**** snap view css end *****/
}

.iv-container {
  overflow: hidden;
  position: relative;
}

.iv-fullscreen {
  position: fixed;
  background: #0d0d0d;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  z-index: 1000;
}

.iv-fullscreen-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.iv-container {
  overflow: hidden;
  position: relative;
}

.iv-image-mode {
  display: inline-block;
}

.iv-fullscreen-close {
  position: absolute;
  width: 24px;
  height: 24px;
  right: 10px;
  top: 10px;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  text-shadow: 0px 0px 3px #6d6d6d;
  transition: all ease 200ms;
}

  .iv-fullscreen-close:after,
  .iv-fullscreen-close:before {
    content: "";
    height: 4px;
    width: 24px;
    background: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .iv-fullscreen-close:before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .iv-fullscreen-close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .iv-fullscreen-close:hover {
    transform: rotate(90deg);
    transform-origin: 50% 50%;
  }

.iv-snap-view {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #aaa;
  background: black;
  z-index: 100;
  box-sizing: content-box;
  transition: opacity ease 400ms;
  opacity: 0;
}

.iv-snap-image-wrap {
  display: inline-block;
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.iv-snap-image {
  position: relative;
  -ms-touch-action: none;
  touch-action: none;
}

.iv-snap-handle {
  box-sizing: border-box;
  position: absolute;
  border: 1px solid white;
  transform: translate3d(0, 0, 0);
  box-shadow: 0px 0px 0px 200px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  cursor: grab;
}

  .iv-snap-handle:active {
    cursor: grabbing;
  }

.iv-zoom-slider {
  width: 100%;
  box-sizing: content-box;
  border: 1px solid #aaa;
  border-top: 0;
  background: rgba(0, 0, 0, 0.3);
  height: 15px;
  position: absolute;
  top: 100px;
  left: -1px;
}

.iv-zoom-handle {
  width: 20px;
  height: 15px;
  background: white;
  position: absolute;
  cursor: pointer;
  cursor: grab;
}

  .iv-zoom-handle:active {
    cursor: grabbing;
  }

.iv-image-view {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.iv-image-wrap {
  display: inline-block;
}

  .iv-image-wrap:active {
    cursor: move;
  }

.iv-image {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  -ms-touch-action: none;
  touch-action: none;
  transform: translate3d(0, 0, 0);
  cursor: crosshair;
}

.iv-loader {
  top: 50%;
  left: 50%;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  z-index: 100;
  margin-top: -16px;
  margin-left: -16px;
  font-size: 5px;
  position: absolute;
  text-indent: -9999em;
  border: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  transform: translateZ(0);
  animation: loading-icon 1.1s infinite linear;
}

  .iv-loader:after {
    width: 10em;
    height: 10em;
    border-radius: 50%;
  }

@keyframes loading-icon {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

canvas {
  background: #ccc;
}

.iv-container {
  width: 100%;
  height: 100%;
}

.spritespin-progress {
  position: absolute;
  width: 80%;
  left: 10%;
  top: 45%;
}

.spritespin-progress-label {
  color: grey;
}

.spritespin-progress-bar {
  background-color: grey;
  height: 1px;
}

@media screen and (max-width: 768px) {
  .iv-snap-view {
    z-index: -1;
    visibility: hidden;
  }

  .product-details-videos {
    max-width: 440px;
  }
}