.slider {
position: relative;
}
.slider__wrap {
width: 100%;
height: 234px;
background-color: #bdbdbd;
}
@media (min-width: 1440px) {
.slider__wrap {
width: 820px;
height: 600px;
}
}
.slider__wrap--catalog {
width: 320px;
height: 300px;
margin-bottom: 7px;
}
@media (min-width: 1440px) {
.slider__wrap--catalog {
width: 580px;
height: 546px;
}
}
@media (min-width: 1440px) {
.slider--catalog {
width: 580px;
}
}
.slider__item {
display: none;
}
.slider__item--active {
display: block;
}
.slider__btn {
position: absolute;
top: 103px;
width: 26px;
height: 26px;
border: none;
border-radius: 50%;
background-color: #2b2929;
font-size: 0;
line-height: 0;
}
.slider__btn:hover {
background-color: #a5a5a5;
}
.slider__btn:active {
background-color: #1f0109;
}
@media (min-width: 1440px) {
.slider__btn {
top: 263px;
width: 50px;
height: 50px;
}
}
.slider__btn--prev {
left: 14px;
}
@media (min-width: 1440px) {
.slider__btn--prev {
left: 25px;
}
}
.slider__btn--prev::before {
position: absolute;
top: 9px;
left: 5px;
width: 14px;
height: 1px;
content: "";
transform: rotate(149deg);
background-color: #ffffff;
}
@media (min-width: 1440px) {
.slider__btn--prev::before {
top: 17px;
left: 10px;
width: 25px;
height: 2px;
}
}
.slider__btn--prev::after {
position: absolute;
top: 16px;
left: 5px;
width: 14px;
height: 1px;
content: "";
transform: rotate(-149deg);
background-color: #ffffff;
}
@media (min-width: 1440px) {
.slider__btn--prev::after {
top: 29px;
left: 10px;
width: 25px;
height: 2px;
}
}
.slider__btn--next {
right: 15px;
}
@media (min-width: 1440px) {
.slider__btn--next {
right: 27px;
}
}
.slider__btn--next::before {
position: absolute;
top: 9px;
left: 8px;
width: 14px;
height: 1px;
content: "";
transform: rotate(31deg);
background-color: #ffffff;
}
@media (min-width: 1440px) {
.slider__btn--next::before {
top: 17px;
left: 14px;
width: 25px;
height: 2px;
}
}
.slider__btn--next::after {
position: absolute;
top: 16px;
left: 8px;
width: 14px;
height: 1px;
content: "";
transform: rotate(-31deg);
background-color: #ffffff;
}
@media (min-width: 1440px) {
.slider__btn--next::after {
top: 29px;
left: 14px;
width: 25px;
height: 2px;
}
}
.slider__btn--catalog {
top: 135px;
}
@media (min-width: 1440px) {
.slider__btn--catalog {
top: 251px;
}
}