li.nav-item.active {
    border-bottom: solid 5px #007bff;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: transparent;
    color: #212529;
}
.navbar {
    padding: 0.55rem 0.5rem;
}
.btn-logout {
    padding: 3px 20px;
    background-color: #001d8f;
    border-color: #001d8f;
    color: #fff;
}
.btn-logout:hover {
    color: #fff !important;
}
.title-page {
    color: #001d8f !important;
    font-weight: bold;
    font-size: 18px;
}

li.nav-item {
    margin-bottom: -10px;
}

.nav-link {
    display: block;
    /*padding: .5rem 2.5rem;*/
}

span.badge.badge-danger {
    background: red;
    border-radius: 5rem;
}
.date-notice {
    position: relative;
    right: -100px;
    top: 5px;
}
tr.is-read {
    background-color: #ddd;
}
tr.tr-header {
    background-color: #4F81BD;
    color: white;
}
table.table-notice tr{
    border: 1px solid #4F81BD;
}
table.table-notice td, table.table-notice th{
    border: none !important;
}
.user_avarta {
    float: left;
}
.user_name {
    float: left;
    margin-top: -9px;
    line-height: 1.2;
}
.user_icon {
    float: left;
    margin-left: 10px;
}
.user_icon i{
    font-size: 20px;
}
.user-menu.user-admin .user_icon i{
    font-size: 20px;
    margin-top: 8px;
}

.navbar-nav>.user-menu>.dropdown-menu>.user-body {
    border-bottom: 0;
    padding: 10px;
}
.main-header.navbar{
    height: 70px;
}
.main-sidebar .brand-link {
    height: 70px;
    /*padding: 1.2rem 0.5rem;*/
    padding: 0!important;
}
/* .navbar-expand .nav-item span.item {
    padding-right: 1rem;
    padding-left: 1rem;
} */
.color-danger {
    color: #dc3545;
}
.user-menu.user-admin img.user-image.img-circle {
    margin-top: 5px;
}

td a, .content-header a, .container a {
    text-decoration: none;
}
td a:hover, .content-heade a:hover, .container a:hover {
    text-decoration: none;
}
.user-info {
    padding: 0.5rem 1rem;
}
@media (max-width: 600px) {
    .nav-link {
        display: block;
        /*padding: .5rem 1rem;*/
    }
}

.device-content {
    background-color: #e9ecef;
    padding: 10px;
}

.device-information {
    border: 1px solid;
}

.modal-update-memo .modal-dialog {
    position: absolute;
    width: 100%;
    right: 10%;
    bottom: 10%;
}

.flex-start {
    align-items: flex-start;
}

.text-underline {
    text-decoration: underline;
}

.resize-none {
    resize: none;
}

.toasts-top-right {
    z-index: 9999 !important;
}

.table-device-monitor .row-read {
    background-color: rgba(0, 0, 0, .05);
}

.table-device-monitor__dashboard .tr-header {
    background: white!important;
    color: black!important;
}

.device-content {
    background-color: #e9ecef;
    padding: 10px;
}

.device-information {
    border: 1px solid;
}
.text-underline {
    text-decoration: underline;
}
.cursor-pointer {
    cursor: pointer;
}
.p-10{
    padding: 10px !important;
}
.bg-white{
    background-color: white !important;
}
.box-shadow-none{
    box-shadow: none !important;
}
.bg-navy{
    background-color: #001d8f !important;
}
.txt-navy{
    color: #001d8f !important;
}
.input-navy:focus{
    border-color: #001d8f !important;
}
.btn-login{
    margin-top: 30px;
    border-radius: 5px !important;
}
.txt-login-header{
    color: #001d8f;
    font-weight: 600;
    margin: 0px;
}
.img-logo{
    width: 100%;
}
.txtarea-showtext{
  height: calc(100vh - 190px);
  width: 100%;
  /* Thiết lập textarea không có khung viền */
  /*border: none;*/
  /* Thiết lập textarea không có padding */
  padding: 0;
  /* Thiết lập textarea có thể co dãn dựa trên nội dung */
  resize: none;
  /* Thiết lập overflow để ẩn thanh cuộn nếu textarea bị quá cao */
  overflow: auto;
}
.l-h-38{
    line-height: 38px;
}

.content-header .breadcrumb {
    width: 100%;
}

