/* style.css */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DM Sans","Prompt", sans-serif;
}

:root {
  --dark-grey: #333333;
  --medium-grey: #636363;
  --light-grey: #eeeeee;
  --ash: #f4f4f4;
  --primary-color: #003368;
  --white: white;
  --border: 1px solid var(--light-grey);
  --shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

body {
  font-family: "DM Sans","Prompt", sans-serif;
  background-color: var(--white);
  color: var(--dark-grey);
  letter-spacing: -0.4px;
}



/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.5s;
    z-index: 997;
  }

  .container-for-nav {
    padding: 15px 0;
    background-color: #ededed;
  }




  #header.header-scrolled,
  #header.header-inner-pages {
    background: #fff;
  }

  #header.header-scrolled .menu,
  #header.header-inner-pages .menu {
      color: #000;
  }

  #header.header-scrolled .dropdown,
  #header.header-inner-pages .dropdown {
      color: #000;
  }

  #header.header-scrolled a,
  #header.header-inner-pages a {
      color: #000;
  }

  #header.header-scrolled a:hover,
  #header.header-inner-pages a:hover {
      color: #000;
      /* border-bottom: 1px solid #003368; */
  }

  .border-bottom-lang {
      border-bottom: 1px solid white;
  }

  .dropdown-active  .border-bottom-lang {
    border-bottom: 1px solid black;
  }

  #header.header-scrolled .border-bottom-lang,
  #header.header-inner-pages .border-bottom-lang {
    border-bottom: 1px solid #003368;
  }


  #header .dropdown-active .nav-start .logo img  {
    src: url('frontend/img/logo/logo.png'); /* เปลี่ยนเป็นที่อยู่ของไฟล์ logo-white.png ของคุณ */
  }

  a:hover {
    color: #003368;
  }

  #header-menu a {
    font-weight: 400;
  }

  .containe-container a:hover {
   scale:1.1;
    color:#fff;
  }

  #header-menu button[aria-expanded="true"] a:hover {
   scale:1.1;
    color: #000 !important;
  }

  #header-menu .dropdown a:hover {
   scale:1.1;
    color: #000 !important;
  }

  #header-menu .dropdown-active a:hover {
   scale:1.1;
    color: #000 !important;
  }

  .dropdown-active a{
    color: black;
  }

  .dropdown-active a:hover{
    color: black;

  }

  #header-menu .dropdown-active .logo img{
    src: url('frontend/img/logo/logo.png'); /* เปลี่ยนเป็นที่อยู่ของไฟล์ logo.png ของคุณ */
  }


  #header-menu a:hover:not(:focus) {
   scale:1.1;

}

  #header-menu .dropdown-active a:hover:not(:focus) {
   scale:1.1;
  }

  #header-menu a.active {
    font-weight: 600;
  }

  .height-nav.dropdown-active {
    background: #fff;
   height: 300px;
   transition: height 0.5s ease;
 }

 #header-men button[aria-expanded="true"] a{
    font-weight: 700;
  }

  button[aria-expanded="false"]{
    font-weight: 500;
  }

  #header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    scale:1;
  }

  #header .logo a {
    color: #313133;
  }

  #header .logo img {
    max-height: 75px;
  }
  @media (max-width: 991px) {
    #header-menu .dropdown-active a:hover {
      scale:1;
      font-weight: 600;
       color: #000 !important;
     }
    #header-menu button[aria-expanded="true"] a:hover {
      scale:1;
      font-weight: 600;
       color: #000 !important;
     }

    .containe-container a:hover {
      font-weight: 600;
       color:#000;
     }
     #header-menu a:hover:not(:focus) {
      scale:1;
      font-weight: 600;
   }
  }

  @media (max-width: 767px) {
    #header .logo img {
      max-height: 50px;
    }
  }

  @media (max-width: 430px) {
    #header .logo img {
      max-height: 40px;
    }
  }

  @media (max-width: 390px) {
    #header .logo img {
      max-height: 30px;
    }
  }

ul {
  list-style: none;
}

#aboutus ul {
  list-style: disc;
  padding-left: 1rem;
}

#aboutus ol, ul {
  padding-left: 2rem;
}

@media (max-width: 991px) {
  #aboutus ol, ul {
    padding-left: 0rem;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

#careers a {
  text-decoration: none;
  color: #003368;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: inherit;
}

#header .btn {
  display: block;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
}

.icon {
  padding: 0.5rem;
  background-color: var(--light-grey);
  border-radius: 10px;
}

.logo {
  margin-right: 1.5rem;
}

#nav-menu {
  border-bottom: var(--border);
}

#header .containe-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  height: 100px;
}

ul:not(#header) .container {
  /* ส่วนสไตล์ของ container ที่ไม่ได้รับ id="header" */
}



.menu {
  position: relative;
  color: #fff;
}

.menu-bar li:first-child .dropdown {
  flex-direction: initial;
  min-width: 480px;
}

.menu-bar li:nth-child(n + 2) .dropdown {
    flex-direction: initial;
    min-width: 480px;
  }

.menu-bar li:nth-child(4) .dropdown {
    left: 9%;
}
.menu-bar li:nth-child(5) .dropdown {
    min-width: 0;
    left: 45%;
}

.menu-bar li:nth-child(6) .dropdown {
    min-width: 0;
}


.menu-bar li:first-child ul:nth-child(1) {
  border-right: var(--border);
}

.menu-bar li:nth-child(n + 2) ul:nth-child(1) {
  border-bottom: 0;
}

/* .menu-bar .dropdown-link-title {
  font-weight: 600;
} */

.menu-bar .nav-link {
  font-size: 1rem;
  /* font-weight: 500; */
  letter-spacing: -0.6px;
  margin: 0 10px 0 10px;
  /* padding: 0.3rem;
  min-width: 60px;
  margin: 0 0.6rem; */
}


.menu-bar .nav-link .dropdown-link a.active {
  border-bottom: 1px solid white;
}

.menu-bar .nav-link .dropdown-link a.active,
.menu-bar .nav-link .dropdown-link a:hover {
  border-bottom: 1px solid white; /* เพิ่มเพื่อให้ขีดเส้นขอบของเมนูเล็กเหมือนกับเมนูใหญ่เมื่อ hover */
}


.menu-bar .nav-linkhover,
.dropdown-link:hover {
  /* border-bottom: 1px solid #003368; */
}


.nav-start,
.nav-end,
.menu-bar {
  display: flex;
  align-items: center;
}

