/*================================================================================
	Item Name: Modern Admin - Clean Bootstrap 4 Dashboard HTML Template
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */

/* .preload-animation {
    position: absolute;
    width: 100%;
    height: 100vh;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle farthest-corner at center, #cccccc 0%, #7e7e7e 100%);
    z-index: 9999;
} */

/* .preload-animation {
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    transition: opacity 0.2s linear;
    width: 100%;
    z-index: 9999;
    opacity: 1;
    transform: opacity 1s linear;
} */

.breadcrumb.chevron-right-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  font-weight: bold;
  color: #78909c !important;
}

.table-blue-light .th-inner {
  background-color: #DFEDFF;
}

.table-borderless td {
  padding: 1rem 0;
  word-break: break-word;
  white-space: normal;
}

.table-borderless td:first-child {
  width: 200px;
}

.my-05 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mt-05 {
  margin-top: 0.5rem;
}

.mb-05 {
  margin-bottom: 0.5rem;
}

.mr-05 {
  margin-right: 0.5rem;
}

.ml-05 {
  margin-left: 0.5rem;
}

.py-05 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pt-05 {
  padding-top: 0.5rem;
}

.py-125 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.px-15 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.img-loader {
  position: absolute;
  inset: 0;
  background-color: rgb(51 51 51 / 80%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: all;
}

/* Khi progress đạt 100% */
.img-loader.hide {
  opacity: 0;
  pointer-events: none;
}

/* Vòng tròn progress SVG */
.progress-circle {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: transparent;
  stroke-width: 12;
  /* Độ dày lớn hơn */
}

.progress-background {
  stroke: #ccc;
}

.progress-bar {
  stroke: #3498db;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 0.3s ease;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.bg-site {
  background-color: #1C60BE;
}

.navbar-brand-vnsky {
  width: calc(100% - 70px);
  height: auto;
}

.sub-preload-animation {
  align-items: center;
  background: #0068fe;
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  transition: opacity 0.2s linear;
  width: 100%;
  z-index: 9999;
  opacity: 1;
  transform: opacity 1s linear;
}

.loader {
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  perspective: 800px;
}

.inner {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.inner.one {
  left: 0%;
  top: 0%;
  animation: rotate-one 1s linear infinite;
  border-bottom: 3px solid #9a9a9a;
}

.inner.two {
  right: 0%;
  top: 0%;
  animation: rotate-two 1s linear infinite;
  border-right: 3px solid #9a9a9a;
}

.inner.three {
  right: 0%;
  bottom: 0%;
  animation: rotate-three 1s linear infinite;
  border-top: 3px solid #9a9a9a;
}

@keyframes rotate-one {
  0% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
  }
}

@keyframes rotate-two {
  0% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  }
}

@keyframes rotate-three {
  0% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* .dataTables_info, */
.dataTables_filter {
  display: none;
}

.dataTables_wrapper>.dt-buttons {
  float: right;
  display: none;
}

/* .dataTables_wrapper>.dataTables_info {
     width: max-content;
	float: left; 
    display: none;
} */

.dataTables_wrapper>.dataTables_paginate {
  width: max-content;
  float: right;
}

.custom-file-input:lang(en)~.custom-file-label::after {
  display: none;
}

.blockUI.blockOverlay {
  position: fixed !important;
}

table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
  top: 10px !important;
}

table.dataTable thead th,
th.dt-center {
  text-align: center;
}

@media (min-width: 992px) {
  body .content-right:not(.content-detached) {
    float: right;
    width: -webkit-calc(100% - 300px);
    width: -moz-calc(100% - 300px);
    width: calc(100% - 310px);
  }
}

#orders.chat-sidebar-list .read-do_uu_tien-stars img,
#tasks.chat-sidebar-list .read-do_uu_tien-stars img {
  /* border-color: transparent !important; */
  border: 0 !important;
  width: 18px;
  height: 18px;
}

