﻿/*Infinite Scrolling Styling */
:root {
  --var-global-loading-spinner: black;
  --var-global-loading-background: lightgray;
}

[id*="photo-session-carousel-Indicators-"] .carousel-indicators,
[id="carousel-carousel-Indicators"] .carousel-indicators {
  margin-right: 25%;
  margin-left: 25%;
  background: white;
  border-radius: 8px;
}

.carousel-indicators [data-bs-target*="#photo-session-carousel-Indicators-"],
.carousel-indicators [data-bs-target*="#carousel-carousel-Indicators"] {
  background-color: var(--var-selection);
  height: 8px;
}

div[id*="photo-session-preview-"] .carousel-control-next, div[id*="photo-session-preview-"] .carousel-control-prev,
div[id="_carousel-photo-session-preview"] .carousel-control-next, div[id="_carousel-photo-session-preview"] .carousel-control-prev {
  position: absolute;
  top: 40%;
  bottom: unset;
  z-index: 10;
  background: transparent;
  transition: opacity .15s ease;
  opacity: 1;
}
div[id*="photo-session-preview-"] .carousel-control-next,
div[id="_carousel-photo-session-preview"] .carousel-control-next {
  right: 10px;
}
div[id*="photo-session-preview-"] .carousel-control-prev,
div[id="_carousel-photo-session-preview"] .carousel-control-prev {
  left: 10px;
}

.indicator-arrow-size {
  max-width: 50px;
}

@keyframes placeHolderShimmer {
  0% {
    background-position: -900px 0
  }

  100% {
    background-position: 900px 0
  }
}

.gallery-border {
  min-height:110px;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height:290px;
  background-color: var(--var-global-loading-background);
  position: absolute;
}

.placeholder-height {
  background-color: var(--var-global-loading-background);
  height: var(--var-max-height-photo-template);
}

.loadWrapper {
  height: 100%;
  min-height: var(--var-max-height-photo-template);
  min-width: var(--var-max-height-photo-template);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
}

.lds-spinner {
  width: 80px;
  height: 80px;
}

  .lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
  }

    .lds-spinner div:after {
      content: " ";
      display: block;
      position: absolute;
      top: 3px;
      left: 37px;
      width: 6px;
      height: 18px;
      border-radius: 20%;
      background: var(--var-global-loading-spinner);
    }

    .lds-spinner div:nth-child(1) {
      transform: rotate(0deg);
      animation-delay: -1.1s;
    }

    .lds-spinner div:nth-child(2) {
      transform: rotate(30deg);
      animation-delay: -1s;
    }

    .lds-spinner div:nth-child(3) {
      transform: rotate(60deg);
      animation-delay: -0.9s;
    }

    .lds-spinner div:nth-child(4) {
      transform: rotate(90deg);
      animation-delay: -0.8s;
    }

    .lds-spinner div:nth-child(5) {
      transform: rotate(120deg);
      animation-delay: -0.7s;
    }

    .lds-spinner div:nth-child(6) {
      transform: rotate(150deg);
      animation-delay: -0.6s;
    }

    .lds-spinner div:nth-child(7) {
      transform: rotate(180deg);
      animation-delay: -0.5s;
    }

    .lds-spinner div:nth-child(8) {
      transform: rotate(210deg);
      animation-delay: -0.4s;
    }

    .lds-spinner div:nth-child(9) {
      transform: rotate(240deg);
      animation-delay: -0.3s;
    }

    .lds-spinner div:nth-child(10) {
      transform: rotate(270deg);
      animation-delay: -0.2s;
    }

    .lds-spinner div:nth-child(11) {
      transform: rotate(300deg);
      animation-delay: -0.1s;
    }

    .lds-spinner div:nth-child(12) {
      transform: rotate(330deg);
      animation-delay: 0s;
    }

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/*END Infinite Scrolling Styling */
