﻿.chat-app .people-list {
    width: 280px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0px;
    z-index: 7
}

.chat-app .chat {
    margin-left: 280px;
    border-left: 1px solid #eaeaea
}

.people-list {
    -moz-transition: .5s;
    -o-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s
}

    .people-list .chat-list li {
        padding: 10px 15px;
        list-style: none;
        border-radius: 3px
    }

        .people-list .chat-list li:hover {
            background: #efefef;
            cursor: pointer
        }

        .people-list .chat-list li.active {
            background: #efefef
        }

        .people-list .chat-list li .name {
            font-size: 15px
        }

    .people-list .chat-list img {
        width: 45px;
        border-radius: 50%
    }

    .people-list img {
        float: left;
        border-radius: 50%
    }

    .people-list .about {
        float: left;
        padding-left: 8px
    }

    .people-list .status {
        color: #999;
        font-size: 13px
    }

.chat .chat-header {
    padding: 15px 20px;
    border-bottom: 2px solid #f4f7f6
}

    .chat .chat-header img {
        float: left;
        border-radius: 40px;
        width: 40px
    }

    .chat .chat-header .chat-about {
        float: left;
        padding-left: 10px
    }

.chat .chat-history {
    padding: 20px;
    border-bottom: 2px solid #fff
}

    .chat .chat-history ul {
        padding: 0
    }

        .chat .chat-history ul li {
            list-style: none;
            margin-bottom: 30px
        }

            .chat .chat-history ul li:last-child {
                margin-bottom: 0px
            }

    .chat .chat-history .message-data {
        margin-bottom: 15px
    }

        .chat .chat-history .message-data img {
            border-radius: 40px;
            width: 40px
        }

    .chat .chat-history .message-data-time {
        color: #434651;
        padding-left: 6px
    }

    .chat .chat-history .message {
        color: #444;
        padding: 18px 20px;
        line-height: 26px;
        font-size: 16px;
        border-radius: 7px;
        display: inline-block;
        position: relative
    }

        .chat .chat-history .message:after {
            bottom: 100%;
            left: 7%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-bottom-color: #fff;
            border-width: 10px;
            margin-left: -10px
        }

    .chat .chat-history .my-message {
        background: #efefef
    }

        .chat .chat-history .my-message:after {
            bottom: 100%;
            left: 30px;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-bottom-color: #efefef;
            border-width: 10px;
            margin-left: -10px
        }

    .chat .chat-history .other-message {
        background: #e8f1f3;
        text-align: right
    }

        .chat .chat-history .other-message:after {
            border-bottom-color: #e8f1f3;
            left: 93%
        }

.chat .chat-message {
    padding: 20px
}

.online,
.offline,
.me {
    margin-right: 2px;
    font-size: 8px;
    vertical-align: middle
}

.online {
    color: #86c541
}

.offline {
    color: #e47297
}

.me {
    color: #1d8ecd
}

