.mainheader {
    position: sticky;
    top: 0px;
    z-index: var(--z-index--mainheader);

    border-bottom: 1px solid var(--crf--middle-grey-2);
}
@media screen and (width: 600px) {
    .mainheader {
        top: 0px;
    }
}
@media screen and (min-width: 601px) {
    .mainheader {
        top: var(--wp-admin--admin-bar--height, 0px);
    }
}

.mainheader__logo__img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
	contain-intrinsic-size: revert !important;
}

.mainheader__burger-btn {
    padding: 3px 14px 3px 8px;
    font-size: 12px;
    line-height: 16px;
    border: 1px solid var(--crf--middle-grey-2);
    border-radius: 4px;
    --icon-url: url('./../images/svg/menu.svg');
}
.mainheader__burger-btn::before {
    width: 30px;
    height: 30px;
}

.mainmenu__entries {
    padding: 20px 20px 20px 22px;
    flex: 2;
}
.mainheader__close_btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--crf--shiny-blue);
    border-radius: 30px;
    background-image: url('./../images/svg/cross--blue.svg');
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;

    margin-bottom: 30px;
}
.mainheader__burger__list {
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
}
.mainheader__burger__list [data-accordion-summary]::after {
    background-image: url('./../images/svg/arrow-down--no-tail--blue.svg');
    border: 1px solid var(--crf--shiny-blue);
    border-radius: 15px;
}

.mainheader__searchbar-container {}

.mainheader__connexion-btn {}

.mainheader__help-btn {}




.no-scroll {
    overflow-y: hidden;
}

.mainheader {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    background-color: var(--crf--white);
}
.mainheader__logoburger {
    padding: 15px 0px 15px 30px;
    display: flex;
    flex-flow: row nowrap;
    column-gap: 30px;
    align-items: center;
}






.mainheader__bot-btn {
    position: fixed;
}


.mainheader__connexion-btn,
.mainheader__help-btn,
.mainheader__job-offers-btn {
    display: inline-flex;
}
.mainheader__connexion-btn::before,
.mainheader__help-btn::before,
.mainheader__job-offers-btn::before,
.mainheader__burger-btn::before {
    content: "";
    display: block;
    flex: none;

    background-image: var(--icon-url);
    background-size: 100% 100%;
    background-position: center;
}
.mainheader__connexion-btn::before,
.mainheader__help-btn::before,
.mainheader__job-offers-btn::before {
    width: 24px;
    height: 24px;
}



/* Surheader
   ========================================================================== */
.surheader {
    position: relative;
    background-color: var(--crf--blue);
    color: var(--crf--white);
    font-size: 14px;
    line-height: 16px;
    padding: 5px 100px;
    width: 100%;

    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between ;
    font-size: 14px;
    line-height: 16px;

    min-height: 40px;
}
/*.surheader > p {*/
/*}*/

.surheader .surheader__text {
    width: 100%;
    display: flex;
    align-items: center;
}

.surheader a {
    color: inherit;
}
.surheader__close-btn {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
}
.surheader__picto {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

@media screen and (max-width: 768px) {
    .surheader {
        padding: 5px 50px;
    }
    .surheader__close-btn {
        right: 15px;
        font-size: 11px;
    }
}


/* Burger menu
   ========================================================================== */
.burger-menu {
    position: fixed;
    inset: var(--wp-admin--admin-bar--height, 0px) 0px 0px;
    z-index: var(--z-index--burger-menu);
    background-color: var(--crf--white);
    overflow-y: scroll;


    display: none; /* default */
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-start;
}
.mainheader[data-is-open="true"] + .burger-menu {
    display: flex;
}

.main-menu-item.depth--1 {
    color: var(--crf--shiny-blue);
}
.main-menu-item.depth--2 {
    color: var(--crf--black);
    font-size: 24px;
    line-height: 42px;
}

.mainmenu__additional_links {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--crf--middle-grey-2);


    font-size: 26px;
    line-height: 34px;
    color: var(--crf--shiny-blue);
}