/* CSS cho select */
.trigngle-select {
    /* Loại bỏ giao diện mặc định của trình duyệt */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Thiết lập nền là hình vuông màu xanh */
    background-image:  url('/images/white-down-triangle.png');
    background-position: right center, right calc(100% - 30px);
    /* Điều này đặt mũi tên bên cạnh hình vuông */
    background-repeat: no-repeat, no-repeat;
    background-size: 40px;
    /* Kích thước của hình tam giác */

    /* Thiết lập màu chữ và đường viền */
    color: #fff;
    /* Màu chữ */
    border: 1px solid #ccc;
    /* Đường viền */

    /* Thiết lập kích thước và căn chỉnh mũi tên */
    padding: 0px 5px;
    cursor: pointer;
    /* Đổi con trỏ thành bàn tay khi hover */
}

/* CSS cho mũi tên */
.trigngle-select::-ms-expand {
    display: none;
    /* Loại bỏ mũi tên trên Internet Explorer */
}

/* Tùy chỉnh màu sắc và đường viền khi hover hoặc tập trung vào dropdown */
.trigngle-select:hover,
.trigngle-select:focus {
    border-color: #001d8f;
}

/* Khoảng cách từ table đến pagination */
div.col-sm-12.col-md-7 {
    padding-top: 15px !important;
}

/* CSS cho select2 */
span.select2-container.select2-container--default.select2-container--open {
    z-index:10050 !important;
}
.select2 {
    width: 100% !important;
}
.select2-selection--single {
    height: calc(2.25rem + 1px) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 31px;
    right: 6px;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
}

[class*=sidebar-dark-] {
    background-color: white;
}

[class*=sidebar-dark] .brand-link {
    border-bottom: 1px solid #dee2e6;
}

.main-sidebar.sidebar-dark-primary {
    box-shadow: 0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)!important;
}

[class*=sidebar-dark-] .sidebar a {
    color: #001d8f;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #001d8f;
    color: #fff;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #001d8f;
    border-color: #001d8f;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #001d8f;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

ul.nav.nav-pills.nav-sidebar.flex-column li {
    height: 40px;
}

.menu-open>.nav-link, [class*=sidebar-dark-] .nav-sidebar>.nav-item:hover>.nav-link, [class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link:focus {
    color: #fff;
    background-color: #3e54accc;
}

.custom-select:focus {
    border-color: #001d8f;
}

.form-control:focus {
    border-color: #001d8f;
}

.select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #001d8f;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #001d8f;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #001d8f;
    color: #fff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #001d8f;
    color: #fff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #3e54accc;
    color: white;
}

.select2-container--default .select2-dropdown .select2-search__field:focus, .select2-container--default .select2-search--inline .select2-search__field:focus {
    border: 1px solid #001d8f;
}

.is-invalid .select2-selection--single{
    border-color: #dc3545;
}

.card-navy.card-outline {
    border-top: 3px solid #001d8f;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #e9ecef;
    cursor: default;
}

.pre-line-data {
    text-overflow: ellipsis;
    white-space: pre-line !important;
    overflow: hidden;
}

.ellipsis{
    max-width: 60%;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.max-width-20vh {
    max-width: 20vh;
}

.max-width-100px {
    max-width: 100px;
}

.max-width-200px {
    max-width: 200px;
}

.max-width-15vh {
    max-width: 15vh;
}

.max-width-10vh {
    max-width: 10vh;
}

.max-width-5vh {
    max-width: 8vh;
}

.webkit{
    display: -webkit-box;
}

.background-input {
    background-color: #fff !important;
}

.width-360 {
    width: 360px;
}

.width-600 {
    width: 600px;
}

.underline {
    text-decoration: underline;
}


.brand-link .brand-image {
    max-height: unset!important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0!important;
}

.daterangepicker .cancelBtn {
    display: none;
}

.width-400 {
    width: 400px !important;
}

.mw-120-of-ww {
    max-width: 120px !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.float-none {
    float: none !important;
}

#btn-logout {
    width: 122px !important;
    height: 32px !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.table.dataTable {
    width: 100% !important
}

button.dt-button {
    margin-right: 0px !important;
    border: 0px !important;
    border-radius: 0.25rem !important;
    font-size: 15px !important;
}

.custom-button-container {
    float: right;
    display: flex;
}

.card-header {
    max-height: 49px !important;
}


.alert-errors {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.min-w-fit{
    min-width: fit-content;
}

.min-w-100{
    min-width: 100px;
}

.min-w-380{
    min-width: 380px;
}

.display-block{
    display: block;
}