@charset "utf-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* กำหนดการแสดงผลสำหรับ body */
body {
    font-family: 'Sarabun', sans-serif;
	font-size: 11pt;
    background-color: #f4f4f4;
}

/* ส่วน header */
.header {
	background-size: cover; /* ทำให้รูปขยายเต็มพื้นที่ของ header */
	background-position: center; /* ทำให้รูปอยู่ตรงกลาง */
	text-align: center;
	overflow: hidden;
	max-height: 100px;
	background-color: #0F78BD;
  	font-family: 'Sarabun';
}
.headerL {
	/*float: left;*/
	max-width: 40%;
}
.headerR {
	/*float: right;*/
	max-width: 40%;
}

.nhc_status {
	width: 100%;
	line-height: 30px;
	height: 30px;
	/*background: linear-gradient(to bottom,#2baf2b,#4CAF50);  สีเขียว */
	/*background: linear-gradient(to bottom, #d3d3d3, #808080);  สีเทา */
  	display: flex; 
	justify-content: center; 
	align-items: center; 
	overflow: hidden;
}
.nhc_status2box {
	overflow: hidden;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
}
.nhc_status2 {
	width: 100%;
	line-height: 40px;
	height: 40px;
	text-align: center;
}
.nhc_status2mes {
	text-align: center;
	line-height: 40px;
}

/* ส่วน Container (ใช้สำหรับจัด Layout) */
.container {
    display: flex;
    min-height: 100vh;
    flex-wrap: wrap;
}

/* เมนูด้านซ้าย */
.menu-left {
    width: 270px;
    background-color: #333;
    color: white;
    padding: 20px;
	line-height: 20px;
}

.menu-left ul {
    list-style-type: none;
}

.menu-left ul li {
    /*margin: 10px 0;*/
	padding: 10px;
	border: 1px solid #888;
	margin-bottom: 5px;
	border-radius: 5px;
}

.menu-left ul li a {
    color: white;
    text-decoration: none;
}

.menu-left ul li a:hover {
    text-decoration: none;
}
.menu-left ul li:hover {
	background-color: #545454;
	cursor: pointer;
}
.menu-left-list {
	text-indent: 20px;
	line-height: 26px;
	border-top: 1px solid #5E5E5E;
	border-radius: 5px;
	color: #919191;
}
.menu-left-list:hover {
	background-color: #343333;
	color: #FFFFFF;
}
/* ส่วน Content */
.content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
}
.box1 {
  	background-color: #ffffff;
  	border-radius: 8px;
  	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  	padding: 40px;
  	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.icon1:hover {
	opacity: 0.8;
	cursor: pointer;
}
input[class=submit1] {
  padding: 12px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
}
select[class=input1] {
	width: 100%;
	padding: 12px;
 	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	line-height: 1.5;
}
input[class=input1] {
	width: 100%;
	padding: 12px;
 	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	line-height: 1.5;
}

/* กล่องฟอร์มล็อกอิน */
.login-container {
  	background-color: #ffffff;
  	border-radius: 8px;
  	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  	padding: 40px;
  	width: 100%;
 	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

/* ฟอร์ม */
.login-form {
  display: flex;
  flex-direction: column;
}

/* ป้ายคำอธิบาย (label) */
label {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  margin-bottom: 5px;
  margin-top: 10px;
}

/* ช่องกรอกข้อมูล */
input {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
}

/* ปุ่มเข้าสู่ระบบ */
button {
  padding: 12px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

/* ข้อความลิงก์สมัครสมาชิก */
p {
  text-align: center;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
.Title1 {
	text-align: center;
	font-weight: bold;
	font-size: 14pt;
	line-height: 30px;
}
.Title2 {
	text-align: center;
	font-size: 14pt;
	line-height: 30px;
}

/* ทำให้เมนูซ้ายและเนื้อหาปรับขนาดในมือถือ */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .menu-left {
        width: 100%;
        padding: 10px;
    }
	
	.menu-left-box {
		display: none;
	}

    .content {
        padding: 15px;
    }
}
