/**
 * Top navbar / notification styles
 * (extracted from resources/views/master/navbar.blade.php).
 */

.badge {
    padding: 1px 9px 2px;
    font-size: 12.025px;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    background-color: #999999;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.badge:hover {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.badge-error {
    background-color: #b94a48;
}

.badge-error:hover {
    background-color: #953b39;
}

.badge-warning {
    background-color: #f89406;
}

.badge-warning:hover {
    background-color: #c67605;
}

.badge-success {
    background-color: #468847;
}

.badge-success:hover {
    background-color: #356635;
}

.badge-info {
    background-color: #3a87ad;
}

.badge-info:hover {
    background-color: #2d6987;
}

.badge-inverse {
    background-color: #333333;
}

.badge-inverse:hover {
    background-color: #1a1a1a;
}

#Notify {
    width: min(386px, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
    height: min(400px, 70vh);
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: steelblue;
}

form.dropdown-item.active,
form.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #fff;
}

.dropdown-item-hide {
    max-height: 0;
    visibility: hidden;
}

.navbar-brand-center {
    margin-right: 1.5rem;
    max-width: min(420px, 40vw);
}

.navbar-actions {
    padding-left: 10px;
    flex-shrink: 0;
}

.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    margin: 0;
    transform: scale(0.6);
    z-index: 2;
}

@media (max-width: 991.98px) {
    .navbar-brand-center {
        margin-right: 0.5rem;
        max-width: 50%;
    }

    #DropdownNotifcations,
    .navbar-nav .dropdown-menu {
        max-width: calc(100vw - 1.5rem);
    }
}
