/***** MENU DE NAVIGATION  *****/

/* information générale */

/* -webkit > Saf3.2+, Chrome */
/* -moz > FF4+ */
/* -ms > IE10? */
/* -o > Opera 10.5+ */



/********* Réseaux sociaux *********/

#reseauxSociaux {
    width: 40px;
    height: 120px;
    display: none;
    position: fixed;
    z-index: 6000;
    top: 50px;
    right: 50px;
    visibility: visible;
    opacity: 1;
}

@media only screen and (max-width: 768px) {
    #reseauxSociaux {
        top: 20px;
    }
}

#reseauxSociaux.reseauxVisible {
    display: block;
}

#facebook,
#instagram,
#linkedin {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
}

#facebook {
    background-image: url(../images/facebookMenu.png);
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

#facebook:hover {
    background-image: url(../images/facebookMenuHover.png);
}

#instagram {
    background-image: url(../images/instagramMenu.png);
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

#instagram:hover {
    background-image: url(../images/instagramMenuHover.png);
}

#linkedin {
    background-image: url(../images/linkedinMenu.png);
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

#linkedin:hover {
    background-image: url(../images/linkedinMenuHover.png);
}

/********* Icône Burger - Appareil mobile *********/


#menuContenant {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 90px;
    background-color: transparent;
    z-index: 4000;
}

@media only screen and (max-width: 768px) {
    #menuContenant {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background-color: #ffffff;
        z-index: 4000;
    }
}

/* Contenant du bloc icône menu au coin supérieur droit */
#menuAnim {
    display: block;
    position: fixed;
    left: 40px;
    top: 40px;
    height: 66px;
    width: 66px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0);
}

@media only screen and (max-width: 768px) {
    #menuAnim {
        left: 14px;
        top: 6px;
    }
}


/* Ce style gère le filet centrale de l’icône menu */
#menuAnim .menuIcone {
    display: inline-block;
    position: absolute;
    left: 28px;
    top: 50%;
    bottom: auto;
    right: auto;
    width: 30px;
    height: 4px;
    transition-timing-function: ease-out;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-color: #0046dd;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    -ms-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
    border-radius: 6px;
}


/* Ce style gère les filets du bas et du haut de l’icône menu */
#menuAnim .menuIcone::before,
#menuAnim .menuIcone::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #0046dd;
    right: 0;
    transition-timing-function: ease-in-out;
    -webkit-transition: -webkit-transform 0.7s, top 0.7s, background-color 0s;
    -moz-transition: -moz-transform 0.7s, top 0.7s, background-color 0s;
    -ms-transition: -ms-transform 0.7s, top 0.7s, background-color 0s;
    -o-transition: -o-transform 0.7s, top 0.7s, background-color 0s;
    transition: transform 0.7s, top 0.7s, background-color 0s;
    border-radius: 6px;
}


/* Distance entre le filet du haut et la ligne du centre */
#menuAnim .menuIcone::before {
    top: -0.55em;
}


/* Distance entre le filet du bas et la ligne du centre */
#menuAnim .menuIcone::after {
    top: 0.55em;
}


/* Rendre invisible le filet centrale de l’icône menu */
#menuAnim .menuIcone.is-clicked {
    background-color: rgba(255, 255, 255, 0);
    text-decoration: none;
}


/* Assigner blanc aux deux barres haut et bas de l’icône menu 
#menuAnim .menuIcone.is-clicked::before,
#menuAnim .menuIcone.is-clicked::after {
    background-color: #0046dd;
}*/


/* Animation de rotation de le filet du haut sur clique */
#menuAnim .menuIcone.is-clicked::before {
    top: 0;
    transition-timing-function: ease-in-out;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}


/* Animation de rotation de le filet du bas sur clique */
#menuAnim .menuIcone.is-clicked::after {
    top: 0;
    transition-timing-function: ease-in-out;
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
}

/* icone sur hover */
#menuAnim:hover {
    cursor: pointer;
}





/********* MENU PRINCIPAL - NIVEAU 1 *********/