/* .bootstrap-table .fixed-table-container .table thead th .th-inner {
	padding: 0 !important;
}

.table th,
.table td {
	padding: 0.75rem 2rem !important;
} */

/* .ck-editor__editable {
	min-height: 350px;
} */

th.dt-center,
td.dt-center {
  text-align: center;
}

.col-sm-9 button[data-ma-action="addDataGet"] {
  position: absolute;
  top: 0px;
  right: 0;
  padding: 1px;
  margin-right: 1rem !important;
}

.col-sm-9 button[data-ma-action="delDataGet"] {
  position: absolute;
  top: 20px;
  right: 0;
  padding: 1px;
  margin-right: 1rem;
}

.form-control[disabled] {
  color: #3b4781 !important;
}

.chat-profile-body .collapse,
.card-header {
  border-bottom: 1px solid #e4e5ec;
}

.modal-adaptive {
  max-width: calc(100% - 60px);
  height: calc(100vh - 60px);
  margin: 30px auto !important;
}

.swal2-html-container .note-editable {
  text-align: left !important;
}

/* 
.swal2-timer-progress-bar {
  background: #1C60BE !important;
} */

#customFieldModal .form-row {
  border: 1px dashed #e0e0e0;
}

.kanban-sidebar .card-header {
  padding-top: 12px;
  padding-bottom: 13px;
}

.form-tao-task .customField-group .row>[class*="col"],
.kanban-sidebar.side1 .customField-group .row>[class*="col"] {
  border: 1px dashed #e0e0e0;
  padding-bottom: 15px;
}

/* form .form-group {
	margin-bottom: 0.5rem;
	margin-left: 0.5rem;
} */

.kanban-sidebar.side3 .chi-tiet-task span {
  cursor: pointer;
}

.bootstrap-table .fixed-table-toolbar {
  display: flex;
  background-color: whitesmoke;
}

.bootstrap-table .fixed-table-toolbar .bs-bars {
  flex: 1;
}

.bootstrap-table .fixed-table-toolbar .form-control.search-input {
  height: unset;
}

