:root {
    --color-dark-blue: #26478C;
}

.header-container {
    position: absolute;
    z-index: 10;
    width: 100%;
}

#theHeader {
    height: 100px;
    padding: 0 2.5%;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
}

.white-contanier.underHeader {
    height: 150px;
    background-color: white;
}

#theHeader img {
    max-height: 76px;
    width: auto;
}

#theHeader .logo {
    position: absolute;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    top: 10px;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
}

#theHeader .logo a {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    display: block;
    margin: auto;
}

#theHeader .bloc-2.emilies-container a {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    display: block;
}

#theHeader .bloc-2 {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}

#theHeader .logo img {
    margin: auto;
}

.header-button-container {
    justify-content: flex-end;
    display: flex;
    column-gap: 3rem;
}

#theHeader .bloc-2.header-button-container p {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-family: 'Barlow';
}

#theHeader .bloc-2.header-button-container .row {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

#theHeader .bloc-2.header-button-container .row>* {
    -ms-flex-preferred-size: content;
    flex-basis: content;
}

#theMenu {
    height: 50px;
    /* border-bottom: 1px solid rgb(38, 71, 140, 0.5); */
    padding: 0 50px;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#toggle-menu {
    display: none;
    position: absolute;
    top: 5vw;
    right: 2.5%;
    z-index: 20;
    width: 30px;
    height: 24px;
}

#toggle-menu .burger-menu,
#toggle-menu .burger-menu::before,
#toggle-menu .burger-menu::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--main-color);
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#toggle-menu .burger-menu {
    margin-top: 11px;
}

#toggle-menu .burger-menu::before {
    top: 11px;
}

#toggle-menu .burger-menu::after {
    top: -13px;
}

#toggle-menu:hover {
    cursor: pointer;
}

#toggle-menu.active .burger-menu {
    position: relative;
    border-bottom: none;
    height: 0px;
}

#toggle-menu.active .burger-menu::before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0;
    left: 0;
}

#toggle-menu.active .burger-menu::after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: -2px;
    left: 0;
}

#overlay.nav-menu {
    content: "";
    position: absolute;
    background: white;
    top: 0;
    left: 0;
    height: auto;
    width: 100vw;
    display: none;
    box-shadow: 0 0 20px #00000029;
    /*transform: translate(100%,0);
    transition: transform 0.3s ease-in-out;*/
}

@media screen and (max-width: 767px) {
    #overlay.nav-menu.open {
        display: block;
        /*transform: translate(0,0);*/
    }

}

#overlay .burger-button-container {
    margin: 4.5% 0;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

#overlay .bloc-3 {
    -ms-flex-preferred-size: content;
    flex-basis: content;
}

#overlay .bloc-3 a {
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

#overlay .bloc-3 a p {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

/* Navigation principale */
.menu a:hover {
    opacity: 0.8;
}

.nav-desktop {
    border-top: 1px solid rgba(38, 70, 140, 0.2);
    border-bottom: 1px solid rgba(38, 70, 140, 0.2);
}

#menu-primary-menu>li>a {
    display: flex;
    padding: 10px 0 7px;
}

#menu-primary-menu>li::after {
    content: '';
    display: flex;
    width: 0;
    height: 2px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: var(--color-dark-blue);
    transition: width .3s ease;
    margin: auto;
}

#menu-primary-menu>li:hover::after {
    width: 100%;
}

.nav-desktop a,
.nav-mobile a {
    font: normal 600 20px/40px Barlow;
    letter-spacing: 1.8px;
    color: var(--color-dark-blue);
}

.nav-desktop .menu {
    display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 6rem;
}

/* Nav burger */
#menu-primary-menu-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    row-gap: 1.5rem;
}

#menu-primary-menu-1 .menu-item-has-children {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-mobile-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 5rem 0 0;
}

.burger-button-container .logo {
    width: 170px;
}

.burger-button-container>a {
    width: auto;
}

#menu-primary-menu-1 .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#menu-primary-menu-1 .sub-menu a {
    font-weight: 300;
    opacity: 75%;
}

