.layout-header {
    position: sticky;
    z-index: 1030;
    top: 0;
    margin: 0;
    pointer-events: auto;
    background: var(--card-body-background);
    border-bottom: 1px solid var(--background);
    max-width: 100%;
}
.layout-header > .navbar-inner {
    width: 75%;
    min-width: 940px;
    margin-right: auto;
    margin-left: auto;
}
.layout-header .drop-menu-sign {
    font-size: 8px;
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 16px;
    margin-left: -8px;
    text-align: center;
}
.layout-header .topbar-counters {
    font-size: 9px;
    position: absolute;
    left: 20px;
    bottom: 2px;
}
.layout-header .topbar-counters .counter-all-badge {
    font-size: 9px;
    line-height: 10px;
    display: block;
    margin-bottom: 1px;
    padding: 2px;
    text-align: center;
}

.layout-header-user-info {
    display: flex !important;
    flex-direction: row;
}
.layout-header-user-info-avatar {
    display: flex;
    align-items: center;
    max-width: 42px;
    width: 42px;
    margin-right: var(--space-medium);
}
.layout-header-user-info-avatar > img {
    height: auto;
    padding: var(--space-tiny);
    border-radius: 6px;
    background: var(--background);
}

@media (max-width: 640px), (max-width: 834px) and (orientation: portrait) {
    .layout-root .layout-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
    }
    .layout-root .layout-header > .navbar-inner {
        padding-right: var(--scroll-lock-scrollbar-width, 0px);
        min-width: 280px;
        width: 100%;
    }
    .layout-root .layout-header .dropdown-opener {
        font-size: 20px;
    }
    .layout-root .layout-header .quick-search {
        margin-left: auto;
    }
    .layout-root .layout-header .quick-search .dropdown-menu li a {
        font-size: 18px;
    }
    .layout-root .layout-header .project-topbar-item {
        font-size: 11px;
    }
    .layout-root .layout-header .dropdown-menu .navigation-header-menu-element-home {
        min-height: 42px;
    }
}