/*------------------------------------*\
    HEADER
\*------------------------------------*/

.allpage {
    background: white;
}


.allpage header {
    background: #FFF;
}



header {
    padding: 10px 0;
    font-family: 'Lato';
    text-align: left;
    width: 100%;
    z-index: 1000;
}

@media (min-width: 901px) {
    header {
        position: sticky;
        top: 0px;
        position: -webkit-sticky;
        height: 70px;
        overflow: hidden;

    }

    header .container {
        background: url(../IMG/logo_header.jpg) top center no-repeat;
        height: 43px;
    }

    .part1 {
        display: flex;
        align-items: center;
        flex-grow: 1;
    }


}

header .container {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header,
header a {
    color: #707070;
}

header a:hover {
    color: #B1B1B1;
}

header img {
    padding: 0;
    margin: 0;
}




#menu {
    margin: 0;
    padding: 0;
    font-variant: small-caps;
}

#menu ul {
    margin: 0;
    padding: 0;
    display: flex;
}

#menu li {
    text-align: left;
    margin-right: 1rem;
    font-size: 0.8em;
    position: relative;
}

#menu li a {}

#menu li a:hover {
    border-bottom: 6px #E3E3E3 solid;
    padding-bottom: 5px;
}

#menu .networks {
    display: flex;
    flex-direction: row;
    margin-left: auto !important;
    padding-right: 1rem;
}

.networks li a:hover {
    border: none !important;
    padding: 0 !important;
}

.networks .twitter,
.networks .facebook,
.networks .instagram {
    color: #707070;
    font-size: 0.9rem;
}

/* hamburger menu */


@media (max-width: 900px) {


    header {
        padding: 0.7rem 5%;
        align-items: center;
        background-color: #FFF;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 2000;
    }


    #menu {
        position: fixed;
        bottom: 200vh;
        left: 0;
        z-index: 2000;
        background-color: white;
        width: 100%;
        height: 50%;
        transition: height .3s ease-out;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-grow: 1;

    }

    #menu #menu-list {
        width: 150px;
        margin: 0 auto;
        background: url(../IMG/page_title_logo.png) top center no-repeat;
        padding-top: 75px;
    }

    #menu ul {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding: 0;
        transform: translateY(200%);
        opacity: 0;
    }

    #menu .networks {
        flex-direction: row;
        padding-top: 1rem;
        padding-right: 0;
        border-top: 1px solid #DDD;
        margin: 0 auto;
    }


    #menu li {
        font-size: 1rem;
        margin: 0 auto;
        text-align: center;
        padding-bottom: 1rem;
    }


    #menu .current_page_item a,
    #menu .current-post-ancestor a {
        border-bottom: none;
    }
}


/* menu icon */
header .menu-icon {
    cursor: pointer;
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    user-select: none;
    z-index: 2001;
}

header .menu-icon .navicon {
    background: #707070;
    display: block;
    height: 2px;
    position: relative;
    top: 15px;
    transition: background .2s ease-out;
    width: 20px;

}

header .menu-icon .navicon:before,
header .menu-icon .navicon:after {
    background: #707070;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

header .menu-icon .navicon:before {
    top: 7px;
}

header .menu-icon .navicon:after {
    top: -7px;
}

/* menu btn */

header .menu-btn {
    display: none;
}

header .menu-btn:checked ~ #menu {
    height: 100vh;
    bottom: 0;
}

header .menu-btn:checked ~ #menu ul {
    transform: translateY(0);
    opacity: 1;
    transition: transform .3s cubic-bezier(1, 0, 0, 1) .4s !important;
    transition-delay: .3s;
    transition-property: opacity;
}

header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}


@media (min-width: 901px) {

    header .menu-icon {
        display: none;
    }
}



/* panier */

#cart {}

#cart li:hover {
    background-color: #E9E9E9;

}

#menu-shopping-cart {
    margin: auto;
    font-size: 0.8em;
    display: flex;
    justify-content: right;
}

#menu-shopping-cart li {
    padding: 7px 15px;
    border-radius: 16px;
    background-color: #E9E9E9;
}

#menu-shopping-cart li:first-child {
    margin-right: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#menu-shopping-cart li:first-child::before {
    content: "\F007";
    padding: 0;
    margin-right: 10px;
    font-family: "Font Awesome 5 free";
    vertical-align: middle;
}
