* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.as-carousel {
  opacity: 0;
  transition: 0.2s ease-in-out;
}

.as-carousel.as-initialized {
  opacity: 1;
}

.as-carousel,
.as-carousel * {
  -webkit-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.as-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  transition-timing-function: ease-in-out;
}

.as-isdragging a {
  pointer-events: none;
}

.as-carousel .list {
  position: relative;
  display: flex;
  transition: transform 0s, opacity 0s;
  transition-timing-function: ease-in-out;
}

.as-carousel.as-isdragging .list {
  touch-action: none;
  transition: all 0s !important;
}

.as-carousel.as-adaptive-height.as-vertical {
  height: 0;
}

.as-carousel.as-adaptive-height .list {
  align-items: flex-start;
}

.as-carousel.as-vertical .list {
  flex-direction: column;
}

.as-carousel.as-fade .list .item,
.as-carousel.as-vertical .list .item {
  width: 100%;
}

.as-carousel:not(.as-vertical):not(.as-variablesize) .list .item {
  flex: 1;
}

.as-carousel.disable-transition,
.as-carousel.disable-transition * {
  transition-duration: 0s !important;
}

.as-carousel .list .item {
  opacity: 1;
  transition: inherit;
  transition: 1s;
}

.as-fade .list .item {
  z-index: 0;
}

.as-fade .list .item.as-carousel-active {
  z-index: 1;
}

.as-carousel:not(.as-variablesize) .list .item img {
  width: 100%;
}

.as-carousel .as-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 9;
}

.as-carousel .as-carousel-prev {
  left: 0;
}

.as-carousel .as-carousel-next {
  right: 0;
}

.as-carousel.as-fade .item {
  opacity: 0;
}

.as-carousel.as-fade .as-carousel-visible {
  opacity: 1;
}

.w-100 {
  width: 100%;
}

.height-auto .item {
  height: auto !important;
}

/*#region Dots*/

.as-dots-container {
  opacity: 0;
  position: absolute;
  bottom: 0;
  display: flex;
  gap: 0 20px;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
}

.as-carousel .as-dots-container {
  opacity: 1;
}

.as-dots-loaded {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.as-dots-container .as-dot {
  border-radius: 50%;
  display: inline-block;
  border: none;
  cursor: pointer;
  width: 15px;
  height: 15px;
  position: relative;
  background-color: #ccc;
}

.as-dots-container .as-dot span {
  font-size: 0px;
}

.as-dots-container .as-dot:before {
  content: '';
  border-radius: 50%;
  width: 100%;
  height: 100%;
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.15);
}

.as-dots-container .as-dot,
.as-dots-container .as-dot *,
.as-dots-container .as-dot:after,
.as-dots-container .as-dot::before {
  transition-timing-function: inherit;
}

.as-dots-container .as-dot.active:before,
.as-dots-container .as-dot:hover:before {
  transform: scale(0.7);
}
.as-dots-overlap-container {
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}
.as-dots-overlap-container .as-dots-overlap-inner {
  display: flex;
  gap: 0 20px;
  opacity: 1;
  transition: transform 0.2s ease-in-out;
}
.as-dots-overlap-container .as-dots-overlap-inner .as-dot {
  border-radius: 50%;
  display: inline-block;
  border: none;
  cursor: pointer;
  width: 15px;
  height: 15px;
  font-size: 0px;
  position: relative;
  background-color: #ccc;
  text-indent: 1em;
}
.as-dots-overlap-container .as-dots-overlap-inner .as-dot::before {
  content: '';
  border-radius: 50%;
  width: 100%;
  height: 100%;
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.15);
  transition-timing-function: inherit;
  transition-duration: 0.2s;
}
.as-dots-overlap-container .as-dots-overlap-inner .as-dot.active::before,
.as-dots-overlap-container .as-dots-overlap-inner .as-dot:hover::before {
  transform: scale(0.7);
}
/*#endregion */

/*#region Loading*/

.as-carousel-loading-container {
  position: absolute;
  z-index: 99;
  inset: 0;
  display: grid;
  overflow: hidden;
  background: #fff;
  place-items: center;
  transition: opacity 0.2s ease-in-out;
}

.as-carousel-loading-container.loaded {
  opacity: 0;
}

.as-carousel-loading {
  background-color: #9f9f9f;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  animation: 1.75s linear infinite;
  animation-name: cl;
}

.as-carousel-loading:before,
.as-carousel-loading:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #585858;
  border-radius: 3px;
}

.as-carousel-loading:before {
  right: calc(100% + 2px);
  animation: 1.75s 0.25s ease infinite;
  animation-name: ll;
}

.as-carousel-loading:after {
  left: calc(100% + 2px);
  animation: 1.75s 0.25s ease infinite;
  animation-name: rl;
}

@keyframes ll {
  65% {
    transform: translate(-100%, -50%) scale(0.2) rotate(-180deg);
    background-color: #9f9f9f;
  }

  70%,
  100% {
    transform: translate(0, 0) scale(1) rotate(-360deg);
    background-color: #585858;
  }
}

@keyframes rl {
  65% {
    transform: translate(100%, 50%) scale(0.2) rotate(180deg);
    background-color: #9f9f9f;
  }

  70%,
  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
    background-color: #585858;
  }
}

@keyframes cl {
  20% {
    transform: rotate(-30deg) scale(1);
  }

  50% {
    transform: rotate(360deg) scale(2);
    background-color: #9f9f9f;
  }

  80% {
    transform: rotate(720deg) scale(0.8);
  }

  90%,
  100% {
    transform: rotate(720deg) scale(1);
    background-color: #9f9f9f;
  }
}

/*#endregion*/
