/* menu haut droite */
.header #block-menu-menu-menu-du-haut {
    margin:0; padding:0;
    background:#F89B12;
    color:#fff;
    overflow:visible;
 }
 .header a{text-decoration: none;}
 .header .block-menu .content { overflow:visible; padding:0; }
 .header .block-menu ul {max-width:1920px; margin:0 auto; padding:0; overflow:visible; }
 .header .block-menu ul:after, .bandeau:after {
     clear: both;
     content: ".";
     display: block;
     font-size: 0;
     height: 0;
     line-height: 0;
     overflow: auto;
     visibility: hidden;
 }
 .header .block-menu li {  margin:0 0 0 6px; padding:0; list-style-type: none; list-style-image: none;display: inline-block; }
 .header .block-menu .expanded ul {
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.25);
    position: absolute;
    padding: 15px !important;
    z-index: 10;
    background: #fff;
    border-top: solid 4px orange;
    width: 250px !important;
}
.header .block-menu .expanded ul:before {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 5px 6px;
    border-color: transparent transparent orange transparent;
    margin-top: -24px;
}
.expanded ul.menu li a {
    font-size: 1.1em !important;
    display: block;
}
.expanded ul.menu li {
    display: block;
    margin-top: 7px;
}
#block-menu-menu-menu-du-haut li {float:right;margin: 0;}
#block-menu-menu-menu-du-haut a {
    display: block;
    padding: 2px 6px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}
 .header .block-menu        a:hover { text-decoration: underline; }
 .header .block-menu a.active,
 .header .block-menu .first a.active,
 .header .block-menu .last a.active { text-decoration: underline; }
 .header .block-menu .first a:hover { text-decoration: underline; }
 .header .block-menu .last  a:hover { text-decoration: underline; }
 .header a[href='https://don.l214.com'] {display:none;}
 
 
 /*.header h1 {height:0px; margin:0; padding:0; text-align:left;}
 .header h1 a {text-decoration: none; }*/
 
 /* LOGO */
 #logo {display:block;padding:0; margin:-15px 0 0 25px;text-align:center;}
 #logo img { padding:0; border:2px solid #f19b48;width: 100px;}
 #logo:hover img {border:2px solid #ffb370;}
 
 .mobile-baseline {
    display: none;
}

 .header-first-line {
    display: flex;
    flex-grow: 2;
    border-bottom: solid 1px #CCC;
    width: 100%;
    align-items: center;
}
.header-first-line #block-menu-menu-primary-menu {
    display: flex;
    list-style: none;
    flex-grow: 1;
    background: none;
}
.header-first-line #block-menu-menu-primary-menu li a{
    text-transform: uppercase;
    font-size: 1.7em;
    line-height: 1.1em;
    color: #212121;
    font-weight: 700;
    padding: 0 15px 0 0;
    background: none;
}
#block-menu-menu-secondary-menu {
    margin: 15px 0 0 0;
}
#block-menu-menu-secondary-menu li {
    display: inline-block;
    padding: 0 5px 0 0;
}
#block-menu-menu-secondary-menu li a{
    color: #212121;
    text-transform: uppercase;
}
#block-menu-menu-secondary-menu li a:before {
    content: "";
    width: 6px;
    height: 7px;
    background: orange;
    display: inline-block;
    border-radius: 10px;
    margin-right: 5px;
}
.header{    
    box-shadow: 0px 5px 30px 0px rgba(0,0,0,0.28);
    position: relative;
    z-index: 30;
}
.page-accueil .header{margin-bottom: 0;background: #fff;z-index: 11;}
/* ***** Bandeau ***** */

.bandeau {
    display: flex;
    background: #fff;
}
.header-menu {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    margin: 15px;
}
/* Custom image header

.page-action .bandeau, .node-697 .bandeau ,.node-356 .bandeau, .node-715 .bandeau, .node-176 .bandeau ,body.term-19 .bandeau { background: url("https://visuels.l214.com/sites/www.l214.com/2012/photos-bannieres/action.jpg") no-repeat scroll 212px 17px #FFF; }
body.term-22 .bandeau { background: url("https://visuels.l214.com/sites/www.l214.com/2012/photos-bannieres/lapin.jpg") no-repeat scroll 214px 0 #FFF;}
body.term-25 .bandeau { background: url("https://visuels.l214.com/sites/www.l214.com/2012/photos-bannieres/poule.jpg") no-repeat scroll 194px 0 #FFF;}
body.term-21 .bandeau { background: url("https://visuels.l214.com/sites/www.l214.com/2012/photos-bannieres/cochon.jpg") no-repeat scroll 214px 0 #FFF;}
body.term-27 .bandeau { background: url("https://visuels.l214.com/sites/www.l214.com/2012/photos-bannieres/chevreau.jpg") no-repeat scroll 173px 0 #FFF;}
body.term-36 .bandeau { background: url("https://visuels.l214.com/sites/www.l214.com/2012/photos-bannieres/cheval.jpg") no-repeat scroll 216px 0 #FFF;}
body.term-17 .bandeau { background: url("https://visuels.l214.com/sites/www.l214.com/2013/photos-bannieres/foie-gras-stop-gavage.jpg") no-repeat scroll 236px 4px #FFF;}

*/

.bandeau img{border:none; margin:0; padding:0;}

.bandeau .header-links {
    text-align: right;
    margin: 0;
    padding: 22px 60px;
    list-style: none;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.7em;
    background: #212121;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bandeau .header-links .texte-item span {
    padding-left: 56px;
}
.bandeau .header-links .texte-item img {
    animation: pulse 1.5s infinite;
    position: absolute;
    padding-left: 15px;
}
ul.header-rs {
    list-style: none;
    margin: 0;
}
.header-rs li {
    display: inline-block;
}
.header-rs img {
    width: 25px;
    padding: 0 5px;
}
.bandeau .premier-item{width:100px; margin:0 2px 0 32px/*PREMIER ITEM*/;}
.bandeau .item{width:100px; margin:0 2px 0 2px;}
.bandeau .texte-item{color: #FFF;line-height: 1.4em;text-decoration: underline;}

.bandeau #slogan {
    font-weight: 900;
    color: #212121;
    text-transform: uppercase;
    font-size: 1.7em;
    line-height: 1.3em;
}
.header .separator-gray {
    flex-grow: 2;
    background: #CCC;
    height: 1px;
    margin: 20px;
    flex-grow: 2;
}
.elementcache {
	position:absolute;
	left:0;
	top:-5000px;
}
ul.mobile-submenu{
    display: none;
}
@media screen and (max-width: 1170px) {
    .header-first-line {
        align-items: baseline;
        flex-direction: column;
    }
    ul.header-rs {
        margin-top: 7px;
    }
}
@media screen and (max-width: 900px) {
    .header #block-menu-menu-menu-du-haut{display: none;}
    .bandeau {
        background: none !important;
        border-bottom: solid 1px #ccc;
        padding: 8px 10px;
    }
    .bandeau .header-links{display: none;}
    #logo {
        padding: 0;
        margin: 8px;
    }
    #logo img{margin-right: 0;}
    .mobile-baseline {
        text-transform: uppercase;
        margin-left: 10px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: center;
        margin-top: 8px;
    }
    .mobile-baseline .l214 {
        font-weight: 900;
        font-size: 2rem;
        color: #F89B12;
    }
    .mobile-baseline .baseline {
        font-size: 1rem;
        font-weight: 700;
    }
    .header-menu{display: none;}
    #bouton-menu {
        width: auto !important;
        margin: 0;
        padding-right: 15px !important;
    }
    #logo img {
        width: 50px;
    }
    .bandeau #logo {
        margin: 0;
        display: flex;
        align-items: center;
        text-align: left;
    }
    #bouton-menu { display:flex !important;margin: 0 !important }
    .bandeau {background:none !important;}
    #sidebar-left li.leaf.first a {
        font-size: 1.2em !important;
        line-height: 1em !important;
    }
    #sidebar-left li a {
        font-size: 1rem !important;
        padding: 0 !important;
    }
    ul.mobile-submenu {
        display: flex;
        justify-content: space-evenly;
        background: #Fa3;
        margin: 0;
    }
    .mobile-submenu li {
        display: block;
    }
    .mobile-submenu li a{
        color: #FFF;
        font-weight: bold;
        text-transform: uppercase;
    }

    
}

@keyframes pulse {
    0% {
        height: 1em;
        margin-left: 4px;
    }
    40% {
        height: 1em;
        margin-left: 4px;
    }
    50% {
        height: 1.05em;
        margin-left: 3.5px;
    }
    60% {
        height: 1em;
        margin-left: 4px;
    }
    70% {
        height: 1.05em;
        margin-left: 3.5px;
    }
    100% {
        height: 1em;
        margin-left: 4px;
    }
}