﻿@charset "utf-8";

.notification-center-container {
    width: 400px;
    height: auto;
    position: fixed;
    left: auto;
    right: 0;
    top: 0px;
    bottom: 0px;
    height: auto;
    background-color: gainsboro;
    overflow: hidden;
    z-index: 10;
    box-shadow: -3px 0px 5px 0px grey;
    transition: ease width 0.4s;
    border: none;
    border-left: 1px solid black;
}

.notification-center {
    background-color: #285D98;
    width: 400px;
    color: white;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    overflow-y: auto;
    height: 100%;
}

.notification-center-container.closed {
    margin-left: 300px;
    width: 0px;
}

.notification-center-title {
    height: 50px;
    width: 100%;
    border-bottom: 2px solid white;
    background-color: darkgray;
    line-height: 40px;
    vertical-align: middle;
    padding: 0px 20px;
    text-transform: uppercase;
    font-family: arial;
    letter-spacing: 1px;
    background: transparent;
    font-weight: bold;
}

.notification-center-total {
    background-color: white;
    color: black;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 10px;
    padding: 6px 12px;
}

.notification-center-button {
    cursor: pointer;
    float: right;
    width: 55px;
    height: 55px;
    background-color: #343A40;
    color: var(--sidebar-fore-color);
    text-align: center;
    vertical-align: middle;
    line-height: 55px;
    margin: auto;
    padding: 0px;
    margin-top: -10px;
}

    .notification-center-button i {
        line-height: 55px;
        vertical-align: middle;
    }


ul.notification-items {
    list-style-type: none;
    padding-left: 0px;
}

li.notification-item {
    border-bottom: 1px solid dimgray;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-image: url(icons/message-read.png);
    background-position: 30px 40px;
    background-repeat: no-repeat;
    min-height: 75px;
}

    li.notification-item:hover {
        background-color: #5f5f5f;
    }

    li.notification-item.unread-item {
        background-image: url(icons/message-unread.png);
    }

.notification-item-datetime {
    font-family: monospace;
    color: gainsboro;
    text-align: center;
    width: 20%;
    display: inline-block;
    vertical-align: top;
    margin-top: 0px;
    line-height: 1.2em;
}

div.notification-item-title {
    color: white;
    width: 69%;
    display: inline-block;
}

span.notification-item-title {
    font-family: arial;
}

.notification-item-content {
    font-size: 90%;
    color: lightgray;
    margin-left: 22%;
    width: 69%;
    display: inline-block;
    line-height: 1.2em;
    font-family: arial;
}

.notification-item-url {
    line-height: 1.2em;
    color: #b7b7b7;
    text-align: right;
    width: 100%;
    display: inline-block;
    margin-right: auto;
    margin-left: auto;
    padding-right: 60px
}

    .notification-item-url a {
        font-size: 90%;
        font-family: arial;
        font-variant: small-caps;
        color: #b7b7b7;
    }

    .notification-item-url a {
        font-size: 80%;
    }

        .notification-item-url a:hover {
            background: white;
            color: black !important;
        }

div.notification-close {
    margin-top: -2px;
    width: 8%;
    float: right;
    vertical-align: top;
    margin-right: 4px;
}

button.notification-close {
    background-color: transparent;
    color: lightgray;
    border-color: transparent;
    width: 30px;
}

.notification-alert {
    animation-name: ring;
    animation-duration: 1.5s;
    animation-iteration-count: 2;
}

@keyframes ring {
    0% {
        transform: rotate(0deg)
    }

    5% {
        transform: rotate(45deg)
    }

    15% {
        transform: rotate(-40deg)
    }

    25% {
        transform: rotate(20deg)
    }

    35% {
        transform: rotate(-15deg)
    }

    45% {
        transform: rotate(10deg)
    }

    55% {
        transform: rotate(-5deg)
    }

    60% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(0deg)
    }
}

.pulse-effect {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.75);
    -webkit-animation: pulse 1s;
}

@keyframes pulse {
    0% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    70% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        box-shadow: 0 0 0 1200px rgba(255, 0, 0, 0);
    }

    100% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}


.btn.btn-notify > i.notify-off {
    color: gray;
}

.notification-center {
    background-color: #343A40;
}
