﻿.nav {
    padding: 0px;
}

    .nav ul {
        width: 750px;
        text-align: center;
        padding-left: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
    }

    .nav > ul > li {
        overflow: hidden;
    }

    .nav a {
        text-decoration: none;
        padding: 5px 0px;
        font-family: Montserrat-Medium;
        font-size: 30px;
        line-height: 30px;
        text-transform: uppercase;
        color: #fff;
        letter-spacing: 6px;
        margin-bottom: 8px;
        transition: 0.3s color ease-out;
    }

        .nav a:hover,
        .nav-active,
        a.menuEnCours {
            color: #24ad75;
        }

    .nav ul ul {
        transform: none;
        width: 100%;
        padding-bottom: 10px;
    }

        .nav ul ul li {
            display: inline-block;
        }

        .nav ul ul a {
            margin: 0 20px;
            font-size: 20px;
            line-height: 20px;
            cursor: pointer;
        }

        .nav ul ul a:hover {
        }

/*---------- Menu si Burger Activé ---------*/

.navBurgerBtn {
    position: relative;
    cursor: pointer;
    height: 30px;
    width: 40px;
    display: block;
    position: fixed;
    right: 40px;
    top: 40px;
    z-index: 9999;
}

    .navBurgerBtn > span {
        display: block;
        position: absolute;
        height: 6px;
        width: 40px;
        background: #24ad75;
        opacity: 1;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        transition: 0.3s all ease-out;
        margin-right: auto;
        margin-left: auto;
        right: 0px;
    }

        .navBurgerBtn > span:nth-child(1) {
            top: 0px;
        }

        .navBurgerBtn > span:nth-child(2) {
            top: 12px;
        }

        .navBurgerBtn > span:nth-child(3) {
            top: 24px;
        }

            .navBurgerBtn:hover > span:nth-child(1) {
                width: 32px;
            }

            .navBurgerBtn:hover > span:nth-child(3) {
                width: 20px;
            }

    .navBurgerBtn.open > span:nth-child(1) {
        top: 12px;
        width: 40px!important;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .navBurgerBtn.open > span:nth-child(3) {
        top: 12px;
        width: 40px!important;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .navBurgerBtn.open > span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

.navBurger {
    position: fixed;
    top: 0px;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90);
    padding: 0px;
-webkit-transition: all 700ms cubic-bezier(0.500, 0.250, 0.000, 1);
-webkit-transition: all 700ms cubic-bezier(0.500, 0.250, 0.000, 1.005);
   -moz-transition: all 700ms cubic-bezier(0.500, 0.250, 0.000, 1.005);
     -o-transition: all 700ms cubic-bezier(0.500, 0.250, 0.000, 1.005);
        transition: all 700ms cubic-bezier(0.500, 0.250, 0.000, 1.005); 
    transform: translateY(-100%);
    z-index: 8888;
}

    .navBurgerOpen {
        transform: translateX(0%);
    }

.navBurger > ul > li {
    display: block;
}

.navBurger ul ul {
    position: relative;
}

    .navBurger ul ul ul {
        left: 0%;
    }

@media only screen and (max-width: 1000px) {
    body {
        padding-top: 42px;
    }

    .nav-button {
        display: block;
        position: fixed;
        top: 0;
        width: 100%;
        height: 42px;
        line-height: 42px;
        overflow: hidden;
        z-index: 9000;
        cursor: pointer;
        text-align: left;
        font-size: 20px;
        color: #fff;
        background: #24ad75;
        text-decoration: none;
    }

        .nav-button > span {
            display: block;
            position: absolute;
            height: 3px;
            width: 20px;
            background: #fff;
            border-radius: 6px;
            opacity: 1;
            left: 0;
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
            transition: 0.3s all ease-out;
            margin-right: auto;
            margin-left: auto;
            left: 12px;
        }

            .nav-button > span:nth-child(1) {
                top: 12px;
            }

            .nav-button > span:nth-child(2) {
                top: 19px;
            }

            .nav-button > span:nth-child(3) {
                top: 26px;
            }

        .nav-button.open > span:nth-child(1) {
            top: 19px;
            -webkit-transform: rotate(135deg);
            -moz-transform: rotate(135deg);
            -o-transform: rotate(135deg);
            transform: rotate(135deg);
        }

        .nav-button.open > span:nth-child(3) {
            top: 19px;
            -webkit-transform: rotate(-135deg);
            -moz-transform: rotate(-135deg);
            -o-transform: rotate(-135deg);
            transform: rotate(-135deg);
        }

        .nav-button.open > span:nth-child(2) {
            opacity: 0;
            transform: scale(0);
        }

    .nav {
        margin-top: 42px;
        padding: 0px;
        border-bottom: 0px solid #efefef;
    }

        .nav ul ul {
            width: 100%;
        }

        .nav a {
            line-height: 50px;
            background-color: #fff;
            border-bottom: 1px solid #e1e1e1;
            padding: 0px;
        }

            .nav a:hover {
                background-color: #e1e1e1
            }

    .navBurgerBtn {
        display: none;
    }

        .navBurger {
            top:0px;
            height: auto;
            background-color: rgba(239, 239, 239, 0.00);
            padding: 0px;
            transform: none;
            transition: none;
        }

            .navBurgerOpen {
                transform: none;
            }
}