#overmenu{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:27px;
  z-index:999!important;
  background-color: #36374b;
}
#overmenu ul#firstUl{
  background-color:rgba(0,0,0,0.8);
}
body{
  padding-top: 25px;
}
#overmenu ul{
  text-align:center;
  height: 100%;
}
#overmenu ul .firstLi{
      display: inline-block;
    color: #fff;
  position:relative;
    margin: 0 0%;
    font-size: 14px;
    overflow: hidden;
    height: 60px;
    width: 245px;
    vertical-align: middle;
}

#overmenu ul .firstLi div.labelLi{
    height: 60px;
        padding-top: 18px;
}
#overmenu #firstUl .mCSB_inside>.mCSB_container {
    margin-right: 6px;
}

@media screen and (max-width:600px) {
    body {
        background: none !important;
    }

    #overmenu ul .firstLi {
        display: inline-block;
        margin: 0 1%;
        font-size: 12px;
        width: 100px !important;
    }
}
#overmenu ul .firstLi li{
    background-color: rgba(255, 255, 255, .95);
    text-align: left;
    padding: 3px 11px!important;
    line-height: 140%;
    border: 1px solid #212d35;
    border-top: 0;
}
#overmenu ul .firstLi li a{
    color:#212d35;
    display: inline-block;
        vertical-align: middle;
        -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}
#overmenu ul .firstLi li:hover a{
    color: #fff;
}
#overmenu ul li:hover{
    overflow:visible!important;
    /*background-color: #ed7704;*/
}
#overmenu ul .firstLi.lastLi li a{
    color: #fff;
}
#overmenu ul li svg{
    position: absolute;
    top:25px;
    right:35px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
#overmenu ul li:hover svg{
    transform: rotate(180deg);
    transform-origin: 50%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

#overmenu ul .firstLi ul{
    height: 0;
    transform: translate3d(0px, 0px, 0px);
    transition-delay: .1s;
    z-index:9999;
    
}
#overmenu ul .firstLi:hover ul{
    transform: translate3d(0px, 0px, 0px);
    z-index:9999;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    height: 450px;
    transition-delay: .1s;
}
#overmenu ul .firstLi.lastLi:hover ul{
    -moz-transform: none!important;
    -webkit-transform: none!important;
    -o-transform: none!important;
    -ms-transform: none!important;
    transform: none!important;
    height:60px!important;
}
#overmenu ul .firstLi.lastLi ul{
        height:60px!important;
}

#overmenu ul .firstLi ul li:hover{
    background-color: rgba(236, 120, 35,0.9);
}
li.firstLi.lastLi{
    padding-top: 12px;
}
li.firstLi.lastLi li{
        border: none!important;
}
li.firstLi div span{
    text-transform: uppercase;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}


#rechercheList{
        position: absolute;
    width: 620px;
    left: 0;
}
#ufrList{
    width: 320px;
    margin-left: 30px;
}
#overmenu ul li span.flecheBlanc {
    transform: rotate(0deg);
    transform-origin: 50%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
#overmenu ul li:hover span.flecheBlanc {
    background-position: -5px -260px;
    transform: rotate(180deg);
    transform-origin: 50%;
    -webkit-transition: transform .3s ease;
    -moz-transition: transform .3s ease;
    -ms-transition: transform .3s ease;
    -o-transition: transform .3s ease;
    transition: transform .3s ease;
}
#overmenu li.entBlanc a{
    font-size: 17px; 
}
@media screen and (max-width:1300px){
    #overmenu ul .firstLi{
        font-size: 13px;
    }
    #overmenu ul .firstLi li {
        padding: 3px 0px;
    }   
}

#overmenu li li:hover a, #overmenu  li:hover span{
    color: #ec7823!important;
}

#overmenu #searchEngine{
    width: 53px;
    background-image: url(/preprod/images/charte/pictos/loupe.svg);
    background-size: contain;
    background-repeat: no-repeat;
    height: 19px;
    background-position: center;
    position: relative;
    left: 0;
    cursor: pointer;
}
#searchEngineCntr{
    height: 0;
    position: relative;
    z-index: 0;
}
#searchEngineCntr.open{
    height: 50px;
}
#searchEngineCntr #encartRecherche {
    position: absolute;
    top: -30px!important;
    right: 310px!important;
    transition:all .5s;
}