.dropdown {
  display: flex;
  flex-direction: column;
  min-width: 230px;
  border-radius: 10px;
  position: absolute;
  top: 23px;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateX(-5px);
  transition: 0.1s ease-in-out;
  color :#fff;
}

.dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1) translateX(5px);
    margin-top: 1rem;
}

.dropdown ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.3rem 1.3rem 1.3rem 0.5rem;
  font-size: 0.95rem;
}

#header .dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
}

.dropdown-link {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  /* border-radius: 7px; */
  transition: 0.1s ease-in-out;
}

.dropdown-link p {
  font-size: 0.8rem;
  color: var(--medium-grey);
}

.right-container {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.right-container .search {
  position: relative;
}

.right-container img {
  border-radius: 50%;
}

.search input {
  background-color: var(--ash);
  border: none;
  border-radius: 6px;
  padding: 0.7rem;
  padding-left: 2.4rem;
  font-size: 16px;
  width: 100%;
  border: var(--border);
}

.search .bx-search {
  position: absolute;
  left: 10px;
  top: 50%;
  font-size: 1.3rem;
  transform: translateY(-50%);
  opacity: 0.6;
}

#hamburger {
  display: none;
  padding: 0.1rem;
  margin-left: 1rem;
  font-size: 1.9rem;
}

/* @media (max-width: 1200px) {
  .menu-bar .nav-link {
    font-size: 1rem;
    letter-spacing: -0.6px;
    margin: 0 0 0 0.8rem;
  }
} */

#header .hidden {
  display: none;
}

@media (max-width: 1200px) {
  .height-nav.dropdown-active {
    height: auto;
    transition: height 0.5s ease;
  }

  #hamburger {
    display: block;
  }
  #header .bx {
    color: white;
  }

  #header .black-menu {
    color: black;
}

  #header .white-bg {
      background-color: white;
  }

  #header .hidden {
      display: none;
  }

  #header.header-scrolled .bx,
  #header.header-inner-pages .bx {
    color: #000;
  }

  #header.header-scrolled .menu,
  #header.header-inner-pages .menu {
     background-color: #fff;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-height: 100vh;
    width: 100vw;
    background-color: #fff;
    color:#000;
  }

  .menu-bar li:first-child ul:nth-child(1) {
    border-right: none;
    border-bottom: var(--border);
  }

  .dropdown {
    display: none;
    min-width: 100%;
    border: none !important;
    border-radius: 5px;
    position: static;
    top: 0;
    left: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .menu.show,
  .dropdown.active {
    display: block;
  }

  .dropdown ul {
    padding-left: 0.3rem;
  }

  .menu-bar {
    height: 500px;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
    padding: 1rem;
  }

  .menu-bar .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
  }

  .menu-bar li:first-child .dropdown {
    min-width: 100%;
  }

  .menu-bar > li:not(:last-child) {
    padding-bottom: 0.5rem;
    border-bottom: var(--border);
  }

  .dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    margin-top: 1rem;
}

  .dropdown ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  /* .right-container {
    display: none;
  } */
}

/* .container-fluid {
    max-width: 95%;
} */

#our-business .container-fluid {
  max-width: 100%;
}

#our-business h2 {
  font-weight: 500;
}



#form-get .form-control {
  width: 100%;
  padding: 12px 0px;
  margin: 8px 0;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid #869eb7;;
  border-radius: 0;
  background-color: transparent;
  color:#869eb7;
  font-size: 12px;
    font-weight: 400;
}

#form-get .form-control:focus {
  color: #fff;
  background-color: transparent;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

#form-get .form-control::placeholder {
  color:#869eb7;
}

.content-full-width {
    background-color: #01437b;
}

.site-hero {
  background-size: cover;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  position: relative;
}

.site-hero .heading {
  font-weight: bold;
}

.site-hero .scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  color: #fff;
}

.site-hero.overlay:before {
  content: "";
  position: absolute;
  height: 100vh;
  min-height: 700px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.site-hero.inner-page {
  height: 50vh;
  min-height: 700px;
}

.site-hero.inner-page.overlay:before {
  height: 50vh;
  min-height: 700px;
}

.site-hero-inner {
  height: 100vh;
  min-height: 700px;
}

.site-hero-inner .heading {
  font-size: 80px;
  color: #fff;
  line-height: 1;
  font-weight: bold;
}

@media (max-width: 991.98px) {
  .site-hero-inner .heading {
    font-size: 40px;
  }
}

.site-hero-inner .sub-heading {
  font-size: 30px;
  font-weight: 200;
  color: #fff;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .site-hero-inner .sub-heading {
    font-size: 18px;
  }
}

.inner-page .site-hero-inner {
  height: 50vh;
  min-height: 700px;
}

.page-inside .site-hero-inner,
.page-inside {
  height: 70vh;
  min-height: 500px;
}

.section{
  padding: 3rem 0;
}

.section-5{
  padding: 7rem 0;
}

.section-top{
  padding: 7rem 0 5rem 0;
}

.section-3{
  padding: 1rem 0 6rem 0;
}

.section-top-only {
  padding: 6rem 0 0rem 0;
}

.section-top-only-1rem-left {
  padding: 6rem 0 0rem 1rem;
}


.section-bottom-only {
  padding: 0rem 0 6rem 0;
}

.section-top-only-careers {
  padding: 9rem 0 0rem 0;
}

.section-9 {
  padding: 7rem 0;
}

.section-bottom-only-careers {
  padding: 0rem 0 9rem 0;
}

.section-top-why {
  padding: 6rem 0rem 3rem 0rem;
}


.circle {
  border: 2px solid red;
  background-color: #FFFFFF;
  height: 100px;
  border-radius:50%;
  width: 100px;
}

