﻿.mobile-notification-container {
    height: calc(100vh - 428px);
    min-height: 150px;
    margin-top: 5px;
    overflow-y: auto;
    /*width: 100%;
    max-height: 400px;
    overflow-y: auto;*/
}

.mobile-notification {
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #DFDFDF;
    padding: 5px;
    margin-bottom: 8px;
}

.mobile-notification .notification-image {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.mobile-notification .notification-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-notification .notification-content {
    flex-grow: 1;
    padding-left: 6px;
}

.mobile-notification .notification-title {
    font-weight: 700;
    margin: 0;
}

.mobile-notification .notification-timestamp {
    color: #656565;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mobile-notification .notification-doclink {
    color: #0275D8;
    font-weight: 700;
    padding-left: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border-left: 1px solid rgba(223, 223, 223, 1);
}

.mobile-notification .notification-paragraph {
    margin: 0;
}

.i-sample-file {
    width: 15px;
    height: 15px;
    background: url("../Images/i-sample-file.svg") no-repeat;
    background-size: contain;
}


.i-notification-bell {
    width: 24px !important;
    height: 24px !important;
    background: url("../Images/i-notification-bell.svg") no-repeat;
    background-size: contain;
    display: inline-flex;
    cursor: pointer;
}

i.i-orange-outline {
    width: 34px !important;
    height: 34px !important;
    background: url("../Images/i-orange-outline.svg") no-repeat;
    background-size: initial !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}


.label-with-hr {
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-with-hr :first-child {
    margin: 0;
    margin-right: 10px;
    font-weight: 700;
}

.label-with-hr hr, .label-with-hr .hr {
    flex-grow: 1;
    border: none !important;
    height: 1px;
    background: #03BFB5;
}

.div-no-notifcation {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 16px;
}

/* For Expanded Notification Page */
#divMainNotificationContent {
    display: none;
    position: fixed;
    top: 38px;
    left: 50%;
    max-width: 600px;
    transform: translateX(-50%);
    width: 100%;
    padding: 16px;
    padding-top: 0;
    box-sizing: border-box;
    background: #fff;
    height: calc(100vh - 28px);
    z-index: 2;
}
#divImmediateNotificationContent {
    position: fixed;
    top: 38px;
    left: 50%;
    max-width: 600px;
    transform: translateX(-50%);
    width: 100%;
    padding: 16px;
    padding-top: 0;
    box-sizing: border-box;
    background: #fff;
    z-index: 2;
}

#divMainNotificationContent .mobile-notification-container {
    height: calc(100vh - 200px);
    margin-top: 5px;
}

#notification-breadcrumb {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    box-shadow: 0px 3px 6px #00000029;
    margin: 0 -16px;
}

#notification-back-btn {
    display: flex;
    cursor: pointer;
    align-items: center;
    color: #0072C3;
    background: #FFF;
    border: 1px solid #0072C3;
    padding: 5px 6px 5px 2px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    transition: all 0.1s;
    box-sizing: border-box;
    height: 38px;
    text-shadow: none;
    font-weight: bold;
}

#notification-back-btn:hover {
    color: #fff;
    background: #0072C3;
}

#notification-back-btn:hover svg {
    fill: #fff !important;
}

/* For Navbar Notification Bell Icon*/
#notification-button{
    border: none;
    outline: none;
    padding: 0;
    padding-right: 6px;
    background : none;
    position:relative;
}

#notification-button[aria-expanded="true"] .i-orange-outline {
    box-shadow: 0px 7px 11px -2px #00000040;
}

#notification-button[aria-expanded="true"] + #divMainNotificationContent {
    display: block;
}

.notification-badge {
    position: absolute;
    left: 10px;
    top: -5px;
    width: 14px;
    height: 13px;
    background-color: #FF3F3F;
    color: #FFFFFF;
    font-size: 10px;
    text-align: center;
    border-radius: 50%;
}

/* To prevent overlapping issue in Old Master Page */
.header-menu-box-inner {
    z-index: 3;
}

/* To avoid scrolling issue in Old master page */
.notification-expanded .header-main-div {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* To avoid scrolling issue for small screen height in Both(New & Old master page) */
.notification-expanded .ui-page {
    height: 100%;
}