/* Connexion Popin
   ========================================================================== */
.crf-connexion-popin-container {
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0px;
    z-index: var(--z-index--mainheader);
    background: rgba(0, 0, 0, 0.75);

    display: none;
}
.crf-connexion-popin-container.visible {
    display: flex;
}
.crf-connexion-popin {
    background-color: var(--crf--white);
    padding: 20px 25px 54px;

    position: relative;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    gap: 20px;
}
.crf-connexion-popin__close-btn {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 40px;
    height: 40px;

    border: 1px solid var(--crf--shiny-blue);
    border-radius: 30px;
    background-image: url(./../images/svg/cross--blue.svg);
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 30px;
}
.crf-connexion-popin__title {
    width: 100%;
    text-align: center;
    font-size: 32px;
    line-height: 32px;
    font-weight: 300;
    color: var(--crf--shiny-blue);
    margin-top: 80px;
}
.crf-connexion-popin__card {
    border-radius: 4px;
    color: var(--crf--white);

    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    padding: 40px 28px 28px;
    flex: 1 1 300px;
    row-gap: 10px;
}
.crf-connexion-popin__card--applicant {
    background-color: var(--crf--shiny-blue);
}
.crf-connexion-popin__card--sso {
    background-color: var(--crf--blue);
}
.crf-connexion-popin__card__title {
    font-size: 20px;
    line-height: 26px;
    font-weight: 300;
    text-align: center;
}
.crf-connexion-popin__btn {
    margin-top: auto;
}
.crf-connexion-popin__card .picto {
    width: 51px;
    height: 45px;
    object-fit: contain;
    object-position: center;
}