.circle-1 {
  border: 1px solid #003368;
  height: 70px;
  border-radius:50%;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-chow {
  background-color: #003368;
}

.bg-chow-black {
  background-color: #1e262c;
}

.bg-chow-grey {
  background-color: #f0f0f0;
}


.container .title{
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px;
}

.content {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.content .content-overlay {
  background: rgba(0,0,0,0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay{
  opacity: 1;
}

.content-details {
  position: absolute;
  text-align: start;
  padding-left: 2em;
  padding-right: 2em;
  width: 100%;
  top: 80%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details{
  top: 80%;
  left: 50%;
  opacity: 1;
}

.content:hover .content-details{
  top: 80%;
  left: 50%;
  opacity: 1;
}

@media (max-width: 767px) {
  .content:hover .content-details{
    top: 75%;
  }
}


@media (max-width: 575px) {
  .content:hover .content-details{
    top: 75%;
  }
}





.content .content-overlay-act {
  background: rgba(0,0,0,0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 1;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay-act{
  opacity: 1;
  background: rgba(0,0,0,0.7);
}

.content-details-act {
  position: absolute;
  text-align: start;
  padding-left: 2em;
  padding-right: 2em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 1;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details-act{
  top: 50%;
  left: 50%;
  opacity: 1;
  border-radius: 10px;
  height: 50px;
}


.content-details h3{
  color: #fff;
}

.content-details p{
  color: #fff;
  font-size: 0.8em;
}

.fadeIn-bottom{
  top: 20%;
}

.fadeIn-top{
  top: 20%;
}

.fadeIn-left{
  left: 20%;
}

.fadeIn-right{
  left: 80%;
}

/* owl-carousel dot */
.owl-carousel.slide-home .owl-dots,.owl-carousel.slide-home .owl-dot:focus{
  outline: none;
  text-align: center;
}
.owl-carousel.slide-home .owl-dot {
  position: relative;
  background: #e5e7ea;
  padding: 0;
  width: 25px;
  height: 5px;
  margin: 0 5px;
  border-radius: 10px;
}
.owl-carousel.slide-home .owl-dot.active, .owl-carousel.slide-home .owl-dot.active:hover {
  background: #003368;
  border: none;
}

.owl-carousel .owl-nav {
  text-align: center;
  padding-left: 10px;
}
.owl-carousel h5 {
    font-weight: 600;
}

#carousel_rows_about .owl-dots, #carousel_rows_about1 .owl-dots, #carousel_rows_about_certification .owl-dots{
  margin-top: 3rem;
}
/* owl-carousel dot */

.card-body {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

#carousel_news .item:hover,
.card-body:hover img {
  cursor: pointer;
  background: rgba(255, 255, 255, .3);
  box-shadow: 0 2px 2px rgba(35, 31, 32, .33);
  z-index: 21;
}

#carousel_rows_about_management_about .item:hover,
.card-body:hover img {
  cursor: pointer;
  background: rgba(255, 255, 255, .3);
  box-shadow: 0 2px 2px rgba(35, 31, 32, .33);
  z-index: 21;
}

#carousel_rows_about_management .item:hover,
.card-body:hover img {
  cursor: pointer;
  background: rgba(255, 255, 255, .3);
  box-shadow: 0 2px 2px rgba(35, 31, 32, .33);
  z-index: 21;
}


.room {
  position: relative;
  height: 100%;
  display: block;
}

.room .img-wrap {
  position: relative;
  overflow: hidden;
}

.room .img-wrap img {
  -webkit-transition: .3s all ease-in-out;
  -o-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  margin-bottom: 0 !important;
}

.room h3 {
  color: #fff;
  font-size: 22px;
}

.room:hover {
  box-shadow: 0px 0px 85px #FFFFFF4B;
}

.room:hover .img-wrap img,
.room:focus .img-wrap img {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-transition: .3s all ease-in-out;
  -o-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out;
}

.item:hover,
.card-body:hover img {
  cursor: pointer;
  box-shadow: 0 2px 34px rgba(255, 255, 255, .33);
  /* สีของแสงที่ต้องการ */
  transition: box-shadow 0.3s ease-in-out;
  /* ความเร็วในการเปลี่ยนแสง */
}

.item .card-text {
  transform: scale3d(1, 1, 1);
  /* ค่าเริ่มต้นของ transform */
  transition: padding 250ms ease, transform 250ms ease;
}

.item:hover .card-text {
  transform: scale3d(.98, .98, .98);
  transition: padding 250ms ease, transform 250ms ease;
}

.padding-more {
  padding: 5rem;
}

.form-control {
  width: 100%;
  padding: 12px 0px;
  margin: 8px 0;
  box-sizing: border-box;
  border: none;
  border-bottom: 2px solid white;
  border-radius: 0;
  background-color: transparent;
}

.form-control::placeholder {
  color:white
}

#contact .form-control {
  width: 100%;
  padding: 12px 0px;
  margin: 8px 0;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid black;
  border-radius: 0;
  background-color: transparent;
}

#contact .form-control::placeholder {
  color:black
}


  /*--------------------------------------------------------------
  # Footer
  --------------------------------------------------------------*/
  #footer {
    font-size: 14px;
    background: #5e6369;
  }

  #footer .logo img {
    max-height: 80px;
  }

  #footer .footer-top {
    padding: 100px 0 50px 0;
    background: #5e6369;
    /* border-bottom: 1.5px solid #fff; */
  }

  #footer .footer-top .footer-contact {
    margin-bottom: 30px;
  }

  #footer .footer-top .footer-contact h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    color: white;
  }

  #footer .footer-top .footer-contact p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    color: white;
  }

  #footer .footer-top h4 {
    font-size: 16px;
    font-weight: 300;
    color: white;
    position: relative;
  }

  #footer .footer-top .footer-links {
    margin-bottom: 0px;
  }

  #footer .footer-top .footer-links p {
    color: white;
  }

  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;

  }

  #footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #47b2e4;
    font-size: 18px;
    line-height: 1;

  }

  #footer .footer-top .footer-links ul li {
    padding: 10px 0 0 0;
    display: flex;
    align-items: center;
  }

  #footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
  }

  #footer .footer-top .footer-links ul a {
    font-size: 16px;
    font-weight: 400;
    color: #4E4E4E;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
  }

  #footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: #999;
  }

  #footer .footer-top .social-links a {
    display: inline-block;
    width: 30px;
    height: 30px;
    transition: 0.3s;
    margin-right: 10px;
  }

  #footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
  }

  #footer .copyright {
    text-align: center;
  }

  #footer .copyright a{
    color: #fff;
  }

  #footer .credits a {
    transition: 0.3s;
  }

  @media (max-width: 768px) {
    #footer .copyright,
    #footer .credits {
      text-align: center;
      float: none;
    }

    #footer .credits {
      padding-top: 4px;
    }
  }

  @media (max-width: 390px) {
    #footer .footer-top .social-links a {
      margin-right: 5px;
    }
  }

  @media (max-width: 320px) {
    #footer .footer-top .social-links a {
      margin-right: 0;
    }
  }



  .card-footer:last-child {
    border-radius: unset;
  }

  .card-footer {
    background-color: unset;
    border-top: unset;
    padding: 0.5rem 1.5rem 0.5rem 1.5rem;
  }

  .icon-img path {
    fill: #fff;
  }

  .icon-img svg {
    height: 18px;
    padding-left: 16px;
    padding-right: 0px;
  }

  @media(max-width:575px){
    .icon-img svg {
      margin-top: 8px;
      height: 18px;
      padding-left: 16px;
      padding-right: 0px;
    }
  }

  .icon-footer-img svg {
    height: 18px;
    padding-right: 8px;
    margin-bottom: 0.5rem
  }

  .icon-img-nav path {
    fill: #003368;
  }

  .icon-img-nav svg {
    height: 18px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .icon-footer-img-nav {
    color: #003368;

  }

  .icon-footer-img-nav svg {
    height: 18px;
    padding-right: 8px;
    margin-bottom: 0.3rem
  }

  .icon-footer-img-nav path {
    fill: #003368;
  }

  .padding-5rem {
    padding: 5rem;
  }

  .sq-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 150px;
    background-color: #6c85a1;
    border-radius: 20px;
  }

  .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #003368;
    background-color: var(--bs-nav-tabs-link-active-bg);
    border-bottom: 2px solid black;
    font-weight: 700;
}

