.slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--slider-width);
    height: var(--slider-height);
    max-width: 500px;
    max-height: 500px;
}

[id^=OMP_CAROUSEL] .slider {
    max-width: 1000px !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
}

.wrapper {
    overflow: hidden;
    position: relative;
    width: var(--slider-width);
    height: var(--slider-height);
    z-index: 1;
    max-width: 500px;
    max-height: 500px;
}

[id^=OMP_CAROUSEL] .wrapper {
    max-width: 1000px !important;
    max-height: var(--slider-height) !important;
}

.slides {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    width: 10000px;
}

.slides.moving {
    transition: left .3s ease-out;
}

.slide.auto-carousel.moving {
    transition: left .5s ease-out;
}

.slide {
    width: var(--slider-width);
    height: var(--slider-height);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 1s;
    position: relative;
    border-radius: 2px;
    max-width: 500px;
    max-height: 500px;
}

[id^=OMP_CAROUSEL] .slider .slide {
    max-width: 1000px !important;
    max-height: var(--slider-height) !important;
}

.slides .slide a,
.slides .slide a img,
.slides .slide img {
    width: 100vw;
    height: 100%;
    max-width: 1000px;
}

.slides:not(.auto-carousel) .slide a,
.slides:not(.auto-carousel) .slide a img,
.slides:not(.auto-carousel) .slide img {
    width: var(--slider-width) !important;
    height: var(--slider-height) !important;
    max-width: 500px;
    max-height: 500px;
}

.slides:not(.auto-carousel) .slide video {
    width: var(--slider-width) !important;
    height: var(--slider-height) !important;
    max-width: 500px;
    max-height: 500px;
    flex: 0 1 auto;
    object-fit: contain;
}

.slide .video-control {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    z-index: 10;
}

.slide .video-control svg {
    width: 60px !important;
    height: 60px !important;
}

.slide-position {
    z-index: 100;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(36, 36, 36, 0.6);
    border-radius: 5px;
    width: 40px;
    height: 22px;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500 !important;
    color: #ffffff !important;
    font-size: 13px !important;
}

.slider-dot {
    position: absolute;
    bottom: var(--omp-space-x3);
    left: 0;
    width: 100%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
}

.slider-dot .present-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid hsla(0, 0%, 53.7%, .4);
    background-color: hsla(0, 0%, 100%, .4);
    margin-right: var(--omp-space-x2);
    z-index: 10;
    transition: background-color 300ms ease-out;
}

.slider-dot .present-slide-dot.active-dot {
    background-color: var(--omp-color-primary) !important;
}
