#darkbg{
    position: fixed;
    top: 0;
    left : 0;
    right: 0;
    bottom: 0;
    margin : auto;
    width: 100%;
    height: 100%;
    background-color: #0005;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
}

#popupimage{
    width: 80%;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    top: 0;
    left : 0;
    right: 0;
    bottom: 0;
    margin : auto;
    pointer-events: none;
    opacity: 0;
    z-index: 999999;
}


#tre-header{
    width: 100vw;
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

#tre-header .bouteille_header{
    position: absolute;
    left: 0;
    top: 0;
    right: -1vw;
    margin: auto;
    width: 63.8vh;
    z-index: 6;
}


#tre-header .bouteille_header img{
    width: 100%;
    filter: contrast(101%);
}

#tre-header .container{
    width: 100%;
    padding-left: 10vw;
    padding-right: 6.66vw;
    display: flex;
    height: 100%;
}

#tre-header .container .fond-logo{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 7vw;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
}

#tre-header .container .fond-logo svg{
    width: 26.66vw;
    height: 26.66vw;
    z-index: 8;
}

#tre-header .container .col-left{
    width: 55%;
    display: flex;
    align-items: center;
    z-index: 8;
}

#tre-header .container .col-right{
    width: 45%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 5.66vw;
    z-index: 7;
}

#tre-header .container .col-right .content{
    width: 30vw;
    padding-top: 1vw;
    border-top: 1px solid #85754E;
    z-index: 7;
}

@media screen and (min-width: 600px) {
    #tre-header .container .col-left h1 {
        margin-top: -10vw;
        white-space: nowrap;
    }
}













#tre-references{
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(30,41,79,1) 0%, rgba(15,22,44,1) 100%);
    margin-top: -2px;
    padding-top: 3.33vw;
    position: relative;
    overflow: hidden;
}


#tre-references .news-gallery.news-loading{
    overflow: hidden;
}

#tre-references .word-center{
    position: absolute;
    left: 0;
    right: 0;
    top: 20vw;
    bottom: 0;
    margin: auto;
    height: 102.66vw;
    width: 6.66vw;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to top, transparent 1%, black 99%);
    mask-image: linear-gradient(to top, transparent 1%, black 99%);
}



#tre-references .word-center svg{
    height: 102.66vw;
    width: 6.66vw;
    z-index: -1;
}

#tre-references .container{
    padding: 0 10vw;
    z-index: 2;
    width: 100%;
}

#tre-references .container:first-of-type{
    z-index: 99;
}

#tre-references .container:last-of-type{
    padding-bottom: 6.66vw;
}

#tre-references #filterarticle{
    display: flex;
    justify-content: space-between;
    padding: 1vw 0;
}

#tre-references #news-gallery{
    padding: 4.66vw 10vw 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    z-index: 2;
}

#tre-references #news-gallery .ligne-reference{
    display: flex;
    width: 50%;
    margin-bottom: 10.33vw;
}


/* Ligne 1 */

#tre-references #news-gallery .ligne-reference:nth-child(4n + 1) .col{
    height: 39.4vw;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

#tre-references #news-gallery .ligne-reference:nth-child(4n + 1) .col .reference{
    width : 27.6vw;
    height: 100%;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding: 1vw;
}

#tre-references #news-gallery .ligne-reference:nth-child(4n + 2) .col{
    display: flex;
    justify-content: flex-start;
    padding-left: 6vw;
}

#tre-references #news-gallery .ligne-reference:nth-child(4n + 2) .col .reference{
    width : 27.6vw;
    height: 100%;
    margin-top: 24.4vw;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding: 1vw;
}



/* Ligne 2 */


#tre-references #news-gallery .ligne-reference:nth-child(4n + 3) .col{
    height: 24.2vw;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}


#tre-references #news-gallery .ligne-reference:nth-child(4n + 3) .col .reference{
    width : 34.53vw;
    height: 100%;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    padding: 1vw;
}

#tre-references #news-gallery .ligne-reference:nth-child(4n + 4) .col{
    display: flex;
    justify-content: flex-start;
    padding-left: 6vw;
}

#tre-references #news-gallery .ligne-reference:nth-child(4n + 4) .col .reference{
    width : 34.53vw;
    height: 100%;
    margin-top: 24.4vw;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    padding: 1vw;
}

#tre-references #news-gallery .ligne-reference:last-of-type{
    margin-bottom: 6.66vw;
}

#tre-references #news-gallery .ligne-reference:last-of-type:nth-child(even) .col .reference{
    margin-bottom: calc(24.4vw + 6.66vw);
    height: calc(100% - 24.4vw);
}


#tre-references .container .choix{
    display: flex;
    justify-content: center;
}




















@media screen and (max-width : 1100px) {
    #tre-articles  #filterarticle{
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media screen and (max-width : 992px) {
    #tre-header .container{
        padding: 0 6.66vw;
    }
    #tre-header .container .col-left h1{
        font-size: 40px;
    }
    #tre-header .container .col-right .content p{
        font-size: 14px;
    }
    #tre-references #filterarticle{
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    #tre-references #filterarticle .cta-main{
        margin-right: 15px;
    }
    #tre-references #filterarticle > p{
        width: 100%;
    }
}

