body {
    margin: 0;
    padding: 20px;
    font-family: sans-serif;
  }
  
  * {
    box-sizing: border-box;
  }
  
  .table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .table td,
  .table th {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
  }
  
  .table thead {
    background-color: #198797;
    color: #ffffff;
  }
  
  .table tbody tr:nth-child(even) {
    background-color: #d1e8f5;
  }
  
  /*responsive*/
  
  @media (max-width: 768px) {
    .table thead {
      display: none;
    }
  
    .table,
    .table tbody,
    .table tr,
    .table td {
      display: block;
      width: 100%;
    }
    .table tr {
      margin-bottom: 15px;
    }
    .table td {
      padding-left: 50%;
      text-align: left;
      position: relative;
    }
    /* ส่วนของ radio ในแบบประเมินหน้าแบบ responsive */
    .table td::after {
      content: attr(data-label1);
      position: relative;
      left: 0;
      width: 100%;
      padding-left: 10px;
      font-size: 15px;
      font-weight: bold;
      text-align: left;
    }
  /* ส่วนของ table ในแสดงรายละเอียด responsive */
    .table td::before {
      content: attr(data-label);
      position: relative;
      left: 0;
      width: 50%;
      padding-left: 15px;
      font-size: 15px;
      font-weight: bold;
      text-align: left;
    }
  }
  .fa-2hxl {
    font-size: 2.5em;
    line-height: .03125em;
    vertical-align: -0.1875em;
}
  /* CSS สำหรับ NavBar */
  :root {
    --offcanvas-width: 250px;
    --topNavbarHeight: 30px;
  }
  .sidebar-nav {
    -webkit-transform: none;
    transform: none;
    visibility: visible !important;
    height: calc(50% - var(--topNavbarHeight));
    top: var(--topNavbarHeight);
  } 
 /* กำหนดค่าสำหรับ Navbar  เช่น สำหรับการเปลี่ยนสี hover ของ Navbar menu */
 .nav-link:hover { 
  /* background: #038087; */
  background: #2F4858;
  color: #FFFFFF;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  /* color: #E9210D;
  background-color: #F0F8F8; */
  background: #2F4858;
  color: #FFFFFF;   
  border-color: #dee2e6 #dee2e6 #fff;
}
.navbar {
  /* background: #035c61; */
/* background-image: linear-gradient(to right top, #006566, #006c71, #00747c, #007b87, #008293, #238f9a, #399ca1, #4ca9a8, #76bdac, #9ed0b2, #c6e3bd, #edf5ce); */
 background-image: linear-gradient(to right, #051937, #003657, #00535a, #006e3d, #608000);  
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
  /* css สำหรับ preloader */
  .content {
    display: none;
  }
  .form-control { display: inline-block !important; }
  .bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }
  /* สิ้นสุด CSS Navbar */


.point th {
    cursor: pointer;
}

.table-sortable th {
	cursor: pointer;
}

.table-sortable .th-sort-asc::after {
	content: "\25b4";
}

.table-sortable .th-sort-desc::after {
	content: "\25be";
}

.table-sortable .th-sort-asc::after,
.table-sortable .th-sort-desc::after {
	margin-left: 5px;
}

.table-sortable .th-sort-asc,
.table-sortable .th-sort-desc {
	background: rgba(0, 0, 0, 0.1);
}
/* .custom-control-input:checked~::before {
  color: #fff;
  border-color: #7B1FA2;
}

.custom-control-input:checked~::before {
  background-color: red;
} */

/* .custom-control-input:checked~::before {
  background-color: green;
} */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-pagination {
  width: 25px;
  height: 25px;
  border-radius: 50px;
  background: #000;
  color: #fff;

  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.number-pagination {
  width: 25px;
  height: 25px;
  border-radius: 50px;
  background: #f2f2f2;
  color: #000;
  margin: 0 5px;

  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.active-pagination {
  background: #FF2B56;
  color: #fff;
}