#submittee .nav-link {
  color: black;
}

.wrapper{
  width:70%;
}
@media(max-width:992px){
  .wrapper{
    width:100%;
  }
}


.panel-heading {
  padding: 0;
	border:0;
}
.panel-title>a, .panel-title>a:active{
	display:block;
	padding:15px;
  color:#555;
  font-size:16px;
  font-weight:bold;
	text-transform:uppercase;
	letter-spacing:1px;
  word-spacing:3px;
	text-decoration:none;
}
.panel-heading  a:before {
   font-family: "DM Sans", sans-serif;
   content: "\e114";
   float: right;
   transition: all 1s;
}
.panel-heading.active a:before {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	transform: rotate(180deg);
}

/* Custom style */
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
  transform: scale(.7) !important;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M0 8a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
  color: white;
  background-color: #003368;
  box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
.accordion-item {
  padding-bottom: 1rem;
  border: none;
  border-radius: 0;
}

.accordion-button {
  background-color: #e0e0e0;
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.button-pdf {
    cursor:pointer;
    background-color: #003368;
    color: white;
    border-radius: 30px;
    height: 40px;
    border: none;
}

#careers .button-pdf {
  cursor:pointer;
  background-color: #000;
  color: white;
  border-radius: 30px;
  height: 50px;
}
#careers .button-pdf p {
  font-weight: 500;
}

.icon-careers-img path {
  fill: #003368;
}

.icon-careers-img svg {
  height: 20px;
  padding-left: 8px;
  padding-right: 8px;
}

#careers .nav-link {
  padding: 10px 0px 10px 0px;
  margin: 10px 20px 10px 0px;
  color: #000;
  font-weight: 700;
}

#careers .nav-link.active {
  color: #003368;
  font-weight: 700;
}


#careers .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: #003368;
  border: 0;
  background-color: var(--bs-nav-tabs-link-active-bg);
  border-bottom: 4px solid #003368;
  /* border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top: 2px solid transparent; */
  font-weight: 700;
}

#careers .nav {
  flex-wrap: nowrap;
}

#careers .nav-tabs {
  border-bottom: var(--bs-nav-tabs-border-width) solid transparent;
  overflow-x: auto;
}
.section-9 h4 {
    font-weight: 600;
}




#carousel_rows_about_management_about a:hover {
  color: #000
}

#carousel_rows_about_management a:hover {
  color: #000
}
#carousel_rows_about_management.management-team a:hover {
  color: #003368
}
#carousel_news a:hover {
  color: #000
}

.gallery {
  width: 80%;
  height: 90vh;
  max-width: 1600px;
  max-height: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.gallery-image {
  width: 30%;
  height: calc(50% - 20px);
  min-width: 300px;
  min-height: 200px;
  margin: 10px;
  overflow: hidden;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s;
}

 /* popup */
 .popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 80%;
  max-width: 1600px;
  height: 70vh;
  max-height: 800px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  overflow: hidden;
  transition: 1s;
  opacity: 0;
}

.popup.active {
  transform: translate(-50%, -37%) scale(1);
  opacity: 1;
}

.popup.active .close-btn,
.popup.active .image-name,
.popup.active .index,
.popup.active .large-image,
.popup.active .arrow-btn {
  opacity: 1;
  transition: opacity .5s;
  transition-delay: 1s;
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #000;
  color: #fff;
  text-align: center;
  line-height: 50px;
  font-weight: 300;
}

.image-name {
  opacity: 0;
}

.close-btn {
  opacity: 0;
  position: absolute;
  top: 15px;
  right: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f00;
  cursor: pointer;
}

.arrow-btn {
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  border-radius: 50%;
  border: none;
  background: none;
  cursor: pointer;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
  transform: translateY(-50%) rotate(180deg);
}

.arrow-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.index {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 80px;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
}

.large-image {
  margin-top: 5%;
  width: 90%;
  height: 90%;
  object-fit: contain;
  opacity: 0;
}

.container-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.container-ifram-full iframe {
  width: 100%;
  border: 0;
}

.icon-home-svg path {
  fill: #003368;
}

.icon-home-svg svg {
  height: 30px;
  padding-left: 8px;
  padding-right: 8px;
}

.border-1px {
  border: 1px solid black;
}

/* responsive popup  */

  @media (max-width: 992px) {
      .index {
        font-size : 70px
      }
  }

  @media (max-width: 768px) {
    .popup {
      top: 47%;
      left: 50%;
      width: 80%;
      max-width: 1600px;
      height: 80vh;
      max-height: 800px;
  }

    .popup.active .arrow-btn {
      opacity: 1;
      transition: opacity .5s;
      transition-delay: 1s;
    }

    .large-image {
        margin-top: 6%;
        width: 75%;
        height: 100%;
        object-fit: contain;
        opacity: 0;
    }

   #popup .icon-nav svg {
      height: 40px;
    }

    .index {
      font-size : 50px
    }
  }


@media (max-width:575px) {
    .index {
      top: 10%;
      bottom: 50%;
  }

  .large-image {
      margin-top: 10%;
      width: 100%;
      height: 100%;
      object-fit: contain;
      opacity: 0;
  }

  .popup.active .arrow-btn {
    top: 94%;
  }
}

@media (max-width:430px) {
  .popup.active .arrow-btn {
    top: 85%;
    opacity: 1;
    transition: opacity .5s;
    transition-delay: 1s;
  }

  .popup.active .index {
    top: 10%;
    bottom: 70%;
  }
}


/* end responsive popup  */

/* --------------------------------

Timeline

-------------------------------- */