.float-right {
    float: right
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

@media only screen and (max-width: 767px) {
    .chat-app .people-list {
        height: 465px;
        width: 100%;
        overflow-x: auto;
        background: #fff;
        left: -400px;
        display: none
    }

        .chat-app .people-list.open {
            left: 0
        }

    .chat-app .chat {
        margin: 0
    }

        .chat-app .chat .chat-header {
            border-radius: 0.55rem 0.55rem 0 0
        }

    .chat-app .chat-history {
        height: 300px;
        overflow-x: auto
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .chat-app .chat-list {
        height: 650px;
        overflow-x: auto
    }

    .chat-app .chat-history {
        height: 600px;
        overflow-x: auto
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .chat-app .chat-list {
        height: 480px;
        overflow-x: auto
    }

    .chat-app .chat-history {
        height: calc(100vh - 350px);
        overflow-x: auto
    }
}

.nut-mo-chatbox {
    background-color: #e5e5e5;
    color: #000;
    padding: 2px;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    position: fixed;
    bottom: -5px;
    right: 0px;
    width: 280px;
    z-index: 99;
}

/* Ẩn chatbox mặc định */
.Chatbox {
    display: none;
    position: fixed;
    bottom: 0;
    right: 15px;
    /*border: 3px solid #f1f1f1;*/
    z-index: 1008;
}

/* Thêm style cho form */
.form-container {
    max-width: 450px;
    max-height: 450px;
    overflow: auto;
    padding: 3px;
    /*border: 3px solid #e6e6e6;*/
    background-color: #f5f5f5;
    /*background: linear-gradient(135deg, #044f48, #345093);*/
    background-size: cover;
    /*background: #fff;*/
    font-family: 'Avenir', 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    border-radius: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    display: -webkit-box; /* iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* Firefox 19 */
    display: -ms-flexbox; /* IE 10 */
    display: -webkit-flex; /* Chrome */
    display: flex; /* Opera 12.1, Firefox 20+ */
}

div.dvpanel {
    padding: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    vertical-align: top;
    border: 0px solid #e6e6e6;
    border-left: 0px;
    border-right: 0px;
    /*box-sizing: content-box;*/
    background-color: #f3f2f1;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    /*-moz-box-shadow: 0 9px 9px #e6e6e6 ;*/
    /*-webkit-box-shadow: 0 9px 9px #e6e6e6 ;*/
    -webkit-appearance: none;
    /*-moz-box-shadow: 0 15px 15px #217346 ;*/
    /*-webkit-box-shadow: 0 15px 15px #217346 ;*/
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    /*-khtml-user-select: none;*/ /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently*/
}

/*.page-content {
    min-height: 0px ;
}*/

.k-grid-norecords-template {
    border-width: 0px ;
}

.popup .k-grid-content {
    min-height: 0px ;
}

.popup .k-grid-norecords {
    min-height: 0px ;
}

#attachment .btnTDK {
    padding-left: 10px;
}

#reportViewer1 {
    height: 600px;
    font-family: 'segoe ui', 'ms sans serif';
    overflow: hidden;
    margin: 5px;
}

.bgRed {
    color: red;
}

.bgPurple {
    color: purple;
}

.bgYellow {
    color: yellow;
}

.bgOrange {
    color: orange;
}

.bgGreen {
    color: green;
}

.bgInfo {
    color: #5bc0de;
}

.bgBlue {
    color: #057efb
}

.bg-file {
    background-color: #f3f2f1 ;
}

.treeViewTenNguoiNhan {
    font-size: 14px;
}

.treeViewTenPhongBanNguoiNhan {
    font-family: Arial;
    font-size: 14px;
    margin-left: 30px;
    color: #808080;
}

.treeViewNgayXuLy {
    padding-left: 30px;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    color: #222;
}

.treeViewYKien {
    white-space: pre-wrap;
    width: 400px;
    text-align: justify;
    color: #222;
    font-size: 14px;
}

/*.page-title {
    margin: 5px ;
}*/

.headerLabel {
    border: 3px solid #0575e4;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
}

.logo-area {
    padding: 0;
}

.logo-default {
    color: #fff;
    float: left;
    font-weight: bold ;
    white-space: nowrap ;
    background-image: url(/Files/logo.png);
    background-repeat: no-repeat;
    background-size: 70px 70px;
    background-position: left;
    height: 70px ;
    padding-left: 84px;
    padding-top: 20px;
    font-size: 126%;
    text-align: left;
    vertical-align: middle;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.avatar-upload {
position: relative;
max-width: 150px;
/*margin: 50px auto;*/
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 12px;
    z-index: 1;
    top: 10px;
}

    .avatar-upload .avatar-edit input {
        display: none;
    }

.avatar-upload .avatar-edit input + label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #FFFFFF;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-edit input + label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}

.avatar-upload .avatar-edit input + label:after {
    content: "\f040";
    font-family: 'FontAwesome';
    color: #757575;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-upload .avatar-preview {
    width: 150px;
    height: 150px;
    position: relative;
    border: 6px solid #F8F8F8;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview > div {
    background-image: url('');
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.avatar-upload-option {
    position: relative;
    max-width: 100px;
    margin-right: 10px;
}

.avatar-upload-option .avatar-edit {
    position: absolute;
    right: 12px;
    z-index: 1;
    top: 10px;
}

.avatar-upload-option .avatar-edit input {
    display: none;
}

.avatar-upload-option .avatar-edit input + label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #FFFFFF;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.avatar-upload-option .avatar-edit input + label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}

.avatar-upload-option .avatar-edit input + label:after {
    content: "\f040";
    font-family: 'FontAwesome';
    color: #757575;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-upload-option .avatar-preview {
    width: 100px;
    height: 100px;
    position: relative;
    border: 6px solid #F8F8F8;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload-option .avatar-preview > div {
    background-image: url('');
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.label-hanxuly {
    background: #999;
}

.hanxuly {
    margin: 1px 0;
}

.k-window-titlebar {
    padding: 0.5rem 0.5rem ;
}

.k-grid-norecords {
    width: 100%;
    height: 100%;
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.k-grid-norecords-template {
    margin: 0 auto ;
}

.btnview:not(.btn-link):not(.btn-circle) {
    box-shadow: 0 2px 5px rgb(0 0 0 / 16%), 0 2px 10px rgb(0 0 0 / 12%);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    outline: none;
}

.btnview, .input-group-btn .btnview {
    border: none;
    position: relative;
    margin: 5px 1px;
    font-size: 14px;
    letter-spacing: 0;
    will-change: box-shadow, transform;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.btnview.btn-xs {
    padding: 4px 8px;
    font-size: 10px;
}

.bg-deep-orange {
    background-color: #f83600 ;
    color: #fff;
}

.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.k-autocomplete, .k-dropdown-wrap.k-state-default, .k-numeric-wrap.k-state-default, .k-picker-wrap.k-state-default {
    background-color: #fff ;
}
@media only screen and (max-device-width: 320px) {
    .k-pager-input .k-textbox {
        width: 2em ;
        height: 2em ;
    }

    .k-pager-nav, .k-pager-numbers .k-link, .k-pager-refresh {
        min-width: calc(1em + 0.5rem + 1.5px) ;
        height: calc(1em + 0.5rem + 1.5px) ;
    }

    .k-pager-wrap {
        padding: 0.1rem 0.1rem ;
    }
}

.modal-dialog.modal-large70 {
    width: 100%;
    margin: auto ;
}

.modal-dialog.modal-large100 {
    width: 100%;
    margin: auto ;
}

@media screen and (min-device-width: 321px) and (max-device-width: 480px) {
    .k-pager-input .k-textbox {
        width: 2.5em ;
        height: 2.5em ;
    }

    .k-pager-nav, .k-pager-numbers .k-link, .k-pager-refresh {
        min-width: calc(1em + 0.5rem + 1.5px) ;
        height: calc(1em + 0.5rem + 1.5px) ;
    }

    .k-pager-wrap {
        padding: 0.2rem 0.2rem ;
    }

    .modal-dialog.modal-large70 {
        width: 100% ;
    }

    .modal-dialog.modal-large100 {
        width: 100% ;
    }
}

@media screen and (min-device-width: 481px) and (max-device-width: 768px) {
    .k-pager-input .k-textbox {
        width: 3em ;
    }

    .modal-dialog.modal-large70 {
        width: 100% ;
    }

    .modal-dialog.modal-large100 {
        width: 100% ;
    }
}

@media screen and (min-width: 769px) {
    .modal-dialog.modal-large70 {
        width: 70% ;
    }

    .modal-dialog.modal-large100 {
        width: 100% ;
    }
}

.image-preview {
    position: relative;
    vertical-align: top;
    height: 45px;
}

/* fallback */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v139/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}