.chat-sidebar-name {
  width: calc(100% - 2.5rem);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* .chat-sidebar-name .list-group-item-heading{
	font-size: 1rem;
	width: calc(100% - 25rem);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden
}


.chat-sidebar-name .list-group-item-text{
	font-size: 1rem;
	width: calc(100% - 25rem);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden
}

.chat-sidebar-name .list-group-item-text .bullet{
	position: absolute;
	right: 0;
	top: 20px;
} */

.chat-message p {
  font-size: 15px;
}

.kanban-sidebar.show {
  transform: translateX(0) translateY(1px);
}

.kanban-sidebar {
  right: 0;
}

/*Xoá hiển thị tfoot tất cả các bảng*/
tfoot {
  display: none;
}

/*Chỉ hiển thị những bảng nào có class has-footer-table tất cả các bảng*/
.has-footer-table {
  display: table-footer-group !important;
}

/* @media (max-width: 992px) {
	.kanban-sidebar:not(.side5, .side6-half) {
		width: calc(100% - 260px);
	}
}

@media (max-width: 768px) {
	.kanban-sidebar:not(.side5, .side6-half) {
		width: 100%;
	}
} */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .kanban-sidebar:not(.side5, .side6-half) {
    width: 100%;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .kanban-sidebar:not(.side5, .side6-half) {
    width: 100%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .kanban-sidebar:not(.side5, .side6-half) {
    width: 100%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .kanban-sidebar:not(.side5, .side6-half) {
    width: calc(100% - 260px);
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .kanban-sidebar:not(.side5, .side6-half) {
    width: calc(100% - 260px);
  }
}

.kanban-sidebar.side5 {
  width: 50%;
}

.kanban-sidebar.side6-half {
  width: calc((100% - 420px) / 2);
}

.images-list {
  margin: 0;
  padding: 0;
}

.images-list .image-item img {
  width: 90px;
}

.images-list>li {
  list-style: none;
  display: inline-block;
  margin-right: 5px;
  position: relative;
  vertical-align: top;
}

.images-list>li:last-child {
  margin-right: 0;
}

.images-list .image-item {
  display: inline-block;
  max-width: 90px;
  max-height: 90px;
  height: auto;
  overflow: hidden;
}

.images-list .image-item img {
  width: 90px;
}

.images-list li .btn-times {
  position: absolute;
  top: 0;
  right: 0;
  line-height: 16px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
}

.ql-editor {
  padding-left: 0;
}

.ql-editor p {
  font-size: 14px;
  line-height: 1.4285;
  color: #333;
}

.textarea-emoji-control .ql-fill,
.textarea-emoji-control .ql-stroke.ql-fill {
  fill: #969696;
}

.textarea-emoji-control .ql-stroke {
  fill: none;
  stroke: #969696;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.textarea-emoji-control {
  cursor: pointer;
}

.textarea-emoji-control:hover .ql-fill,
.textarea-emoji-control:hover .ql-stroke.ql-fill {
  fill: #666;
}

.textarea-emoji-control:hover .ql-stroke {
  stroke: #666;
}

.form-textbox .textarea-emoji-control {
  top: 8px !important;
}

.form-textbox.textbox-sm .textarea-emoji-control {
  top: 6px !important;
}

.chat-images img {
  display: block;
  max-width: 400px;
  max-height: 200px;
  width: auto;
  height: auto;
}

/* .chat-sidebar-list.gchat_task li {
	padding-top: 5px !important;
} */

/* .chat-sidebar-list.gchat_task li:not(:last-child) {
	padding-bottom: 5px !important;
} */

/* .chat-sidebar-list.gchat_task li {
	padding-bottom: 5px !important;
} */

/* .chat-sidebar-list.gchat_task li:last-child {
	padding-bottom: 0 !important;
} */

.chat-sidebar-list.gchat_task>li {
  padding-left: 5px !important;
}

/* .chat-sidebar-list.gchat_task li:not(.level1) > div:before { */
.chat-sidebar-list.gchat_task li>div:not(.accordionTask):before {
  --tw-bg-opacity: 1;
  content: "";
  display: block;
  height: 2px;
  position: relative;
  top: 0;
  left: 0;
  width: 15px;
}

.chat-sidebar-list.gchat_task li:not(.active)>div:before {
  background-color: rgb(235 237 241 / var(--tw-bg-opacity));
}

.chat-sidebar-list.gchat_task li.active>div:not(.accordionTask):before {
  background-color: #3069f7;
}

.chat-sidebar-list.gchat_task>li.level1>div {
  position: relative;
}

/* .chat-sidebar-list.gchat_task > li.level1 > div:after {
	background-color: transparent;
	--tw-bg-opacity: 1;
	background-color: rgb(235 237 241/var(--tw-bg-opacity));
	content: "";
	display: block;
	height: 60%;
	left: 0;
	position: absolute;
	top: auto;
	width: 2px;
} */

.chat-sidebar-list.gchat_task .accordionTask {
  padding-left: 30px;
}

.chat-sidebar-list.gchat_task ul {
  position: relative;
  /* padding-left: 30px; */
}

.chat-sidebar-list.gchat_task:before {
  --tw-bg-opacity: 1;
  background-color: rgb(235 237 241 / var(--tw-bg-opacity));
  content: "";
  display: block;
  height: 100%;
  left: 3px;
  position: absolute;
  top: 0;
  width: 2px;
}

.chat-sidebar-list.gchat_task ul:before {
  --tw-bg-opacity: 1;
  background-color: rgb(235 237 241 / var(--tw-bg-opacity));
  content: "";
  display: block;
  height: 100%;
  /* left: 30px; */
  position: absolute;
  top: 0;
  width: 2px;
}

input[type="checkbox"][id^="cb"] {
  display: none;
}

.f-500 {
  font-weight: 500;
}

.mb-05 {
  margin-bottom: 0.5rem;
}

[class*="bs-callout"] p {
  /* margin: 0.5rem 0; */
  font-size: 16px;
}

.bs-callout-teal {
  background-color: #b2dfdb !important;
}

.bs-callout-teal.callout-border-left {
  border-color: #009688;
  border-radius: 0.25rem;
}

.bs-callout-warning {
  background-color: #ffe5d8 !important;
}

.bs-callout-warning.callout-border-left {
  border-color: #ff9149;
  border-radius: 0.25rem;
}

pre[class*="language-"] {
  margin: 0 0 1rem !important;
}

.center-bottom {
  /* position: absolute;
            left: 50%; */
  bottom: 60px;
  /* -webkit-transform: translateX(-50%);
            transform: translateX(-50%) */
}

.center-bottom button {
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%),
    0 3px 1px -2px rgb(0 0 0 / 20%);
}

.sidebar h6 a,
#sidebar-navigation ul li a {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 3px 10px;
  min-height: 48px;
  font-weight: 400;
  line-height: 20px;
  border: 1px solid #dadce0;
  border-radius: 5px;
  margin-bottom: 6px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  color: #212121;
  background-color: #fff;
}

#sidebar-navigation ul li a.active {
  box-shadow: 0 1px 2px 0 rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
  font-weight: bold;
}

.sidebar .sidebar-content {
  z-index: 999;
  background-color: #f4f5fa;
  height: calc(100% - 115px);
  /* height: 100%; */
}

ul#page-navigation-list {
  max-height: 550px;
  overflow-y: auto;
}

