/*Travaux*/

.container-travaux {
    max-width: 1200px;
    margin: auto;
}

.travail {
    background-color: red;
}

[class*="col-"] {
    float: left;
    display: inline-block;
    width: 100%;
}

* {
    box-sizing: border-box;
    /*border: 1px solid red;*/
}

#all {
    display: block;
    width: 100%;
}

/*Contenant 1*/
.contenant {
    display: block;
    width: 100%;
    background-color: white;
    box-shadow: 0px 0px 20px;
}

/*Contenant 2*/
#contenant2 {
    width: 90%;
    margin: auto;
}

/*Bloques de texte*/
.blockText {
    display: block;
    background-color: white;
    width: 100%;
}

/*Images des bloques de texte*/
.blockText .images {
    width: 100%;
    height: auto;
}

blockText .images img {
    width: 100%;
}

/*Textes des bloques de texte*/
.textes {
    width: 100%;
    padding: 20px;
}


/*Titres*/
#titrePrincipal {
    width: 100%;
    margin: auto;
}

#titreVideo,
#titrePrincipal {
    padding: 20px;
    font-size: 24px;
}

/*Description vidéo*/
#textesVideo {
    padding: 10px;
}

#laVideo iframe {
    width: 100%;
    height: 250px;
}

.blockText iframe {
	width:100%;
	height:315px; 
}

/*Tablette*/
@media only screen and (min-width: 768px) {

    #all {
        display: block;
        margin: auto;
        width: 100%;
    }

    /*Contenant 1*/
    .contenant {
        display: flex;
        width: 100%;
        background-color: white;
        box-shadow: 0px 0px 20px;
    }

    /*Contenant 2*/
    #contenant2 {
        width: 80%;
        margin: auto;
    }

    /*Bloques de texte*/
    .blockText {
        display: flex;
        background-color: white;
        width: 50%;
    }

    /*Images des bloques de texte*/
    .blockText .images {
        width: 100%;
    }

    blockText .images img {
        width: 100%;
        max-width: 20px;
    }

    /*Textes des bloques de texte*/
    .textes {
        width: 100%;
        padding: 20px;
    }

    /*Titres*/
    #titrePrincipal {
        width: 90%;
        margin: auto;
    }

    #titreVideo,
    #titrePrincipal {
        padding: 20px;
        font-size: 24px;
    }

    /*Description vidéo*/
    #textesVideo {
        padding: 10px;
    }

    #laVideo iframe {
        width: 100%;
        height: 400px;
    }

    #laVideo {
        width: 80%;
        margin: auto;
    }

}



/*Ordinateur*/
@media only screen and (min-width: 1025px) {

    #all {
        margin: auto;
        width: 100%;
    }

    /*Contenant 1*/
    .contenant {
        display: flex;
        width: 100%;
        background-color: white;
        box-shadow: 0px 0px 20px;
    }

    /*Contenant 2*/
    #contenant2 {
        width: 80%;
        margin: auto;
    }

    /*Bloques de texte*/
    .blockText {
        display: flex;
        background-color: white;
        width: 50%;
    }

    /*Images des bloques de texte*/
    .blockText .images {
        width: 100%;
    }

    blockText .images img {
        width: 100%;
        max-width: 20px;
    }

    /*Textes des bloques de texte*/
    .textes {
        width: 100%;
        padding: 20px;
    }

    /*Titres*/
    #titrePrincipal {
        width: 90%;
        margin: auto;
        padding: 20px;
    }

    #titreVideo,
    #titrePrincipal {
        font-size: 24px;
        background-color: white;
    }

    #titreVideo {
        padding: 10px;
    }

    /*Description vidéo*/
    #textesVideo {
        padding: 10px;
        background-color: white;
    }

    #laVideo iframe {
        width: 100%;
        height: 600px;
    }

    #laVideo {
        width: 80%;
        margin: auto;
    }

}

/*Travaux - SLideShow*/

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides1,
.mySlides2,
.mySlides3 {
    width: 80%;
    margin: auto;
    height: 341px;
}

/* Next & previous buttons */
.prev1,
.next1,
.prev2,
.next2,
.prev3,
.next3 {
    cursor: pointer;
    position: absolute;
    top: 6%;
    width: auto;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 159px;
    padding-bottom: 159px;
    margin-top: -22px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
}

/* Position the "next button" to the right */
.next1,
.next2,
.next3 {
    right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev1:hover,
.next1:hover,
.prev2:hover,
.next2:hover,
.prev3:hover,
.next3:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}


/*Button*/
.travaux-button {
    color: white;
    background-color: #211F1F;
    transition: all 0.3s linear;
    text-decoration: none;
    padding: 5px;

}

.travaux-button:hover {
    cursor: pointer;
    color: #0E4A4B;
    background-color: white;
    padding: 5px;
}