@charset "utf-8";
html,body {
    margin: 0;
    font-family: 'Kanit', sans-serif;
	background-color:#e4ebf5;
  }

  /* ---------- HEADER ---------- */
  .header {
      width: 100%;
/*      height: 158px;*/
      overflow: hidden;
    text-align: center;
/*    padding: 40px 20px;*/
    font-size: 26px;
    font-weight: 300;
    background: #053868;
    transition: all 0.4s ease;
  }

  .header.hidden {
    transform: translateY(-100%);
    opacity: 0;
  }

  /* ---------- MENU ---------- */
  .menuWrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .menuLink {
    background: #fff;
    padding: 35px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }
  
  .menuLink a{
	border-radius: 25px;
	padding: 15px 25px;
	font-size: 18px;
	font-weight: bold;
	color: #ffffff;
	text-decoration: none;
}
.menuLink .a1{ background-color:forestgreen; }
.menuLink .a1:hover{ background-color:#2bb12b; }
.menuLink .a2{ background-color:#053868; }
.menuLink .a2:hover{ background-color:#064c8e; }
.menuLink .a3{ background-color:#f6bf26; color:#053868 ; }
.menuLink .a3:hover{ background-color:#ffd427; }

  .menuLink.shrink {
    padding: 35px 0;
    background: #f8f8f8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }

  /* ---------- CONTENT ---------- */
  .content {
/*    padding: 30px;*/
      width: 100%;
    height: 100%;
    text-align: center;
      padding-top: 50px;
  }

  .content iframe {
    width: 80%;
/*    height: 600px;*/
    border: none;
  }
    
    .footer{
        text-align: center;
        padding: 50px 0;
    }
    .footer p{
        margin:0;
	text-align:center;
	font-family: 'Kanit', sans-serif;
	font-size:14px;
	color:#444;
    }
    .pic-notice{
        min-width: 900px;
/*        min-width: 80%;*/
    }
    
    /* สำหรับจอเล็กกว่า 768px (แท็บเล็ต/มือถือ) */
    @media (max-width: 1024px) {
      .menuLink {
        display: flex;
        flex-direction: column;   /* เรียงแนวตั้ง */
        padding: 0;
      }

      .menuLink a {
        display: block;
        width: 100%;              /* กว้างเต็มจอ */
        margin: 0;            /* เว้นระยะระหว่างปุ่ม */
        padding: 15px 0;
        font-size: 16px;
        border-radius: 0;         /* เอามุมโค้งออก (เลือกได้) */
      }
    .menuLink.shrink {
        padding: 0;
      }
      .pic-notice{
          width: 80%;
    }
}
        
/* ปุ่มกลม */
    .floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 15px; /* เว้นระยะระหว่างปุ่ม */
      z-index: 999;
    }

    .floating-buttons a {
      width: 55px;
      height: 55px;
      background-color: #007bff;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      text-decoration: none;
      font-size: 22px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      transition: transform 0.2s ease, background-color 0.2s ease;
    }

    /* Hover effect */
    .floating-buttons a:hover {
      transform: scale(1.1);
      background-color: #0056b3;
    }

    /* ปุ่มแรก (คู่มือ) */
    .floating-buttons a.manual {
      background-color: #28a745; /* เขียว */
    }
    .floating-buttons a.manual:hover {
      background-color: #1e7e34;
    }

    /* ปุ่มสอง (แบบสอบถาม) */
    .floating-buttons a.survey {
      background-color: #ffc107; /* เหลือง */
      color: black;
    }
    .floating-buttons a.survey:hover {
      background-color: #e0a800;
    }