/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

html {
    height: 100%;
}

body {
    font-size: 1.4rem;
    margin: 0;
    font-family: 'Open Sans', Meiryo, 'メイリオ', Arial, sans-serif;
    color: #222;
    overflow: auto;
    min-height: 100%;
    line-height: 2rem;
    background-color: #e9ebee;
    text-size-adjust: 100%;
}

.app {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    height: 100%;
}

.app .aside-menu {
    flex: 250px 0 0;
}

.app .content {
    margin-top: 50px;
    padding-top: 20px;
    flex: 1;
    min-width: 0;
    position: relative;
    min-height: 100%;
}

.app,
.content {
    transition: margin-left 0.25s, margin-right 0.25s, width 0.25s, flex 0.25s;
}

.navbar {
    margin-bottom: 0 !important;
    border: none !important;
}

.alert {
    padding: 5px 25px;
}

.navbar .navbar-brand {
    display: inline-block;
    width: 140px;
    height: 50px;
    /*padding: 0.2rem;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: 130px auto;
}

.navbar .navbar-toggle {
    position: relative;
}

.navbar .navbar-toggle .badge-notifications {
    position: absolute;
    bottom: 0.1rem;
    right: 0.2rem;
    border-radius: 50%;
    border: 1px solid #fff;
    height: 1rem;
    width: 1rem;
    background-color: #999;
}

.navbar .navbar-toggle .badge-notifications.active {
    border: 1px solid #fff;
    background-color: #ff4444;
}

@media (max-width: 767px) {
    .navbar .navbar-toggle {
        position: absolute;
        top: 0;
        left: 16px;
        height: inherit;
    }
    .navbar .navbar-brand {
        background-position: center;
        width: 100% !important;
        margin: 0 auto !important;
    }
    .chat_sidebar{
        padding-top: 50px;
    }
}

.navbar-default {
    background-color: #337ab7;
    border-color: #2d6a9f;
}

.navbar-default .navbar-text {
    color: #ffffff;
}

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: #eeeeee;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #eeeeee;
    background-color: #2d6a9f;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    color: #eeeeee;
    background-color: #2d6a9f;
}

.navbar-default .navbar-toggle {
    border-color: #2d6a9f;
    border: 1px solid #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #2d6a9f;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border-color: #ffffff;
}

.navbar-default .navbar-link {
    color: #ffffff;
}

.navbar-default .navbar-link:hover {
    color: #eeeeee;
}


/* Menu phụ bên trái */

.aside-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    padding-top: 50px;
    color: #fff;
    background: #337ab7;
    transition-duration: .25s, .25s;
    transition-property: left, right;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.aside-menu::-webkit-scrollbar {
    width: 1px;
}

.aside-menu::-webkit-scrollbar-track {
    background: transparent;
    border: 1px solid transparent;
    background-clip: content-box;
}

.aside-menu::-webkit-scrollbar-thumb {
    background: transparent;
}

.aside-menu .aside-profile,
.aside-menu .aside-search {
    padding: 1rem;
    width: 100%;
}

.aside-menu .aside-profile .aside-avatar {
    border: 2px solid #ccc;
    margin-right: 0.85rem;
    height: 48px;
    width: 48px;
}

.aside-menu .aside-nav {
    position: relative;
    width: 250px;
    padding-top: 20px;
}

.aside-menu .aside-nav .nav {
    width: 250px;
    flex-direction: column !important;
    color: #fff;
}

.aside-menu .aside-nav .nav li.active {
    background: #fff;
}

.aside-menu .aside-nav .nav li a {
    color: #fdf905;
}

.aside-menu .aside-nav .nav li a {
    color: #fdf905;
}

.aside-menu .aside-nav .nav li.active a {
    color: #fdf905;
}


/* Khi toggle menu */

.aside-menu-show .app .aside-menu {
    left: 0;
}

.aside-menu-show .app .content {
    margin-left: 250px;
    margin-right: -250px;
}

@media (min-width: 768px) {
    /*.aside-menu {
    right: -250px;}*/
    .aside-menu-show .app .aside-menu {
        left: -250px;
    }
    .aside-menu-show .app .content {
        margin-left: 0;
        margin-right: 0;
    }
}

a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
    cursor: pointer !important;
}

