/**
*
*
* Header desktop
*
*
**/


#cmplz-document{
    margin: 0 auto !important;
    padding: 5rem 0 !important;
}

.resultat_menu {
    padding: 0px !important;
    line-height: 65px !important;
    align-items: center;
    display: flex;
    text-align: initial;
    width: inherit;
}

.resultat_menu a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-transform: initial;
    margin-left: 3%;
    font-size: 15px !important;
}

#header-petit {
    display: none;
}

body {
    margin-top: 110px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 9999;
    box-shadow: 0px 3px 6px #00000029;
}

header .container_row.header_bottom_left a,
header .header_bottom_right a,
header i {
    color: var(--maron-std);
    font-size: 1em;
    font-weight: 500;
    font-weight: 600;
    padding: 0px 10px;
}

header a,
header .icon_row,
header .icon_label_container_container {
    color: var(--gray-secondary-std);
    font-size: 13pt;
    cursor: pointer;
}

.header_info_top_right>div:nth-child(1)>div:nth-child(1)>p:nth-child(2) {
    margin: 0;
    padding: 0;
}


header .icon_row>* {
    padding: 0 1em;
}

header .colonne {
    align-items: center;
}


/* COLONNE GAUCHE */


/* ============================================================== */

header .colonne.left_colonne {
    justify-content: space-evenly;
}


/* ----------------------------------------- */


/* [X]| |[ ] */


/* [ ]| |[ ] */

header .container_row.header_info_link {
    padding-left: 60px;
}

header .container_row.header_info_link>* {
    margin: 10px;
}

header .container_row.header_info_link>a:hover {
    color: var(--green-secondary-std);
}


/* ----------------------------------------- */


/* [ ]| |[ ] */


/* [X]| |[ ] */

header .container_row.header_bottom_left {
    padding-left: 60px;
    align-items: center;
    justify-content: space-between;
}

header .container_row.header_bottom_left>* {
    margin: 10px;
}

header .container_row.header_bottom_left>a:hover {
    color: var(--maron-secondary-std);
}

#header_menu {
    position: relative;
    width: 100%;
}

#header_menu_drop_down_container {
    position: absolute;
    background-color: white;
    z-index: 2;
    width: 200%;
    left: -2px;
    padding: 0 2em;
    display: none;
    top: 40px;
    min-width: 700px;
    max-width: 800px;
}

#header_menu_drop_down_left_colonne {}

#header_menu_drop_down_left_colonne .header_menu_item {
    border: var(--gray-std) 1px solid;
    padding: 1em 2em;
    color: var(--maron-std);
    width: 100%;
    cursor: pointer;
    font-family: 'Roboto', sans-serif !important;
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%);
}

#header_menu_drop_down_left_colonne .header_menu_item:hover a {
    color: white;
}

header .container_row.header_bottom_left a {
    padding: 0;
}

#header_menu_drop_down_left_colonne .header_menu_item:hover {
    background-color: var(--maron-secondary-std);
}

#header_menu_drop_down_right_colonne {
    align-items: initial;
    padding: 2em 2em;
    width: 100%;
}

#header_menu_drop_down_right_colonne ul {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    list-style: none;
    height: 100%;
    width: 100% !important;
}

#header_menu_drop_down_right_colonne ul li a {
    color: var(--gray-secondary-std);
    color: var(--green-std);
    padding: 5px 0;
}

#header_menu_drop_down_right_colonne ul li a:hover {
    color: var(--maron-secondary-std);
}

#header_menu_drop_down_right_colonne .resultat_menu img {
    display: none;
}

header .header_bottom_right a {
    font-weight: initial;
    text-transform: uppercase;
    font-size: 14px;
}


/* ----------------------------------------- */


/* [ ]|X|[ ] */


/* [ ]|X|[ ] */


/* CENTRE */

header img.logo {
    width: 150px;
    height: auto;
}

header .colonne.logo-header {
    justify-content: center;
    padding: 10px 0;
    max-width: 300px;
}


/* COLONNE DROITE */


/* ============================================================== */

header .colonne.right_colonne,
header .colonne.right_colonne * {
    justify-content: space-evenly;
}

header .icon_label_container a {
    color: var(--maron-std);
    font-size: 16px;
}

header .icon_label_container a:hover {
    color: var(--green-std);
}

/* ----------------------------------------- */


/* [ ]| |[X] */


/* [ ]| |[ ] */

header .container_row.header_info_top_right {
    justify-content: space-evenly;
}

header .container_row.header_info_top_right>a:hover {
    color: var(--maron-secondary-std);
}

header .container_row.header_bottom_right {
    padding: 0 4em;
    justify-content: space-evenly;
}


/* ----------------------------------------- */


/* [ ]| |[ ] */


/* [ ]| |[X] */

header .container_row.header_bottom_right>a:hover {
    color: var(--maron-secondary-std);
}


/*
*
*
*
* MEDIA
*
*
*
*/

@media screen and (max-width: 1490px) {
    #header_menu_drop_down_container {
        top: 58px;
    }
}


/* 1400px */

@media screen and (max-width: 1400px) {
    header .logo-header {
        width: max-content;
        padding: 0% 3%;
        min-width: 250px;
    }

    header .container_row {
        flex-wrap: nowrap;
    }

    #header_menu_drop_down_container {
        top: 40px;
    }
}