/* -- Sub-menu */
#menu-primary-menu .sub-menu {
    z-index: 100;
    background-color: white;
    width: 100%;
    padding: 15px 0;
    max-width: 100%;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 160px;
    left: 0;
    box-shadow: inset 5px 5px 6px #00000029;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 2rem;
    transition: visibility 0s, opacity 0.3s linear;
}
.page-id-284 #menu-primary-menu .sub-menu{
    top: 193px;
}
#menu-primary-menu .sub-menu>li::after {
    content: '|';
    color: var(--color-dark-blue);
    padding-left: 20px;
    transition: visibility 0s, opacity 0.3s linear;
}

#menu-primary-menu .sub-menu>li:last-child::after {
    content: '';
}

#menu-primary-menu>li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s linear;
}



/* New Buttons */
.button--round-l {
    overflow: hidden;
    position: relative;
    -webkit-transition: border-color 0.3s, color 0.3s;
    transition: border-color 0.3s, color 0.3s;
    transition-timing-function: ease, ease;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);

    float: left;
    display: block;
    border: none;
    background: none;
    color: inherit;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;

    background: white;
    color: var(--color-dark-blue);
    font: normal 600 14px/22px Barlow;
    letter-spacing: 1.4px;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    box-shadow: 0px 0px 6px #00000029;
}

.button--round-l::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    z-index: -1;
    -webkit-transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
    transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s, background-color 0.3s;
    transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

.button--round-l.inverted {
    background: var(--color-dark-blue);
    color: white;
}

.button--round-l:hover::before {
    opacity: 1;
    background-color: var(--color-dark-blue);
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.button--round-l.inverted:hover::before {
    opacity: 1;
    background-color: white;
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.button--round-l:hover {
    color: white;
}

.button--round-l.inverted:hover {
    color: var(--color-dark-blue);
}

#field_2_7 .ginput_container_fileupload {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#input_2_7 {
    width: 100%;
    max-width: 330px;
    margin: 0;
    position: relative;
    -webkit-transition: border-color 0.3s, color 0.3s;
    transition: border-color 0.3s, color 0.3s;
    transition-timing-function: ease, ease;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    cursor: pointer;
    float: left;
    display: block;
    border: none;
    background: none;
    color: inherit;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    background: white;
    color: var(--color-dark-blue);
    font: normal 600 14px/22px Barlow;
    letter-spacing: 1.4px;
    padding: 0.8rem 2%;
    border-radius: 30px;
    box-shadow: 0px 0px 6px #00000029;
}

#gform_submit_button_2 {
    overflow: hidden;
    position: relative;
    -webkit-transition: border-color 0.3s, color 0.3s;
    transition: border-color 0.3s, color 0.3s;
    transition-timing-function: ease, ease;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    cursor: pointer;
    float: left;
    display: block;
    border: none;
    background: none;
    color: inherit;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    background: white;
    color: var(--color-dark-blue);
    font: normal 600 14px/22px Barlow;
    letter-spacing: 1.4px;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    box-shadow: 0px 0px 6px #00000029;
}

/******************************
**** MEDIA QUERIES | BEGIN ****
******************************/

@media screen and (max-width: 1450px) {}

@media screen and (max-width: 1239px) {}

@media screen and (max-width: 1199px) {}

@media screen and (max-width: 1024px) {
    #theHeader .bloc-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 50%;
        max-width: 50%;
    }

    #overlay .bloc-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.3%;
        flex-basis: content;
        max-width: 33.3%;
    }

}

@media screen and (max-width: 991px) {}

@media screen and (max-width: 959px) {}

@media screen and (max-width: 767px) {
    #toggle-menu {
        display: block;
    }

    #theHeader .header-button-container {
        display: none;
    }

    .nav-desktop {
        display: none;
    }
}

@media screen and (max-width: 575px) {

    #theHeader,
    .white-contanier.underHeader {
        height: 70px;
    }

    #theHeader img {
        max-height: 60px;
        width: auto;
        max-width: 135px;
    }

    #theHeader .logo {
        top: 5px;
    }

    #toggle-menu {
        width: 22px;
        height: 16px;
    }

    #toggle-menu .burger-menu::after {
        top: -11px;
    }

    #toggle-menu .burger-menu::before {
        top: 9px;
    }
}


@media screen and (max-width: 480px) {
    #theHeader img {
        max-height: 45px;
        width: auto;
        max-width: 95px;
    }

    #theHeader .logo {
        top: 12px;
    }

}

/****************************
**** MEDIA QUERIES | END ****
****************************/