#header-shortlink{
  z-index: 102;
}
button.header-shortlink--open {
    font-size: 4rem;
    line-height: 3rem;
}

.header-shortlink--content{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;

    padding: 0 18px;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f7f7f7;
    transition: opacity 0.6s ease-in-out;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 90;
    line-height: 3.6rem;
    text-align: right;
}

.header-shortlink--content #tfoCarnetSynthese {
    margin-left: 4px;
    font-size: 12px;
}

.header-shortlink--content.is-open {
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}

.shortlink-menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media (max-width: 767px) {
    .shortlink-menu .fa,
    .shortlink-menu .b-icon:before {
        display: none;
    }
}
.header-shortlink--content a {
  color: #ffffff;
}
@media (min-width: 768px) {
    .region-header-shortlink {
        width: 330px;
    }

    .header-shortlink--open {
        display: none;
    }

    .header-shortlink--content {
        top: 0;
        left: auto;
        /*width: 293px;*/
        /*width: 300px;*/
        height: 36px;
        /**/
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        /**/
        opacity: 1;
        pointer-events: auto;
        background-color: rgba(62,62,62, .87);
    }
    .header-shortlink--content:before {
        content: '';
        width: 0;
        height: 0;
        position: absolute;
        left: -9px;
        border-style: solid;
        border-width: 0 0 36px 9px;
        border-color: transparent transparent rgba(62,62,62, .87) transparent;
    }

    .header-shortlink--content,
    .header-shortlink--content.is-open {
        overflow: visible;
    }

    .shortlink-menu {
        padding-left: 0;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .shortlink-menu .navigation-menu__link {
        font-size: 1.1rem;
        line-height: 4rem;
        text-transform: uppercase;
    }

    .shortlink-menu .icon-link .fa {
        font-size: 1.6rem;
    }

    .shortlink-menu .icon-link.b-icon:before {
        display: inline-block;
        font-size: 1.6rem;
    }

    .shortlink-menu .icon-weather .fa:before,
    .shortlink-menu .b-icon-meteo:before {
        padding-right:0;
    }
    .shortlink-menu .b-icon-meteo:before {
        transform: scale(1.3);
        transform-origin: top;
    }

    .shortlink-menu .icon-text {
        display: none;
    }

    .shortlink-menu .carnet {
      margin-right: 15px;
    }



    .header-shortlink--content a:hover {
        color: #949494;
    }
}

/*** Fake ***/
#block-fakeshortlink p {
    line-height: 3.6rem;
    float: left;
    color: #ffffff;
}

#block-fakeshortlink p:nth-of-type(2) {
    margin-left: 24px;
}

/*version FR*/
html[langue="en"] #header-shortlink ,
html[langue="nl"] #header-shortlink ,
html[langue="es"] #header-shortlink ,
html[langue="fr"] #header-shortlink {
  background-color:#242424 ;
}
html[langue="en"] .header-shortlink--content:before ,
html[langue="es"] .header-shortlink--content:before ,
html[langue="nl"] .header-shortlink--content:before ,
html[langue="fr"] .header-shortlink--content:before {
  display: none;
}
