#header-button-search {
    height: 35px;
    line-height: 30px;
    margin-left: -20px;
    background-color: black;
    border-color: black;
    color: white;
    border-radius: 20px;
    z-index: 400;

}

#header-input-search {
    border-radius: 10px;
    height: 35px;
}

#header-search-container {
    max-width: 400px;
}

.header-text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tp-header-ad-logo img {
    max-width: 100px;
    max-height: 70px;
}

.tp-header-transparent .tp-header-btn a {
    color: white;
}

.tp-header-menu > nav > ul > li > .submenu {
    padding: 20px;
    width: 300px;
}

.tp-header-menu > nav > ul > li > .submenu > li > a {
    font-size: 12px;
}

.tp-header-menu .logo-category {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.tp-header-logo {
    width: 195px;
}

.tp-header-height {
    color: var(--tp-common-black);
}

.tp-header-btn a {
    height: 40px;
    line-height: 35px;
}

.header-sticky {
    z-index: 999;
    pointer-events: auto;
}

.tp-header-menu > nav > ul > li > .submenu > li > a {
    text-transform: none;
}

.tp-header-menu > nav > ul > li > .submenu > li > a::after {
    height: 0px;
}

/* Le sélecteur ciblait un id (#header-chat-badge) qui n'existe pas dans le
   markup (chat/notification.html.twig ne pose que la classe) : la règle ne
   s'appliquait donc jamais et le badge s'affichait en texte brut, sans
   pastille, au lieu d'être superposé au picto message comme prévu. */
.header-chat-container {
    position: relative;
}

.header-chat-badge {
    position: absolute;
    top: -6px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #A51E16;
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}