@media screen and (max-width: 767px) {
    .mainheader__burger__list {
        row-gap: 25px;
    }
    .main-menu-item.depth--1 {
        font-size: 30px;
        line-height: 34px;
    }
    .mainheader__logoburger {
        width: 100%;
    }
    .mainheader__mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        background-color: var(--crf--white);
        width: 100%;
        height: var(--bottom-bar--height);

        display: grid;
        grid-template-columns: repeat(4, 1fr);

        color: var(--crf--black);
        border-top: 1px solid var(--crf--middle-grey-2);
        font-weight: 400;
    }


    .mainheader__job-offers-btn,
    .mainheader__connexion-btn,
    .mainheader__help-btn,
    .mainheader__matching-cv-btn {
        font-size: 9px;
        line-height: 16px;
        flex: 1;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    .mainheader__matching-cv-btn {
        display: inline-flex;
    }

    .mainheader__job-offers-btn {
        order: -1;
    }


    .mainheader__bot-btn {
        right: 11px;
        bottom: calc(var(--bottom-bar--height) + 15px);
    }

    .mainheader__connexion-btn::before,
    .mainheader__help-btn::before,
    .mainheader__job-offers-btn::before,
    .mainheader__matching-cv-btn::before {
        width: 35px;
        height: 35px;
    }
    .mainheader__matching-cv-btn::before {
        content: "";
        display: block;
        /*width: 24px;
        height: 24px;*/
        flex: none;


        background-image: var(--icon-url);
        background-size: 100% 100%;
        background-position: center;
    }
    .mainheader__job-offers-btn::after {
        content: none;
    }

    .mainheader__burger__list {
        margin-right: 4px;
    }
}
@media screen and (min-width: 768px) {

    .main-menu-item.depth--1 {
        font-size: 36px;
        line-height: 62px;
    }

    .mainheader__mobile-bottom-bar {
        display: flex;
        flex-flow: row nowrap;
        column-gap: 20px;
    }

    .mainheader__close_btn {
        width: 60px;
        height: 60px;
    }
    .mainheader__connexion-btn,
    .mainheader__help-btn,
    .mainheader__job-offers-btn {
        flex: none;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }
    .mainheader__connexion-btn::before,
    .mainheader__help-btn::before {
        width: 30px;
        height: 30px;
    }
    .mainheader__job-offers-btn::before {
        width: 24px;
        height: 24px;
    }
    .mainheader__connexion-btn,
    .mainheader__help-btn {
        font-size: 14px;
        line-height: 32px;
    }


    .mainheader__job-offers-btn {
        --primary-color: var(--crf--shiny-blue);
        --secondary-color: var(--crf--white);
        display: inline-flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        line-height: 16px;
        font-weight: 500;
        text-align: center;
        box-sizing: border-box;
        border-radius: 4px;
        border: 2px solid var(--primary-color);
        user-select: none;
        cursor: pointer;
        color: var(--secondary-color);
        background-color: var(--primary-color);
        transition-property: background-color, border-color;
        transition-duration: 300ms;
        transition-timing-function: ease;
        transition-delay: 0s;
        position: relative;
        overflow: hidden;
        transform: translate3d(0, 0, 0);
        min-width: 0px;
        font-size: 13px;
        padding: 8px 20px 8px 12px;
        margin-right: 25px;
    }
    .mainheader__job-offers-btn:after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
        background-repeat: no-repeat;
        background-position: 50%;
        transform: scale(10, 10);
        opacity: 0;
        transition: transform 0.5s, opacity 1s;
    }

    .mainheader__job-offers-btn:active:after {
        transform: scale(0, 0);
        opacity: .3;
        transition: 0s;
    }
    .mainheader__matching-cv-btn {
        display: none;
    }


    .mainheader__bot-btn {
        right: 22px;
        bottom: 25px;
    }

    .mainheader__burger__list {
        margin-right: 14px;
    }


    .crf-connexion-popin {
        max-width: 986px;
        margin: 20px;
        flex-flow: row wrap;
        justify-content: stretch;
    }
    .crf-connexion-popin__close-btn {
        width: 60px;
        height: 60px;
    }
    .crf-connexion-popin__title {
        font-size: 36px;
        line-height: 36px;
        margin-top: 50px;
    }

    .crf-connexion-popin__card {
        padding: 40px 28px;
        row-gap: 14px;

        position: relative;
    }
    .crf-connexion-popin__card::before {
        content: "";
        display: block;
        position: absolute;
        inset: 0px;
        background-image: url('./../images/svg/logo-carrefour--white.svg');
        background-repeat: no-repeat;
        opacity: 0.1;
        background-attachment: fixed;
        background-size: 986px;
        background-position: center;
        pointer-events: none;
    }
    .crf-connexion-popin__card__title {
        font-size: 32px;
        line-height: 36px;
    }
    .crf-connexion-popin__card .picto {
        width: 81px;
        height: 53px;
    }

    .mainheader__job-offers-btn::before {
        filter: invert(1) brightness(100);
    }
}

