@font-face {
    font-family: "Line Seed Sans";
    src: url('../fonts/LINESeedSansTH_W_Rg.woff2');
    src: url('../fonts/LINESeedSansTH_W_Rg.eot') format('embedded-opentype'),
         url('../fonts/LINESeedSansTH_W_Rg.woff2') format('woff2'),
         url('../fonts/LINESeedSansTH_W_Rg.woff') format('woff'),
         url('../fonts/LINESeedSansTH_Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: "Line Seed Sans";
    src: url('../fonts/LINESeedSansTH_W_Bd.woff2');
    src: url('../fonts/LINESeedSansTH_W_Bd.eot') format('embedded-opentype'),
         url('../fonts/LINESeedSansTH_W_Bd.woff2') format('woff2'),
         url('../fonts/LINESeedSansTH_W_Bd.woff') format('woff'),
         url('../fonts/LINESeedSansTH_Bd.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }  

  @font-face {
    font-family: "Line Seed Sans";
    src: url('../fonts/LINESeedSansTH_W_Th.woff2');
    src: url('../fonts/LINESeedSansTH_W_Th.eot') format('embedded-opentype'),
         url('../fonts/LINESeedSansTH_W_Th.woff2') format('woff2'),
         url('../fonts/LINESeedSansTH_W_Th.woff') format('woff'),
         url('../fonts/LINESeedSansTH_Th.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
  }    

body{font-family: 'Line Seed Sans';}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-20%); }
  to { transform: translateY(0); }
}

.popup-content {
  animation: fadeIn 0.5s, slideIn 0.5s;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideOut {
  from { transform: translateY(0); }
  to { transform: translateY(-20%); }
}

.popup-out {
  animation: fadeOut 0.5s, slideOut 0.5s forwards;
}


#labelContainer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: rgba(255, 255, 255, 0.7); เพิ่มความโปร่งใสเล็กน้อยเพื่อให้เห็นรูปภาพ */
}


.custom-border-radius {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 230px;
  border-bottom-left-radius: 30px;
}

.custom-border-radius-public {
  border-top-left-radius: 230px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 230px;
  border-bottom-left-radius: 0px;
}

/* สไตล์สำหรับ dropdown menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

.truncate {
  white-space: nowrap; /* ป้องกันไม่ให้ข้อความขึ้นบรรทัดใหม่ */
  overflow: hidden; /* ซ่อนเนื้อหาที่เกินขอบเขตขององค์ประกอบ */
  text-overflow: ellipsis; /* เพิ่ม "..." ท้ายสุดของข้อความที่ถูกตัด */
}


