﻿.notification-group {
    vertical-align: top;
    margin-right: 5px;
    float: right;
}

.notification-icon {
    margin-top: 8px;
    width: 30px;
    height: 22px;
    position: relative;
    background-position: bottom left;
    background-repeat: no-repeat;
    cursor: pointer;
}

    .notification-icon:active {
        box-shadow: 0 0 0;
    }

    .notification-icon button {
        background-color: transparent;
        border: 0;
    }

.notification-count,
.notification-count-disconnected,
.notification-count-reconnecting {
    background-color: #5539bc;
    background-size: 14px;
    position: absolute;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    right: 1px;
    top: -7px;
    text-align: center;
    line-height: 18px;
}

.notification-count-disconnected {
    background-color: #5539bc;
    line-height: 16px;
    font-size: 16px;
    font-weight: bold;
}

.notification-count-reconnecting {
    background-color: #5539bc;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-animation: spin 1.5s linear infinite;
    -moz-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.notification {
    margin-top: 14px;
    margin-right: 0;
    border-radius: 0;
    width: 340px;
    padding: 0;
    overflow: inherit;
    border: 0;
    box-shadow: 0px 1px 4px rgba(24,24,24,0.26);
}

    .notification:after {
        content: '';
        position: absolute;
        border-style: solid;
        border-width: 0 9px 9px;
        border-color: #fff transparent;
        display: block;
        width: 0;
        z-index: 1055;
        top: -9px;
        right: 14px;
    }

    .notification ul {
        list-style: none;
        min-height: 200px;
        max-height: 400px;
        padding: 0;
        margin: 0;
    }

    .notification li:after {
        display: none;
    }

    .notification li {
        /*padding: 16px 20px 10px 20px;*/
        border-bottom: 1px solid #e5e5e5;
        cursor: pointer;
    }

        .notification li.new-notification {
            background: #dedede;
            border-bottom: 1px solid #fff;
        }

        .notification li .notification-list-item {
            position: relative;
            padding: 16px 20px 10px 20px;
        }

        .notification li:hover .notification-list-item {
            background: rgba(0, 0, 0, 0.05);
        }

        /*.notification li:hover {
        background: rgba(0, 0, 0, 0.05);
    }*/

        .notification li:last-of-type {
            border-bottom: 0;
        }

.notification-date {
    color: #a9a9a9;
    font-size: 14px;
    line-height: 14px;
    font-weight: 100;
}

.notification-dd-box label.notification-status {
    color: #a9a9a9;
    font-size: 14px;
    line-height: 14px;
    font-weight: normal;
    float: right;
}

.notification-dd-icon {
    width: 16px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
}

.notification-dd-box {
    display: inline-block;
    width: calc(100% - 30px);
}

.notification-message {
    font-size: 14px;
    width: 100%;
    max-height: 36px;
    display: block;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-dd-box label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 16px;
    padding-right: 2px;
    cursor: pointer;
    display: inline;
    line-height: 16px;
}

    .notification-dd-box label.file-path {
        font-weight: 100;
    }
    .notification-dd-box label.code {
        font-weight: bold;
    }

    .notification-dd-box label.notification-item-name {
        max-width: 215px;
        font-weight: normal;
    }

.notification-dropdown-bar {
    display: block;
    height: 30px;
    padding: 0 15px;
    overflow: visible;
}

.notification-top-bar {
    display: inline-block;
}

.top-bar a.notification-modul {
    line-height: 30px;
    height: 30px;
    padding: 0 5px;
    display: inline-block;
    vertical-align: top;
    color: #898989;
}

    .top-bar a.notification-modul.active {
        font-weight: bold;
        color: #000;
    }

.top-bar a.notification-link {
    line-height: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: top;
    color: #7fad5a;
    float: right;
}

.top-bar a.notification-link-left {
    line-height: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: top;
    color: #7fad5a;
    float: left;
}

.notification-dropdown-bar .wrap-dd-select {
    background: #f5f5f5;
    width: 120px;
    height: 24px;
    line-height: 24px;
    display: inline-block;
    margin: 3px 0;
}

    .notification-dropdown-bar .wrap-dd-select .dropdown-menu-items li a {
        line-height: 24px;
    }

.btn-group.open .dropdown-toggle {
    box-shadow: 0 0 0;
}

.btn-group.open .notification-dropdown-bar .dropdown-toggle {
    height: 24px;
    padding-left: 0px;
    box-shadow: 0 0 0;
}

.read-message,
.unread-message {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 8px;
    height: 8px;
    border: 1px solid #7fad5a;
    border-radius: 4px;
    background: #fff;
}

.unread-message {
    background: #7fad5a;
}