#searchModal input {
  background-color: rgb(245, 247, 249);
}

#searchModal .modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

#searchModal .modal-body a {
  color: #333;
}

#searchModal .modal-body .search-item {
  padding: 1rem;
}

#searchModal .modal-body .search-item:hover {
  background-color: rgb(245, 247, 249);
  cursor: pointer;
}

#searchModal .modal-body .search-item>p {
  word-break: break-all;
}

button[data-target="#searchModal"] {
  padding-right: 8rem;
}

.kanban-sidebar.side3 .gchat_info #ns-bs-table td {
  padding: 0.75rem 1rem !important;
}

/* ================================ */

.card-box {
  margin-bottom: 30px;
}

.file-man-box {
  padding: 20px;
  border: 1px solid #e3eaef;
  border-radius: 5px;
  position: relative;
  margin-bottom: 20px;
}

.file-man-box .file-close {
  color: #f1556c;
  position: absolute;
  line-height: 24px;
  font-size: 24px;
  right: 10px;
  top: 10px;
  visibility: hidden;
}

.file-man-box .file-img-box {
  line-height: 120px;
  text-align: center;
}

.file-man-box .file-img-box img {
  height: 64px;
}

.file-man-box .file-download {
  font-size: 32px;
  color: #98a6ad;
  position: absolute;
  right: 10px;
}

.file-man-box .file-download:hover {
  color: #313a46;
}

.file-man-box .file-man-title {
  padding-right: 25px;
}

.file-man-box:hover {
  -webkit-box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06),
    0 1px 0 0 rgba(0, 0, 0, 0.02);
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02);
}

.file-man-box:hover .file-close {
  visibility: visible;
}

.text-overflow {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  width: 100%;
  overflow: hidden;
}

.gchat-info-text span,
.gchat-info-text p {
  font-size: 14px;
}

.gchat_info .email-detail-head .card-header {
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%),
    0 1px 5px 0 rgb(0 0 0 / 20%);
  border-radius: 0.45rem;
}

.gchat_info .email-detail-head {
  height: 460px;
  overflow-y: auto;
}

