#dropdownNotifMessage .notif-boby::-webkit-scrollbar {
    width: 7px;
}

#dropdownNotifMessage .notif-boby::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.44, rgb(122,153,217)), color-stop(0.72, rgb(73,125,189)), color-stop(0.86, rgb(28,58,148)));
}


.li-dropdown-notification a[name=btnDropdownNotifications] {
    position: relative;
}


.li-dropdown-notification a[name=btnDropdownNotifications] .notification-dot {
    position: absolute;
    top: 4px;
    right: -5px;
    width: 9px;
    height: 9px;
    background-color: red;
    border-radius: 50%;
    border: 1px solid white;
    display: none;
}


.li-dropdown-notification a[name=btnDropdownNotifications].has-unread-notif .notification-dot {
    animation: blinking 2s infinite;
    display: block;
}


#dropdownNotifMessage {
    position: fixed;
    right: 0;
    top: 30px;
    width: 468px;
    overflow-y: auto;
    box-shadow: var(--ds-shadow-overlay, 0px 8px 12px #091e4226, 0px 0px 1px #091e424f);
    margin-top: 0;

    border-radius: 0px;
    border-left: 1px solid #4267b2;
    border-right: 1px solid #4267b2;
    padding: 0px;

    .notif-top-area {
        padding: 8px;
        box-shadow: 0px 10px 15px -8px rgba(120,120,120,0.2);
        
        position: sticky;
        z-index: 100;
        top: 0;
        flex-direction: row;
        background-color: white;
    }

    .notif-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 5px;
    }

    .notif-fixed-tool .btn-clean {
        display: none;
        margin-left: -35px;
        margin-top: 2px;
        z-index: 100;
        float: right;
        position: absolute;
        background: transparent;
        border: none;
        color: grey;
        outline: none;
    }

    .notif-fixed-tool .btn-clean:hover,
    .notif-fixed-tool .btn-clean:focus {
        border: none;
        outline: none;
        color: #9f9f9f;
        box-shadow: none;
    }

    .notif-header a[name=btnMarkNotifAllRead] {
        color: gray;
        font-size: 12px;
        font-style: italic;
        padding: 0;
    }

    .notif-header a[name=btnMarkNotifAllRead]:hover {
        color: darkblue;
    }

    .notif-header a[name=btnMarkNotifAllRead] span.fa-bookmark-o {
        font-size: 15px;
        margin-right: 3px;
    }

    .notif-header-title {
        font-size: 18px;
        display: flex;
        gap: 8px;
        align-items: center;
        width: 70px;
    }

    .notif-header-title .notif-header-icon {
        padding-right: 10px;
        position: relative;
    }

    .notif-header-title .notif-header-icon  span.spn-unread-count {
        color: red;
        position: absolute;
        top: -5px;
        right: 5px;
        font-size: 12px;
    }

    .notif-header-title .notif-header-icon .fa-bell-o {
        font-size: 22px;
    }

    .notif-header-title .notif-ajax-loading {
        width: 24px;
        height: 24px;
        background-image: url('/static/H2Tech/images/loading_circle.gif');
        background-size: 24px 24px;
        background-repeat: no-repeat;
        background-position: center;
    }

    .right-side-header {
        display: flex;
        align-items: center;
    }

    .right-side-header button.close {
        margin-left: 25px;
    }

    .right-side-header .lbl-chk-title {
        padding-right: 5px;
        margin-bottom: 0;
        color: grey;
        font-size: 12px;
    }

    .right-side-header .switchToggle label {
        width: 40px;
        height: 20px;
        margin-bottom: 0;
    }

    .right-side-header .switchToggle label::after {
        top: 3px;
        left: 4px;
        width: 14px;
        height: 14px;
        border-radius: 14px;
    }

    .right-side-header .switchToggle input + label:before {
        content: "\f00d";
        font-size: 12px;
        top: 4px;
        left: 23px;
        width: 12px;
        height: 12px;
    }
    
    .right-side-header .switchToggle input:checked + label:before {
        padding-left: 0px;
        content: "\f00c";
        left: 6px;
    }

    .right-side-header .switchToggle input:checked + label:after {
        left: calc(100% - 3px);
    }

    .notif-fixed-tool {
        position: sticky;
        z-index: 100;
        top: 0;
        flex-direction: row;
        padding-top: 8px;
    }

    .notif-fixed-line {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    label[name=lblNotificationCategory], label[name=lblNotificationFromDate], label[name=lblNotificationToDate] {
        padding-top: 5px;
        font-style: italic;
        font-size: 12px;
    }

    label[name=lblNotificationCategory] span, label[name=lblNotificationFromDate] span, label[name=lblNotificationToDate] span {
        color: darkgreen;
    }

    .notif-fixed-tool .txt-notif-search {
        width: calc(100% - 68px);
        position: relative;
    }

    .notif-fixed-tool .txt-notif-search input[name=txtNotifSearch] {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .notif-fixed-tool .input-group-addon:hover {
        color: darkblue;
    }

    .notif-fixed-tool .input-group-addon {
        border-right: 0;
        cursor: pointer;
    }

    .notif-fixed-tool button[name=btnNotifFilter].has-filter {
        background-color: lightskyblue;
    }
    
    .btn.dropdown-toggle {
        height:0px;
        padding:0px;
    }
    
    #optionNotifFitler {
        display: none;
        position: absolute;
        right: 0px;
        background-color: rgba(255, 255, 255, 0.925);
        width: 262px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        max-height: calc(100vh - 95px);
        z-index: 99;
        border: 1px solid #4267b2;
        padding: 8px;

        .filter-header {
            height: 30px;
            width: 100%;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        .filter-header a {
            padding: 3px;
            text-align: center;
            color: #4267b2;
        }

        .filter-header a:hover {
            color: darkred !important;
        }

        .filter-header .fa-refresh {
            font-size: 14px;
            padding-right: 0;
        }

        .filter-header .fa-times {
            font-size: 15px;
            padding-right: 0;
        }
    }

    #optionNotifFitler .notif-filter-by-category {
        padding: 10px 0px;
    }

    #optionNotifFitler label.filter-title {
        color: darkblue;
        padding: 5px 10px 0px 10px;
        margin-top: 15px;
        font-size: 16px;
    }
    
    /* Links inside the dropdown */
    #optionNotifFitler .notif-filter-by-category a {
        color: black;
        padding: 5px;
        text-decoration: none;
        display: block;
    }
    
    /* Change color of dropdown links on hover */
    #optionNotifFitler .notif-filter-by-category a:hover {
        background-color: #04AA6D !important;
        color: #ffffff !important;
    }

    #optionNotifFitler .dropdown-content .notif-filter-by-category a:hover {
        background-color: #04AA6D !important;
        color: #ffffff !important;
    }
    
    #optionNotifFitler .notif-filter-by-category .checked-icon {
        display: inline-block;
        width: 20px;
        
    }
    
    #optionNotifFitler .notif-filter-by-category .checked-icon .fa-check {
        color: green
    }
    
    #optionNotifFitler .notif-filter-by-category .checked-icon .fa-check {
        display: none;
    }
    
    #optionNotifFitler .notif-filter-by-category a[checked] .checked-icon .fa-check {
        display: block;
    }
    
    #optionNotifFitler .dropdown-content .notif-filter-by-category a:hover .checked-icon .fa-check {
        color: white;
    }

    .notif-boby {
        overflow-y: auto;
        height: calc(100vh - 149px);
    }

    .empty-notif-list {
        padding: 35px 25px;
        text-align: center;
    }

    .empty-notif-list label {
        color: gray;
        font-size: 20px;
        margin-top: 20px;
    }

    .empty-notif-list img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 60%;
    }

    .notif-boby .ajax-loading-container {
        height: 30px;
        width: 100%;
        position: relative;
    }

    .notif-boby .ajax-loading-container div {
        width: 100%;
        height: 100%;
        background-image: url('/static/H2Tech/images/loading_circle.gif');
        background-size: 30px 30px;
        background-repeat: no-repeat;
        background-position: center;
    }

    .notif-list .notification-header {
        display: flex;
        padding: 0px 8px;
    }

    .notif-list .notification-header .notif-icon {
        width: 40px;
        align-items: center;
        text-align: center;
    }

    .notif-list .notification-header .notif-icon img {
        width: 30px;
        height: 30px;
    }

    .notif-list .notification-header .notif-title {
        width: 100%;
        padding: 0px 8px;
    }

    .notif-list .notification-header .lbl-notif-time {
        font-size: 11px;
        color: gray;
    }

    .notif-list .notification-header .notif-title label {
        margin: 0;
    }

    .notif-list .notification-header .notif-icon {
        position: relative;
        padding-top: 5px;
    }

    .notif-list .notification-header .notif-icon .notification-dot {
        position: absolute;
        top: 4px;
        right: 2px;
        width: 7px;
        height: 7px;
        background-color: red;
        border-radius: 50%;
        display: none;
    }

    .notif-list .notification-header .lbl-notif-time i {
        margin-right: 5px;
    }

    .notif-list .notification-message {
        padding-top: 8px;
    }

    .notif-list .notification-message + .notification-message {
        border-top: 1px solid #e3e3e3;
    }

    .notif-list .notification-message.unread-msg .notification-header .notif-icon .notification-dot {
        display: block;
    }

    .notif-list .notification-message .notif-link {
        display: none;

    }

    .notif-list .notification-message[has-web-link=true] .notif-link {
        display: block;
    }

    .notif-list .notification-message .notif-link a {
        font-size: 18px;
    }

    /* .notif-list .notification-message .notification-summary {
        padding: 0px 8px;
    } */

    .notif-list .notification-message .notification-content {
        padding: 8px;
    }

    .notif-list .notification-message .notification-body {
        padding-top: 8px;
    }

    .notif-list .notification-message .notification-content.collapsed-text {
        min-height: 50px;
    }
    
    .notif-list .notification-message .notification-content .overflow-cover {
        width:100%;
        height: 70px;
        position:absolute;
        left: 0;
        bottom: 0;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;  
        align-items: center;

        display: none;
    }

    .notif-list .notification-message .notification-content.collapsed-text .overflow-cover {
        display: flex;
    }

    .notif-list .notification-message.unread-msg {
        background-color: #f1f7ff;
    }

    .notif-list .notification-message.unread-msg.unread-expanded-notif {
        cursor: pointer;
    }

    .notif-list .notification-message .collapsed-text .overflow-cover {
        background: linear-gradient(to bottom, #ffffff00 0px, #ffffff1c 40px, #ffffffd9 50px, #ffffff 65px);
    }

    .notif-list .notification-message:hover {
        background-color: #EBEBEB;
    }

    .notif-list .notification-message:hover {
        opacity: 0.9;
    }

    .notif-list .notification-message .btn-show-notif-body {
        color: #4267b2;
        padding: 0px;
    }

    .notif-list .notification-message .collapsed-text {
        max-height: 70px;
        overflow: hidden;
        position: relative;
        padding-bottom: 12px;
    }
}