@charset "windows-874";
/* CSS Document */

@font-face {
    font-family: 'Kanit-Regular';
    src: url('../../font/Kanit-Regular.eot');
    src: url('../../font/Kanit-Regular.eot?#iefix') format('embedded-opentype'),
         url('../../font/Kanit-Regular.woff') format('woff'),
         url('../../font/Kanit-Regular.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
html, body {font-family: 'Kanit-Regular' !important;}
.form-control,.input-group-text{color:#2E86C1;border-color: #2E86C1;height: 45px;}
.form-check-input{color:#2E86C1;border-color: #2E86C1;}
.chosen-container .chosen-single{
  color:#2E86C1;
  border-color: #2E86C1;
  height: 45px;
  line-height: 45px;
}
input[type=checkbox],input[type=radio]{transform : scale(1.5);}
.chosen-container-single .chosen-single span{color:#2E86C1}


.input-hidden{visibility: hidden;} /* ซ่อน input กรณีใช้ required*/
@media screen and (max-width: 600px) {
  h1,.h1{font-size:20px}
  h2,.h2{font-size:18px}
  h3,.h3{font-size:15px}
  h4,.h4{font-size:12px}
  h5,.h5{font-size:10px}
  .h45{font-size:25px}
  .h50{font-size:30px}
}
@media screen and (min-width: 601px) {
  h1,.h1{font-size:30px}
  h2,.h2{font-size:28px}
  h3,.h3{font-size:20px}
  h4,.h4{font-size:18px}
  h5,.h5{font-size:16px}
  .h45{font-size:45px}
  .h50{font-size:50px}
}
.note_comment{
  padding:5px 20px 5px 20px;
  margin-top: 20px;
  border:3px solid indianred;
  background-color: #FADBD8;
  color:#000;
  border-radius: 15px;
}

.reason{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.table th{
  text-align: center !important;
}
.table  th{
  color: #000 !important;
  background-color: #5EE9B5!important;
  vertical-align: middle!important;
}
.pointer{
  cursor: pointer;
}
.my-table {
  border-collapse: collapse;
  width: 100%;
}

.table td, .table th {
  border: 1px solid #333;
  padding: 8px;
}
/* ล็อกตารางและโครงสร้างหลักไม่ให้ขยายเกินหน้ากว้าง 100% */
#myTable {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important; /* บังคับให้คอลุมน์แชร์พื้นที่กันตามสัดส่วน ไม่ยืดตามใจชอบ */
}

/* ปล่อยให้ข้อความยาวๆ เช่น "ชื่อวิจัย" หรือ "กลุ่มวิชา" ตัดขึ้นบรรทัดใหม่ได้ */
#myTable td, #myTable th {
    white-space: normal !important; /* อนุญาตให้ขึ้นบรรทัดใหม่ */
    word-break: break-word !important; /* ตัดคำเมื่อถึงขอบคอลัมน์ */
}
/*--------------กำหนด datepicker-------------------------------------*/
.datepicker {
    font-size: 14px;
}

.datepicker table tr td,
.datepicker table tr th {
    width: 40px;
    height: 40px;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover {
    background-color: #2E86C1;
    color: #fff;
}

.datepicker table tr td.today {
    background-color: #AED6F1;
    color: #000;
}

/*------------แก้ template--------------------------------------------*/
.main-content{
 min-height: calc(100vh - 155px);
}
.btn{
  font-size:14px!important;
}
/*--------------------------------------------------------*/


