/* *******************************************************
    GLOBAL
   ******************************************************* */

* {
    box-sizing: border-box;
}

main {
    text-align: center;
}

img {
    max-width: 100%;
}

/* ******************************************************* */
/* ************** Les éléments du caroussel ************** */
/* ******************************************************* */


/*PLAY/PAUSE*/
.project nav.toolbar {
    margin-top: 20px;
    color: #fff;
}

.project nav.toolbar button {
    background-color: #de5833;
    width: 30px;
    height: 30px;
    border: solid 1px #fff;
}

.project nav.toolbar button:hover {
    background-color: #fff;
    color: #de5833;
}

.toolbar #play-pause.play-icon::before {
    content: "\f04b";
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
    font-weight: 900;
}

.toolbar #play-pause.pause-icon::before {
    content: "\f04c";
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
    font-weight: 900;
}


/*CACHER LES IMAGES INACTIVES*/

.slider-figure:not(.active) {
    display: none;
}



/*SLIDER*/

.slider {
    margin: 0 70px 50px;
    max-width: 1000px;
}

.slider-layout {
    position : relative;
}


.slider-legend {
    text-align: left;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    font-weight: bold;
}

.slider-figure {
    border: solid 5px #fff;
    border-radius: 5px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}



/*NAVIGATION*/

.slider-navigation {
    height: 30px;
    /*background-color: black;*/
    position: absolute;
    right: 0px;
    left: 0px;
    top: 50%;
}

.prev, .next {
    position: absolute;
    /*top: -200px;*/
    color: #fff;
    font-size: 30px;
}

.prev {
    left: -50px;
}

.next {
    right: -50px;
}

.prev:hover, .next:hover {
    color: #de5833;
}


/*PUCES*/

.slider-dots {
    position: absolute;
    right: 20px;
    left: 20px;
    bottom: 0;
    padding: 0;
}

.slider-dots li {
    margin: 2px;
    display: inline-block;
    height: 15px;
    width: 15px;
    background-color: #fff;
    border: solid 1.5px #fff;
    border-radius: 100%;
    list-style-type: none;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.slider-dots li.selected {
    background-color: #de5833;
}