a:focus {
    text-decoration: none !important;
    outline: none !important;
}

a.text-muted {
    opacity: 0.9;
    color: #777;
}

a.text-muted:hover,
a.text-muted:focus {
    opacity: 1;
    color: #777;
}

[ng\:cloak],
[ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
    display: none !important;
}

.error-message {
    margin: 30px 10px 20px 10px;
}

.error-text {
    display: none;
}

.has-error .help-block.error-text {
    display: block;
}

.has-error .help-inline.error-text {
    display: inline;
}

.main-header .logo .logo-header {
    height: 30px;
}

.widget {
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 12px 0;
    -webkit-box-shadow: 0 0 9px 0 rgba(64, 65, 67, 0.05);
    -moz-box-shadow: 0 0 9px 0 rgba(64, 65, 67, 0.05);
    box-shadow: 0 0 9px 0 rgba(64, 65, 67, 0.05);
}

.widget .widget-detail h3 {
    margin-bottom: 4px;
    line-height: 1;
    font-size: 27px;
    margin-top: 0;
}

.widget-caption .col-xs-4.no-pad {
    padding-right: 0;
}

.widget-caption .col-xs-8.no-pad {
    padding-left: 0
}

.widget.simple-widget i.icon {
    font-size: 40px;
    line-height: 47px;
    text-align: center;
    display: block
}

.widget-caption {
    display: inline-block;
    width: 100%
}

.widget .widget-detail {
    width: 100%;
    display: inline-block;
    border-left: 1px solid #eceef3;
    padding-left: 15px
}

.simple-widget .widget-line {
    margin: 10px 10px 0
}

.simple-widget .widget-line .widget-horigental-line {
    height: 3px;
    position: relative;
    background: #e6e9ef;
    display: block;
    border-radius: 10px
}

.widget.unique-widget .widget-detail {
    text-align: right;
    padding-left: 0;
    padding-right: 12px
}

.widget.unique-widget i.icon {
    font-size: 20px;
    line-height: 45px;
    text-align: center;
    display: table;
    margin: 0 auto;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff
}

.widget.unique-widget .widget-caption.info i.icon {
    background: #fff;
    border: 1px solid #2196f3;
    color: #2196f3
}

.widget.unique-widget .widget-caption.danger i.icon {
    background: #fff;
    border: 1px solid #e20b0b;
    color: #e20b0b
}

.widget.unique-widget .widget-caption.sucess i.icon {
    background: #fff;
    border: 1px solid #e40013;
    color: #e40013
}

.widget.unique-widget .widget-caption.warning i.icon {
    background: #fff;
    border: 1px solid #ff9800;
    color: #ff9800
}

.pre-wrap {
    white-space: pre-wrap;
    word-break: break-word;
}

.clickable {
    cursor: pointer;
}

.clickable_underline {
    cursor: pointer;
    text-decoration: underline;
    color: #3C8DBC;
}

.prevent_click{
    pointer-events: none;
}

.title-group {
    display: flex;
}

.title-group .title-group__inline-title {
    line-height: 32px;
    align-items: center;
    flex-grow: 0;
}

.title-group .title-group__inline-buttons {
    /* text-align: right; */
    margin-left: 20px;
    flex-grow: 1;
}

.title-group .title-group__flex-grow {
    flex-grow: 1;
}

.mg126r{
    margin-right: 126px !important;
}

.file-download {
    color: #007bff!important;
    text-decoration: none;
    cursor:pointer
}

.file-download:hover {
    text-decoration: underline;
}

.file-download:active {
    text-decoration: underline;
  }
.pagination {
    display: table;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 50px;
}

.pagination>li>a,
.pagination>li>span {
    padding: 4px 8px;
    font-size: 12px;
}

.ngdialog-open {
    height: auto !important;
}

.ui-select-bootstrap .ui-select-toggle>a.btn {
    margin-top: initial;
}