#timeline .title {
  text-align: center;
}

#timeline .title__1 {
  font-size: 40px !important;
}

#timeline .title__2 {
  font-size: 30px !important;
}

#timeline .title__3 {
  font-size: 25px !important;
}

#timeline .title__4 {
  font-size: 20px !important;
}

#timeline .title__5 {
  font-size: 18px !important;
}

#timeline .title__6 {
  font-size: 15px !important;
}

#timeline .title--black {
  color: #000;
}

#timeline .container {
  max-width: 1170px;
  margin: auto;
}

#timeline nav {
  position: relative;
}

#timeline nav ul {
  /* margin: 23px 0px; */
  text-align: center;
  position: absolute;
  z-index: 1;
  /* padding: 0px; */
  /* width: 100%; */
}

#timeline nav ul li {
  display: inline-block;
  margin: 0px 25px;
}

#timeline nav ul li a {
  width: 35px;
  height: 35px;
  border: solid 2px transparent;
  background-color: transparent;
  border-radius: 50px;
  display: block;
  text-decoration: none;
}

#timeline nav ul li a:hover {
  text-decoration: none;
}

#timeline nav ul li a > div {
  background-color: #003368;
  text-align: center;
  display: table;
  width: 21px;
  height: 20px;
  border-radius: 50px;
  margin: 5px auto;
}

#timeline nav ul li a.active {
  border: solid 2px #003368;
  background-color: #fff;
}

#timeline nav ul li a.active > div {
  background-color: #003368;
}

#timeline .time {
  width: 100%;
  height: 3px;
  background-color: #003368;
  position: relative;
  top: 39px;
  z-index: 0;
  opacity: .5;
}

#timeline .time span {
  width: 100px;
  height: 3px;
  background-color: #003368;
  position: absolute;
  top: 0px;
  z-index: 0;
  transition: all .4s ease-in-out;
  opacity: .5;
}

/* #timeline .tab-content {
  position: relative;
  top: 133px;
  overflow: hidden;
} */

#timeline .tab-content article {
  height: 100%;
  width: 100%;
  display: none;
}

.ul-time {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  width: 100%; /* ปรับขนาดเพื่อให้ตรงกับ container */
  padding: 0; /* ลบ padding เพื่อป้องกันการขยายตัวของ ul */
}

/* Optional: เพิ่มสไลด์เบาร์เพื่อแสดงสถานะการเลื่อน */
#sticky ::-webkit-scrollbar {
  width: 8px;
}

#sticky ::-webkit-scrollbar-thumb {
  background: #003368;
  border-radius: 4px;
}

#sticky ::-webkit-scrollbar-track {
  background: transparent;
}

/* --------------------------------

End Timeline

-------------------------------- */

#sticky .sticky-top {
  position: sticky;
  top: 0;
  z-index: 0;
  overflow: hidden !important;
}

.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 0;
}

#sticky .accordion {
  width: 100%;
  max-width: 100%;
  max-height:520px;
  /* margin: 30px auto 20px; */
  background: #FFF;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  overflow: auto !important;
}

#sticky .accordion .link {
  cursor: pointer;
  display: block;
  padding: 15px 15px 15px 10px;
  color: #4D4D4D;
  /* font-size: 14px;
  font-weight: 700; */
  border-bottom: 1px solid #CCC;
  position: relative;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

#sticky .accordion li:last-child .link { border-bottom: 0; }

#sticky .accordion li i {
  position: absolute;
  top: 16px;
  left: 12px;
  /* font-size: 18px; */
  color: #595959;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

#sticky .accordion li i.fa-chevron-down {
  right: 12px;
  left: auto;
  /* font-size: 16px; */
}

#sticky .accordion li.open .link {
  border-left: 5px solid #003368;
  color: #003368;
  font-weight: 600;
}

#sticky .accordion li.open i { color: #003368; }

#sticky .accordion li.open i.fa-chevron-down {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

/**
 * Submenu
 -----------------------------*/


 #sticky .submenu {
  display: none;
  background: #fff;
  /* margin-left: 2rem; */
  /* font-size: 14px; */
}

#sticky .submenu li {
  list-style: circle;
  border-bottom: 1px solid #fff;
  /* padding-left: 20px; */
}

#sticky .submenu a {
  display: block;
  text-decoration: none;
  color: #000;
  padding: 6px 0;
  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

#sticky .submenu a:hover {
  /* background: #b63b4d; */
  color: #003368;
}

#sticky .submenu a.active {
  color: #003368;
  font-weight: 600;
}

#sticky ol, ul {
  padding-left: 0rem;
}

#sticky .submenu.corporate-information {
  display: none; /* แสดง submenu ในเมนู Corporate Information */
}

.histoty-list ul{
  padding: revert;
  list-style: revert;
}

@media (max-width: 991px) {
  #sticky .accordion {
    max-height: 280px;
  }
}

.pc {
  display: block;
}

.moblie {
  display: none;
}

.ipad {
  display: none;
}

.footer-mobile {
  display: none;
}

.footer-pc {
  display: block;
}

@media only screen and (max-width: 1199px) {
  .pc {
    display: none;
  }

  .moblie {
    display: block;
  }
  .footer-pc {
    display: block;
  }
}

@media only screen and (max-width: 991px) {
  .ipad {
    display: block;
  }
  .footer-mobile {
    display: block;
  }

  .footer-pc {
    display: none;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
#tabBoard {
  border-bottom: unset;
}

#tabBoard .nav-link {
  font-size: 22px;
  color: #0F4D70;
  font-weight: 600;
  border: unset;
  border-top-left-radius: unset;
  border-top-right-radius: unset;
  padding: 0;
}

#tabBoard .nav-item {
  padding: 0 40px;
  border-right: 1.5px solid #848484;
}

#tabBoard .nav-item:first-child {
  padding: 0 40px 0 0;
}

#tabBoard .nav-item:last-child {
  border-right: unset;
}

#tabBoard .nav-link.active {
  color: #95C11F;
}

#tabBoard {
  border: 10px solid;
  border-image-slice: 1;
  border-width: 5px;
  border-image-source: linear-gradient(to right, #93c022, #33a4db, #14567b );
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: max-content;
  padding-bottom: 1rem;
}

.tab-content {
  margin-top: 1.5rem;
}

#tabPosition {
  border-bottom: unset;
}

#tabPosition .nav-link {
  font-size: 14px;
  color: #000;
  font-weight: 400;
  border: unset;
  border-top-left-radius: unset;
  border-top-right-radius: unset;
  padding: 0;

}

