table thead th {
  position: sticky;
  top: -1px;
  background: white;
  z-index: 3;
}
.my-table thead th {
    background-color: #fb8500 !important;
    color: white !important;
}
.my-table,
.my-table td {
    border: 1px solid #fb8500 !important;
}

html{
  font-size: 80%;
}

body {
    padding-top: 70px;
    padding-bottom: 50px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%; /* show it to the right */
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

.my-navbar{
    background-color: #023047;
}

.my-table th,
.my-table td {
    white-space: nowrap;   /* force text in one line */
}

input.form-control {
    background-color: #f0f8ff; /* light blue */
    color: #000000;           /* black text */
    border-color: #007bff;      
}
select.form-select {
    background-color: #f0f8ff; /* light blue */
    color: #000000;           /* black text */
    border-color: #007bff;      
}
textarea.form-control {
    background-color: #f0f8ff; /* light blue */
    color: #000000;           /* black text */
    border-color: #007bff;      
}
.form-check-input {
  border: 2px solid #007bff;   /* blue border */
  background-color: #f0f8ff;   /* light blue background */
}

input.form-control[readonly],
textarea.form-control[readonly] {
  background-color: #e9ecef; /* Bootstrap-like gray */
  color: #6c757d;           /* faded text */
  border-color: #ced4da;    /* faded border */
}

/* When select is disabled */
select.form-select:disabled {
  background-color: #e9ecef; /* gray */
  color: #6c757d;            /* faded text */
  border-color: #ced4da;
}

/* When checkbox/radio is disabled */
.form-check-input:disabled {
  background-color: #e9ecef; /* gray */
  border-color: #ced4da;
}

/*select field*/
.readonly {
background-color: #e9ecef !important; /* gray */
border-color: #ced4da !important;
pointer-events: none;   /* block clicks */
color: #6c757d !important;   
}

.btn-orange {
  background-color: #fb8500 !important; /* bright orange */
  border-color: #fb8500 !important;
  color: white !important;
}

th[data-sort-dir="asc"]::after { content: " ▲"; }
th[data-sort-dir="desc"]::after { content: " ▼"; }

#khoaList.show,
#hopList.show,
#dungcuList.show {
  display: block;
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
}

#khoaList {
  position: absolute;
  z-index: 2000; /* keep dropdowns above the modal */
  width: 100%;
}

/*.modal-backdrop {
    width: 200vw;
    height: 200vh;
    left: -50vw;
    top: -50vh;
}*/

.modal-fullscreen-custom {
    max-width: 98vw;
    width: 98vw;
}

.modal-fullscreen-custom .modal-content {
    height: 70vh;
}

.modal-fullscreen-custom-another {
    max-width: 98vw;
    width: 98vw;
}

.modal-fullscreen-custom-another .modal-content {
    height: 47vh;
}


.table tbody tr {
    height: 30px;
}

.table tbody td {
    vertical-align: middle;
}

.readonly-cb {
    pointer-events: none;
    opacity: 0.7;
    accent-color: #999;
}

/* .print-label {
  display: none;
}
@media print {

  @page {
    size: 60mm 35mm;
    margin: 0;
  }
  
  body * {
    visibility: hidden !important;
  }

  .print-label,
  .print-label *  {
    display: block !important;
    position: absolute;
    visibility: visible !important;
    top: 0;
    left: 0;

    width: 60mm;
    height: 35mm;
    border: 1px solid black;
    padding: 4mm;
    font-size: 10pt;
    box-sizing: border-box;
  }
} */