.box-part {
    border-radius: 0;
    padding: 10px 2px;
    margin: 2px;
    color: #fff;
    cursor: pointer;
    margin-bottom: 20px;
}

.box-part:active {
    background: #3367a8;
    box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.6);
}

.box-part:hover {
    background: #4183D7;
}

.box-part .text {
    margin: 10px 0;
}

.box-part .icon {
    width: 40px;
}

.box-part .title {
    margin-top: 5px;
}

.box-part .fa {
    color: #FFF;
}

.box-part .taps {
    margin: 5px;
    font-size: 30px;
}


table.uib-daypicker {
	outline: none;
}

.table-custom .table-detail .uib-daypicker td,
.table-custom .table-detail .uib-daypicker th {
    border-top: none;
    padding: 0;
}

.table-custom .table-detail .uib-daypicker td .btn-default{
    background-color: white;
}

.table-custom .table-detail .uib-daypicker td .active{
    color: #fff;
    background-color: #31b0d5;
    background-image: none;
    border-color: #269abc;
}

.dropdown-menu {
    top: unset;
}

/* +++++++++++++++ FORM EDIt +++++++++++++++ */

.form-edit h4,
.form-detail h4 {
    margin-top: 5px;
    font-weight: 500;
}
.table-detail {
    background-color: #fff;
}
/* .table-detail tbody tr th {
    background-color: #fff;
} */

.table-detail tbody tr td {
    padding: 2px;
    /* background-color: #fff; */
}

.table-detail tbody tr td p {
    padding: 8px;
}

.table-bordered.table-detail tbody tr:hover {
    background-color:#f5f5f5 !important;
}

.form-detail .table-detail tbody tr td,
.form-edit .table-detail tbody tr td p {
    padding: 8px;
}

.table-custom {
    padding-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    background: #fff;
}

.table-custom .table-detail tbody td,
.table-custom .table-detail tbody th {
    border-top: none;
    padding: 2px 10px;
}

.table-custom .table-detail tbody th {
    border-top: none;
    vertical-align: middle;
}

.table-box {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.form-report .table-custom,
.ngdialog-content .table-custom {
    border: 0;
    padding-top: 0;
    margin-bottom: 0;
}

.form-report .table-custom .table,
.ngdialog-content .table-custom .table {
    margin-bottom: 0;
}

.ngdialog-content .modal-body {
    padding: 0;
}

.ngdialog-content .modal-confirm {
    padding: 25px 0;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    background-color: #eee;
    border-color: #ddd;
    color: #000;
}

.list-checkbox-50 {
    width: 50%;
    padding: 4px;
    font-weight: 400;
}

.img-thumbnail {
    height: 100px;
}

.modal-checkbox {
    padding: 10px;
    margin: 0;
    border: 1px solid #ccc;
}

.modal-checkbox .label {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 0 0 10px;
    display: block;
}

.modal-checkbox label:hover {
    background: #eee;
    cursor: pointer;
}

.modal-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    margin-right: 10px;
    vertical-align: bottom;
    position: relative;
    float: left;
}

.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    margin-top: -5px;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon,
.radio label input[type="radio"]+.cr>.cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon,
.radio label input[type="radio"]:checked+.cr>.cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr,
.radio label input[type="radio"]:disabled+.cr {
    opacity: .5;
}

.checkbox label .lbl,
.radio label .lbl {
    opacity: .5;
}


/* +++++++++++++++ LIST SEARCH +++++++++++++++ */

.table-list {
    background-color: #fff;
}

.table-list .table thead tr {
    background-color: #1769aa !important;
    color: #fff !important;
}

.table-list .table {
    margin-bottom: 0;
}

.table-list .table tbody td {
    padding: 4px;
}

.table-list .sort {
    cursor: pointer !important;
    text-decoration: underline !important;
}

.table-list .sort:hover {
    color: #999;
}

.table-list .cursor-p {
    cursor: pointer !important;
}


/* +++++++++++++++ DIALOG +++++++++++++++ */

.ngdialog .ngdialog-content .container {
    width: 100%;
}

.ngdialog.ngdialog-theme-default {
    padding-top: 100px;
}

