#header {
    height: 136px;
    background: #567EC6;
}

#header #logo {
    height: 100px;
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 25px;
    vertical-align: middle;
}

#header #logoblack {
    display: none;
}

#header .opinion-system-widget-company-rating {
    width: 180px;
    position: absolute;
    top: 25px;
    right: 700px;
    padding-left: 35px;

    background-image: url(../images/header/logo-opinion-system.png);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: top 8px left;
}

#header .opinion-system-widget-company-rating .os-bootstrap {
    background-color: transparent;
}

#header .opinion-system-widget-company-rating .os-bootstrap span {
    color: #FFF;
}

#header .opinion-system-widget-company-rating .os-rating-logo {
    display: none !important;
}

#header .contacts {
    display: inline;
    float: right;
    padding-top: 15px;
    margin-right: 30px;
}

#header .contacts .contact {
    display: inline-block;
    margin: 20px;
    margin-right: 40px;
    color: white;
    font-size: 18px;
    font-family: "roboto_condensed";
}

#header .contacts .contact:hover {
    text-decoration: none;
}

#header .contacts .contact:before {
    vertical-align: top;
}

#header .contacts .contact .icon {
    margin-left: -30px;
    width: 25px;
}

#header .contacts .contact .info {
    color: #B9CBE6;
    font-size: 14px;
}

#header .contacts .contact .info.hide {
    visibility: hidden;
}

#header .title {
    font-size: 3em;
    position: relative;
    left: 20px;
}

#header .headerright {
    float: right;
    padding: 20px;
    margin-right: 50px;
}

#header .blocklangs {
    float: left;
    background: #EEE;
    position: relative;
}

#header .blocklangs a,
#header .blocklangs .a {
    display: block;
    text-transform: uppercase;
    padding: 2px 5px;
    font-weight: bold;
    color: #292929;
    padding-top: 10px;
    padding-bottom: 9px;
    background: #EEE;
    text-align: center;
    width: 40px;
    cursor: pointer;
}

#header .blocklangs a.current,
#header .blocklangs a:hover {
    background: #B40000;
    color: white;
    text-decoration: none;
}

#header .blocklangs .langs {
    position: absolute;
    top: 34px;
    left: 0;
    display: none;
}

#header .blocklangs:hover .langs {
    display: block;
}

#header #boxAccount {
    float: left;
    padding: 0 15px;
}

#menu {
    background: #4F74B7;
    color: white;
    height: 65px;
    z-index: 10;
}

#menu.sticky {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 600;
    border-top: 0;
    -webkit-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.5);
}

/* Premier niveau du menu */

#menu .selection {
    float: right;
    text-align: center;
    color: white;
    position: relative;
    font-size: 0.9em;
    display: block;
    text-decoration: none;
    font-family: "roboto_condensed";
    z-index: 1;
    height: 100%;
    padding: 15px;
}

#menu .selection:hover,
#menu .selection.active {
    background: #567EC6;
    cursor: pointer;
}

#menu .selection .number {
    position: absolute;
    top: 5px;
    right: 20px;
    background: #DFDFD0;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 24px;
    color: #4F74B7;
    font-family: 'roboto_condensed_bold';
}

#menu .selection i {
    font-size: 22px;
}

#menu ul {
    height: 100%;
}

#menu ul li.m {
    float: left;
    position: relative;
    height: 100%;
}


#menu ul li.m a.m {
    display: block;
    padding: 15px 30px;
    font-size: 17px;
    font-family: "ashby_medium";
    height: 100%;
    padding-top: 22px;
}


#menu ul li a.m:hover,
#menu ul li.active a.m {
    background: #567EC6;
    cursor: pointer;
    text-decoration: none;
}

/* Second niveau du menu */

#menu ul.sm {
    position: absolute;
    top: 45px;
    left: 0;
    display: none;
    background: #B40000;
}

#menu ul.sm li.sm {
    float: none;
    width: 200px;
}

#menu ul.sm li.sm a.sm {
    display: block;
    padding: 7px 30px;
}

#menu ul.sm li.sm a.sm:hover {
    background: #B40000;
    cursor: pointer;
    text-decoration: none;
}

#menu ul.m li.m:hover .sm {
    display: block;
}

/* Elements cachés */

#menu .menutab {
    display: none
}

#menu .menutabclose {
    display: none
}

#menu .mmenu {
    display: none;
    padding: 7px 30px;
}

/*  ------------------------------------------------
    IDCOOKIE
    ------------------------------------------------ */

#idcookie {
    color: #FFF;
    background: #444;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0px -1px 3px rgba(0, 0, 0, 0.3);
    padding: 0 10px;
}