@media screen and (max-width: 767px) {
    :root {
        --bottom-bar--height: 60px;
    }
}
@media screen and (max-width: 991px) {
    :root {
        --logoburger-section-height: 62px;
        --search-section-height: 49px;
    }
    .mainheader {
        /*
        height: var(--logoburger-section-height);
        */
    }
    /*
    .mainheader[data-sticky-search="true"] {
        height: calc(var(--logoburger-section-height) + var(--search-section-height));
    }
    */
    .mainheader__logoburger {
        height: var(--logoburger-section-height);
        padding: 12px 25px;

        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;

        background-color: var(--crf--white);
    }

    .mainheader__logo__link {
        height: 30px;
    }

    .mainheader__searchbar-container {
        z-index: -1;
        position: relative;
        width: 100%;
        height: var(--search-section-height);
        background-color: var(--crf--white);
        transform: translateY(-100%);
        padding: 0px 25px;
    }
    .mainheader[data-sticky-search="true"] > .mainheader__searchbar-container {
        transform: translateY(0%);
    }
    .mainmenu__entries {
        display: flex;
        flex-flow: column nowrap;
    }
    .mainheader__close_btn {
        margin-left: auto;
    }

    /* Cards
       ========================================================================== */
    .mainmenu__cards {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    /* Navbar
       ========================================================================== */
    :root {
        --logoburger-section-height: 80px;
    }
    .mainheader__burger-btn {
        padding: 10px 14px;
    }
    .mainheader__burger__list [data-accordion-summary]::after {
        content: none;
    }

    .mainheader__searchbar-container {
        flex: 1;
    }

    .mainheader__mobile-bottom-bar {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        column-gap: 20px;
    }


    .mainheader__logoburger {
        order: 1;
    }
    .mainheader__searchbar-container {
        order: 2;
    }
    .mainheader__mobile-bottom-bar {
        order: 3;
    }

    .burger-menu {
        flex-direction: row;
    }

    /* Card
       ========================================================================== */
    .mainmenu__cards {
        background-color: var(--crf--shiny-blue);
        color: var(--crf--white);

        flex: 1;
        min-width: 400px;
        max-width: 600px;


        position: sticky;
        top: 0px;
        max-height: 100%;
    }
    .mainmenu__card {
        display: flex;
        flex-flow: column nowrap;
        align-items: flex-start;
        justify-content: space-between;

        height: 100%;
        padding: 70px;

        position: absolute;
        inset: 0px;

        opacity: 0; /* default */
        transition: opacity 0.2s ease 0s;
    }
    .mainmenu__card.active {
        opacity: 1;
    }
    .mainmenu__card__img {
        width: 100%;
        height: 10px;
        flex: 1;
    }
    .mainmenu__card__title {
        font-size: 18px;
        line-height: 28px;
        font-weight: 700;
        margin-top: 31px;
    }
    .mainmenu__card__text {
        font-size: 16px;
        line-height: 24px;
        font-weight: 300;
        margin-top: 10px;
    }
    .mainmenu__card__cta {
        margin-top: 25px;
    }
    .mainmenu__card__title,
    .mainmenu__card__text,
    .mainmenu__card__cta {
        flex: none;
    }
}



/* KMB over */
@media screen and (max-width: 991px) {
    #kmb-intconv-container div[class*=searchBarPage-module__kmb_searchbar_page_wrapper__] input[class*=searchBar-module__searchbar_input__] {
        height: 40px;
    }
    #kmb-intconv-container div[class*=searchBarPage-module__kmb_searchbar_page_wrapper__] button[class*=searchBar-module__button_search__] {
        width: 40px;
        height: 40px;
    }
    #kmb-intconv-container div[class*=searchBarPage-module__kmb_searchbar_page_wrapper__] div[class*=searchBar-module__kmb_searchbar_wrapper__] button[class*=searchBar-module__microphone_container__] {
        top: 0px;
    }
    #kmb-intconv-container div[class*=searchBarPage-module__kmb_searchbar_page_wrapper__] img[class*=searchBar-module__searchbar_image__] {
        width: 16px;
        height: 16px;
    }
}







/* HEADER V2 */
/*.main-nav {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0p);
    z-index: var(--z-index--mainheader);

    display: grid;
    grid-template-areas: "event  event"
                         "logo   burger"
                         "search search";
}
.main-nav__event {
    grid-area: event;
}
.main-nav__logo {
    grid-area: logo;
}
.main-nav__burger {
    grid-area: burger;
}
.main-nav__search {
    grid-area: search;
}
.main-nav__ctas {
    position: fixed;
    bottom: 0px;
}
@media screen and (min-width: 1200px) {
    .main-nav {
        grid-template-areas: "event event  event  event"
                             "logo  burger search ctas";
    }
    .main-nav__ctas {
        position: static;
        grid-area: ctas;
    }
}*/





#kmb-ulwb-container .launcher-icon {
    right: 25px !important;
    bottom: calc(var(--bottom-bar--height, 0px) + 25px) !important;
}
#kmb-ulwb-container .app .launcher-wrapper .bubble-wrapper {
    right: 25px !important;
    bottom: calc(110px + var(--bottom-bar--height, 0px)) !important;
}