#tabPosition .nav-link .btn-nav {
  width: min-content;
  height: 100%;
  margin: auto 0;
  border: unset;
  background: unset;
  color: #000;
}

#tabPosition .nav-item {
  padding: 0 30px;
  position: relative;
}

#tabPosition .nav-item:after {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  height: 95%;
  margin-top: auto;
  margin-bottom: auto;
  border-right: 1.5px solid #848484;
}

#tabPosition .nav-item:first-child {
  /* padding: 0 20px 0 0; */
}

#tabPosition .nav-item:last-child:after  {
  border-right: unset;
}

#tabPosition .nav-link.active .btn-nav{
  color: #003368;
  font-weight: 500;
}

#tabPosition .nav-link.active {
  border-bottom: 5px solid #003368;
  margin-bottom: -5px;
}

#tabPosition {
  width: max-content;
  padding-bottom: 1rem;
}

.responsive-overflow {
  width: 100%;
  overflow-x: auto;
}

/* width */
.responsive-overflow::-webkit-scrollbar {
  height: 7px;
}

/* Track */
.responsive-overflow::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.responsive-overflow::-webkit-scrollbar-thumb {
  background: #f2edede3;
}

/* Handle on hover */
.responsive-overflow::-webkit-scrollbar-thumb:hover {
  background: #0F4D70;
}

@media (max-width: 1199px) {

  #tabBoard .nav-link {
    font-size: 18px;
    height: 100%;
    margin: auto;
  }

  #tabBoard .nav-item {
    padding: 0 20px;
  }

  #tabBoard .nav-item:first-child {
    padding: 0 20px 0 0;
  }

  #tabPosition .nav-item:first-child {
    /* padding: 0 20px 0 0; */
  }

  #tabPosition .nav-item {
      padding: 0 20px;
  }

}

@media (max-width: 991px) {

  #tabBoard .nav-link {
    font-size: 14px;
    width: min-content;
  }

  #tabPosition .nav-link .btn-nav {
    font-size: 12px;
  }

  .responsive-overflow {
    /* width: 530px; */
    overflow-x: auto;
  }

}


@media (max-width: 430px) {
  .responsive-overflow {
    width: 400px;
    overflow-x: auto;
  }
}

@media (max-width: 390px) {
  .responsive-overflow {
    width: 360px;
    overflow-x: auto;
  }
}

@media (max-width: 375px) {
  .responsive-overflow {
    width: 345px;
    overflow-x: auto;
  }
}

@media (max-width: 320px) {
  .responsive-overflow {
    width: 290px;
    overflow-x: auto;
  }
}


/* IR HOME */

#irhome .nav-tabs .nav-link.active {
  color: #fff;
  background-color: #003368;
  border-bottom: 1px solid black;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-top: 1px solid transparent;
}

#irhome .nav-tabs .nav-link {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 1px solid #003368;
  font-size: 20px;
  font-weight: 500;
}

#irhome .nav-tabs .nav-item:nth-child(3) .nav-link {
  border: 1px solid transparent;
  text-align: end;
  color: #003368;
}

#irhome .nav-tabs {
  --bs-nav-tabs-border-width: 1px;
  --bs-nav-tabs-border-color: transparent;

}

#irhome .nav-link {
  color: #000;
}

[class^="ir-home"] > h4 {
  color: #ffffff;
  background: #003368;
  padding: 10px 16px;
  border: 1px solid #003368;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

[class^="ir-home"] > h4 > small {
  float: right;
  padding-top: 0px;
  font-size: 20px;
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 500;
}

 .div-color {
  height: 50px;
  background-color: #edc48c;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.div-color-form {
  background-color: #edc48c;
}

.div-color-financial {
  background-color: #488098;
}

.div-color-quick {
  background-color: #cac73b;
}

.div-shadow {
  background-color: #efefef;
  box-shadow: 0 2px 4px rgba(35, 31, 32, .33);
}

.img-ir-bg{
  height: 270px;
  object-fit: cover;
  width: -webkit-fill-available;
}

/* Corporation Information */

.message-chief p, .message-ceo p {
 font-size: 18px;
 margin-bottom: 1.6rem;
}
.message-chief h2, .message-ceo h2 {
  margin-bottom: 1.6rem;
 }

/* Publications */

.title-ir {
  font-size: 18px;
  color: #003368;
  margin-top: 0px;
  margin-bottom: 15px;
  line-height: 1;
}

.title-ir-list {
  font-size: 18px;
  color: #003368;
  line-height: 1.5;
}

.list-content {
  margin: 0 0 20px 0;
  padding: 10px 0;
  background: #e6ebf0;
  border-bottom: #003368 3px solid;
}

table {
  vertical-align: middle !important;
}

thead {
  background-color: #003368;
  color: white;
}

#myAccordion thead {
  background-color: #003368;
  color: white;
  vertical-align: top;
  text-align: center;
}

#Subsidiary thead {
  background-color: transparent;
  border: 1px solid grey;
  color:black;
  vertical-align:top;
}

#Subsidiary thead tr td {
  background-color: transparent;
  border-top: 1px solid grey;
  border-bottom: none;
  border-right: 1px solid grey;
  border-left: 1px solid grey;
  color: black;
  vertical-align: top;
}

#Subsidiary tbody tr td {
  background-color: transparent;
  border-top: none;
  border-bottom: none;
  border-right: none;
  border-left: none;
  color: black;
  vertical-align: top;
}

#summary thead {
  border-bottom: 1px solid #003368;
  background: #e6ebf0;
  color: #003368
}


.text-color-chow {
  color: #003368
}

#irhome-email-alert .input-copy {
  width: 100%;
  padding: 15px 15px;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 5px;
  margin: 0;
  cursor: pointer;
}


#irhome-email-alert .form-control {
  width: 100%;
  padding: 15px 15px;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 5px;
  margin: 0;
}

#irhome-email-alert .form-control::placeholder {
  color:#003368;
}

#irhome-email-alert .form-select {
  padding: 15px 15px;
  border: 1px solid #000;
}

#table-investor .table {
  white-space: nowrap;

}

#table-investor .table th {
  padding: 0.5rem 3rem;
  text-align: center;
}

table[class^=ir-table] {
  padding: 1px;
  margin: 0px;
  border-spacing: 3px;
  width: 100%;
}

table[class^=ir-table] tr td {
  border-bottom: #d7d7d7 1px solid;
  padding: 5px 10px;
  vertical-align: text-top;
}

table.kits tr td {
  vertical-align: middle;
  text-align: center;
}

