/* PAGE HEAD /////////////////////////////*/
.margin-left-right{
    margin-inline: var(--lr-spacing-dt);
}
.centered-row{    
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-div-padding{
    background-color: black;
    height: 7vw;
}
.col-div{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* TITLE */
#underline {
    width: 1vw;
}
.project-title {
    margin-bottom: 25.4vw;
}
.text-container {
    padding-left: 5%;
    transform: translateY(-457%);
}
.text-container h1 {
    text-align: left;
}
.optimale-container {
    position: absolute;
    bottom: 106%;
    /* margin-left: -21.3vw; */
    color: #FFF;
}
.vertical-underline {
    position: relative; 
    display: inline-block;
}
.vertical-underline::after {
    content: '';
    position: absolute;
    width: 0.861vw;
    height: 6.1vw;
    background: white;
    right: 2vw;
    bottom: -3vw;
}
.header-images {
    position: absolute;
    right: 0;
    top: 38vw;
    height: 51vw;
    /* width: 62.5vw; */
    /* width: 61.7vw; */
    margin-left: 37.5vw;
    background-color: rgb(132, 131, 131);
    border-top: solid white 1vw;
    border-left: solid white 1vw;
    z-index: 2;
    display: flex;
    flex-direction: row;
}
.images-bottom{
    height: 100%;
    width: 100%;
}
.top-div {
    display: flex;
    height: 100%;
    width: 100%;
}
.images-top {
    width: 100%;
    height: 30%;
}
.img-top {
    display: flex;
    border-bottom: 4px solid black;
    height: 100%;
    width: 100%;
}
.img-container {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.border-left{
    border-left: 4px solid black;
}
.border-right{
    border-right: 4px solid black;
}

/* REALISATION  /////////////////////////////  */
.realisation{
    position: relative;
    left: -0.3vw;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    color: #1D2339;
}

/* SERVICES  /////////////////////////////  */
.services{
    max-width: 25vw;
    height: 1.2rem;
    margin-bottom: 1vw;
    margin-top: 4.167vw;
    flex-direction: row;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    justify-content: flex-start;
}
.arrow-up{
    position: relative;
    top: 0.5vw;
    height: 1.3vw;
    right: -7px;
    display: inline-block;
    transform: rotate(-180deg);
    transition: all .5s;
}
.rotate {
    transform: rotate(0deg);
}
.services-hidden{
    max-width: 16vw;
}
.services:hover, .btn-services:hover{
    cursor: pointer;
}
.hidden-btn {
    flex-wrap: wrap;
    padding-top: 0;
    opacity: 0;
    /* max-width: 63vw; */
    max-height: 0;
    left: -3vw;
    width: 100vw;
    /* overflow: hidden; */
    transition: padding-top .5s ease, opacity 1s ease, max-height 1.5s ease;
}
.hidden-btn.show {
    padding-top: 1vw;
    opacity: 1;
    max-height: 700px;
}
.services-tab {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    height: 60%;
    margin-bottom: var(--tb-spacing-dt);
}

/* BOTTOM IMAGES  ///////////////////////////// */
.div-max-five{
    display: flex;
    justify-content: center;
}
.hidden-row {
    display: none;
}
.hidden-btn-hr{
    margin-bottom: 3vw;
    margin-top: 1vw;
    background: black;
    width: 69.4vw;
    height: 0.4vw;
    border-radius: 15px;
}
.project-asides,
.project-articles {
    flex: 1;
    height: 35vw;  
    display: flex;  
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
}
.project-asides{
    height: 43vw;
    width: 63.8vw;
}
.project-articles{
    width: 27.3vw;
}
.project-articles-title{
    margin-bottom: 2vw;
}
.image-placeholder{
    background: #DBDBDB;
    width: 100%;
}
.text-margin-left{
    margin-left: 1.389vw;
}
.text-margin-right{
    margin-left: 1.389vw;
    margin-right: 1.2vw;
}
.fit-img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.fit-img-logo{
    position: relative;
    top: 0;
    left: 0;
    height: 3vw;
    width: 5vw;
    z-index: 2;
}
.images-realisation-mid{
    margin-bottom: 3vw;
}
.float-right{
    float: right;
}
.float-left{
    float: left;
}
.border-black{
    border-bottom: 4px solid black;
}

/* BTN VOIR PLUS ///////////////////////////////////*/
.bottom-btn-voir-plus{
    display: flex;
    flex-direction: row;
    /* margin-left: 1vw; */
    justify-content: flex-end;
}


/* BTN */
.btn{
    padding: 4px;
    margin-bottom: 10px;
}
.btn-services{
    display: block;
    margin-right: 1.2vw;
    border: 0.25vw solid var(--color-dark);
    width: 16.45vw;
    height: 5.2vw;
    flex-shrink: 0;
    /* overflow: hidden; */
}
.btn-services.active {
    background-color: black;
    color:white;
    border: 3px solid black;
}


/* MOBILE */

@media screen and (max-width: 768px) and (orientation: portrait) {
    /* MArgin for page */
    .margin-left-right{
        margin-inline: var(--lr-spacing-mob);
    }
    /* text adjust */
    .normal-text{
        font-size : 3.58vw;
    }

    /* TITLE */
    .project-title{
        width: 100%;
        height: 146.18vw;
        background-color: var(--color-dark);
        font-size: 11.28vw;
        font-weight: 200;
        line-height: normal;
        color: white;
        margin-bottom: 45.194vw;
    }
    .project-title strong{
        font-weight: 700;
    }
    .projet-title-mobile-container{
        padding-left:var(--lr-spacing-mob);
        padding-top:32.31vw;
    }
    .project-title-mobile-underline{
        /* margin-left:1vw; */
        width: 54vw;
        height: 1.5vw;
        background-color: white;
        border-radius: 10px;
    }
    .en-line-width{
        width: 66.7vw;
    }
    .project-title-mobile-verticalLine{
        position: absolute;
        right: 0px;
        height: 50vw;
        width: 74.7vw;
        border-left: 1.5vw solid white;
    }
    /* FORM ADJUST */
    .header-images {
        height: 63vw;
        width: 74.7vw;
        top: 114vw;
        border-top: 1.25vw solid white;
        border-left: 1.25vw solid white;
    }
    .realisation{
        left: -1.5vw;
    }
    /* SERVICES BUTTON */
    .btn-services{
        font-weight: 400;
        width: 30vw;
        height: 11.5vw;
        margin: 0.9vw;
    }
    .arrow-up{
        top: 1.5vw;
        height: 3.5vw;
    }
    .services-tab{
        display: flex;
        justify-content: center;
        margin-inline: 0;
        position: relative;
        /* left: -1.2vw; */
        width: 100vw;
    }
    .services-hidden{
        position: relative;
        left: -1vw;
        margin-top: 7.653vw;
    }
    .normal-text-20px{
        font-size: 5.102vw;
    }
    .hidden-btn{
        max-width: 100vw;
    }
    .hidden-btn.show {
        position: relative;
        left: -2vw;
        width: 100vw;
    }
    .hidden-btn-hr{
        position: relative;
        left: -5vw;
        width: 97.5vw;
        height: 0.9vw;
        margin-bottom: 13vw;
        margin-top: 2vw;
    }

    /* MIDDLE IMAGES AND TEXT */
    .images-realisation-mid{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .float-left, .float-right {
        float: none;
        display: block;
    }
    .project-asides,.project-articles{        
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        margin-bottom: 8vw;
    }    
    .project-articles{
        padding-inline: 6vw;
        margin-bottom: 6vw;
    }

    /* BTN VOIR PLUS */
    .btn-voir-plus-inner {
        width: 28vw;
        height: 5.4vw;
    }

}