.azera-simple-slider {
position: relative;
width: 100%;
overflow: hidden;
}
.azera-simple-slider__viewport {
width: 100%;
overflow: hidden;
}
.azera-simple-slider__track {
display: flex;
width: 100%;
transform: translate3d(0, 0, 0);
transition-property: transform;
transition-timing-function: ease;
will-change: transform;
}
.azera-simple-slider__slide {
flex: 0 0 100%;
min-width: 0;
}
.azera-simple-slider__slide,
.azera-simple-slider__link,
.azera-simple-slider picture {
display: block;
width: 100%;
}
.azera-simple-slider__image {
display: block;
width: 100%;
height: auto;
margin: 0;
}
.azera-simple-slider__link {
text-decoration: none;
}
.azera-simple-slider__arrow {
position: absolute;
top: 50%;
z-index: 3;
width: 44px;
height: 44px;
padding: 0;
border: 0;
border-radius: 999px;
background: rgba(0, 0, 0, .35);
color: #fff;
cursor: pointer;
transform: translateY(-50%);
transition: background .2s ease, opacity .2s ease;
}
.azera-simple-slider__arrow--prev { left: 18px; }
.azera-simple-slider__arrow--next { right: 18px; }
.azera-simple-slider__arrow::before {
display: block;
font-size: 30px;
line-height: 42px;
text-align: center;
}
.azera-simple-slider__arrow--prev::before { content: '‹'; }
.azera-simple-slider__arrow--next::before { content: '›'; }
.azera-simple-slider__arrow:hover,
.azera-simple-slider__arrow:focus-visible {
background: rgba(0, 0, 0, .6);
}
.azera-simple-slider__arrow:disabled {
opacity: .25;
cursor: default;
}
.azera-simple-slider__dots {
position: absolute;
left: 50%;
bottom: 12px;
z-index: 3;
display: flex;
gap: 8px;
transform: translateX(-50%);
}
.azera-simple-slider__dot {
width: 10px;
height: 10px;
margin: 0;
padding: 0;
border: 0;
border-radius: 50%;
background: #fff;
opacity: .55;
box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
cursor: pointer;
}
.azera-simple-slider__dot.is-active {
opacity: 1;
}
.azera-simple-slider__dot:focus-visible,
.azera-simple-slider__arrow:focus-visible {
outline: 2px solid #fff;
outline-offset: 3px;
}
.azera-simple-slider-empty {
padding: 12px;
border: 1px dashed #c3c4c7;
background: #f6f7f7;
}
@media (max-width: 767px) {
.azera-simple-slider__arrow {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
.azera-simple-slider__track {
transition-duration: 0ms !important;
}
}