table.kits tr:not(.ir_tableTopRow) td:first-child {
  color: #01437b;
  padding: 20px 70px 20px 0px;
  text-align: start;
}

table.kits .item_list > li {
  float: left;
  display: block;
  list-style: none;
  padding: 0px;
  margin: 0px !important;
  width: 25%;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 991px) {

  table.kits .item_list > li {
    float: left;
    display: block;
    list-style: none;
    padding: 0px;
    margin: 0px !important;
    width: 50%;
    text-transform: uppercase;
    text-align: center;
  }

}

@media (max-width: 375px) {

  table.kits .item_list > li {
    float: left;
    display: block;
    list-style: none;
    padding: 0px;
    margin: 0px !important;
    width: 55%;
    text-transform: uppercase;
    text-align: center;
  }
}

table[class^=ir-table] tr.ir_tableTopRow td, table[class^=ir-table] tr.ir_tableTopRow th {
  background: #003368;
  color: #fff;
  font-weight: normal;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

table.kits tr:not(.ir_tableTopRow) td:nth-of-type(2n+2) {
  background: #e6eaed;
  vertical-align: middle;
  text-align: center;
}

table.kits a {
  color: #003368;
}

.calculate {
  text-align: right;
  padding: 20px 0 0 0;
}

.button-pdf-request-kit {
  cursor: pointer;
  background-color: #003368;
  color: white;
  border-radius: 30px;
  height: 40px;
  width: 140px;
}

#AGM > table tr td:first-child {
  text-align: center;
  background-color: #003368;
  color: #fff;
  font-weight: bold;
}

#AGM > table tr td {
  padding: 20px;
  text-align: center;
}

.container-border {
  padding: 20px;
  border: 2px solid #003368;
}

#AGM .border-chow {
  border-color: #003368;
}

#AGM .nav {
    flex-wrap: nowrap;
}

#AGM .nav-link {
  color: white;
  background-color: #cbd5de;
  margin: 10px 10px 10px 10px;
}

#AGM .nav-link.active {
  color: white;
  background-color: #003368;
  margin: 10px 10px 10px 10px;
}

#AGM .nav-tabs {
  overflow-x: auto;
  border: none
}

#AGM .button-select-year {
    cursor: pointer;
    background-color: #cbd5de;
    color: white;
    border-radius: 0px;
    height: 50px;
    border: 0;
    width: 120px;
}

#AGM .button-select-year.active {
  cursor: pointer;
  background-color: #003368;
  color: white;
  border-radius: 0px;
  height: 50px;
  border: 0;
  width: 120px;
}

#NEWSROOM .ir_boxHighlight {
  background: #e7e7e7;
  border: 1px dotted #6699d5;
  padding: 1%;
  margin-bottom: 20px;
}

#NEWSROOM .news-list {
  padding: 10px;
  margin: 0;
}

#NEWSROOM .news-list:nth-of-type(odd) {
  background: #e7e7e7;
}

#NEWSROOM a.active {
  font-weight: bold;
  color: #003368;
}

.news-date {
  padding-right: 15px;
  border-right: solid 1px #dedede;
  color: #003368;
}

#financial table[class^=ir-table] tr.ir_tableSubTopRow td {
  font-weight: bold;
  color: #02437b;
  border-bottom: #02437b 2px solid;
}

#financial table.fin-high tr:not(.ir_tableTopRow) td:nth-of-type(4), table.dividend tr:not(.ir_tableTopRow) td:nth-of-type(5) {
  background: #486b89;
  color: #ffffff;
  border-bottom-color: #718ca4;
}

#AGM th:nth-child(1) {
  width: 75%;
}

#AGM th:nth-child(2) {
  width: 25%;
}

#AGM td:nth-child(1) {
  width: 75%;
}

#AGM td:nth-child(2) {
  width: 25%;
}

#AGM thead {
  background: #84929f;
  color: #fff
}

#AGM-sub thead {
  background: #84929f;
  color: #fff
}

#AGM-sub th:nth-child(1) {
  width: 75%;
}

#AGM-sub th:nth-child(2) {
  width: 25%;
}

#AGM-sub td:nth-child(1) {
  width: 75%;
}

#AGM-sub td:nth-child(2) {
  width: 25%;
}

/* home */
.button-home {
  font-weight: 700;
  height: 50px;
  width: 230px;
}

.home-border-left-soid {
  border-left: 2px solid #000;
}

.row-content {
  /* margin: 0 0 20px 0; */
  padding: 20px 0;
}

.image-scale {
  height: 100;
  max-width: 100px;
}

.image-overlay-container {
  position: relative;
  display: inline-block;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000; /* สีของตัวเลข */
  font-size: 30px; /* ขนาดตัวเลข */
  font-weight: bold; /* ตัวหนา */
}

.content-text {
    display: flex;
    justify-content: space-between;
}
.content-text span {
    font-weight: 600;
}
.content-text-justify-none {
  display: flex;
}


#footer h4:hover {
  color: #e7e7e7;
}

.image-width-100 {
    width: 100%;
  }

.padding-index-right {
  padding-left: 7rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.padding-index-left {
  padding-right: 7rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.padding-right-image-0 {
  padding-right: 0;
}

.padding-left-our-busienss {
  padding-left: 3rem;
}

.padding-left-ir {
  padding-left: 2.5rem;
}

ol, ul {
  padding-left: 2rem;
}


@media (max-width: 991px) {

  .padding-left-our-busienss {
    padding-left: 0rem;
    padding-top: 3rem
  }

  .padding-bottom-ir {
    padding-bottom:0rem;
  }


  .padding-left-ir {
    padding-left: 1rem;
  }


  .padding-index-right {
    padding-left: 3rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
  }

  .padding-index-left {
    padding-right: 3rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
  }

  .home-border-left-soid {
    border-left: 0px solid #000;
  }

  .image-width-100 {
    width: 100%;
  }
  .text-center-footer-1 {
    text-align: center !important;
  }
  .logo {
    margin-right: 0rem;
  }
  .container-iframe iframe {
    width: 100%;
    height: 500px;
    border: 0;
  }
}

@media (max-width: 767px) {
  .padding-index-right {
    padding-left: 0rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .padding-index-left {
    padding-left: 0rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .button-home {
    height: 50px;
    width: 100%;
  }
  .text-center-footer {
    text-align: start !important;
  }
}

@media (max-width: 575px) {
  .bg-our-business {
    height: 440px;
  }

  .text-center-footer {
    text-align: center !important;
  }

  .padding-right-image-0 {
    padding-right: 0.5rem;
  }



  .padding-index-right {
    padding-left: 0.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .padding-index-left {
    padding-left: 0.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 430px) {
  .bg-our-business {
    height: 306px;
  }
}

@media (max-width: 400px) {
  .bg-our-business {
    height: 330px;
  }
}

@media (max-width: 390px) {
  .bg-our-business {
    height: 300px;
  }
}
/* end home */
thead td {
  height: 50px; /* กำหนดความสูง */
  min-width: 100px; /* กำหนดความกว้างขั้นต่ำ */
  /* อื่น ๆ ตามต้องการ */
}
/* About us */
h1 {
  color: #003368;
  font-size: 48px;
  font-weight: 600;
}

#newsandactdetail h1 {
  color: #003368;
  font-size: 36px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
}

b, strong {
  font-weight: 600;
}

small {
  letter-spacing: .1px;
}

.steel-billets-list-style ol{
  list-style-position: inside;
}

.table-steel-billets th{
  font-weight: 500;
}
.table-steel-grade th{
  vertical-align: baseline;
}

#banner h1 {
  color: #fff;
  font-size: 48px;
}

p {
  font-size: 20px;
}
#carousel_rows_about_management_about .text-small p {
  font-size: 20px;
}




#carousel_news .text-small p {
  font-size: 16px;
}

#carousel_rows_about_management_about p {
  font-size: 16px;
}

#carousel_rows_about_management p {
  font-size: 16px;
}