.ngdialog.ngdialog-theme-default .ngdialog-content {
    background: #fff;
    z-index: 10001;
}

.ngdialog.ngdialog-theme-default .ngdialog-content .modal-header-confirm {
    text-align: center;
    border-bottom: 1px solid #eeeeee;
}


/* +++++++++++++++ TAG +++++++++++++++ */

.tag {
    font-size: 12px;
    padding: 4px;
    margin: 4px;
}

.tag a {
    color: #bbb;
    cursor: pointer;
    opacity: 0.6;
}

.tag a:hover {
    opacity: 1.0
}

.tag .remove {
    vertical-align: bottom;
    top: 0;
}

.tag a {
    margin: 0 0 0 .3em;
}

.tag a .glyphicon-white {
    color: #fff;
    margin-bottom: 2px;
}

.common-card {
    border-color: #337ab7;
    color: #337ab7;
}

.clean-card {
    border-color: #2E3192;
    color: #2E3192;
}

.repair-card {
    border-color: #DB7B1B;
    color: #DB7B1B;
}

.construct-card {
    border-color: #ED1C24;
    color: #ED1C24;
}

.picture-card {
    border-color: #0071BC;
    color: #0071BC;
}

.free-card {
    border-color: #009245;
    color: #009245;
}

.col-index {
    text-align: center;
}

.clean-card-today {
    color: #fff;
    border-color: #2E3192;
    background-color: #2E3192;
}

.repair-card-today {
    color: #fff;
    border-color: #DB7B1B;
    background-color: #DB7B1B;
}

.construct-card-today {
    color: #fff;
    border-color: #ED1C24;
    background-color: #ED1C24;
}

.picture-card-today {
    color: #fff;
    border-color: #0071BC;
    background-color: #0071BC;
}

.free-card-today {
    color: #fff;
    border-color: #009245;
    background-color: #009245;
}

.status-send {
    background-color: #22a6b3;
    color: #fff;
}

.status-confirm {
    background-color: #be2edd;
    color: #fff;
}

.status-approve {
    background-color: #4834d4;
    color: #fff;
}

.status-done {
    background-color: #130f40;
    color: #fff;
}

.sidebar-menu .treeview ul li {
    margin: 4px;
}

.sidebar-menu .treeview ul li .fa {
    width: 25px;
}

.sidebar-menu .treeview ul {
    padding-inline-start: 20px
}

.sidebar-menu li a:hover {
    color: #fdf905 !important;
}

.sidebar-menu li.active a {
    color: #fdf905 !important;
}

.login-box .login-box-body h3,
.register-box .register-box-body h3 {
    font-size: 32px;
    line-height: 30px;
    letter-spacing: -1px;
    color: #1d1c1d;
    margin-top: 2px;
}

@media (max-width: 575px) {
    .login-box .login-box-body,
    .register-box .register-box-body {
        padding: 20px 20px;
    }
    /* .login-box {
		width: 360px !important;
	} */
}

.login-box {
    width: 100% !important;
    max-width: 528px !important;
}

.login-box-body .img-responsive {
    margin: 0 auto;
}

.login-box-body {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 60px 60px;
    margin-top: -20px;
    position: relative;
    box-shadow: 0 10px 25px #ddd;
}

.register-box {
    width: 100% !important;
    max-width: 528px !important;
}

.register-box-body .img-responsive {
    margin: 0 auto;
}

.register-box-body {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 40px 40px;
    margin-top: -20px;
    position: relative;
    box-shadow: 0 10px 25px #ddd;
}

.login-logo,
.register-logo {
    margin: 0 auto;
    max-width: 300px;
    margin-bottom: 40px;
}

.col-index {
    width: 50px;
}

.table-bordered>tbody>tr>td {
    border: 1px solid #d2d6de;
}

.table-bordered.table-detail>tbody>tr>th {
    border: 1px solid #d2d6de;
    background-color: #eee !important;
}

.table-bordered.table-detail>tbody>tr>th.box-header {
    background: #fff !important;
}

