﻿
.status_icon {
    background-image: url('/Content/Images/status.png');
}

    .status_icon:hover {
        background-image: url('/Content/Images/status_h.png');
    }

.refresh_icon {
    background-image: url('/Content/Images/refresh.png');
}

    .refresh_icon:hover {
        background-image: url('/Content/Images/refresh_h.png');
    }

.icon_48 {
    width: 48px;
    height: 48px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.icon_24 {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


.float_r {
    float: right;
}

#messages-dlg {
    overflow-y: hidden;
    overflow-x: hidden;
    padding: 0 !important;
    padding-right: inherit;
}

    #messages-dlg table {
        height: 100%;
        width: 100%;
    }

        #messages-dlg table td {
            vertical-align: top;
        }

    #messages-dlg .recent-messages-bar {
        width: 300px;
        height: 100%;
        background-color: white;
        border-right: 1px solid lightgrey;
        overflow-y: auto;
        border-bottom-left-radius: 15px;
    }

        #messages-dlg .recent-messages-bar ul.tab-header.ui-widget-header {
            display: flex;
            width: 100%;
            height: 60px;
            background-color: #071848 !important;
        }

        #messages-dlg .recent-messages-bar ul.tab-header li {
            position: initial;
            float: initial;
            width: 30%;
            min-width: auto;
            text-align: center;
            cursor: pointer;
            background-color: initial !important;
            height: 46px;
            margin: 0;
            margin-top: 6px;
            margin-left: 2%;
            border: none;
            border-radius: 5px;
        }

            #messages-dlg .recent-messages-bar ul.tab-header li:hover, #messages-dlg .recent-messages-bar ul.tab-header li.ui-tabs-active {
                background-color: #3B5193 !important;
            }


            #messages-dlg .recent-messages-bar ul.tab-header li a {
                float: initial;
                min-width: initial;
            }

                #messages-dlg .recent-messages-bar ul.tab-header li a img,
                #messages-dlg .recent-messages-bar ul.tab-header li a img:hover,
                #messages-dlg .recent-messages-bar ul.tab-header li a:hover img
                #messages-dlg .recent-messages-bar ul.tab-header li:hover a img {
                    /*margin-left: -5px;*/
                    background-color: initial;
                }

            #messages-dlg .recent-messages-bar ul.tab-header li p {
                width: 100%;
                margin-top: -4px;
                margin-bottom: 0;
            }

                #messages-dlg .recent-messages-bar ul.tab-header li p span {
                    margin: 0;
                    text-align: unset;
                    font-size: 16px;
                    width: 100%;
                    color: white;
                }



        #messages-dlg .recent-messages-bar div.ui-tabs-panel li div.right {
            float: right;
            width: 80px;
            height: 24px;
            margin-top: 10px;
            display: none;
        }

        #messages-dlg .recent-messages-bar div.ui-tabs-panel li.selected-link div.right {
            display: initial;
        }

        #messages-dlg .recent-messages-bar div.ui-tabs-panel li div.right a {
            width: 24px;
            height: 24px;
        }

        #messages-dlg .recent-messages-bar div.ui-tabs-panel li p.topic-line {
            display: inline-block;
            text-overflow: ellipsis;
            overflow: hidden;
            text-wrap-mode: nowrap;
            width: calc(100% - 80px);
            margin: 0;
            padding: 0;
            margin-top: 10px;
        }

        #messages-dlg .recent-messages-bar div#recent-tabs div.ui-tabs-panel {
            padding: 0;
        }

.recent-panel {
    padding-left: 0px;
}

    .recent-panel ul {
        list-style: none;
        padding-inline-start: 0;
    }

        .recent-panel ul li {
            height: 50px;
            line-height: 50px;
            border-bottom: 1px solid #f6f6f6;
            background-color: white;
            cursor: pointer;
        }

            .recent-panel ul li:hover {
                background-color: #f6f6f6;
            }

            .recent-panel ul li a img, .recent-panel ul li p img {
                border-radius: 20px;
                margin-right: 5px;
                margin-left: 2px;
                width: 40px;
                height: 40px;
                display: inline-block;
                background-repeat: no-repeat;
                background-size: 100% 100%;
            }


    .recent-panel li.has-messages a {
        color: red;
        width: 100%;
        display: inline-block;
    }

    .recent-panel li.no-messages a {
        color: black;
        width: 100%;
        display: inline-block;
    }

    .recent-panel li.staff {
        background: lightblue;
    }

    .recent-panel li a {
        text-decoration: none;
        overflow-x: hidden;
        overflow-y: hidden;
        text-wrap: nowrap;
    }

        .recent-panel li a.selected-link, .recent-panel li.selected-link {
            background-color: #d8eefe;
            color: black;
        }

    .recent-panel li.staff a.selected-link {
        background-color: brown;
    }

#messages-dlg .content-bar {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    margin: 0;
    padding: 0 0 0 20px;
    background-color: white;
}

    #messages-dlg .content-bar .message-content p {
        background-color: #f7f7f7;
        padding: 2px 7px;
        border-radius: 5px;
        margin-bottom: 2px;
    }

    #messages-dlg .content-bar .message-content .message-user,
    #messages-dlg .content-bar .message-content .message-time {
        text-align: right;
        display: block;
    }

    #messages-dlg .content-bar .incoming .message-content p {
        background-color: #64DAFD;
    }

    #messages-dlg .content-bar .incoming .message-content .message-user,
    #messages-dlg .content-bar .incoming .message-content .message-time {
        text-align: left;
        display: block;
    }

    #messages-dlg .content-bar .message-content a {
        text-decoration: underline !important;
    }

#messages-dlg .bottom-bar {
    width: 100%;
    height: 60px;
    background: whitesmoke;
    display: flex;
    align-items: center;
    padding-left: 3px;
    border-bottom-right-radius: 15px;
}

    #messages-dlg .bottom-bar textarea {
        border-radius: 0;
        border-color: lightblue;
        height: 50px;
        background-color: white;
        width: calc(100% - 50px);
        resize: none;
    }

    #messages-dlg .bottom-bar a {
        float: right;
    }

.content-bar div.message-wrapper {
    width: calc(100% - 200px);
    border-radius: 5px;
}

    .content-bar div.message-wrapper p {
    }

    .content-bar div.message-wrapper .message-user {
        margin: 3px;
        margin-right: 20px;
        color: black;
        font-weight: bold;
        font-size: 14px;
    }

    .content-bar div.message-wrapper .message-time {
        font-size: 10px;
    }

    .content-bar div.message-wrapper.incoming {
        /*float: left;*/
        margin: 3px
    }

    .content-bar div.message-wrapper.outgoing {
        margin: 3px;
        margin-left: 190px;
        /*		border: 1px solid #D8EEFE;
		background: #D8EEFE;*/
    }

        .content-bar div.message-wrapper.outgoing .message-user {
            color: #5f5f5f;
        }
