﻿/*TODO: transfer all notification code to here*/

.notification-background-container:hover {
    background-color: initial;
}

.notification-background-container {
    transition: background-color 2s ease;
}

    .notification-container {
        transition: background-color 2s ease;
    }

.notification-background-container.unread {
    background-color: #f0f8ff;
}

    .notification-background-container.unread .notification-container {
        background-color: #f0f8ff;
    }

.notifications-container ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .notifications-container ul > li {
        padding: 1.2rem 0;
    }

        .notifications-container ul > li:first-child {
            padding-top: 0px;
        }

        .notifications-container ul > li:last-child {
            padding-bottom: 0px;
        }

.notifications-container .divider {
    height: 1px;
    background-color: #e5e5e5;
}

    .notifications-container .divider:last-child {
        display: none;
    }

    .notifications-container .notification-container {
        margin: 0;
    }

.notification-container span.timeago {
    font-size: 0.9rem;
    color: #bbb;
}

a.request-accepted {
    color: #00ad00;
    text-decoration: underline;
}

a.request-rejected {
    color: #d9534f;
    text-decoration: underline;
}

p.request-accepted {
    color: #00ad00;
}

p.request-rejected {
    color: #d9534f;
}

span.request-accepted {
    color: #00ad00;
}

span.request-rejected {
    color: #d9534f;
}

.request-comment {
    color: #72848c;
}

.navbar .nav-notifications {
    font-size: 1.5rem;
}

.navbar .unread-notifications-count {
    position: absolute;
    min-width: 20px;
    height: 20px;
    line-height: 10px;
    padding: 5px;
    top: -6px;
    left: 50%;
    background-color: #f43a59;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: opacity 0.225s ease-in-out;
    -moz-transition: opacity 0.225s ease-in-out;
    -o-transition: opacity 0.225s ease-in-out;
    transition: opacity 0.225s ease-in-out;
    box-sizing: border-box;
}

    .navbar .unread-notifications-count::after {
        content: initial;
    }

.navbar .small-nav-container #notifications-menu-small a {
    position: relative;
}

.navbar .small-nav-container .unread-notifications-count {
    top: 1px;
    left: 54%;
}

.navbar .nav-notifications-dropdown {
    line-height: 1.7;
    min-width: 300px;
}

    .navbar .nav-notifications-dropdown .notification-container {
        min-height: 24px;
        white-space: initial;
        font-size: 1rem;
        display: block;
        clear: both;
        font-weight: normal;
        margin: 0px;
        overflow: hidden;
        text-transform: none;
    }

        .navbar .nav-notifications-dropdown .notification-container a {
            font-size: 1rem;
            text-decoration: underline;
        }

            .navbar .nav-notifications-dropdown .notification-container a:not([href]):not([tabindex]) {
                color: inherit;
                text-decoration: none;
            }

        /*.navbar .nav-notifications-dropdown .notification-container:hover {
            filter: none;
            background: #f8f9fa;
        }*/

.nav-notifications-dropdown .notification-container a.request-accepted:hover {
    color: #00ad00;
    text-decoration: underline;
}

.nav-notifications-dropdown .notification-container a.request-rejected:hover {
    color: #d9534f;
    text-decoration: underline;
}

.nav-notifications-dropdown .notification-container.request-accepted .request-comment {
    color: #72848c;
}

.nav-notifications-dropdown .notification-container.request-rejected .request-comment {
    color: #72848c;
}

span.request-comment {
    font-style: italic;
}

.nav-notifications-dropdown .notification-view-more {
    font-style: italic;
    font-size: 0.9rem !important;
    cursor: pointer;
}

.nav-notifications-dropdown .request-respond, .notifications-container .request-respond {
    margin-top: 6px;
}

.nav-notifications-dropdown span.request-accepted {
    color: #00ad00;
}

.nav-notifications-dropdown span.request-rejected {
    color: #d9534f;
}

.nav-notifications-dropdown .divider {
    height: 1px;
    background-color: #e5e5e5;
}

.nav-notifications-dropdown .all-notifications {
    text-transform: none;
    font-size: 1rem;
    padding-bottom: 5px !important;
}

.notifications-animated-background {
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    background-size: 800px 104px;
    height: 84px;
    position: relative;
}

.notifications-background-masker {
    background: #fff;
    position: absolute;
}

    /* Every thing below this is just positioning */

    .notifications-background-masker.content-second-line,
    .notifications-background-masker.content-third-line,
    .notifications-background-masker.content-second-end,
    .notifications-background-masker.content-third-end,
    .notifications-background-masker.content-first-end,
    .notifications-background-masker.content-bottom {
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
    }

    .notifications-background-masker.content-first-end,
    .notifications-background-masker.content-second-end,
    .notifications-background-masker.content-third-end {
        width: auto;
        left: 440px;
        right: 0;
        top: 0;
        height: 8px;
    }

    .notifications-background-masker.content-second-line {
        top: 8px;
    }

    .notifications-background-masker.content-second-end {
        left: 500px;
        top: 14px;
    }

    .notifications-background-masker.content-third-line {
        top: 22px;
    }

    .notifications-background-masker.content-third-end {
        left: 60px;
        top: 28px;
    }

    .notifications-background-masker.content-bottom {
        top: 34px;
        height: 50px;
    }
