  .webForm label {
    font-size: 26px;
    font-weight: 600;
  }

  input[type="text"] {
    background-color: #ffface;
    color: #0066ff;
  }

  input[type="number"] {
    background-color: #ffface;
    color: #0066ff;
  }

  select {
    background-color: #ffface !important;
    color: #0066ff !important;
  }

  textarea {
    background-color: #ffface !important;
    color: #0066ff !important;
  }

  /* The container */

  .containerchk {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #152D5B;
  }

  /* Hide the browser's default checkbox */
  .containerchk input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }

  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ccc;
  }

  /* On mouse-over, add a grey background color */
  .containerchk:hover input~.checkmark {
    background-color: #ccc;
  }

  /* When the checkbox is checked, add a blue background */
  .containerchk input:checked~.checkmark {
    background-color: #1B6CAD;
  }

  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  /* Show the checkmark when checked */
  .containerchk input:checked~.checkmark:after {
    display: block;
  }

  /* Style the checkmark/indicator */
  .containerchk .checkmark:after {
    left: 9px;
    top: 2px;
    width: 8px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /************************************ checkbox *****************************/
  .custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    /* สำหรับ Safari */
    width: 20px;
    height: 20px;
    border: 2px solid #56a8ff;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  /* สร้างเอฟเฟกต์เมื่อ checkbox ถูกเลือก */
  .custom-checkbox:checked {
    background-color: #007BFF;
    border-color: #007BFF;
  }

  /* เพิ่มสัญลักษณ์ถูก */
  .custom-checkbox:checked::before {
    content: "✔";
    color: white;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  /* ออกแบบ label */
  .custom-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    cursor: pointer;
  }


  /* pagination */
  .pagination {
    margin: 5px 0px;
  }

  .pagination .title {
    background-color: #000000;
    border-radius: 4px;
    padding: 3px 20px;
    color: #FFF;
    margin-right: 2px;
  }

  .pagination .title a {
    color: #FFF;
  }

  .pagination .activex {
    background-color: #FDA600;
    border-radius: 4px;
    padding: 3px 10px;
    color: #FFF;
  }

  .pagination .activex a {
    color: #FFF;
  }

  .pagination .numlink {
    background-color: #707070;
    border-radius: 4px;
    padding: 3px 10px;
    margin: 0px 2px;
    color: #FFF;
    cursor: pointer;
  }

  .pagination .numlink a {
    color: #FFF;
  }

  .formcontent {
    font-family: Mitr !important;
  }


  /* detail */
  .text-heading {
    font-weight: bold;
  }

  .text-details {
    margin-left: 5px;
    font-weight: 200;
    color: rgb(65, 90, 16);
  }


  /* styles.css */

  .modal {
    font-family: 'Mitr' !important;
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 1;
    /* Sit on top */
  }

  .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    /* 10% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    /* Adjust width as needed */
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .closefocus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 200;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
  }

  @media (prefers-reduced-motion:reduce) {
    .badge {
      transition: none
    }
  }

  a.badge:focus,
  a.badge:hover {
    text-decoration: none
  }

  .badge:empty {
    display: none
  }

  .btn .badge {
    position: relative;
    top: -1px
  }

  .badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem
  }

  .badge-primary {
    color: #fff;
    background-color: #007bff
  }

  a.badge-primary:focus,
  a.badge-primary:hover {
    color: #fff;
    background-color: #0062cc
  }

  a.badge-primary.focus,
  a.badge-primary:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5)
  }

  .badge-secondary {
    color: #fff;
    background-color: #6c757d
  }

  a.badge-secondary:focus,
  a.badge-secondary:hover {
    color: #fff;
    background-color: #545b62
  }

  a.badge-secondary.focus,
  a.badge-secondary:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(108, 117, 125, .5)
  }

  .badge-success {
    color: #fff;
    background-color: #28a745
  }

  a.badge-success:focus,
  a.badge-success:hover {
    color: #fff;
    background-color: #1e7e34
  }

  a.badge-success.focus,
  a.badge-success:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .5)
  }

  .badge-info {
    color: #fff;
    background-color: #17a2b8
  }

  a.badge-info:focus,
  a.badge-info:hover {
    color: #fff;
    background-color: #117a8b
  }

  a.badge-info.focus,
  a.badge-info:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(23, 162, 184, .5)
  }

  .badge-warning {
    color: #212529;
    background-color: #ffc107
  }

  a.badge-warning:focus,
  a.badge-warning:hover {
    color: #212529;
    background-color: #d39e00
  }

  a.badge-warning.focus,
  a.badge-warning:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(255, 193, 7, .5)
  }

  .badge-danger {
    color: #fff;
    background-color: #dc3545
  }

  a.badge-danger:focus,
  a.badge-danger:hover {
    color: #fff;
    background-color: #bd2130
  }

  a.badge-danger.focus,
  a.badge-danger:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .5)
  }

  .badge-light {
    color: #212529;
    background-color: #f8f9fa
  }

  a.badge-light:focus,
  a.badge-light:hover {
    color: #212529;
    background-color: #dae0e5
  }

  a.badge-light.focus,
  a.badge-light:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(248, 249, 250, .5)
  }

  .badge-dark {
    color: #fff;
    background-color: #343a40
  }

  a.badge-dark:focus,
  a.badge-dark:hover {
    color: #fff;
    background-color: #1d2124
  }

  a.badge-dark.focus,
  a.badge-dark:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(52, 58, 64, .5)
  }




  /* .old-img {
    border: 2px solid #ccc;
    padding: 2px;
} */