.rgrCarousel {
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    /* width: 100%; */
    /* height: 100%; */
    /* padding-bottom: 10%; */
    /* user-select: none; */
    /* background-color: #001c1c; */
    box-shadow: 0 11px 22px rgba(0, 0, 256, 0.20), 0 7px 7px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}


/*  mobile   */

@media screen and (max-width: 700px) {
    .rgrCarousel {
        height: 200px;
        width: 300px
    }
    .Car_next {
        left: 250px;
        /* taille carousel - 50 */
    }
    .Car_prev {
        left: 0px;
    }
    .Car_prev span,
    .Car_next span {
        position: absolute;
        width: 50px;
        height: 5px;
        /* border: solid 40px; */
        top: 50%;
        color: white;
        font-size: 300%;
        /* transform: translateY(-50%); */
    }
    .Car_prev span {
        /* border-color: transparent  rgba(88, 88, 88, .6) transparent transparent;  */
        right: 0px;
        float: left;
    }
    .Car_next span {
        /* border-color: transparent transparent transparent rgba(88, 88, 88, .6);  */
        left: 0px;
        float: right;
    }
    .slide_legende {
        margin: 0 auto;
        height: 30px;
        top: -30px;
        z-index: 150;
        position: relative;
        background-color: rgba(88, 88, 88, 0.5);
        color: white;
        font-size: 1.5em;
    }
}


/*vesrion PC */

@media screen and (min-width: 701px) {
    .rgrCarousel {
        height: 400px;
        width: 600px;
    }
    .Car_next {
        left: 550px;
        /* taille carousel - 50 */
        z-index: 99;
    }
    .Car_prev {
        left: 0px;
        z-index: 99;
    }
    .Car_prev span,
    .Car_next span {
        position: absolute;
        width: 25px;
        height: 5px;
        /* border: solid 40px; */
        top: 50%;
        /* transform: translateY(-50%); */
        color: white;
        font-family: "Times New Roman", Times, serif;
        font-size: 80px;
        font-weight: bold;
        z-index: 99;
    }
    .Car_prev span {
        /* border-color: transparent  rgba(88, 88, 88, .6) transparent transparent;  */
        right: 25px;
        float: left;
    }
    .Car_next span {
        /* border-color: transparent transparent transparent rgba(88, 88, 88, .6);  */
        left: 0px;
        float: right;
    }
    .slide_legende {
        margin: 0 auto;
        height: 40px;
        top: -40px;
        z-index: 150;
        position: relative;
        background-color: rgba(88, 88, 88, 0.5);
        color: white;
        font-size: 1.5em;
    }
}

.Car_next,
.Car_prev {
    width: 50px;
    height: 100%;
    position: absolute;
    top: 0px;
    /* background-color: rgba(88, 88, 88, .1); */
    background-color: transparent;
    z-index: 99;
    transition: .45s;
    cursor: pointer;
    /* margin-top: 20px; */
    /* margin-bottom: 20px; */
}

.Car_prev:hover,
.Car_next:hover {
    transition: .3s;
    background-color: rgba(88, 88, 88, .6);
}

input.rgrCarousel {
    display: none;
}

.slide_img {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    z-index: -1;
}

img.slide_img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

div.slide_img {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    z-index: 99;
    background-color: #88888800;
}

div.slide_img_pre {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    background-size: cover;
    z-index: 90;
    background-color: #88888800;
}

.slide_img_cur {
    margin: 0 auto;
    height: 100%;
}

@-webkit-keyframes fade {
    /* from {opacity: .1}  */
    /* to {opacity: 1} */
    from {
        left: -300px;
        opacity: 1
    }
    to {
        left: 0px;
        opacity: 1
    }
}

@keyframes deplD {
    0% {
        opacity: 1;
        transform: translateX(-500px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes deplG {
    0% {
        opacity: 1;
        transform: translateX(500px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

div.slide_G {
    /* position:relative; */
    /* position: absolute; */
    left: 0;
    /* left: 0; */
    /* transition: left 10s, transform 10s; */
    /* left: 100%; */
    /* transform: translateX(100%); */
    /* animation */
    -webkit-animation-name: deplG;
    -webkit-animation-duration: 1.5s;
    animation-name: deplG;
    animation-duration: 1.5s;
}

div.slide_D {
    /* position:relative; */
    /* position: absolute; */
    left: 0;
    /* left: 0; */
    /* transition: left 10s, transform 10s; */
    /* left: 100%; */
    /* transform: translateX(100%); */
    /* animation */
    -webkit-animation-name: deplD;
    -webkit-animation-duration: 1.5s;
    animation-name: deplD;
    animation-duration: 1.5s;
}

#nav_slide {
    width: 200px;
    bottom: 12%;
    height: 11px;
    position: absolute;
    /* text-align: center; */
    z-index: 99;
    cursor: default;
}

.dots {
    top: -5px;
    width: 18px;
    height: 18px;
    margin: 0 3px;
    position: relative;
    border-radius: 100%;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.6);
    transition: .4s;
    cursor: pointer;
}

#dot1:hover {
    background: #795548;
}

#dot2:hover {
    background: #F44336;
}

#dot3:hover {
    background: #2196F3;
}

#dot4:hover {
    background: #4CAF50;
}

#i1:checked~#one,
#i2:checked~#two,
#i3:checked~#three,
#i4:checked~#four {
    z-index: 9;
    animation: scroll 5s ease-in-out;
}

#i1:checked~#nav_slide #dot1 {
    background: #795548;
}

#i2:checked~#nav_slide #dot2 {
    background: #F44336;
}

#i3:checked~#nav_slide #dot3 {
    background: #2196F3;
}

#i4:checked~#nav_slide #dot4 {
    background: #4CAF50;
}

@keyframes scroll {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

@media screen and (max-width: 700px) {
    .container {
        border: none;
        width: 100%;
        /* height: 0; */
        padding-bottom: 55%;
    }
    .slide_img .prev,
    .next {
        width: 15%;
    }
    .prev span,
    .next span {
        border: solid 12px;
    }
    .prev span {
        border-color: transparent #fff transparent transparent;
    }
    .next span {
        border-color: transparent transparent transparent #fff;
    }
    #nav_slide .dots {
        width: 12px;
        height: 12px;
    }
}