/* Optional: to style the menu items */
html {
        filter: grayscale(100%);
}
.active_menu{
    background-color: #f2a922;
    color: white;
    border-radius: 5px;
  }

  li.nav-item a.nav-link:hover{
    background-color: #f2a922;
    color: white;
    border-radius: 5px;

  }
  /* a.dropdown-item {
  color: white;
  }
  a.dropdown-item:hover {
  color:#f2a922;
  background-color: #101010;
  } */
  body {
    font-size: 16px !important;
    font-family: "Prompt", sans-serif !important;
    padding-top: 60px; /* เพิ่ม padding-top เพื่อให้เนื้อหาขยับลงจาก header */
    height: 100%;
    overflow-y: auto;
  }

  .full-screen-container {
    height: 100vh; /* ความสูงเต็มหน้าจอ */
    display: flex;  /* ใช้ flexbox */
    justify-content: center; /* จัดกลางในแนวนอน */
    align-items: center; /* จัดกลางในแนวตั้ง */
  }

  /* ทำให้ iframe เต็มขนาดหน้าจอ */
  iframe {
    width: 100%; /* ขยาย iframe ให้เต็มความกว้าง */
    height: 100%; /* ขยาย iframe ให้เต็มความสูง */
    border: none; /* เอากรอบของ iframe ออก */
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px; /* กำหนดระยะห่างภายใน */
    z-index: 1000;
    /* background-color: #fff; */
  }


  @media (min-width:1200px){
    .navbar-collapse.collapse {
        position: absolute;
        right: 0;
    }
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        text-align: start;
        border: none;
        border-radius: 0;
    }
    /* .navbar-expand-lg .navbar-toggler{
      display: block !important;
    }
    .navbar-expand-lg .navbar-collapse{
      display: none !important;

    } */
  }

  @media (max-width:900px){
    a.nav-link{
        text-align: start;
        padding-left: 10px;
    }
    .dropdown-menu{
        border: none;
    }
    div.container-fluid div#nort_logo img {
        height: 40px !important;
    }
    .full-screen-container {
        height: 40vh; /* ลดความสูงลงที่ 80% ของ viewport height สำหรับหน้าจอเล็ก */
      }
    .head{
      margin-top: 0 !important;
    }

  }


  div.team-author-name a{
    color:#f2a922 !important;
    text-decoration : none;
  }


  .toggle-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;

  }

  button.all_btn:hover{
    background-color: #f2a922;
    color: white !important;
  }

  div.card {
    border: none;
  }

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

  a.all_btn{
    text-decoration: none;
    color:white !important;
    background-color:#f2a922;
    text-decoration : none;
    padding: 8px;
    border-radius: 2px;
  }

  a.all_btn:hover{
    background-color: #f2a922;
    color: white !important;
    opacity: 0.8;
  }

  h5.footer_haed{
    color: #f2a922;
  }

  .image-container {
    display: flex;
    overflow: hidden;
    position: relative;
  }

  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
  }

  .image-container img:hover {
    transform: scale(1.1);
  }

  .itdi{
  color: #f2a922 !important;

  }


  .col_itdi {
  background-color: #f1e4e4;

  }

  .row .col-sm-12{
  padding: 0;
  }

  .row .col-sm-12 img.img-fluid{
  padding: 0;
  /* object-fit: cover ;  */
  width:100% ;

  }

  table tbody td{
  padding: 10px;
  margin: 10px;
  }

  .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: #f2a922 !important;
    color: #f8f9fa !important;
  }

  /* a.nav-link {
  color: black;
  background-color:#DCDCDC;
  } */

