﻿/*
    robot.top-nav.css v1.1.6
    Author : Asiri Dissanayaka
    Owner : Robot Industries
    Last Modification : Asiri Dissanayaka on 2019-08-16
*/

.star-top-navbar {
    height: 50px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 2px 2px #CCCCCC;
    background-color: #FFFFFF;
    z-index: 10000;
    line-height: 50px;
    color: #006876;
}

.body-content {
    margin-top: 50px !important;
    padding: 10px 15px 50px 15px;
    min-height: calc(100vh - 50px);
}

.star-top-navbar .right-section {
    float: right;
}

    .star-top-navbar .right-section > * {
        display: inline-block;
    }

.star-top-navbar #logoutForm a {
    float: right;
    text-align: center;
    width: 50px;
    font-size: 25px;
    padding: 0 10px;
    color: #006876;
}

    .star-top-navbar #logoutForm a:hover {
        background: #006876;
        color: #ffffff !important;
    }

.star-top-navbar a {
    text-decoration: none;
}

.star-top-navbar .logo {
    height: 50px;
    position: absolute;
    margin: 0 10px;
}

.star-top-navbar .logo-text {
    line-height: 50px;
    font-size: 25px;
    position: absolute;
    left: 70px;
    text-decoration: none;
}

.star-top-navbar #top-menu {
    /*position: absolute;*/
    /*right: 90px;*/
    /*top: 5px;*/
    line-height: 50px;
    font-size: 20px
}

.star-top-navbar #notification-wrapper {
    text-align: center;
    /*position: absolute;*/
    /*right: 45px;*/
    line-height: 50px;
    font-size: 25px;
    cursor: pointer;
    padding: 0 10px;
    width: 50px;
}

    .star-top-navbar #notification-wrapper:hover, .star-top-navbar #notification-wrapper.opened {
        background: #006876;
        color: #ffffff;
    }

.star-top-navbar #top-menu ul .k-state-hover > .k-link {
    color: #ffffff;
}

.star-top-navbar #notification-body {
    display: none;
    background: #ffffff;
    padding: 2px 5px;
    box-shadow: 2px 2px 2px #cccccc;
    border-left: 1px solid #cccccc;
    border-top: none;
    position: absolute;
    top: 50px;
    right: 45px;
}

    .star-top-navbar #notification-body #notification-list > ul {
        list-style: none;
        min-width: 250px;
        min-height: 100px;
        max-height: calc(50vh);
        overflow-x: hidden;
        padding: 0;
    }

    .star-top-navbar #notification-body .notification-item {
        min-width: 300px;
        max-width: calc(50vw);
        overflow: hidden;
        margin: auto 2px;
        padding: 5px 10px;
        line-height: 15px;
        font-size: 12px;
    }

        .star-top-navbar #notification-body .notification-item:hover {
            cursor: pointer;
            background-color: #f0efef;
        }

        .star-top-navbar #notification-body .notification-item .item-content {
            display: block;
        }

        .star-top-navbar #notification-body .notification-item:not(:last-of-type) {
            border-bottom: 1px solid #cccccc;
        }

        .star-top-navbar #notification-body .notification-item .item-content .item-header {
            display: block
        }

            .star-top-navbar #notification-body .notification-item .item-content .item-header .item-type {
                color: #999999;
                text-transform: uppercase;
            }

            .star-top-navbar #notification-body .notification-item .item-content .item-header .item-creation {
                color: #999999;
                float: right;
            }

        .star-top-navbar #notification-body .notification-item .item-content .item-title {
            color: #006876;
            font-weight: bold;
        }

        .star-top-navbar #notification-body .notification-item.has-read .item-content .item-title {
            color: #999999;
        }

        .star-top-navbar #notification-body .notification-item .item-content .item-text {
            color: #006876;
        }

        .star-top-navbar #notification-body .notification-item.has-read .item-content .item-text {
            color: #999999;
        }

        .star-top-navbar #notification-body .notification-item .mark-as-read {
            float: right;
        }

            .star-top-navbar #notification-body .notification-item .mark-as-read:hover {
                float: right;
                font-size: 150%;
            }

/*.star-top-navbar #notification-header {
    text-align: right;
}*/

.star-top-navbar #notification-footer {
    text-align: center;
}

/*Notification grid styles begin*/

#notifiation-grid .notification-item {
    line-height: 15px;
    font-size: 12px;
    padding: 5px;
}

#notifiation-grid .notification-item:hover {
    cursor: pointer;
    background-color: #f0efef;
}

#notifiation-grid .notification-item .item-content {
    display: block;
}

#notifiation-grid .notification-item:not(:last-of-type) {
    border-bottom: 1px solid #cccccc;
}

#notifiation-grid .notification-item .item-content .item-header {
    display: block
}

    #notifiation-grid .notification-item .item-content .item-header .item-type {
        color: #999999;
        text-transform: uppercase;
    }

    #notifiation-grid .notification-item .item-content .item-header .item-creation {
        color: #999999;
        float: right;
    }

#notifiation-grid .notification-item .item-content .item-title {
    color: #006876;
    font-weight: bold;
}

#notifiation-grid .notification-item.has-read .item-content .item-title {
    color: #999999;
}

#notifiation-grid .notification-item .item-content .item-text {
    color: #006876;
}

#notifiation-grid .notification-item.has-read .item-content .item-text {
    color: #999999;
}

#notifiation-grid .notification-item .mark-as-read {
    float: right;
}

    #notifiation-grid .notification-item .mark-as-read:hover {
        float: right;
        font-size: 150%;
    }

@media (max-width: 768px) {
    .star-top-navbar .logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .star-top-navbar .user-pic {
        display: none;
    }

    .star-top-navbar #top-menu {
        right: 30px;
    }
}
