/*
* default.css
* File include item default only specific css only
******************************************************************************/

.menu .app-brand.default {
  height: 64px;
}

.app-brand-logo.default svg {
  width: 34px;
  height: 24px;
}

.app-brand-text.default {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.default-blocks > * {
  display: block !important;
}

.default-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .default-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .default-only-element class with .default-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.default-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.default-vertical-spacing.default-only-element > :first-child {
  margin-top: 0 !important;
}

.default-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.default-vertical-spacing-lg.default-only-element > :first-child {
  margin-top: 0 !important;
}

.default-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.default-vertical-spacing-xl.default-only-element > :first-child {
  margin-top: 0 !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-default .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-default .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout default
******************************************************************************/

.layout-default-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-default-placeholder img {
  width: 900px;
}
.layout-default-info {
  text-align: center;
  margin-top: 1rem;
}

.menu-vertical .menu-sub .menu-link {
  padding-left: 2rem !important;
}

.menu .menu-sub > .menu-item > .menu-link::before {
	inline-size: 0 !important;
}

.form-control.autosize {
  min-block-size: 0 !important; 
}

.input-group .select2-container--default .select2-selection--single {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group .select2-container {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
}

.btn-floating {
    position: absolute;
    z-index: 100;
    display: block;
    opacity: 0.8;
    text-align: center;
}

.carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.carousel-control-prev-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 4rem;
  height: 4rem;
	filter:none !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.5 !important;
}

.carousel-control-prev, .carousel-control-next {
  width: 2.5%;
	opacity: 0.0 !important;
}

/*** FULL CALENDAR ***/

/* Thay đổi cỡ chữ cho toàn bộ lịch */
.fc .fc-view-harness {
  font-size: 13px; /* Điều chỉnh giá trị này theo ý muốn */
}
/* Thay đổi cỡ chữ cho tiêu đề sự kiện */
.fc-event, .fc-event-time, .fc-event-title {
  font-size: 12px !important; /* Ví dụ: 12px */
	font-weight: normal !important; /* Tùy chọn: làm chữ thường */
}

.fc .fc-daygrid-day-top {
	display: flex;
	flex-direction: row-reverse !important;
}

.fc-daygrid-event {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    padding: 2px !important;
    font-size: 0.8em;
}

.swal-bootstrap {
  width: auto !important;
	padding:4px !important;
}

.swal-icon-small {
  width: 20px !important;
  height: 20px !important;
}

.badge-xs {
	font-size: 0.6	rem;
	padding: 0.2em 0.4em;
}

/* toast */
.notyf__toast {
  border-radius: 5px !important; /* bo góc 12px */
}

/*editor */
.task-editor .ql-editor {
  /*min-height: 150px;   /* vùng trống để click */
	cursor: text;        /* hiển thị con trỏ nhập liệu */
}

.task-editor .ql-editor p {
  margin-bottom: 3px; /* khoảng cách giữa các đoạn */
}

.task-editor {
  min-height: 150px;
	cursor: text;
}

.flatpickr-calendar {
    z-index: 99999 !important; 
    /* Giá trị này sẽ vượt qua z-index của hầu hết các Modal/Overlay */
}

#fileModal {
  z-index: 9999 !important; /* cao hơn tất cả */
}
#fileViewer {
  position: absolute;
  z-index: 10000; /* đảm bảo nằm trên cùng */
}

.task-list-document .list-group .list-group-item:first-child {
  border-top: 0 !important;
}
/* slider */
.noUi-pips .noUi-value {
	font-size: 10px;   /* nhỏ lại */
}

.noUi-pips .noUi-marker {
	height: 6px;       /* nếu muốn vạch nhỏ lại */
}

#filter-status,
#filter-date {
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 12px;
}





