.table-manufacturingfacility hr {
  color: #c6c6c6 !important;
}
.footer-an {
  margin-left: -30px;
  margin-bottom: -20px;
  background: #0082c8;
  color: white;
}
.announcement-box {
  position: relative;
  background: white;
  border: 1px solid #c6c6c6;
  margin-bottom: 30px;
  padding: 20px 0px 20px 30px;
}
.announcement-box .format:before {
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    content: "\f10e";
    font-family: FontAwesome;
    color: white;
    font-size: 26px;
}
.announcement-box .read-more {
    display: inline-block;
    background: white;
    width: 35px;
    height: 35px;
    overflow: hidden;
    text-indent: -9999px;
    text-align: left;
    position: relative;
    vertical-align: top;
}
.announcement-box .read-more:before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    content: "\f08e";
    font-family: FontAwesome;
    color: #0082c8;
    font-size: 18px;
    text-indent: 0;
    padding-top: 5px;
}
.announcement-box .format.quote:before {
  content: "\f10e";
}
.announcement-box .format {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #0082c8;
}
.announcement-box .calendar-an:before {
    display: inline-block;
    content: "\f133";
    font-family: FontAwesome;
    font-size: 16px;
    padding-right: 8px;
}

.bg-about {
  background: url("https://bhipthailand.co.th/wp-content/uploads/2024/12/page-title.jpg")
    no-repeat center;
  background-size: cover;
  /* ✅ ขยายเต็ม div โดยไม่เสียสัดส่วน */
  background-position: center;
  /* ✅ จัดให้อยู่กลางภาพ */
  background-repeat: no-repeat;
  /* ✅ กันภาพซ้ำ */
  height: 330px;
  overflow: hidden;
  position: relative;
}

.bg-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  /* ความมืด 50% */
}
/* a.menu-bg-gray {
    background-color: #cc2500;
} */
::placeholder {
  font-family: "Noto Sans Thai" !important;
}
.font-noto {
  font-family: "Noto Sans Thai" !important;
}
.font-os {
  font-family: "Open Sans", sans-serif !important;
}

hr {
  opacity: 1;
}
.gradian-bg {
  background: linear-gradient(180deg, #00000000 0%, var(--bg-color-gray) 100%);
}

a.menu-bg-gray:hover {
  background-color: #0000001f;
  color: white;
}

a.nav-link-custom {
  color: var(--color-primary);
}

a.nav-link-custom:hover {
  color: white;
}

.elementor img {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  max-width: 100%;
}

.elementor-widget-image img {
  display: inline-block;
  vertical-align: middle;
}

.elementor-78 .elementor-element.elementor-element-23f0ea00 img {
  width: 34px;
}

.elementor-78
  .elementor-element.elementor-element-23f0ea00
  > .elementor-widget-container {
  background-color: #ffffff;
  padding: 30px 30px 30px 30px;
  border-radius: 50% 50% 50% 50%;
  box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.10196078431372549);
}

.elementor-element:where(:not(.e-con)):where(:not(.e-div-block-base))
  .elementor-widget-container,
.elementor-element:where(:not(.e-con)):where(:not(.e-div-block-base)):not(
    :has(.elementor-widget-container)
  ) {
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s,
    transform var(--e-transform-transition-duration, 0.4s);
}

.e-con > .e-con-inner > .elementor-widget > .elementor-widget-container,
.e-con > .elementor-widget > .elementor-widget-container {
  height: 100%;
}

body:not(.rtl) .elementor-78 .elementor-element.elementor-element-23f0ea00 {
  right: 75px;
}

.elementor-78 .elementor-element.elementor-element-23f0ea00 {
  top: 65px;
}

.elementor-icon-list-icon {
  display: inline-block;
  font-size: 8px;
  width: 1.2em;
  text-align: center;
  color: #000000;
  position: absolute;
  top: 93px;
}

.elementor-icon-list-icon svg {
  fill: #ffffff;
}

/* กล่อง Overlay เต็มจอ */
.search-overlay {
  position: fixed;
  display: none;
  /* ซ่อนตอนแรก */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  /* ดำโปร่ง */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}

.elementor-heading-title,
.text-gray {
  color: #6c6a72;
  font-size: 17px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ปุ่มปิด (X) */
.search-overlay .closebtn {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.search-overlay .closebtn:hover {
  transform: rotate(90deg);
}

/* กล่องค้นหา */
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 10px 20px;
  width: 60%;
  max-width: 700px;
  backdrop-filter: blur(5px);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 18px;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-box .icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.search-box .icon-btn:hover {
  color: #a971ff;
}

.btn-orange {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #ffffff;
  color: var(--color-primary) !important;
}

.btn-outline-orange {
  background-color: #ffffff;
  color: #000000;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}

.no-scroll {
  overflow: hidden;
}

.btn-outline-orange:hover {
  background-color: #ffffff;
  color: var(--color-primary) !important;
}

.fs-14 {
  font-size: 14px;
}
.fs-15 {
  font-size: 15px;
}
.fs-16 {
  font-size: 16px;
}

.fs-17 {
  font-size: 17px;
}

.fs-18 {
  font-size: 18px;
}

.fs-19 {
  font-size: 19px;
}

.fs-20 {
  font-size: 20px;
}

.fs-22 {
  font-size: 22px;
}

.fs-24 {
  font-size: 24px;
}

.fs-32 {
  font-size: 32px;
}

.fs-40 {
  font-size: 40px;
}

.fs-45 {
  font-size: 45px;
}

.fs-100 {
  font-size: 100px;
}

.pt-100 {
  padding-top: 100px !important;
}

.py-50 {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

.py-100 {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.mt-50 {
  margin-top: 50px !important;
}

.mt-100 {
  margin-top: 100px !important;
}

.mb-50 {
  margin-bottom: 50px !important;
}

.mb-100 {
  margin-bottom: 100px !important;
}

.mb-150 {
  margin-bottom: 150px !important;
}

.font-syne {
  font-family: "Syne", sans-serif !important;
}
