﻿body {
    margin: 0px;
    padding: 0px;
}

.page {
    display: grid;
    grid-template-rows: 52px 96px auto 52px;
    grid-template-columns: 1fr;
    height: 100vh;
}

.toolbar {
    grid-row: 2;
}

.contentToolbar {
    grid-row: 3;
    background-color: whitesmoke;
    overflow: auto;
}

.content {
    grid-row: span 2;
    overflow: auto;
    background-color: whitesmoke;
}

.footer {
    background-color: whitesmoke;
    border-top: solid;
    border-width: 1px;
    border-color: lightgray;
    grid-row: 4;
    transition: background-color .25s linear;
}

footer
{
    display:flex;
}

#logo {
    position: fixed;
    bottom: 5px;
    right: 4px;
    height: 42px;
    width: auto;
}

.header {
    background-color: white;
    grid-row: 1;
}

.padding {
    padding: 10px;
}

.paddingTop {
    padding: 10px;
}

.panel-body {
    overflow-y: auto;
}

.form-horizontal {
    margin-top: 20px;
}

.statusbar .notification-bell {
    margin-left: 12px;
    width: 30px;
}

    .statusbar .notification-bell:hover {
        color: blue;
        cursor: pointer;
    }

    .statusbar .notification-bell i {
        position: relative;
        font-size: 28px;
        margin-top: 12px;
    }

    #notification-bell-icon.has-notifications {
        color: maroon;
    }

    .statusbar .notification-bell .notification-list-holder {
        border: 1px solid #276eb1;
        border-radius: 12px;
        z-index: 1000;
        position: absolute;
        bottom: 48px;
        left: 12px;
        width: 250px;
        height: calc(100vh - 52px - 15%);
        background-color: white;
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
        padding: 12px;
        cursor: default;
    }

.statusbar .notifications {
    display: flex;
    height:100%;
    align-items: center;
    gap: 12px;
    flex-direction: column;
    overflow-y: auto;
}

.statusbar .notification-list-holder .load-more {
    margin-top: 12px;
    margin-bottom: 12px;
}

.statusbar .notification-list-holder .notification {
    background-color: whitesmoke;
    border-radius: 12px;
    padding: 8px;
    color: black;
    cursor: pointer;
    position: relative;
    width: 200px;
}

    .statusbar .notification-list-holder .notification:hover {
        background-color: whitesmoke;
        border-radius: 12px;
        padding: 8px;
        color: black;
        cursor: pointer;
        background-color: lightgoldenrodyellow;
    }

.statusbar .notification .is-new {
    color: #276eb1;
    position: absolute;
    right: 8px;
    top: 0px;
}

    .statusbar .notification .is-new i {
        font-size: 16px;
    }

footer [hidden]
{
    display:none;
}

.statusbar .notification-list-holder .notification p {
    font-size: 18px;
    padding: 0px;
    margin: 0px;
}

.itemSelection.restricted {
    pointer-events: none;
    color:rgba(0,0,0,0.5);
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
}

.itemSelection.restricted img {
    opacity:0.5;
}

    .itemSelection.restricted .btn-group {
        opacity: 0.5;
    }

    .itemSelection.restricted > div::before {
        content: "Restricted";
        position: absolute;
        top: 50%;
        left: 50%;
        opacity: 0.9;
        transform: translate(-50%, -50%);
        color: #b00;
        font-weight: bold;
        font-size: 1.2em;
        background: rgba(255, 255, 255, 0.7);
        padding: 5px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        z-index: 1;
        text-transform: uppercase;
        pointer-events: none;
    }

.restricted-aware tr[restricted] {
    pointer-events: none; 
    background-color: #f2f2f2; 
    opacity: 0.6; 
    position: relative;
}

.restricted-aware tr[restricted] td:first-child::before {
    content: "Restricted";
    position: absolute;
    top: 50%;
    left: 50%;
    opacity:0.9;
    transform: translate(-50%, -50%);
    color: #b00; 
    font-weight: bold;
    font-size: 1.2em;
    background: rgba(255, 255, 255, 0.7); 
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 1; 
    text-transform: uppercase;
    pointer-events: none; 
}

    .statusbar .notification-list-holder .notification p.datetime {
        font-size: 12px;
    }

    .statusbar .notification-list-holder .notification p.from {
        font-size: 14px;
    }

    .statusbar .notification-list-holder .notification p.title {
        font-size: 18px;
    }

    .statusbar .notification-view
    {
        background-color:white;
        top:0;
        bottom:0;
        left:0;
        right:0;
        z-index:2000;
        border:4px solid black;
        position:absolute;
        display:flex;
        align-content:center;
        justify-content:center;
        align-items:center;
    }

        .statusbar .notification-view .notification-content {
            background-color: whitesmoke;
            border-radius: 12px;
            padding: 24px;
            width: calc(100vw - 20%);
            height: calc(100vh - 20%);
            box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
        }

    .statusbar .notification-view .notification-content-area
    {
        color:black;
        overflow-y:auto;
    }

        .statusbar .notification-view .notification-content-area .date-time {
            font-size:16px;
        }

        .statusbar .notification-view .notification-content-area .from {
            font-size: 18px;
        }

        .statusbar .notification-view .notification-content-area .title {
            font-size: 24px;
            font-weight:800;
        }

        .statusbar .notification-view .notification-content-area .text {
            font-size: 16px;
        }

    .statusbar .notification-view > button
    {
        position:absolute;
        top:4px;
        right:4px;
    }

    .statusbar [hidden]
    {
        display:none;
    }

