﻿header .gazette, header .adcf {
    height: 100px;
}

header
{
    position: fixed;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 2px #aaaaaa;
    /* max-width: 980px; */
    margin: 0 auto;
    background-color: white;
    z-index: 20;
    height: 100px;
    box-shadow: none;
}

header .sub-header 
{
    /* Pour avoir des marges sur les côtés*/
    position: relative;
    width: 980px;
    max-width: 100%;
    margin: 0 auto;
    display: inline-flex;
    flex-direction: column;    
}
/* Le logo caisse / bouton accueil*/
.header-container-img
{
    position: absolute;
    top: 10px;
    left: 0;
}
header .logo-caisse img
{
    max-width: 200px;
    width: 100%;
}
header .logo-caisse a img
{
/*    max-width: 200px;
    width: 100%;*/
}
/* La zone contenant les titres*/
.zone-titre
{
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100px;
    align-items: center;
}
/* Le titre de l'appli*/
.titreD_C
{
    /*position: absolute;*/
    color: #D00019;
    font-weight: bold;
    font-family: Arial;
    width: 100%;
}
.titreD_C > div 
{
    display: inline-block;
    text-align: center;
    margin-top: 16px;
}

.titreD_C div > span:first-child, .titreD_C div > span:last-child 
{
    color: #7D7F87;
    font-size: 24px;
    text-align: center;
}
.titreD_C .titreLogoEt 
{
    color: #D00019;
    font-size: 20px;
    font-weight: 400;
    padding-top: 0;
}

.titreD_C .titreLogo 
{
    color: #7D7F87;
    font-size: 24px;
    font-weight: 400;
    padding-top: 0;
}
.titreD_C_Edit 
{
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
}
/* Le nom du tiers*/
.tiersinfo
{
    display: block;
    text-align: center;
    color: #D7000F;
    font-size: 2em;
    font-weight: bold;
    padding-bottom: 10px;
    padding-top: 20px;
    padding: 0px 0 10px 0;
    line-height: 1em;
    font-weight: 500;
}

/* Le menu / navigation*/
header .navigation-main
{
    position: absolute;
    right: 0;
    margin-top: 0px;
}

header .navigation-main ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    clear: both; /* Pour le panda roux*/
}

header .navigation-main ul li 
{

}


header .icon-bpce-burger, header .text-bpce-burger, header .navigation-main ul li.burger-only {
    display: none;
}

header .navigation-main ul li.li-bpce-logo-min {
    display: none;
}

header .navigation-main ul li.li-up {
    display: none;
}

header .navigation-main .li-bpce-home span 
{
    padding: 0;
    margin: 0;
    min-width: 50px;
    text-align: center;
}

.in-toggle
{
    display: none;
}

#toggleMenu {
    display: none;
}

/*IPAD*/
@media screen and (max-width: 991px)
{

    html:not(.accueil) #toggleMenu
    {
        display: block;
        font-size: 0.8em;
        font-weight: bold;
        padding-left: 8px;
        padding-top: 10px;
        cursor: pointer;
        width: 250px;
    }
    .in-toggle
    {
        display: inline;
    }
    header .navigation-main ul li a:hover, header .navigation-main ul li a svg:hover 
    {            
        fill: #D7000F;
        background-color: #d7000f;
        color: white;
    }

    header .navigation-main
    {
        margin-top: 0;
        text-align: right;
        height: 64px;
        /*border: 1px solid red;*/
        cursor: pointer;
        /*background-image: linear-gradient(0deg, #f3f3f3, #ffffff);*/
        position: absolute;
        right: 0;
        top: 0;
    }
   
    header {
        box-shadow: 0 0 0px;
    }

        header .icon-bpce-burger {
            display: block;
        }

            header .icon-bpce-burger:before {
                font-size: 50px;
                cursor: pointer;
                color: #666;
            }

        header .navigation-main ul {
            /*border-bottom:1px solid #999999;*/
            width: 100%;
            position: absolute;
            height: auto;
            display: none;
        }

            header .navigation-main ul li {
                /*display:none;*/
                display: block;
                position: relative;
                width: 100%;
                z-index: 9998;
                background-color: #ffffff;
                background-repeat: repeat-x;
                background-image: -webkit-linear-gradient(0deg, #f3f3f3, #ffffff);
                background-image: -webkit-linear-gradient(90deg, #f3f3f3, #ffffff);
                background-image: linear-gradient(0deg, #f3f3f3, #ffffff);
            }

                header .navigation-main ul li:first-child {
                   /* display: none;*/
                }

            header .navigation-main ul > li:not(:first-child) > a:after {
                content: none;
            }

            header .navigation-main ul li a {
                display: block;
                width: 100%;
                text-align: left;
                padding-left: 20px;
                border-left: none;
            }

        header .navigation-main ul {
            box-shadow: 0 0 2px #aaaaaa;
        }

            header .navigation-main ul li a.button-alt4 span {
                color: #FFFFFF;
                background-color: #D7000F;
                background-image: linear-gradient(to bottom,#db0129 0,#b00021 100%);
                line-height: 35px;
            }

            header .navigation-main ul li a.button-alt3 span {
                color: #FFFFFF;
                background-color: #999999;
                background-image: linear-gradient(0deg, #8C8C8C, #A4A4A4);
                line-height: 35px;
            }
    .tiersinfo
    {
       font-size: 1.5em;
    }
}
/* On passe le header sur plusieurs lignes, il augment de hauteur*/
@media screen and (max-width: 700px) 
{
    header
    {
        height: 200px !important;
    }
    .header-container-img
    {
        position: relative;
    }
}
/*IPhone*/
@media screen and (max-width: 376px)
{
    #toggleMenu
    {
        padding-left: 0px;
        /*margin-left: -100px;*/
    }

    header .logo-caisse
    {
        /*position:relative;
        float:left;*/
    }

    .header-wrapper
    {
        height: 0;
        margin-top: 8px;
    }

    header .navigation-main
    {
        margin-top: 32px;
    }

    header .icon-bpce-burger:before
    {
        font-size: 40px;
        margin-left: 100px;
        content: "\e606";
    }

    header .navigation-main ul
    {
        /*border-bottom:1px solid #999999;*/
        width: 100%;
        position: absolute;
        height: auto;
        display: none;
    }

    .header-container-img
    {
        padding-top: 20px;
    }
}