.gchat_info .email-detail-head .card-content {
  border: 1px solid #e0e0e0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.gchat_info .email-detail-head .card-body p {
  font-size: 1rem;
  line-height: 1.5;
}

.flex-wrapper {
  display: flex;
  flex-flow: row nowrap;
}

.single-chart {
  width: 33px;
  justify-content: space-around;
}

.circular-chart {
  display: block;
  max-width: 100%;
  max-height: 33px;
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.circular-chart.orange .circle {
  stroke: #ff9f00;
}

.circular-chart.green .circle {
  stroke: #4cc790;
}

.circular-chart.blue .circle {
  stroke: #3c9ee5;
}

.circular-chart.red .circle {
  stroke: #e53c3c;
}

.circular-chart.purple .circle {
  stroke: #da24f1;
}

.percentage {
  fill: #000;
  font-family: sans-serif;
  font-size: 14px;
  text-anchor: middle;
}

#viewChiTietModal .modal-body img {
  max-width: -webkit-fill-available;
}

.select2-container--default.select2-container--open {
  width: 100px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.photoviewer-modal {
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.3);
}

.photoviewer-header .photoviewer-toolbar {
  background-color: rgba(0, 0, 0, 0.5);
}

.photoviewer-stage {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.85);
  border: none;
}

.photoviewer-footer .photoviewer-toolbar {
  background-color: rgba(0, 0, 0, 0.5);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.photoviewer-header,
.photoviewer-footer {
  border-radius: 0;
  pointer-events: none;
}

.photoviewer-title {
  color: #ccc;
}

.photoviewer-button {
  color: #ccc;
  pointer-events: auto;
}

.photoviewer-header .photoviewer-button:hover,
.photoviewer-footer .photoviewer-button:hover {
  color: white;
}

/* .buttons-excel{
    display: none;
  } */

.bootstrap-table .fixed-table-toolbar .columns-right {
  display: none;
}

.flot-chart {
  height: 200px;
  display: block;
}

.flot-chart--sm {
  height: 100px;
}

.flot-chart--xs {
  height: 70px;
}

.flot-chart-legends {
  text-align: center;
  margin: 20px 0 -10px;
}

.flot-chart-legends table {
  display: inline-block;
}

.flot-chart-legends .legendColorBox>div>div {
  border-radius: 50%;
}

.flot-chart-legends .legendLabel {
  padding: 0 8px 0 3px;
}

.flot-tooltip {
  position: absolute;
  line-height: 100%;
  color: #707070;
  display: none;
  font-size: 0.95rem;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  padding: 0.7rem 1rem;
  background-color: #fff;
  z-index: 99999;
}

span.notice {
  display: none;
  padding: 5px;
  top: -3px;
  right: -3px;
  z-index: 1;
}

span.has-notice {
  display: inline-block;
}

.monyta {
  color: #1C60BE;
}

.btn-monyta {
  border-color: #1C60BE;
  background-color: #1C60BE;
  color: #fff;
}

.bootstrap-table .fixed-table-container .table thead th .th-inner {
  padding: 0.75rem 2rem !important;
}

.min-column-150 {
  min-width: 100px;
  max-width: 150px;
}

.min-column-200 {
  min-width: 150px;
  max-width: 200px;
}

.min-column-250 {
  min-width: 200px;
  max-width: 250px;
}

.min-column-300 {
  min-width: 250px;
  max-width: 300px;
}

.min-column-350 {
  min-width: 300px;
  max-width: 350px;
}

.validation-alert {
  color: red;
  font-size: 15px;
  padding-left: 5px;
}

.validation-bullet {
  padding-left: 0.5rem;
  padding-right: 0.7rem;
}

/* Modal hiển thị emoji */
.emoji-modal {
  position: absolute;
  left: 1.5rem;
  bottom: 30px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 100;
  display: none;
}

/* Kích thước phù hợp cho emoji picker */
emoji-picker {
  width: 350px;
  height: 300px;
  background-color: #fff;
  border: none;
}