#notifications {
    width: auto;
    display: flex;
    align-items: flex-start;
    padding-left: 0;
    margin-top: -13px;
    padding-right: 0px;
}

/* Notifications */
#notification_dropdown {
    width: auto;
}

#notification_button {
    width: 50px;
    padding: 0;
    font-size: 19px;
}

#notification_counter {
    font-size: 14px;
    margin-top: 10px;
    margin-left: -16px;
}

#notification_button span#total_notifications {
    background-color: red;
    width: 10px;
}

#notification_dropdown_menu {
    transform: none !important;
    z-index: 2 !important;
    font-family: inherit;
    right: 35px !important;
    top: 65px !important;
    left: auto !important;
    min-width: 400px;
}

#notification_dropdown_menu .dropdown-item {
    display: grid;
    grid-template-areas: "context context button";
    align-items: center;
    justify-content: space-between;
    cursor: default;
}

#notification_dropdown_menu .dropdown-item.active, #notification_dropdown_menu .dropdown-item:active, #notification_dropdown_menu .dropdown-item:hover {
    color: inherit !important;
    text-decoration: none;
    background-color: inherit !important;
}

#notification_dropdown_menu .dropdown-item-context {
    grid-area: context;
    display: grid;
    grid-template-areas: "badge title"
        "message message"
        "date date";
    align-items: center;
    margin-right: 2rem;
    width: 100%;
    justify-content: start;
    grid-template-columns: auto 1fr;
}

#notification_dropdown_menu .dropdown-item .badge {
    grid-area: badge;
    color: white;
    padding: 4px 0px;
    height: 16px;
    font-size: 9px;
    margin-right: 5px;
    width: 70px;
    font-weight: 700;
}

#notification_dropdown_menu .dropdown-item .dropdown-item-title {
    grid-area: title;
    margin-bottom: 0px;
    font-size: 13px;
}

#notification_dropdown_menu .dropdown-item.notification-unread .dropdown-item-title {
    font-weight: bold;
}

#notification_dropdown_menu .dropdown-item .dropdown-item-text {
    grid-area: message;
    padding: 0;
    font-size: 12px;
    margin-bottom: 0px;
    word-wrap: break-word;
    white-space: normal;
    max-width: 300px;
    min-width: 300px;
    margin: 4px 0px 3px 0px;
}

#notification_dropdown_menu .dropdown-item .dropdown-item-date {
    grid-area: date;
    margin-bottom: 5px;
    font-size: 10px;
}

#notification_dropdown_menu .dropdown-item .dropdown-item-read {
    grid-area: button;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

#notification_dropdown_menu .dropdown-item.notification-read button.dropdown-item-read:hover {
    color: #fff !important;
    background-color: #23c6c8 !important;
    border-color: #23c6c8 !important;
}

#notification_dropdown_menu .dropdown-item.notification-unread button.dropdown-item-read:hover {
    color: #fff !important;
    background-color: #1c84c6 !important;
    border-color: #1c84c6 !important;
}

#notification_dropdown_menu .dropdown-item.notification-read button.dropdown-item-read {
    color: #fff !important;
    background-color: #1c84c6 !important;
    border-color: #1c84c6 !important;
}

#notification_dropdown_menu .dropdown-item.notification-unread button.dropdown-item-read {
    color: #fff !important;
    background-color: #23c6c8 !important;
    border-color: #23c6c8 !important;
}

.label-primary, .badge-primary {
    background-color: #1ab394;
    color: #fff
}

.label-success, .badge-success {
    background-color: #1c84c6;
    color: #fff
}

#notification_dropdown_menu .dropdown-item.license-notification .badge, #notification_dropdown_menu .dropdown-item.warning-notification .badge {
    background-color: #f8ac59;
    color: #fff
}

#notification_dropdown_menu .dropdown-item.error-notification .badge {
    background-color: #ed5565;
    color: #fff
}

#notification_dropdown_menu .dropdown-item.subscription-notification .badge, #notification_dropdown_menu .dropdown-item.info-notification .badge {
    background-color: #23c6c8;
    color: #fff
}
#notification_dropdown_menu #notification_settings_menu .form-check {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

#notification_dropdown_menu #notification_settings_menu .form-check input {
    margin-top: 0px;
}

#notification_dropdown_menu #notification_settings_menu .form-check label {
    font-size: 12px;
    margin: 11px 0px 10px 10px;
}

#notification_dropdown_menu ul {
    padding-left: 0px !important;
}


#notification_settings_menu {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 7px;
}

#notification_settings_menu .notification-paging {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-size: 12px;
    align-items: center;
}

#notification_settings_menu .notification-paging li {
    margin-right: 2px;
    margin-left: 2px;
    height: 20px;
}

#notification_settings_menu .notification-paging .page-link {
    border: none !important;
    color: black !important;
}

#notification_settings_menu .notification-paging .page-link:hover {
    background-color: transparent !important;
    color: #f68c3e !important;
}

#notification_settings_menu .notification-paging .page-counter {
    text-align: center;
    margin-top: 1.5px;
}

.btn-check:focus+.btn, .btn:focus {
    outline: 0;
    box-shadow: none !important;
}