#xArrierePlan {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    background: transparent url(../images/xMenu.png) bottom right/cover no-repeat;
    opacity: 0;


    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

@media only screen and (max-width: 768px) {
    #xArrierePlan {
        background: transparent url(../images/xMenu.png) bottom right/700px no-repeat;
    }
}

#xArrierePlan.is-visible {
    opacity: 1;
}


/* Contenant du menu principal */
#menuPrincipal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 3000;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;

    background: rgba(0, 0, 0, 0) url(../images/xFondBlanc.svg) no-repeat 50% -4000px;
    background-size: 130000px 130000px;

    -webkit-overflow-scrolling: touch;

    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);

    -webkit-transition: transform 1s ease-in-out, background 1s ease-in-out;
    -moz-transition: transform 1s ease-in-out, background 1s ease-in-out;
    -ms-transition: transform 1s ease-in-out, background 1s ease-in-out;
    -o-transition: transform 1s ease-in-out, background 1s ease-in-out;
    transition: transform 1s ease-in-out, background 1s ease-in-out;
}

/* Animation - style assigné par jQuery - menu visible */
#menuPrincipal.is-visible {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    text-decoration: none;
}

#menuPrincipal.xAgrandissement {
    background: rgba(0, 0, 0, 0) url(../images/xFondBlanc.png) no-repeat 50% -120px;
    background-size: 2000px 2000px;
}

/* Animation de déplacement du menu avec changement d’opacité */
#elementsMenu {
    display: block;
    position: absolute;
    width: 300px;
    bottom: 130px;
    left: -100px;
    background-color: transparent;
    width: 100%;
    opacity: 0;
    padding-left: 0;
    z-index: 20;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

@media only screen and (max-width: 768px) {
    #elementsMenu {
        width: 100%;
        bottom: none;
        top: 160px;
        left: 0px;
    }
}

#elementsMenu.menuVisible {
    opacity: 1;
}

/* Typographie des éléments du menu */

#menuPrincipal li {
    font-family: "Exponentiel", sans-serif;
    font-size: 4em;
    line-height: 0.7em;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-bottom: 0;
    list-style-type: none;
    text-align: left;
    margin-left: 15%;
    display: block;
}

@media only screen and (max-width: 768px) {
    #menuPrincipal li {
        font-size: 2.2em;
        line-height: 0.7em;
        margin-left: 10%;
    }
}


/* Typographie - Hyperlien assigné au éléments du menu */
#menuPrincipal a {
    display: inline-block;
    text-decoration: none;
    -webkit-transition: color 0.7s;
    -moz-transition: color 0.7s;
    -ms-transition: color 0.7s;
    -o-transition: color 0.7s;
    transition: color 0.7s;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Titre 1 */
#menuPrincipal ul li:nth-child(1) a {
    -webkit-text-stroke: 0.2pt #6FFF00;
    -webkit-text-fill-color: white;
    background: transparent;
    color: #ffffff;
}