#tre-references #filterarticlemobile{
    display: none;
    z-index: 9999;
}


@media screen and (max-width : 768px) {
    #tre-header .container .fond-logo svg{
        width: 290px;
        height: 290px;
    }
    #tre-header .container .col-right .content{
        padding-top: 15px;
    }
    #tre-references #filterarticle{
        justify-content: flex-start;
        flex-wrap: wrap;
        flex-direction: column;
    }
    #tre-references .word-center{

    }
    #tre-references #filterarticle{
        display: none;
    }
    #tre-references #filterarticlemobile{
        display: flex;
        justify-content: space-between;
        z-index: 9999;
    }

    #tre-references #filterarticlemobile .selectfiltre{
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 9999;
        height: auto;
    }
    #tre-references #filterarticlemobile .selectfiltre .header{
        margin-top: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #tre-references #filterarticlemobile .selectfiltre .header svg{
        margin-left: 15px;
    }
    #tre-references #filterarticlemobile .selectfiltre .content{
        display: flex;
        flex-direction: column;
        height: 0;
        overflow: hidden;
        width: calc(100% + 6.66vw);
        position: absolute;
        left: -3.33vw;
        top: 52px;
        background-color: rgba(30,41,79,1);
        z-index: 9999;
        padding: 0 3.33vw;
    }
    #tre-references #filterarticlemobile .selectfiltre .header::after{
        display: none;
    }
    #tre-references #filterarticlemobile .selectfiltre .header:hover{
        color: #85754E;
    }
    #tre-references{
        padding: 50px 0;
    }
}

@media screen and (max-width : 600px) {
    #tre-references .word-center,
    #tre-references .word-center svg{
        width: 75px;
        height: 850px;
    }
    #tre-header {
        overflow: hidden;
        height: auto;
        padding: 150px 0;
        background-position-x: -265px;
    }
    #tre-header::after{
        position: absolute;
        left: 0;
        bottom: 0;
        height: 60%;
        width: 100%;
        content: "";
        z-index: 1;
        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    }
    #tre-header .container{
        flex-direction: column;
        z-index: 9;
    }
    #tre-header .container .col-left{
        width: 100%;
        height: 75%;
    }
    #tre-header .container .col-right{
        width: 100%;
        height: 50%;
    }
    #tre-header .container .col-right .content{
        width: 100%;
    }

    #tre-header .bouteille_header{
        position: absolute;
        left: 0;
        top: 60px;
        right: -1vw;
        margin: auto;
        width: 415px;
        z-index: 6;
    }

    #tre-header .bouteille_header::after{
        content: "";
        top: 0;
        right: -1vw;
        left: 0;
        margin: auto;
        width: 100vw;
        height: 101%;
        position: absolute;
        background: linear-gradient(
    180deg
    , #00030500 51%, #00030588 71%, #000305ff 96%);
        }
    #tre-references #news-gallery{
        padding: 100px 0;
    }
    #tre-references #news-gallery .ligne-reference:nth-child(4n + 3) .col .reference{
        width: 100%;
    }
    #tre-references #news-gallery .ligne-reference:nth-child(4n + 3) .col {
        height: 33vw;
        width: 100%;
        padding-right: 3vw;
    }
    #tre-references #news-gallery .ligne-reference:nth-child(4n + 4) .col {
        width: 100%;
        padding-left: 3vw;
    }
    #tre-references #news-gallery .ligne-reference:nth-child(4n + 4) .col .reference {
        width: 100%;
    }
    #tre-references #news-gallery .ligne-reference:nth-child(4n + 1) .col{
        height: 55vw;
        padding-right: 3vw;
    }
    #tre-references #news-gallery .ligne-reference:nth-child(4n + 2) .col{
        padding-left: 3vw;
    }
    #tre-references #news-gallery .ligne-reference:nth-child(4n + 1) .col .reference,
    #tre-references #news-gallery .ligne-reference:nth-child(4n + 2) .col .reference{
        width: 41vw;
    }
    #tre-references .word-center{
        right: 6vw;
    }
    #tre-references #news-gallery .ligne-reference:last-of-type:nth-child(even) .col .reference{
        height: 55vw;
        margin-bottom: 0;
    }
}

@media screen and (max-width : 480px) {
    #tre-header .bouteille_header{
        width: 100%;
        top: -7vw;
    }
    #tre-header .container .fond-logo svg{
        width: 90%;
        height: 90%;
    }
}

@media screen and (max-width : 400px){
    #tre-header .bouteille_header{
        width: 100%;
        top: calc(40px + 14vw);
    }
}


@media screen and (max-width : 360px){
    #tre-references #news-gallery .ligne-reference .col h3{
        font-size: 11px;
    }
    #tre-references #filterarticlemobile p{
        font-size: 12px;
    }
}


@media screen and (max-width : 340px){
    #tre-header .bouteille_header{
        width: 100%;
        top: 70px;
    }
}