.table-bordered>thead>tr>th.th-header {
    background: #999 !important;
    color: #fff;
}

.table-bordered.table-detail>tbody>tr>td {
    padding: 4px;
    vertical-align: middle;
}

.table-detail-sub {
    border: 1px solid #d2d6de;
    width: 100%;
}

.image-resize {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ui-select-multiple.ui-select-bootstrap input.ui-select-search {
    height: 34px;
    padding: 6px 12px;
    margin-bottom: 0;
}

.ui-select-multiple.ui-select-bootstrap {
    padding: 3px 0 0 10px;
}

.cate-box {
    display: block;
    min-height: 90px;
    background: #fff;
    width: 100%;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    margin-bottom: 15px;
}

.cate-box:hover {
    background: #eee;
}

.cate-box-icon {
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
    display: block;
    float: left;
    height: 90px;
    width: 90px;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
    padding: 5px;
}

.cate-box-content {
    padding: 5px 10px;
    margin-left: 90px;
}

.bordered {
    border: 1px solid #ddd;
}

.bordered-red {
    border: 2px solid #d73925;
}

.bordered-green {
    border: 2px solid #008d4c;
}

.bordered-orange {
    border: 2px solid #e08e0b;
}

.spinner {
    max-width: 0;
    -webkit-transition: opacity 0.25s, max-width 0.45s;
    -moz-transition: opacity 0.25s, max-width 0.45s;
    -o-transition: opacity 0.25s, max-width 0.45s;
    transition: opacity 0.25s, max-width 0.45s;
    /* Duration fixed since we animate additional hidden width */
}

.has-spinner.active {
    cursor: progress;
}

.has-spinner.active .spinner {
    opacity: 1;
    max-width: 50px;
    /* More than it will ever come, notice that this affects on animation duration */
}

.header {
    margin: 10px 0 0 0;
    font-size: 22px;
}


/* Module reviewrequest - applyrequest */

.parent-history-comment {
    overflow-y: auto;
    max-height: 600px;
}

.group-button {
    padding: 5px;
}

.box-comments .comment-text {
    margin-left: 10px
}

.box-comments .comment-content {
    padding: 5px;
    margin-top: 10px;
    background-color: #f5f6f7;
    white-space: pre-wrap;
}


/** _____ chat ______ **/

.header-chat {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.online {
    color: green;
}

.offline {
    color: brown;
}

.member_list li:hover {
    background: #1784c3 none repeat scroll 0 0;
    color: #fff;
    cursor: pointer;
}

.member_list .chat-body {
    margin-left: 47px;
    margin-top: 0;
}

.member_list .contact_sec {
    margin-top: 3px;
}

.member_list li {
    padding: 6px;
}


.member_list li {
    border-bottom: 1px solid #dddddd;
    padding: 6px;
}

.member_list li.active {
    background-color: #eee;
}

.member_list li:last-child {
    border-bottom: none;
}

.member_list {
    height: calc(100vh - 102px);
    overflow-x: hidden;
    overflow-y: auto;
}

.chat_area {
    float: left;
    /* height: calc(100vh - 323px); */
    overflow-y: scroll;
    width: 100%;
}

/* Cal height of chat area */
.chat_area_chat_admin {
    height: calc(100vh - 337px);
}

.chat_area_chat_school {
    height: calc(100vh - 312px);
}

.chat_area_chat_staff_student {
    height: calc(100vh - 253px);
}
/* End */

.chat-img img {
    height: 34px;
    width: 34px;
}

.message_section {
    border: 1px solid #dddddd;
}

.app-one {
    background-color: #FFF
}


/* start chat*/

.content_chat{
    padding-top: 50px;
}

.chat_area li {
    padding: 14px 14px 0;
}

.chat_area li .chat-img1 img {
    height: 40px;
    width: 40px;
}

li.admin_chat .chat-img1 {
    text-align: center;
    width: 10%;
}

p.sub-u-admin {
    word-break: break-word;
    max-width: 110px;
}

p.sub-u-supporter {
    word-break: break-word;
    max-width: 110px;
}

div.bg-text-chat {
    background: #00a65a !important;
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #fff;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border-radius: 4px;
    white-space: pre-wrap;
}


div.bg-image-chat {
    background: #00a65a !important;
    display: block;
    margin: 0 0 10px;
    color: #fff;
    border-radius: 4px;
}

div.bg-image-chat img{
    max-height: 150px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin: 2px;
    cursor: pointer;
}

.breaklinechat {
    white-space: pre-line;
    /* white-space: pre-wrap; */
}

.ng-hide {
opacity: 0;
}

#box-chat-online .direct-chat-text {
padding: 7px;
}

#list-chat-scroll{
    overflow-y: scroll;
}