@media only screen and (max-width: 768px) {
    #menuPrincipal ul li:nth-child(1) a {
        background: transparent;
        background: -webkit-linear-gradient(to right, #FFEB00 0%, #6FFF00 100%);
        background: -moz-linear-gradient(to right, #FFEB00 0%, #6FFF00 100%);
        background: linear-gradient(to right, #FFEB00 0%, #6FFF00 100%);
        -webkit-text-stroke: 0em #6FFF00;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

#menuPrincipal ul li:nth-child(1) a:hover {
    background: transparent;
    background: -webkit-linear-gradient(to right, #FFEB00 0%, #6FFF00 100%);
    background: -moz-linear-gradient(to right, #FFEB00 0%, #6FFF00 100%);
    background: linear-gradient(to right, #FFEB00 0%, #6FFF00 100%);
    -webkit-text-stroke: 0em #6FFF00;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Titre 2 */
#menuPrincipal ul li:nth-child(2) a {
    -webkit-text-stroke: 0.2pt #00E0FF;
    -webkit-text-fill-color: white;
    background: transparent;
    color: #ffffff;
    display: inline-block;
}

#menuPrincipal ul li:nth-child(2) a::after {
    content: "";
    width: 28px;
    height: 38px;
    display: inline-block;
    background-image: none;
    background-repeat: no-repeat;
    background-size: 28px 38px;
}

#menuPrincipal ul li:nth-child(2) a:hover::after {
    content: "";
    background-image: url(../images/exposantFinissants.png);
}


@media only screen and (max-width: 768px) {
    #menuPrincipal ul li:nth-child(2) a {
        background: transparent;
        background: -webkit-linear-gradient(to right, #6FFF00 0%, #00E0FF 100%);
        background: -moz-linear-gradient(to right, #6FFF00 0%, #00E0FF 100%);
        background: linear-gradient(to right, #6FFF00 0%, #00E0FF 100%);
        -webkit-text-stroke: 0em #6FFF00;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

#menuPrincipal ul li:nth-child(2) a:hover {
    background: transparent;
    background: -webkit-linear-gradient(to right, #6FFF00 0%, #00E0FF 100%);
    background: -moz-linear-gradient(to right, #6FFF00 0%, #00E0FF 100%);
    background: linear-gradient(to right, #6FFF00 0%, #00E0FF 100%);
    -webkit-text-stroke: 0em #6FFF00;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Titre 3 */
#menuPrincipal ul li:nth-child(3) a {
    -webkit-text-stroke: 0.2pt #0041E0;
    -webkit-text-fill-color: white;
    background: transparent;
    color: #ffffff;
}

#menuPrincipal ul li:nth-child(3) a::after {
    content: "";
    width: 28px;
    height: 38px;
    display: inline-block;
    background-image: none;
    background-repeat: no-repeat;
    background-size: 28px 38px;
}

#menuPrincipal ul li:nth-child(3) a:hover::after {
    content: "";
    background-image: url(../images/exposantEnseignant.png);
}

@media only screen and (max-width: 768px) {
    #menuPrincipal ul li:nth-child(3) a {
        background: transparent;
        background: -webkit-linear-gradient(to right, #00E0FF 0%, #0041E0 100%);
        background: -moz-linear-gradient(to right, #00E0FF 0%, #0041E0 100%);
        background: linear-gradient(to right, #00E0FF 0%, #0041E0 100%);
        -webkit-text-stroke: 0em #0041E0;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

#menuPrincipal ul li:nth-child(3) a:hover {
    background: transparent;
    background: -webkit-linear-gradient(to right, #00E0FF 0%, #0041E0 100%);
    background: -moz-linear-gradient(to right, #00E0FF 0%, #0041E0 100%);
    background: linear-gradient(to right, #00E0FF 0%, #0041E0 100%);
    -webkit-text-stroke: 0em #0041E0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Titre 4 */
#menuPrincipal ul li:nth-child(4) a {
    -webkit-text-stroke: 0.2pt #120038;
    -webkit-text-fill-color: white;
    background: transparent;
    color: #ffffff;
}

#menuPrincipal ul li:nth-child(4) a::after {
    content: "";
    width: 28px;
    height: 38px;
    display: inline-block;
    background-image: none;
    background-repeat: no-repeat;
    background-size: 28px 38px;
}

#menuPrincipal ul li:nth-child(4) a:hover::after {
    content: "";
    background-image: url(../images/exposantPartenaires.png);
}

@media only screen and (max-width: 768px) {
    #menuPrincipal ul li:nth-child(4) a {
        background: transparent;
        background: -webkit-linear-gradient(to right, #11009F 0%, #120038 100%);
        background: -moz-linear-gradient(to right, #11009F 0%, #120038 100%);
        background: linear-gradient(to right, #11009F 0%, #120038 100%);
        -webkit-text-stroke: 0em #120038;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

#menuPrincipal ul li:nth-child(4) a:hover {
    background: transparent;
    background: -webkit-linear-gradient(to right, #11009F 0%, #120038 100%);
    background: -moz-linear-gradient(to right, #11009F 0%, #120038 100%);
    background: linear-gradient(to right, #11009F 0%, #120038 100%);
    -webkit-text-stroke: 0em #120038;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