#searchEngineCntr.open #encartRecherche{
    top: 0px!important;
}
ul#firstUl{
        z-index: 9;
    position: relative;
    background: #212d35!important;
}




/* ESSAIS MOTEUR DE RECHERCHE */

#overmenu ul#firstUl{
    width: 100%;
}

#overmenu ul#firstUl .firstLi.lastLi.open #engineSpace{
    width: 0!important;
    height: 0!important;
    padding: 0;
    overflow: hidden;
    transition:none!important;
    min-height: initial!important;
}
#searchEngineCntr{
    width: 0;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
}
#overmenu ul#firstUl .firstLi.lastLi.open #searchEngineCntr{
    width: 80%;
}
li.firstLi.lastLi{
    padding-top: 0!important
}
#overmenu ul .firstLi.lastLi li a{
    display: block;
    height: 100%;
        position: relative;
    z-index: 99;
    padding-left: 35px;
}
#overmenu ul li.firstLi.lastLi li{
    height: 100%;
    width: 20%;
    display: inline-block;
    background: 0 0;
    vertical-align: middle;
    text-align: left;
    padding-top: 20px!important;
    position: relative;
        padding-left: 0px!important;
}

.spriteOvermenu:before {
    position: absolute;
    left: 0px!important;
}

#overmenu ul .firstLi.lastLi ul{
    transition-delay:0s!important;
}

#searchEngineCntr #encartRecherche {
    position: relative;
    top: 12px!important;
    right: 0px!important;
    transition: all .5s;
    width: 100%;
}

#overmenu ul#firstUl .firstLi.lastLi #searchEngineCntr{
    height: 0;
    transition:height .3s;
}
#overmenu ul#firstUl .firstLi.lastLi.open #searchEngineCntr{
    height: 100%;
}

#overmenu .firstLi.lastLi.open #searchEngine{
    background-image: none!important;
        position: relative;
            left: 12px;
}
#overmenu .firstLi.lastLi.open #searchEngine:before{
    content: 'X';
    color: #fff;
    display: block;
    position: absolute;
    top: 0;
    font-size: 20px;
    left: 0;
    margin-left: 10px;
    line-height: 110%;
}
.gsc-input-box {
    border-top: 0!important;
    border-left: 0!important;
    border-right: 0!important;
    border-bottom: 1px solid #D9D9D9!important;
    background: transparent!important;
    box-shadow: 0 0!important;
}
input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus{
    border-color: transparent!important;
}

span.gscb_a{
    margin-right: 0!important;
    margin-top: -10px;
}

form.gsc-search-box.gsc-search-box-tools{
    background: #eee;
    padding: 1px 10px 0;
}
input.gsc-search-button {
    margin-left: 12px!important;
}
input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus{
    background-color: #212d35!important;
}
#overmenu ul li.lastLi:hover{
    overflow: hidden!important;
}

#overmenu .labelLi a{
    color: #fff;
    text-transform: uppercase;
}
#overmenu .labelLi a:hover{
    color: #ec7823;
}

#overmenu ul .firstLi.lastLi li #lang a{
    padding-left: 0!important
}

@media screen and (max-width:1025px){
    #engineSpace{
        display: none!important;
    }    
    #searchEngineCntr{
        width: 75%!important;
    }
    #encartRecherche{
        display: block!important;
    }
    body {
        padding-top: 0px;!important;
    }
    #gkBg {
        padding-top: 0px!important;
    }
    .affix-top, .affix{
        position: relative!important;
    }
    #gkBg {
        padding-top: 0!important;
    }
    #overmenu ul .firstLi{
        width: 20%!important;
    }
    #overmenu ul .firstLi.lastLi{
        width: 60%!important;
    }
}

@media (max-width: 767px){
    body {
        padding: 0!important;
    }
    #overmenu ul .firstLi{
        display: none;
    }
    #overmenu ul .firstLi.lastLi{
        display: block;
        width: 100%!important
    }

}

@media (max-width: 340px){
    #searchEngineCntr {
        width: 65%!important;
    }
    #overmenu ul .firstLi.lastLi ul{
        width: 35%!important
    }
}