@font-face {
  font-family: 'CS PraJad';
  src: url(../fonts/CSPraJad.otf);
}
	
/* สไตล์ของปุ่ม */
        .my-custom-button {
            display: inline-block; /* ทำให้สามารถกำหนด width และ height ได้ */
            padding: 15px 30px; /* กำหนดขนาดของปุ่ม */
            background-color: #A9D9F8; /* สีพื้นหลังเริ่มต้น (ฟ้าอ่อน) */
            color: #333; /* สีตัวอักษรเริ่มต้น (เทาเข้ม) */
            border: none; /* ไม่มีเส้นขอบ */
            border-radius: 10px; /* ทำให้มุมไม่เหลี่ยม (โค้งมน) */
            font-size: 18px; /* ขนาดตัวอักษร */
            font-weight: bold; /* ตัวหนา */
            cursor: pointer; /* เปลี่ยน cursor เมื่อนำเมาส์ไปชี้ */
            transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* เพิ่ม Animation ตอน Hover */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* เพิ่มเงาให้ดูมีมิติ */
            text-decoration: none; /* เอาขีดเส้นใต้ของลิงก์ออก (ถ้าใช้แท็ก <a>) */
			font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
			
        }

        /* สไตล์เมื่อนำเมาส์ไปชี้ (Hover) */
        .my-custom-button:hover {
            background-color: #5DADE2; /* สีพื้นหลังเมื่อ Hover (ฟ้าเข้มขึ้น) */
            color: #FFFFFF; /* สีตัวอักษรเมื่อ Hover (ขาว) */
            transform: translateY(-2px); /* ทำให้ปุ่มดูเหมือนลอยขึ้นเล็กน้อย */
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* ทำให้เงาเข้มขึ้น */
        }

        /* ถ้าต้องการให้ปุ่มกว้างเต็มพื้นที่ที่กำหนด */
        /* .my-custom-button.full-width {
            width: 100%;
            text-align: center;
        } */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: gray;
}

body {
  font-family: 'CS PraJad' !important;
  background: #F2F3F4 !important;
  background: #e6faff !important;
}

a.headMenu:link {
  color: black;
  text-decoration: none;
  font-family: 'CS PraJad';
}

a.headMenu:visited {
  color: black;
  text-decoration: none;
  font-family: 'CS PraJad';
}

a.headMenu:hover {
  color: #e40139;
  text-decoration: none;
  font-family: 'CS PraJad';
}

a.disabled:hover {
  cursor: not-allowed;
  text-decoration: none;
}

.div-block {
  /* background-color: aquamarine; */
  /* border: 1px solid red; */
  width: 100%;
  /* margin: 0 5%; */
}

.bg-logo {
  /* position: relative;
  display: inline-block; */
  /* background: antiquewhite; */
  height: 50px;
  padding: 10px 0 0 10px;
}

.bg-logo>img {
  /* position: absolute;
  height: 85%;
  bottom: 0;
  left: 0; */
  height: calc(100%);
  max-width: -webkit-fill-available;
}

.bg-logo>div {
  text-align: end;
  width: 100%;
  font-size: 18px;
  background: #e6faff !important;
}

.div-header {
  display: inline-block;

  text-align: center;

}

.div-header:hover>a.headMenu {
  color: red;
}

.div-header-menu {
  width: calc(100% - 210px);
  z-index: 99;
  text-align: end;
  /* background: #e6faff !important; */
}

.div-header:hover,
.div-header.active {
  cursor: pointer;
}

.headMenu {
  font-size: 22px;
  line-height: 22px;
}

.div-block.header,
.div-block.footer {
  position: fixed;
  margin-left: 5%;
  width: 90%;
  z-index: 1000;
}

.div-block.header {
  display: flex;
  padding: 0;
  /* background-color: #ffff; */
  background: #e6faff;
}

.div-block.header * {
  box-sizing: border-box;
}

.div-block.body {
  position: relative;
  height: calc(100%);
  margin-bottom: 0;
  overflow: hidden;
  overflow: auto;
  /* background-color: aliceblue; */
}

.div-block.body-first {
  height: 60px;
}

.div-block.body-second {
  height: 50px;
}

.div-block.footer {
  height: 42px;
  bottom: 0;
  /* left: 50%;
  transform: translateX(-50%); */
  font-size: 18px;
  text-align: center;
  color: white;
  background: cadetblue;
}

.div-block.footer>div {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.div-display {
  position: relative;
  top: 100px;
  top: 60px;
  width: 100%;
  height: calc(100% - 180px);
  height: calc(100% - 120px);
  min-height: 500px;
  padding-bottom: 80px;
  padding-bottom: 60px;
}