.banner-position {
  position: absolute;
    bottom: 115px;
}


#carousel_rows_about .item:hover,
.card-body:hover img {
  cursor: default;
  background: rgba(255, 255, 255, .3);
  box-shadow: 0 2px 2px rgba(35, 31, 32, .33);
  z-index: 21;
}

#carousel_rows_about_certification .item:hover,
.card-body:hover img {
  cursor: default;
  background: rgba(255, 255, 255, .3);
  box-shadow: 0 2px 2px rgba(35, 31, 32, .33);
  z-index: 21;
}

#carousel_rows_about_certification u {
  color : #003368;
  font-weight: 700;
}

.company-history-text-center tr{
  text-align: center;
}
@media (max-width: 991px) {
  .padding-3rem {
    padding: 3rem 0rem;
  }
}


@media (max-width: 575px) {
  h1 {
    font-size: 36px;
  }

  #newsandactdetail h1 {
    color: #003368;
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 16px;
  }
}

@media (max-width: 450px) {
  h1 {
    font-size: 28px;
  }

  #newsandactdetail h1 {
    color: #003368;
    font-size: 24px;
  }
}
/* End About us */


.image-our {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

#imaeg-our h4 {
  font-size: 20px;
}

.button-pdf p {
  font-size: 15px;
}

#imaeg-our .button-pdf p {
  font-size: 15px;
}

@media (max-width: 1399px) {
  #imaeg-our .button-pdf p {
    font-size: 12px;
  }

}

@media (max-width: 1200px) {
  #imaeg-our .button-pdf p {
    font-size: 10px;
  }
}

@media (max-width: 991px) {
  #imaeg-our .button-pdf p {
    font-size: 15px;
  }
  .margin-bottom-edit {
    margin-bottom: 1rem;
  }
}
/* End Our Business */

/* IR */

.image-cover {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* End IR */

/* CSR */

.button-download-csr {
  cursor:pointer;
  background-color: #003368;
  color: white;
  border-radius: 30px;
  border:none;
  padding: 10px;
}

.button-download-csr p {
  font-size: 15px;
}

/* End CSR */

.icon-nav svg {
  height: 70px;
}

.image-height-owl {
  height: 315px;
  object-fit: cover;
}

#carousel_rows_about .card-body {
  height: 230px;
}

#carousel_rows_about_certification .card-body {
  height: 80px;
}

.btn-online-app {
  height: 50px;
  width: 300px;
}

.text-box-our {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
          line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text-1-line {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
          line-clamp: 1;
  -webkit-box-orient: vertical;
  max-width: calc(100% - 2.5rem);
}

.image-height-main {
  width: 100%;
  object-fit: cover;
}

.padding-nav {
  padding-left: 0;
  padding-right: 0;
}

.padding-csr-form {
  padding: 5rem 3rem 5rem 3rem;
}

.text-p-small p{
  font-size: 16px;
}
.home-holding .logo-cover {
    border-radius: 30px;
    box-shadow: 0 6px 10px #00000029;
    padding: 0 20px;
    height: 165px;
}
.home-holding .logo-cover.main {
    height: 180px;
}
.home-holding .logo-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-holding .cover-main {
    width: 35%;
}
.home-holding .line {
    width: 60%;
}
.home-holding .detail {
    text-align: center;
}

@media (max-width: 1200px) {
  .padding-nav {
    padding-left: auto;
    padding-right: auto;
  }

}

@media (max-width: 1399px) {
    #carousel_rows_about0 .card-body {
        height: 200px;
    }
    #carousel_rows_about_management_about .card-body {
        height: 200px;
    }

    #carousel_rows_about_management .card-body {
        height: 200px;
    }
}
@media (max-width: 1199px) {
    .home-holding .logo-cover {
        height: 155px;
    }
    .home-holding .logo-cover.main {
        height: 170px;
    }
}
@media (max-width: 991px) {
  #carousel_rows_about_management_about .card-body {
    height: auto;
  }

  .padding-csr-form {
    padding: 5rem 0rem 5rem 0rem;
  }

  #carousel_rows_about_management .card-body {
    height: auto;
  }

  .margin-about-border-bottom-del {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
  }

  .margin-about-home {
    margin-bottom: 3rem;
  }
    .home-holding .logo-cover {
        height: 130px;
    }
    .home-holding .logo-cover.main {
        height: 145px;
    }
}


@media (max-width: 767px) {
  #carousel_rows_about .card-body {
    height: auto;
  }
  #carousel_rows_about0 .card-body {
    height: auto;
  }

  #carousel_rows_about_certification .card-body {
    height: auto;
  }

  .btn-online-app {
    height: 50px;
    width: 300px;
  }

    .home-holding .logo-cover {
        border-radius: 20px;
        height: auto;
    }
    .home-holding .logo-cover.main {
        height: auto;
    }
}

@media (max-width: 575px) {
  .btn-online-app {
    height: 50px;
    width: 100%;
  }

  .padding-csr-form {
    padding: 5rem 1rem 5rem 1rem;
  }

  .padding-nav {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 400px) {
    .home-holding .logo-cover {
        border-radius: 10px;
    }
}



