/*:root, [data-theme=light] {
  --kt-table-striped-bg: rgb(32 32 50 / 49%);
}
:root, [data-theme=dark] {
  --kt-table-striped-bg: rgb(32 32 50 / 20%);
}*/
.fixed-action-btn {
  position: fixed;
  right: 50px;
  bottom: 50px;
  padding-top: 15px;
  margin-bottom: 0;
  z-index: 998;
  padding: 0 0 0 15px;
}
/* Ẩn thanh địa chỉ trình duyệt */
body {
    overscroll-behavior: none; /* Ngăn người dùng kéo trên thanh địa chỉ */
    display: standalone; /* Hiển thị ứng dụng như một ứng dụng độc lập */
}
.fixed-action-btn .btn {
    display: flex;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 45px;
    height: 45px;
    line-height: 45px;
    padding: 0;
    border-radius: 50%;
    transition: .5s;
    cursor: pointer;
    vertical-align: middle;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}
.fixed-action-btn .btn.btn-large {
  width: 70px;
  height: 70px;
} 
.fixed-action-btn .btn:hover {
  box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18),0 4px 15px 0 rgba(0,0,0,0.15);
}
.fixed-action-btn .btn i {
  width: inherit;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 20px;
  line-height: 45px;
}
.fixed-action-btn .btn.btn-large i {
  line-height: 70px;
  font-size: 25px;
}
.fixed-action-btn ul {
  text-align: right;
  right: 70px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 100%;
  left: auto;
  width: 500px;
  position: absolute;
  bottom: 64px;
  margin: 0;
  visibility: hidden;
  list-style: none;
}
.fixed-action-btn ul li {
    display: inline-block;
    margin: 15px 15px 0 0;
}
.fixed-action-btn:hover ul{
  visibility: visible;
}
.fixed-action-btn ul li a {
  transform: scaleY(1) scaleX(1) translateY(0px) translateX(0px);
  opacity: 0;
}
.fixed-action-btn:hover ul li a {
  transform: scaleY(1) scaleX(1) translateY(0px) translateX(0px);
  opacity: 1;
}
.filer-item {
  margin-bottom: 15px;
}
.filer-item label {
  margin-bottom: 5px;
}
table.dataTable.table-striped>tbody>tr>*,table.dataTable.table-striped>thead>tr>* {
  border-bottom:1px solid var(--kt-border-color);
  border-right:1px solid var(--kt-border-color);
}
table.dataTable.table-striped>tbody>tr>*:first-child,table.dataTable.table-striped>thead>tr>*:first-child {
  border-left:1px solid var(--kt-border-color);
}
.table.dataTable {
/*  margin-bottom: 20px !important;*/
}
.table tbody tr:last-child td{
  border-bottom:1px solid var(--kt-border-color) !important;
}
div.dataTables_scrollFootInner table.table-bordered tr th:first-child, div.dataTables_scrollHeadInner table.table-bordered tr th:first-child {
    border-left: 1px solid var(--kt-border-color) !important;
}
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 0;
    margin-bottom: 0;
}
.form-check .form-check-input {
    float: left;
    margin-left: 0;
}
.form-check .form-check-input {
    border: 0;
    background-color: var(--kt-form-check-input-bg-solid);
}
.form-check .form-check-input:checked {
    background-color: var(--kt-form-check-input-checked-bg-color-solid);
}
.dtr-details {
  width: 100%;
}
table.dataTable>tbody>tr.child span.dtr-title {
    display: inline-block;
    min-width: 100px;
    font-weight: 500;
    white-space: break-spaces;
}
table.dataTable>tbody>tr.child ul.dtr-details>li {
    border-bottom: 1px solid #efefef;
    padding: 10px;
    display: flex;
}
.dtr-details .btn,.dtr-details .dtr-data {
  width: 100%;
}
.table td:first-child, .table th:first-child, .table tr:first-child {
    padding-left: .75rem;
}
.table td:last-child, .table th:last-child, .table tr:last-child {
    padding-right: .75rem;
}
.daterangepicker {
  z-index: 1100;
}
table.eclo-table.dataTable {
  border-spacing: 0 10px;
}
table.eclo-table.dataTable th {
    border-bottom-color: var(--kt-table-border-color);
    background-color: var(--kt-input-solid-bg);
    padding: 15px;
    font-weight: bold;
}
table.eclo-table.dataTable th:last-child {
  border-radius: 0 6px 6px 0;
}
table.eclo-table.dataTable th:first-child {
  border-radius: 6px 0 0 6px;
}
table.eclo-table.dataTable>tbody>tr:first-child {
  border-top:1px solid var(--kt-table-border-color);
}
table.eclo-table.dataTable>tbody>tr {
  border-bottom:1px solid var(--kt-table-border-color);
  border-top:1px solid var(--kt-table-border-color);
}
table.eclo-table.dataTable>tbody>tr td:last-child {
  border-right:1px solid var(--kt-table-border-color);
  border-radius: 0 6px 6px 0;
}
table.eclo-table.dataTable>tbody>tr td:first-child {
  border-left:1px solid var(--kt-table-border-color);
  border-radius: 6px 0 0 6px;
}
div.dataTables_scrollBody>table.eclo-table>tbody tr:first-child td, div.dataTables_scrollBody>table.eclo-table>tbody tr:first-child th {
    border-top: 1px solid var(--kt-table-border-color);
}
table.eclo-table.dataTable thead th[data-is-resizable=true] {
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}
.dataTables_scrollHeadInner .table.eclo-table {
  border-spacing: 0 0;
}
div.dataTables_wrapper div.dataTables_filter label  {
  position: relative;
}
.w-100 div.dataTables_wrapper div.dataTables_filter label {
  width: 100%;
}
div.dataTables_wrapper div.dataTables_filter {
    text-align: left;
}
div.dataTables_wrapper div.dataTables_filter input{
    background-color: var(--kt-input-solid-bg);
    border-color: var(--kt-input-solid-bg);
    color: var(--kt-input-solid-color);
    transition: color .2s ease;
    display: block;
    width: 100%;
    padding: .775rem 1rem .775rem 50px;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    background-clip: padding-box;
    border: 1px solid var(--kt-input-solid-bg);
    appearance: none;
    border-radius: .475rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin:0;
}
div.dataTables_wrapper div.dataTables_filter input:focus{
  background-color: var(--bs-gray-200);
  border-color: var(--bs-gray-200);
  color: var(--bs-gray-700);
  transition: color 0.2s ease;
  outline: 0;
  box-shadow: false, 0 0 0 0.25rem rgba(var(--bs-component-active-bg), 0.25);
}
.table tr:hover .task-important {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.task-important {
  display: none;
  position: absolute;
  top: 0%;
  right: 2px;
  height: 100%;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.task-important .svg-icon svg{
  width: 30px;
  height: 30px;
}
.table.table-bordered td, .table.table-bordered th, .table.table-bordered tr{
    border-style: solid;
    border-color: var(--kt-border-color);
    border-width: 1px;
}
td {
  overflow: hidden; /* Ngăn chặn tràn bề ngang */
  white-space: nowrap; /* Ngăn chặn tràn xuống dòng */
}
/* org-chart */
.org-chart, .org-chart .org-chart-items, .org-chart .org-chart-content {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 0;
}
.org-chart .org-chart-first-button {
    position: relative;
    z-index: 999;
}
.org-chart {
    padding-bottom:30px ;
    text-align: center;
    width: 100%;
    overflow: hidden;
}
.org-chart, .org-chart .org-chart-items {
    display: table;
}
.org-chart .org-chart-items {
  width: 100%;
  margin: 3px 0;
}
.org-chart .org-chart-content {
    display: table-cell;
    padding: 4px;
    vertical-align: top;
}
.org-chart .org-chart-content:before {
    outline: solid 1px #666;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.org-chart .org-chart-content:first-child:before {left: 50%;}
.org-chart .org-chart-content:last-child:before {right: 50%;}

.org-chart .org-chart-card {
    display: inline-block;
    position: relative;
    border:1px dashed #3f5289;
    border-radius: 6px;
    box-shadow: 0 !important;
}
.org-chart .org-chart-card {
    margin: 20px;
}
.org-chart .org-chart-items:before,
.org-chart .org-chart-card:before,
.org-chart span:before {
    outline: solid 1px #666;
    content: "";
    height: 20px;
    left: 50%;
    position: absolute;
}
.org-chart .org-chart-items:before {
    top: -21px;
}
.org-chart .org-chart-card:before,
.org-chart span:before {
    top: -24px;
}
.org-chart > .org-chart-content {
    margin-top: 0;
}
.org-chart > .org-chart-content:before,
.org-chart > .org-chart-content:after,
.org-chart > .org-chart-content > .org-chart-card:before,
.org-chart > .org-chart-content > span:before {
  outline: none;
}
.org-chart-card {
    min-width: 250px;
    text-align: center;
    position: relative;
    display: flex;
    margin: 0 auto;
}
.org-chart-card .org-chart-sub {
    display: none;
    position: absolute;
    bottom: -25px;
    width: 100%;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 1200;
}
.org-chart-card .org-chart-sub .btn {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 1200;
    position: relative;
}
.org-chart-card:hover .org-chart-sub {
    display: flex;
}
.org-chart-card .dropdown-menu {
    padding: 0;
    z-index: 1200;
    position: relative;
}
.org-chart-card .dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 5px;
}
.org-chart-card .org-chart-sub-items {
    padding: 10px;
}
.org-chart .org-chart-card:hover,.org-chart .org-chart-card:hover+.org-chart-items .org-chart-card{
    /*transform: scale(1.1) translate(0,5px);
    -webkit-transform: scale(1.1) translate(0,13px);
    -moz-transform: scale(1.1) translate(0,5px);
    -ms-transform: scale(1.1) translate(0,5px);
    -o-transform: scale(1.1) translate(0,5px);*/
    z-index: 1;
    position: relative;
    border: 1px solid red;
}
.org-chart .org-chart-card:hover .dropdown-menu {
    z-index: 12000;
}
.org-chart .org-chart-card:hover::before,
.org-chart .org-chart-card:hover+.org-chart-items:before,
.org-chart .org-chart-card:hover+.org-chart-items .org-chart-card:before,
.org-chart .org-chart-card:hover+.org-chart-items .org-chart-items:before,
.org-chart .org-chart-card:hover+.org-chart-items .org-chart-content:before{
    outline-color:  red;
    /*transform: scale(1);*/
}
.z-index-100 {
    z-index: 100 !important;
}
@media (min-width: 992px) {
    .eclo-vh-100 {
        height: calc(100vh - 5.9rem);
    }
    .eclo-body-vh-100 {
        height: calc(100vh - 23.5rem);
    }
}
@media (max-width: 991.98px) {
    .eclo-vh-100 {
        height: calc(100vh - 5.9rem);
    }
    .eclo-body-vh-100 {
        height: calc(100vh - 23.5rem);
    }
}
.message-compose {
    flex-grow: 1;
    border-bottom-right-radius: 0;
    position: relative;
    z-index: 1;
    border-radius: 10px 10px 0 10px;
}
.svg-appendix {
    position: absolute;
    bottom: 1px;
    right: -7px;
    width: .5625rem;
    height: 1.25rem;
    transition: opacity 200ms;
    font-size: 1rem !important;
}
.card-body.hinh img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}