.school_chat div.bg-text-chat {
    background: #1f5c80 !important;
}

.admin_chat div.bg-text-chat {
    background: #1f5c80 !important;
}

.bg-text-chat {
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
}

li.admin_chat .text-overflow-people {
    word-break: break-word;
    max-width: 120px;
    text-align: center;
}

.chat_area .chat-body1 {
    margin-left: 110px;
}

.chat_area .chat-img1 {
    text-align: center;
}

.chat-body1 p {
    background: #fbf9fa none repeat scroll 0 0;
    padding: 10px;
}

.chat_area .admin_chat .chat-body1 {
    margin-left: 0;
    margin-right: 100px;
    width: 90%;
}

.chat_area .school_chat .chat-body1 {
    margin-left: 0;
    margin-right: 60px;
}

.chat_area li:last-child {
    padding-bottom: 10px;
}

.message_write {
    background: #f5f3f3;
    float: left;
    padding: 15px;
    width: 100%;
}

.message_write textarea.form-control {
    height: 70px;
    padding: 10px;
}

.chat_bottom {
    float: left;
    margin-top: 13px;
    width: 100%;
}

.upload_btn {
    color: #777777;
}

.sub_menu_>li a,
.sub_menu_>li {
    float: left;
    width: 100%;
}

.input-chat {
    height: 45px;
}

.chat_time.pull-left {
    color: #d0432b;
    font-size: smaller;
    font-family: serif;
}

.chat_area hr.border-bottom-chat-history {
    margin-top: 10px;
    margin-bottom: 10px;
}

.li-loadmore-chat {
    text-align: center;
}

.sub-item-name-people {
    font-size: small;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
    word-break: break-word;
    font-weight: normal;
}

.scrollbar-ui {
    scrollbar-color: darkgrey;
    scrollbar-width: thin;
}

.scrollbar-ui::-webkit-scrollbar {
    width: 3px;
}

.scrollbar-ui::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}


/** ______CHAT__________________**/

.chat {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #B3A9A9;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
    color: #777777;
}

#box-chat-online {
    position: fixed;
    bottom: 22px;
    right: 18px;
    width: 325px;
}

#box-chat-online .panel-body {
    height: 350px;
    overflow-y: scroll;
}

#box-chat-online ::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

#box-chat-online ::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

#box-chat-online ::-webkit-scrollbar-thumb {
    background-color: #555;
}

.cus-tag {
    max-width: 300px;
    float: left;
}

#modal-body {
    text-align: left;
}

.over-warning-level-highlight{
    background-color: #FBDAA8;
}

.over-danger-level-highlight{
    background-color: #FFCEC8;
}

.alert_highlight{
    color: #D8000C;
}


.unread_message{
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 30px;
    background-color: red;
    color: white;
    text-align: center;
}

.hide {
    display: none;
}

#box_image{
    border: 1px solid #dad6d6;
    background-color: #FFFFFF;
    height: 70px;
}

.remove_image:hover{
    cursor: pointer;
}

.view{
    pointer-events: none;
}

.chat-body2{
    margin-left: 30px;
    margin-right: 30px;
}

.switch_normal{
    background-color: #a5a5a5;
    border-color: a5a5a5;
    color: #fff;
}

.switch_highlight{
    background-color: #72AC4D;
    border-color: #72AC4D;
    color: #fff;
}

.main-sidebar{
    overflow-y: auto;
    position: fixed;
}

.main-header{
    position: fixed;
    width: 100%;
}
