﻿:root {
    --status-color-green: rgb(75, 192, 192);
    --light-gray: #ececec;
}
#notificationsBlock p, #notificationsBlock span, #notificationsBlock a {
    font-family: 'Heebo' !important;
}

.notification-text > p {
    padding: 0;
    margin: 0;
}

.notifications-container {
    background-color: white;
    border-radius: 13px;
    padding: 15px;
    max-width: 400px;
    max-height: 400px;
    overflow: auto;
}

    .notifications-container .header .title {
        text-align: right;
        font-weight: 800;
        font-size: 15px;
    }

        .notifications-container .header .title .unread-notifications-number {
            color: #000!important;
            background-color: #0a317b;
            padding: 2px 13px;
            border-radius: 5px;
            margin-left: 12px;
        }
.unread-notifications-number{
    font-weight:700;
}

.notifications-container .header .mark-as-read .mark-as-read-button {
    color: #5e6778;
    text-decoration: none;
    -webkit-transition: all ease-in-out 200ms;
    transition: all ease-in-out 200ms;
}

        .notifications-container .header .mark-as-read .mark-as-read-button:hover {
            color: #0a317b;
        }

    .notifications-container .notifications {
        margin: 5px;
        cursor: pointer;
    }

        .notifications-container .notifications .single-notification-box {
            padding: 5px;
            border-radius: 7px;
            margin-top: 10px;
            margin-bottom: 10px;
            border: none;
        }

            .notifications-container .notifications .single-notification-box .profile-picture {
                /*width: 45px;*/
                height: 45px;
                padding: 0;
            }

                .notifications-container .notifications .single-notification-box .profile-picture img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

            .notifications-container .notifications .single-notification-box .clickable-image {
                border: none;
                border-radius: 6px;
            }

                .notifications-container .notifications .single-notification-box .clickable-image:hover {
                    outline: 2px solid #e5effa;
                    outline-offset: 2px;
                    cursor: pointer;
                }

            .notifications-container .notifications .single-notification-box .notification-text {
                /*padding: 0 0 0 14px;*/
                padding: 0;
            }

                .notifications-container .notifications .single-notification-box .notification-text .link {
                    text-decoration: none;
                    font-weight: 800;
                    color: #5e6778;
                    -webkit-transition: all ease-in-out 200ms;
                    transition: all ease-in-out 200ms;
                    margin-right: 5px;
                }

                    .notifications-container .notifications .single-notification-box .notification-text .link:hover {
                        color: #0a317b;
                    }

                .notifications-container .notifications .single-notification-box .notification-text .name {
                    color: #000000;
                }

                .notifications-container .notifications .single-notification-box .notification-text .description {
                    color: #5e6778;
                    margin-right: 5px;
                    font-weight: 500;
                }

        .notifications-container .notifications .unread .description {
            font-weight: bold;
        }

        .notifications-container .notifications .single-notification-box .notification-text .time {
            color: #939dae;
        }

        .notifications-container .notifications .single-notification-box .notification-text .private-message {
            padding: 20px;
            border: 1px solid #e5effa;
            border-radius: 7px;
            margin-top: 10px;
            color: #5e6778;
            -webkit-transition: all ease-in-out 200ms;
            transition: all ease-in-out 200ms;
        }

            .notifications-container .notifications .single-notification-box .notification-text .private-message:hover {
                background-color: #e5effa;
                cursor: pointer;
            }

        .notifications-container .notifications .editNotification {
            font-size: 20px;
            color: #000000;
            display: inline;
        }

        .notifications-container .notifications .unread {
            background-color: #e7eef6;
        }

            .notifications-container .notifications .unread .unread-symbol {
                font-size: 20px;
                color: #0089ff;
                display: inline;
            }

        .notifications-container .notifications .read {
            background-color: #fff;
            border-bottom: 1px solid #a86969;
        }

            .notifications-container .notifications .read .unread-symbol {
                display: none;
            }



            /*new-design*/
.nd-notificationsBlock {
    margin-top: 13px;
    background-color: #e8f1f3;
    padding: 20px 20px 5px 20px;
    border-radius: 3px;
    max-height: 400px;
    overflow: auto;
    max-width: 511px;
    box-shadow: none !important;
    overflow-x: hidden !important;
    border: #bebebe solid 1px;
}

.single-notification-box {
    margin: 0 !important;
    margin-bottom: 10px !important;
}

.nd-notifications {
    padding: 0 !important;
}

.nd-ul-con-btns {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
}

.nd-toggle-button {
    float: none !important;
    min-width: 80px;
    border: solid 1px var(--light-gray) !important;
    background: var(--bs-table-striped-bg);
}

    .nd-toggle-button.active {
        border-bottom: none !important;
        background: #fff;
        color: var(--color-pallete-1);
    }

.nd-tab-container {
    background: none !important;
    padding: 10px;
}

.fill-li-border {
    width: max-content;
    border-bottom: solid 1px var(--light-gray) !important;
}

.nd-notifications-header-row {
    justify-content: space-between;
}

.nd-notifications-updates-left {
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 9px;
}

.nd-single-notification-box {
    min-height: 80px;
}
.nd-notification-menu {
    background: #fff !important;
    color: #39536f;
    cursor: pointer;
    border-radius: 8px;
    background-color: rgb(204 214 233);
    position: absolute;
    z-index: 1000;
    color: black;
    text-align: right;
    font-size: 14px;
    cursor: unset !important;
    z-index: 1011 !important;
    background-color: var(--bg-light) !important;
    background: var(--bg-light) !important;
    border: var(--color-pallete-1) 1px solid !important;
}

    .nd-notification-menu li:hover {
        background: var(--cyan) !important;
        color: #fff;
    }

    .nd-notification-menu li {
        padding: 3px;
    }

.tabRow a, .tabRow a:hover {
    text-decoration: none;
}

.tabRow ul {
    margin: 0 0 -1px;
    padding: 0;
    list-style-type: none;
    overflow: hidden;
}

.tabContainer {
    margin: -1px 0 0;
    border-radius: 3px;
    border-top-left-radius: 0;
}

.tab {
    color: #000;
    border: 1px solid silver;
    border-left: none;
    text-decoration: none;
    cursor: pointer;
    float: left;
    padding: 5px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

    .tab:hover {
        color: dodgerblue;
    }


    .tab:nth-child(1) {
        border-left: 1px solid silver;
        border-top-left-radius: 3px;
    }

    .tab:nth-last-child(1) {
        border-top-right-radius: 3px;
    }
#notificationsBlock {
    background-color: var(--bg-light);
    border: var(--color-pallete-1) solid 1px;
}

#notificationsCountBlock {
    left: unset !important;
    width: 23px !important;
    height: 23px !important;
    background-color: var(--color-pallete-22) !important;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}
#unreadNotifications, #allNotifications{
    text-align:center;
}
#unreadNotifications {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
#allNotifications {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
.nd-notificationsBlock {
    max-width: 511px!important;
}
.single-notification-box {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap !important;
    max-width: 100%;
    width: 100%;
    /* position: relative; */
}
.nd-notifications-header-row {
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-start!important;
}
.single-notification-box.unread .nd-status-read-circle {
    background-color: var(--status-color-green);
}

.single-notification-box.read .nd-status-read-circle {
    background-color: var(--light-gray);
}

.nd-status-read-circle {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 7px;
}
@media (min-width: 992px) {
    #notificationsBlock{
        left:0;
    }
    /*HERE ONLY DESKTOP*/
}