.wrap {
    position: relative;
    /* width: 256px; */
    height: 512px;
}

.slider {
    /* width: 256px; */
    height: 512px;
    overflow: hidden;
    /* border-left: 1px solid #ccc;
    border-right: 1px solid #ccc; */
    padding-left: 40px;
}

.slider__row {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
    left: 0;
    height: 1536px;
    /* overflow: hidden; */
    transition: 0.5s;
    grid-gap: 10px;
}

.row__item {
    /* Ajouter les styles de .row__item ici */
}

























 /* Vertical Slider 100% Height */
 .vertical .carousel-item {
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Vertical Slider Animation */
.vertical .carousel-item-next.carousel-item-left,
.vertical .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.vertical .carousel-item-next,
.vertical .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100% 0);
}

.vertical .carousel-item-prev,
.vertical .active.carousel-item-left {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

/* Vertical Ccarousel Indicators on Right */
.carousel-indicators {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 20px;
    right: 10px;
    left: auto;
    width: auto;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.carousel-indicators>li {
    display: block;
    border-radius: 12px;
    width: 12px;
    height: 12px;
    border: 0;
}

.carousel-indicators li.active {
    margin-bottom: 5px;
    background: #fff;
}

/* Vertical Carousel Controls on Right */
.carousel.vertical .carousel-control-prev,
.carousel.vertical .carousel-control-next {
    left: auto;
    right: 13.5px;
    width: 50px;
    height: 50px;
    background: red;

}

.carousel-control-prev {
    top: 42%;
    transform: rotate(90deg);
    z-index: 10;
}

.carousel-control-next {
    top: 50%;
    transform: rotate(90deg);
    z-index: 10;
}

.carousel.vertical .carousel-control-prev.up {
    top: 0;
    bottom: 50%;
}

.carousel.vertical .carousel-control-next.down {
    top: 50%;
    bottom: 0;
}

.carousel.vertical .carousel-control-prev.up i,
.carousel.vertical .carousel-control-next.down i {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
    font-size: 2em;
}

.carousel.vertical .carousel-control-prev.up i {
    left: 50%;
    margin-left: -10px;
    top: 50%;
    margin-top: -10px;
}

.carousel.vertical .carousel-control-next.down i {
    left: 50%;
    margin-left: -10px;
    top: 50%;
    margin-top: -10px;
}

/* Vertical Carousel Captions Size */
.carousel-caption {
    max-width: 100%;
    width: 100%;
    height: 85%;
    left: 0;
}

.carousel-item>div {
    
    /* height: 100vh; */
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
}

.kl-carousel-bloc {
    background: red;
    height: 400px;
}

