.project-header {
    position: relative;
    min-height: 366px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.node--type-metier .project-header {
    position: relative;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-header-banner {
    width: 100vw;
    position: absolute;
    left: calc(-50vw + 50%);
    z-index: -1;
    top: -174px;
    bottom: 0;
    overflow: hidden;
}

.project-header-banner-filter {
    width: 100vw;
    position: absolute;
    left: calc(-50vw + 50%);
    z-index: -1;
    top: -174px;
    bottom: 0;
    background-color: rgba(21, 37, 44, 0.5);
}

.user-logged-in .project-header-banner, .user-logged-in .project-header-banner-filter{
    top: -238px;
}

.project-header-banner .contextual-region,
.project-header-banner .field,
.project-header-banner .field__item {
    height: 100%;
}

.project-header-banner img{
    z-index: -1;
    height: auto;
    min-height: 100%;
    width: 100%;
    object-fit: cover;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
}

div.box-project h1 {
    font-family: "NunitoSans";
    font-size: 57px;
    font-weight: 800;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.12;
    letter-spacing: normal;
    color: #ffffff;
    margin-bottom: 16px;
    overflow-wrap: break-word;
}


.box-project .widget-project.second{
    width:100vw;
    display:flex;
}

div.box-project .widget-project div {
    margin: 0;
    padding: 0;
}

div.box-project .widget-project h2 a div{
    font-size:16px;
}
div.box-project .widget-project{
    padding-left: 0;
}

.box-project .widget-project.first .date_layout,
.box-project .widget-project.first .theme_1_layout,
.box-project .widget-project.first .theme_2_layout,
.box-project .widget-project.first .localization_layout,
.box-project .widget-project.first .temps_lecture_layout,
.box-project .widget-project.first .type_metier_layout,
.box-project .widget-project.second .taxo_contrat,
.box-project .widget-project.second .taxo_metier,
.box-project .widget-project.second .taxo_localisation,
.box-project .widget-project.second .taxo_experience,
.box-project .widget-project.second .taxo_diplome {
    display: inline-block;
    padding: 0;
    position: relative;
}

.box-project .widget-project.second .taxo_metier .text-uppercase{
    display: inline-block;
    padding-left:20px;
    padding-right:20px;
}

.box-project .widget-project.second .taxo_contrat .text-uppercase {
    display: inline-block;
    padding-left:0;
    padding-right:20px;
}

.box-project .widget-project.second .taxo_localisation .text-uppercase,
.box-project .widget-project.second .taxo_diplome .text-uppercase{
    display: inline-block;
    padding-left:25px;
    padding-right:20px;
}

.box-project .widget-project.second .taxo_localisation .text-uppercase span {
    padding:0;
}

.box-project .widget-project.second .taxo_diplome .text-uppercase span {
    padding: 0 0 0 40px;
}

.box-project .widget-project.second .taxo_experience .text-uppercase{
    display: flex;
    margin-left: 30px;
    margin-right: 20px;
    font-size: 13px;
    align-items: baseline;
}



.box-project .widget-project.second .taxo_experience .text-uppercase h2 div{
    padding-left: 5px;
}


.node--type-actualite .box-project .widget-project.first .theme_1_layout,
.box-project .widget-project.first .type_metier_layout{
    padding-left: 52px;
}
.box-project .widget-project.first .theme_2_layout {
    padding-left: 43px;
}

.box-project .widget-project.first .localization_layout {
    padding-left: 52px;
}
.node--type-actualite .box-project .widget-project.first .theme_1_layout:before,
.box-project .widget-project.first .theme_2_layout:before,
.box-project .widget-project.first .type_metier_layout:before,
.box-project .widget-project.first .localization_layout:before{
    width: 3px;
    height: 3px;
    opacity: 0.8;
    border-radius: 3px;
    background-color: #ffffff;
    content: '';
    position: absolute;
    left: 20px;
    top: 7px;
}

.box-project .widget-project.second .taxo_metier:before,
.box-project .widget-project.second .taxo_localisation:before,
.box-project .widget-project.second .taxo_experience:before,
.box-project .widget-project.second .taxo_diplome:before {
    width: 3px;
    height: 3px;
    opacity: 0.8;
    border-radius: 3px;
    background-color: #ffffff;
    content: '';
    position: absolute;
    left: 0px;
    top: 7px;
}

.box-project .widget-project.first .temps_lecture_layout {
    margin-top: 16px;
}

div.box-project .widget-project div:first-child {
    list-style: none;
    margin-left: 0;
    padding-right: 5px;
    padding-left: 0;
}

div.box-project .widget-project {
    opacity: 0.8;
    font-family: NunitoSans;
    font-size: 13px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #ffffff;
    min-height: 20px;
    position: relative;
    padding-bottom: 50px;
}

div.box-project .widget-project.with-section {
    padding-bottom: 104px;
}

div.box-project .widget-project .twitter {
    width: 131px;
    height: 30px;
    opacity: 0.7;
    border-radius: 19px;
    background-color: rgba(0, 166, 217, 0.24);
    text-align: center;
    font-weight: 900;
    color: #FFFFFF;

}

div.box-project .widget-project .twitter a span.twitter {
    width: 39px;
    height: 19px;
    font-family: NunitoSans;
    font-size: 14px;
    font-weight: 800;
    font-stretch: normal;
    letter-spacing: normal;
    color: #FFFFFF;
    line-height: 30px;
}

div.box-project div.project-description {
    font-family: NunitoSans;
    font-size: 20px;
    font-weight: 800;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #FFFFFF;
    padding-bottom: 40px;
    overflow-wrap: break-word;
    padding-top: 40px;
}

div.box-project div.widget-project img.img-icon {
    margin-right: 3px;
    width: 9px;
    height: 13px;
    opacity: 0.8;
    color: #ffffff;
    vertical-align: -2px;
}


div.box-project p.a_lire {
    height: 18px;
    opacity: 0.8;
    font-family: NunitoSans;
    font-size: 13px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #ffffff;
}

div.widget-project.mobile {
    display: none;
}
/******************sous-section***********************/
.box-project .sections {
    background: #0c3949;
    width: 100vw;
    left: calc(-50vw + 50%);
    position: absolute;
    bottom: 0;
}
/* Animation */
.box-project .sections .next {
    display: block;
    color: #ffffff;
    width: 9px;
    height: 17px;
    object-fit: contain;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 26px;
}

.box-project.show-content .next {
    display: none;
}

.box-project.show-content .title-section.second {
    height: auto;
    overflow-y: hidden;
    padding-left: 15px;
}

.box-project.show-content .title-section.first .temps_lecture_layout:before {
    display: none;
}

@media only screen and (max-width: 768px) {
    nav.tabs {
        display: none;
    }

    div.box-project h1 {
        font-size: 32px;
        font-weight: 800;
        line-height: 1.16;
    }

    .node--type-metier .project-header {
        min-height: 366px;
    }

    .project-header {
        margin-bottom: 20px;
    }

    .project-header-banner img {
        height: 100%;
        width: auto;
        object-fit: cover;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    div.box-project {
        margin-top: 188px;
    }

    .project-header-banner, .project-header-banner-filter {
        top: -243px;
    }

    div.widget-project ul.first {
        display: block;
        margin-top: 5px;
        margin-bottom: 5px;
        width: 90%;
        height: 18px;
        overflow: hidden;
    }

    ul.widget-project.first ul {
        overflow: hidden;
    }

    ul.widget-project.last {
        width: 100%;
        overflow: hidden;
    }

    .box-project.show-content .arrow {
        display: none;
    }

    .box-project .widget-project.first {
        height: 20px;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .box-project.show-content .widget-project.first {
        height: auto;
        overflow-y: unset;
        white-space: unset;
    }

    .box-project .widget-project.second {
        display: block;
    }

    .box-project .widget-project.first .localization_layout,
    .box-project .widget-project.first .theme_2_layout,
    .box-project .widget-project.first .temps_lecture_layout,
    .box-project .widget-project.second .taxo_metier,
    .box-project .widget-project.second .taxo_localisation,
    .box-project .widget-project.second .taxo_experience,
    .box-project .widget-project.second .taxo_diplome {
        display: none;
    }

    .box-project.show-content .widget-project.first .localization_layout,
    .box-project.show-content .widget-project.first .theme_1_layout,
    .box-project.show-content .widget-project.first .theme_2_layout,
    .box-project.show-content .widget-project.first .temps_lecture_layout,
    .box-project.show-content .widget-project.second .taxo_metier,
    .box-project.show-content .widget-project.second .taxo_localisation,
    .box-project.show-content .widget-project.second .taxo_experience,
    .box-project.show-content .widget-project.second .taxo_diplome {
        display: block;
        padding-left: 0;
        margin-top: 5px;
    }

    .box-project .widget-project.first .theme_2_layout:before,
    .box-project .widget-project.first .localization_layout:before,
    .box-project .widget-project.second .taxo_metier:before,
    .box-project .widget-project.second .taxo_experience:before,
    .box-project .widget-project.second .taxo_localisation:before,
    .box-project .widget-project.second .taxo_diplome:before {
        top: 7px;
        display: none;
    }

    .box-project .widget-project.second .taxo_metier span,
    .box-project .widget-project.second .taxo_experience span,
    .box-project .widget-project.second .taxo_localisation span,
    .box-project .widget-project.second .taxo_diplome span {
        padding: 0 !important;
        margin: 0 !important;
    }

    .box-project .widget-project.second .taxo_diplome span span {
        padding-left: 35px !important;
    }


    .box-project .widget-project.first .temps_lecture_layout:before {
        width: 3px;
        height: 3px;
        opacity: 0.8;
        border-radius: 3px;
        background-color: #ffffff;
        content: '';
        position: absolute;
        left: 20px;
        top: 7px;
    }

    .box-project.show-content .widget-project.first .temps_lecture_layout:before {
        display: none;
    }

    .box-project.show-content .cover-hidden-content {
        display: none;
    }

    div.box-project div.project-description {
        margin-top: 0;
    }

    .box-project .sections .next {
        display: none;
    }
}
