.button-clear {
    position: absolute;
    top: 96px;
    z-index: 1;
    right: 41vw;
  }
  .button-help {
    position: absolute;
    top: 0px;
    z-index: 1;
    right: 0vw;
    margin: 4.2rem;
    margin-right: 10px; /* เพิ่มใหม่ 12/16*/
  }
  
  .htable{
    height: 400px;
  }
  table.ti-custom-table thead {
    height: 60px;
  }
  table.ti-custom-table thead th span {
    font-size: 12px;
    font-weight: bold;
  }
  .ti-custom-table td{
    padding-left: 0.9rem;
    padding-right: 1rem;
  }
  
  .ti-custom-table thead th:first-child {
    width: 120px; /* ปรับความกว้างตามที่ต้องการ */
    text-align: left; /* จัดตำแหน่งข้อความถ้าต้องการ */
    padding-left: 2px;
    padding-right: 2px;
  }
  .ti-custom-table thead th:last-child {
    width: 400px; /* ปรับความกว้างตามที่ต้องการ */
  }
  a.custom-link {
    padding: 10px 40px; /* ปรับ padding ให้เพิ่มขนาด */
  }
  /* สไตล์ของแถบเมนู */
  .nav-tabs {
    display: flex;
    width: 100%;
    cursor: pointer;
    margin-bottom: 10px;
    height: 20%;
  }
  
  .nav-item {
    list-style: none;
    margin-right: 10px; /* ช่องว่างระหว่างเมนู */
  }
  
  .nav-link {
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    font-size: large;
    border-width: 2px 2px 0px 2px;
    border-style: solid;
    border-color: #ccc;
    border-radius: 5px 5px 0px 0px;
  }
  
  .nav-link:hover {
    background-color: #f0f0f0; /* เปลี่ยนสีเมื่อ hover */
  }
  
  .nav-link.active {
    color: #ffffff; /* สีตัวอักษรในสถานะ active */
    font-size: large;
    border-bottom: 3.5px solid rgb(var(--color-primary)); /* เส้นใต้ */
    background-color: rgb(var(--color-primary));
    border-width: 2px 2px 0px 2px;
    border-style: solid;
    border-color: rgb(var(--color-primary));
    border-radius: 5px 5px 0px 0px;
  }
  
  .tab-content {
    margin-top: 20px;
  }
  
  .tab-pane.active {
    display: block;
  }
  
  .nav-item-text {
    list-style: none;
    margin-right: 10px; /* ช่องว่างระหว่างเมนู */
  }
  .nav-link-text {
    text-decoration: none;
    display: inline-block;
    font-size: large;
    color: #569bf5;
    border-bottom: 2px solid #569bf5;
    line-height: 0.8;
  }
  .ti-pagination .page-link.active {
    background-color: #569bf5;
    color: white;
    border-radius: 50%;
    padding: 8px 12px;
  }
  .box-body{
    padding: 0rem;
  }
  .page{
    min-height: 0vh;
  }

  
  .ti-modal-content {
    padding: 1rem;
    height: 650px; 
    overflow-y: auto;
  }
  
  .ti-modal-content-alert{
    width: 35%;  /* ความกว้างที่คุณต้องการ */
    position: absolute; /* ทำให้สามารถจัดตำแหน่งได้ */
    top: 50%;  /* ให้อยู่กลางในแนวตั้ง */
    left: 50%;  /* ให้อยู่กลางในแนวนอน */
    transform: translate(-50%, -50%); /* เคลื่อนที่ modal กลับมาให้ตรงกลาง */
    background-color: #ffffff;
  }
   
  .header-title-type {
    width: 100%;
    min-height: 50px; /* ใช้ min-height เพื่อให้มีความยืดหยุ่น */
    justify-content: space-between; /* จัดเรียงองค์ประกอบภายใน */
    align-items: center; /* จัดกลางแนวตั้ง */
    padding-top: 50px;
    padding-bottom: 1rem;
  }
  
  .body-content{
    margin-bottom: 30px;
    overflow-y: auto;
  }
  
  .bg-input-readonly{
    background-color:  rgb(241 245 249);
  }

.ciricon {
  height: 12px; /* กำหนดความสูงของวงกลม */
  width: 12px; /* กำหนดความกว้างของวงกลม */
  background-color: #ffffff;
  font-weight: bold;
  display: flex; /* ใช้ Flexbox */
  justify-content: center; /* จัดตำแหน่งแนวนอนให้กึ่งกลาง */
  align-items: center; /* จัดตำแหน่งแนวตั้งให้กึ่งกลาง */
  border-radius: 2px; /* ทำให้เป็นวงกลม */
}

.ri-close-line {
  font-size: 15px; /* ขนาดไอคอน */
}