body {
    background-color: #CCCC99;
    background-image: url("../IMAGES/TRIO/TRIO-BIG-1900-1342-N3.JPG");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

img {
    border: 3px solid #7e7e7E;
    cursor: pointer;
    width: 60%;
    margin-left: 20%;
}

#BoiteBoutNav {
    width: 100%;
    text-align: center;
    /*flex-basis: 100vw;*/
    height: 5em;
    top: 5px;
    left: 0;
}

#TexteIH {
    width: 80%;
    margin-left: 10%;
    margin-top: 15vh;
    text-align: left;
    font-size: 1.5em;
    color: azure;
}

/*
#BoiteBoutonVideoMenu {
    text-align: center;
    background-color: rgba(135, 135, 135, 0.0);
    height: 10vh;
    width: 100%;
    top: 0;
    left: 0;
}
*/
#ConteneurVideo {
    width: 90vw;
    margin-left: 5%;
    margin-top: 5%;
}

/*
#BoiteBoutonVideoMenu > p {
    color: white;
    text-align: center;
}
*/
#ConteneurVideo > img.borvid {

    border-style: solid;
    border-width: 4px;
    border-color: grey;
    width: auto;
    max-width: 350px;
    min-width: 150px;
}

.StyleBoutonVign {
    display: inline-block;
    background-color: rgba(200, 200, 200, 0.5);
    padding: 5px;
    text-align: center;
    color: white;
    border: 0.1em solid;
    border-color: white;
    border-radius: 15em;
}

#popIn {
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /*background-color: #fff3;*/
    background-color: rgba(0, 0, 0, 0.8);
    content: " ";
    /*position: absolute;*/
    position: fixed;
    z-index: 10;
}

#popIn video {
    max-width: 100vw;
    margin-top: 10.1vh;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    /*margin: auto;*/
    /*top: calc(50vh - 288px);*/
    background-color: #fff9;
    position: relative;
    display: block;
    z-index: 10;
    border: 4px solid #000000;
    border-radius: 3px;
    box-shadow: 5px 10px 40px 1px #000000;
}

/* SmartphoneVertical */
@media screen and (max-width :30em) and (orientation : portrait) {
    body {
        background-image: url("../IMAGES/TRIO/TRIO-IV-488-1000-N3.JPG");
        background-repeat: no-repeat;
        background-size: cover;
    }

    #TexteIH {
        display: none;
    }
}

/* ************** IMAGE PHONE HORIZONTAL ****** */
@media screen and (max-width :51.25em) and (orientation: landscape) {

    /*body {
        background-image: url("../IMAGES/TRIO/TRIO-IH-850-550-N3.JPG");
        background-repeat: no-repeat;
        background-size: cover;
    }

    #popIn video {
        max-width: auto;
        max-height: 60vh;
    }

    #Cliquer {
        display: none;
    }

    #BoiteBoutNav {
        display: none;
    }

    #ConteneurVideo {
        display: none;
    }
    */
    #Cliquer,
    #BoiteBoutNav,
    #ConteneurVideo,
    #popIn {
        display: none;
    }
}

/* ************** IMAGE TABLET VERTICAL ****** */
@media screen and (min-width : 29.991em) and (orientation : portrait) {
    body {
        background-image: url("../IMAGES/TRIO/TRIO-TV-770-1025-N3.JPG");
        background-repeat: no-repeat;
        background-size: cover;
    }

    #TexteIH {
        display: none;
    }

}

/* ************** IMAGE TABLET HORIZONTAL ****** */
@media screen and (min-width : 51.26em) and (max-width :80em) and (orientation : landscape) {
    body {
        background-image: url("../IMAGES/TRIO/TRIO-TH-1280-850-N3.JPG");
        background-repeat: no-repeat;
        background-size: cover;
    }

    #TexteIH {
        display: none;
    }

    #popIn video {
        max-width: auto;
        max-height: 60vh;
    }
}

/* **************** IMAGE GRAND ECRAN ******  */
@media screen and (min-width : 80.0625em) and (orientation : landscape) {
    body {
        background-image: url("../IMAGES/TRIO/TRIO-BIG-1900-1342-N3.JPG");
        background-repeat: no-repeat;
        background-size: cover;
    }

    #popIn video {
        max-width: auto;
        max-height: 60vh;
    }

    #TexteIH {
        display: none;
    }
}

a {
    font-size: 1.2em;
}

a.StyleBouton {
    font-size: 0.8em;
}

/*
    #BoiteBoutonVideoMenu {
        height: 5vh;

    }
*/
img {
    max-width: 80vw;
}

#ConteneurVideo {
    width: 80%;
    /*margin-top: 5vh;*/
    margin-top: 6vh;
    margin-left: 10%;

}

img {
    max-width: 38vw;
}
