/* Local fallback for the conversation and alert fragments embedded in the MIRCS header. */
.wapper .header .p-navgroup,
.wapper .header ul.user-menu > li {
    position: relative;
}

.menu.menu--structural[data-menu="menu"] {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 2000;
    width: 340px;
    min-width: 300px;
    max-width: calc(100vw - 24px);
    margin: 0;
    color: #ddd;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0;
}

.menu.menu--structural[data-menu="menu"].is-active,
.menu.menu--structural[data-menu="menu"][aria-hidden="false"] {
    display: block !important;
    opacity: 1;
}

.menu.menu--structural .menu-content {
    overflow: hidden;
    max-height: min(72vh, 520px);
    margin: 0;
    padding: 0;
    color: #ddd;
    text-align: left;
    background: #292929 !important;
    border: 1px solid #414141 !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .42) !important;
}

.menu.menu--structural .menu-header {
    margin: 0;
    padding: 13px 15px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    background: #303030 !important;
    border-bottom: 1px solid #3b3b3b !important;
}

.menu.menu--structural .menu-row,
.menu.menu--structural .menu-linkRow {
    display: block;
    margin: 0;
    padding: 10px 15px;
    color: #d7d7d7 !important;
    background: transparent !important;
    border-top: 1px solid #3b3b3b !important;
    text-decoration: none;
}

.menu.menu--structural .menu-row:first-child,
.menu.menu--structural .menu-linkRow:first-child {
    border-top: 0 !important;
}

.menu.menu--structural .menu-row:hover,
.menu.menu--structural .menu-linkRow:hover {
    background: #333 !important;
}

.menu.menu--structural .menu-footer {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #aaa;
    background: #242424 !important;
    border-top: 1px solid #3b3b3b !important;
}

.menu.menu--structural .menu-footer-main {
    flex: 1 1 auto;
}

.menu.menu--structural a {
    color: #f49a52;
    text-decoration: none;
}

.menu.menu--structural .listInline,
.menu.menu--structural .listPlain {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu.menu--structural .contentRow {
    display: flex;
    min-width: 0;
    align-items: center;
}

.menu.menu--structural .contentRow-figure {
    flex: 0 0 auto;
    margin-right: 10px;
}

.menu.menu--structural .contentRow-figure img,
.menu.menu--structural .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.menu.menu--structural .contentRow-main {
    min-width: 0;
    flex: 1 1 auto;
}

.menu.menu--structural .contentRow-title,
.menu.menu--structural .contentRow-snippet,
.menu.menu--structural .contentRow-minor {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu.menu--structural .contentRow-title {
    color: #fff;
    font-weight: 700;
}

.menu.menu--structural .contentRow-minor,
.menu.menu--structural .contentRow-snippet {
    color: #999;
    font-size: 11px;
}

.wapper .header .badgeContainer {
    position: relative;
}

.wapper .header .badgeContainer[data-badge]:not([data-badge=""]):after {
    position: absolute;
    top: -6px;
    right: -7px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    color: #fff;
    font-size: 10px;
    line-height: 17px;
    text-align: center;
    content: attr(data-badge);
    background: #e85f67;
    border-radius: 10px;
}

@media (max-width: 599px) {
    .menu.menu--structural[data-menu="menu"] {
        position: fixed;
        top: 64px;
        right: 12px;
        left: 12px;
        width: auto;
        min-width: 0;
    }
}