/* 1250px */

@media screen and (max-width: 1250px) {
    html body header .container_row .logo-header {
        width: max-content !important;
    }

    #header_menu_drop_down_container {
        top: 58px;
    }

    body {
        margin-top: 115px;
    }
}


/* 1100px */

@media screen and (max-width: 1100px) {
    header .container_row.header_bottom_right {
        flex-direction: column;
    }

    header .container_row.header_bottom_right a {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    header .container_row.header_bottom_left {
        flex-direction: column;
    }

    body {
        margin-top: 138px;
    }

    #header_menu_drop_down_container {
        top: 76px;
    }
}


/* 850px */

@media screen and (max-width: 850px) {
    body {
        margin-top: 75px;
    }

    #header-grand {
        display: none;
    }

    #header-petit {
        display: flex;
        position: fixed;
        top: 0;
    }

    /* logo */
    .logo-header-petit>a:nth-child(1)>img:nth-child(1) {
        width: 120px;
    }

    /* recherche */
    .search_bar_container {
        height: 50px !important;
        width: 45%;
        margin-top: 20px;
    }

    .search_bar_container .search_icon {
        height: 30px !important;
        padding-top: 20px;
    }

    .search_bar_container input {
        width: 100%;
        height: 48px !important;
    }

    .list_search .resultat img {
        display: none;
    }

    /* Dimension de la zone cliquable pour le hamburger */
    #header-petit input#burger {
        display: block;
        width: 35px;
        height: 32px !important;
        position: absolute;
        right: 28px;
        top: 28px;
        cursor: pointer;
        opacity: 0;
        z-index: 2000;
    }

    /* Visuel du hamburger */
    #header-petit span {
        display: block;
        width: 25px;
        height: 2px !important;
        position: absolute;
        background-color: var(--beige-secondary-std);
        z-index: 1;
        right: 11px;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
    }

    /* Transformation des spans */
    #header-petit .span-1 {
        transform-origin: 0% 0%;
        top: 18px;
    }

    #header-petit .span-2 {
        top: 25px;
    }

    #header-petit .span-3 {
        transform-origin: 0% 0%;
        top: 33px;
    }

    #header-petit input#burger:checked~.span-burger .span-1 {
        transform: rotate(38deg);
    }

    #header-petit input#burger:checked~.span-burger .span-2 {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #header-petit input#burger:checked~.span-burger .span-3 {
        transform: rotate(-38deg);
    }

    #header-petit .span-burger {
        background-color: var(--color-1);
        width: 50px;
        position: absolute;
        right: 25px;
        top: 20px;
        height: 100%;
    }

    /* Menu arrivant du hamburger */
    #header-petit #menu {
        background-color: white;
        transform-origin: 0% 0%;
        transform: translate(300%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        position: absolute;
        top: 75px;
        line-height: initial;
        overflow: auto;
        max-height: 400px;
        width: 50%;
    }

    /* Dimension du menu */
    #header-petit input#burger:checked~#menu {
        transform: translate(100%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    }

    /* Permet de pouvoir cliquer sur le hamburger */
    #header-petit input#burger:checked~ul {
        transform: none;
    }

    /* autres */
    .logo-header-petit {
        width: 25%;
        margin-left: 5%;
        margin-right: 5%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-header-petit a {
        display: flex;
        align-items: center;
    }

    #menu .entreprises-petit {
        border: none;
        padding-top: 15px;
    }

    #menu .entreprises-petit a,
    #menu .formation-cpf-petit a,
    #menu .centre-de-formation-petit a {
        color: var(--maron-std);
        text-transform: uppercase;
    }

    #menu div {
        line-height: 30px;
        border-bottom: 1px solid var(--beige-std);
        padding: 5px 25px;
    }

    #menu div a {
        color: var(--beige-secondary-std);
    }

    #menu .icon_row {
        background-color: var(--maron-secondary-std);
        border: none;
        justify-content: center;
    }

    #menu .contact-petit a,
    #menu .eligible-petit a,
    #menu .icon_label_container p,
    #menu .icon_label_container a,
    #menu .icon_label_container i {
        color: var(--gray-secondary-std);
    }

    #menu .contact-petit,
    #menu .eligible-petit,
    #menu .icon_row div,
    #menu .formation-cpf-petit,
    #menu .centre-de-formation-petit {
        border: none;
    }

    #menu i {
        color: white;
    }
}


/* 650px */

@media screen and (max-width: 650px) {
    #header-petit #menu {
        width: 75%;
    }

    #header-petit input#burger:checked~#menu {
        transform: translate(34%, 0);
    }

    header a,
    header .icon_row,
    header .icon_label_container_container {
        font-size: 11pt;
    }
}


/* 450px */

@media screen and (max-width: 450px) {
    #header-petit #menu {
        width: 95%;
    }

    #header-petit input#burger:checked~#menu {
        transform: translate(10%, 0);
    }

    .logo-header-petit>a:nth-child(1)>img:nth-child(1) {
        width: 90px
    }

    #header-petit #menu {
        top: 72px;
    }

    body {
        margin-top: 70px;
    }

    header a,
    header .icon_row,
    header .icon_label_container_container {
        font-size: 10pt;
    }
}