#idcookie span,
#idcookie a {
    display: inline-block;
    padding: 13px;
}

#idcookie .buttoncookie {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 10px;
    float: right;
    margin-left: 20px;
    padding: 10px;
    font-size: 1.5em;
}

#idcookie .buttoncookie:hover {
    cursor: pointer;
    background: #000;
    color: #FFF;
    text-decoration: none;
}

/*  ------------------------------------------------
    RESPONSIVE
    ------------------------------------------------ */

@media screen and (max-width: 1360px) {

    #menu ul li.m a.m {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 1239px) {
    #header .opinion-system-widget-company-rating {
        top: 65px;
        right: 465px;
    }
}

@media screen and (max-width: 1090px) {

    #menu ul li.m a.m {
        padding: 20px 5px;
    }

    #header .contacts .contact {
        margin: 15px;
    }

    #header .opinion-system-widget-company-rating {
        right: 380px;
    }
}

@media screen and (max-width: 1010px) {

    #menu ul li.m a.m {
        padding: 20px 2px;
        padding-left: 10px;
    }
}

@media screen and (max-width: 980px) {

    #header {
        text-align: center;
        height: 80px;
    }

    #header #logo {
        height: 50px;
        margin-top: 10px;
        margin-left: 0px;
        margin-bottom: 10px;
    }

    .base #header {
        height: 160px;
    }

    .base #header #logo {
        height: 100px;
        margin-top: 20px;
        margin-left: 0px;
        margin-bottom: 20px;
    }

    #header .opinion-system-widget-company-rating {
        top: 0px;
        right: 100px;
    }

    #header .contacts {
        display: none
    }

    #header .headerright {
        background: #444;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 20px;
        text-align: center;
        z-index: 1;
    }

    #header .headerright .bbottom {
        color: white;
        margin: 0 20px;
        font-size: 35px;
    }

    #header .headerright .bbottom:hover {
        text-decoration: none;
    }

    #header .blocklangs .langs {
        top: auto;
        bottom: 34px;
    }

    #menu {
        position: fixed;
        top: 0;
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        left: -100%;
        height: 100%;
        z-index: 8000;
    }

    #menu.sticky {
        position: fixed;
        width: 100%;
        height: 100%;
        left: -100%;
        top: 0;
        z-index: 10;
        margin-left: 0;
        margin-top: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #menu .selection {
        background: transparent;
        position: fixed;
        top: 0;
        right: 0;
        height: auto;
        text-shadow: 1px 1px black;
        -webkit-text-shadow: 1px 1px black;
        -moz-text-shadow: 1px 1px black;
        background: #567EC6;
        padding: 10px;
    }

    #menu .menutab {
        background: transparent;
        color: white;
        display: block;
        position: fixed;
        text-align: center;
        width: 50px;
        top: 0;
        left: 0px;
        padding: 10px 0px;
        text-shadow: 1px 1px black;
        -webkit-text-shadow: 1px 1px black;
        -moz-text-shadow: 1px 1px black;
    }

    #menu .menutabclose {
        background: transparent;
        color: white;
        display: block;
        position: absolute;
        width: 50px;
        padding: 10px 0px;
        top: 0;
        right: 0;
        z-index: 1;
        text-shadow: 1px 1px black;
        -webkit-text-shadow: 1px 1px black;
        -moz-text-shadow: 1px 1px black;
    }

    #menu .mmenu {
        display: block;
    }

    /* Menu responsive */

    #menu ul li.m,
    #menu ul li.sm {
        float: none;
        width: auto;
        height: auto;
    }

    #menu ul.m,
    #menu ul.sm {
        position: relative;
        top: 0;
        left: 0;
    }

    #menu ul.m ul {
        padding-left: 15px;
    }

    #menu li.m.open ul.sm {
        display: block;
    }

    #menu.menuactive {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0px;
        top: 0;
        margin-left: 0;
        margin-top: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #menu.sticky.menuactive {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0px;
        top: 0;
        z-index: 10;
        margin-left: 0;
        margin-top: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #menu.menuactive .selection {
        display: none;
    }

    #menu.menuactive .menutab {
        display: none;
    }

    body.menuactive .bodyinner {
        position: relative;
    }

    body.menuactive #header .headerright {
        left: 250px;
    }
}

@media screen and (max-width: 767px) {
    #header .opinion-system-widget-company-rating {
        background-size: 15px;
        background-position: top 18px left;

        top: -10px;
    }
}

@media screen and (max-width: 575px) {
    .base #header {
        padding-top: 10px;
    }

    #header .opinion-system-widget-company-rating {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 380px) {
    #header .opinion-system-widget-company-rating {
        width: 140px;
        background: none;
        padding-left: 0;
    }
}