﻿/* =============================================================================
   $Layout
   ========================================================================== */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.8rem;
    background-color: var(--background);
    position: relative;
    color: var(--textColor);
    padding: 0;
}

.constrain {
    width: var(--constrain_width);
    margin: auto;
}

/* =============================================================================
   HEADER
   ========================================================================== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.headerContent{
    display: flex;
    justify-content: space-between;
    height: 80px;
}

.headerLogo{
    display: flex;
    align-items: center;
    margin: 0 60px 0 0;

    img{
        width: 220px;
        }
}

.headerMenu {
    display: flex;
    justify-content: space-between;
    flex-grow: 2;
    -webkit-flex-grow: 2;
}

    .headerMenu ul {
        display: flex;
        li.menuLevel1{
        align-items: center;
        margin: 0 16px;
        cursor: default;
        display: flex;
        position: relative;
        justify-content: space-between;

        a {
            line-height: 24px;
            text-transform: uppercase;
            white-space: nowrap;
            position: relative;
            z-index: 2;
            background: var(--white);
            display: block;
            font-size: 1.5rem;
            font-weight:600;
        }
    }    
}


.headerMenu ul.menu_niv2 {
    display: none;
    position: absolute;
    top: 100%;
    width: fit-content;
    background: var(--white);
    padding: 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow);
}

.headerMenu ul.menu_niv2 li{
    line-height: 32px;
    position: relative;
}


.headerMenu li.hasChilds:hover ul.menu_niv2 {
    display: flex;
    flex-direction: column;
}

.headerMenu li:hover a, .headerMenu li:hover li.menuLevel2:hover a {
    color: var(--red);
}
.headerMenu li:hover li.menuLevel2 a {
    color: var(--textColor);
}


.headerMenu li.menuLevel1.selected::before {
    background: var(--red);
    content: '';
    width: 27px;
    height: 50px;
    clip-path: var(--trapeze02);
    display: block;
    position: absolute;
    left: 5px;
    bottom: 14px;
    z-index: 1;
}


.headerConnect{
    display: flex;
    align-items: center;
}
/* =============================================================================
   MAIN / layout
   ========================================================================== */
.layout_accueil main {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.layout_accueil .zoneMiddle {
    padding: 40px 0;
}

.layout_accueil .zoneBottom {
    background: var(--color00000);
}
section.listArticle {
    background: var(--color00000);
    padding: 40px 0;
}

.layout_detail {
    padding: 80px 0 0 0;
}

.layout_list, .layout_1c {
    padding: 110px 0 0 0;
}

/* =============================================================================
   Static
   ========================================================================== */

.ContentDetailComponent .static .mainImage,
.ContentDetailComponent .static .mainImage img {
    height: 550px;
}

/* =============================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--darkBlue);
    color: var(--white);
}

.footerTop {
    background-color: var(--darkBlue);
}

.footerTop .constrain {
    padding: 48px 0;
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
}

.footerTop img {
    width: 200px;
}

.footerTop ul li{
    line-height: 32px;
}

.footerTop .linkAccount {
    padding: 20px;
    display: flex;
    width: 200px;
    height: 160px;
    align-items: center;
    background: var(--Blue);
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    font-size: 2rem;
    border: 1px solid white;
}
    .footerTop .linkAccount:hover {
        background: var(--lightBlue);
        color: var(--darkBlue);
        border: 1px solid var(--lightBlue);
    }

.footerBottom {
    background: #0091e0;
    color: var(--white);
}
    .footerBottom .constrain {
        font-size: 1.3rem;
        padding: 16px 0;
        text-align: center;
    }

    .footerBottom .copyright {
        color: white;
    }
