/* Credit: http://www.templatemo.com */
<!--font+menu bar-->

<!--font+menu bar end-->




<!--header mp4-->

<!--header mp4 end-->

/* Style for the video background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* ทำให้วิดีโออยู่ด้านหลัง */
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}





body {
	margin: 0;
	padding: 0;
	color: #999;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 12px;
	line-height: 1.4em; 
	background-color: #665f5f;
	background-repeat: repeat;
	height: 100%;
    width: 100%;
	/*overflow: hidden;	*/
	background-size: cover; /* ปรับให้เต็มหน้าจอ */
    background-position: center; /* จัดให้อยู่ตรงกลาง */
    background-repeat: no-repeat; /* ไม่ให้รูปซ้ำ */
    background-attachment: fixed; /* ล็อคพื้นหลังให้อยู่กับที่ */
	/*background-image: url(../images/templatemo_body.jpg)*/
	/*background-image: url(../images/bg_body_center-old.jpg)*/
	/*background-image: url(../images/gif_bgtest.gif)*/
	/*background-image: url(../images/gif_Trakto.gif)*/
	/*background-image: url(../images/background24-10-2023.png)*/
	background-image: url(../images/web_newnsm/bg2025new2.jpg)
            }
			




a, a:link, a:visited { color: #0299aa; font-weight: normal; text-decoration: none }
a:hover { text-decoration: underline; }
/*
a.addtocartz{ display: inline-block; width: 80px; height: 21px; line-height: 21px; text-align: center; font-size: 10px; font-weight: bold; color: #333; background: url(../images/templatemo_addtocart.png) }
a.detail{ display: inline-block; width: 64px; height: 20px; line-height: 20px; text-align: center; font-size: 10px; font-weight: bold; color: #333; background: url(../images/templatemo_detail.png) }
*/
p { margin: 0 0 10px 0; padding: 0; }
img { border: none; }
blockquote { border: 1px solid #039fb1; border-left: 5px solid #000; padding: 19px; margin: 20px 0 0 0}
cite a, cite a:link, cite a:visited  { font-size: 12px; text-decoration: none; font-style: normal }
cite span { font-weight: 400; color: #333; }
/*
.tmo_list { margin: 10px 0 10px 15px; padding: 0; list-style: none }
.tmo_list li { color:#999; margin: 0 0 5px 0; padding: 0 0 0 15px; background: url(../images/templatemo_list.png) no-repeat scroll 0 5px  }
.tmo_list li a { color: #999; font-weight: normal }
.tmo_list li a:hover { color: #333 }
*/

h1, h2, h3, h4, h5, h6 { color: #333; font-weight: normal; }
h1 { font-size: 30px; margin: 0 0 30px; padding: 5px 0 }
h2 { font-size: 26px; margin: 0 0 25px; padding: 5px 0 }
h3 { font-size: 20px; margin: 0 0 20px; padding: 0; }
h4 { font-size: 16px; margin: 0 0 15px; padding: 0; }
h5 { font-size: 14px; margin: 0 0 10px; padding: 0;  }
h6 { font-size: 12px; margin: 0 0 5px; padding: 0; }

.cleaner { clear: both }
.h10 { height: 10px }
.h20 { height: 20px }
.h30 { height: 30px }
.h40 { height: 40px }
.h50 { height: 50px }

.float_l { float: left }
.float_r { float: right }



#body_wrapper {
	width: 100%;
	/*background: url(../images/templatemo_body_top.jpg) repeat-x top*/
/*	background: url(../images/bg_body_top_old.jpg) repeat-x top */
}

#wrapper {
	width: 980px;
	margin: 0 auto;
}

#header {
	width: 960px;
	height: 240px;
	padding: 30px 10px;
	background: url(../images/web_newnsm/header21022025.jpg) no-repeat bottom;			/*อันใหม่ 21-02-2025*/
/*	background: url(../images/header24102023.png) no-repeat bottom;	*/	/*อันเดิม 20-02-2025*/
/*	background: url(../images/header_bg.png) no-repeat bottom; 	*/
/*	background: url(../images/header_bg_2022.png) no-repeat bottom;  */
}

#header_2025 {
	width: 978px;
	height: 118px;
	padding: -1px 1px;
    background: url(../images/web_newnsm/Header2025.png) no-repeat center;
    background-size: cover;
}


#header_vdo {
	width: 978px;
	height: 400px;
	padding: 40px 1px;
	background: url(../images/header24102023.png) no-repeat bottom;
/*	background: url(../images/header_bg.png) no-repeat bottom; 	*/
/*	background: url(../images/header_bg_2022.png) no-repeat bottom;  */
	overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black; /* ป้องกันขอบว่างสีขาว */
	position: relative;
	top: -1px;
}

 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.youtube-video {
    width: 2000px;
    height: 580px;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
	pointer-events: none; /* ป้องกันการกดควบคุม */
}

.video-123 {
    width: 1920px; /* กำหนดความกว้างให้ตรงกับวิดีโอ */
    height: 480px;
    object-fit: cover;
    max-width: 100%; /* ปรับให้เหมาะสมกับหน้าจอเล็ก */
    max-height: 100%;
}

	
#menubar {
	width: 980px;
	height: 60px;
	/*background: url(../images/templatemo_menubar.png) no-repeat;*/
	background: url(../images/templatemo_menubar2023.png) no-repeat;
}

#menubar_2025 {
	width: 980px;
	height: 60px;
	/*background: url(../images/templatemo_menubar.png) no-repeat;*/
	background: url(../images/web_newnsm/templatemo_menubar2025.png) no-repeat;
}


#main {
	width: 940px;
	padding: 10px 20px;
	background: url(../images/templatemo_main_bg.png) repeat-y
}

#content { width: 690px }
#sidebar { width: 220px }
#news_pr { width: 680px }
#announce { width: 680px }
#procure { width: 680px }
#news { width: 680px }
#procure_old { width: 680px }
#egp { width: 680px }
#file { width: 680px }

#footer {
	width: 960px;
	padding: 30px 10px;
	text-align: center;
	background: url(../images/templatemo_footer.png) no-repeat top
}
/*
#site_title { float: left; margin-top: 30px; }
#site_title h1 { margin: 0; padding: 0 }
#site_title h1 a { display: block; width: 300px; height: 40px; padding-top: 30px; font-size: 12px; letter-spacing: 4px; color: #2f2f2f; text-align: left; background: url(../images/templatemo_logo.png) no-repeat top left }

#header_right { float: right; margin: 35px 240px 0 0; color: #666; }
#header_right a { color: #fff }

#menu_second_bar { padding: 5px 10px; }
#top_shopping_cart { float: left; padding: 5px 0; font-size: 11px; }

#templatemo_search { float: right; margin: 10px 30px 0; width: 220px; height: 34px; background: url(../images/templatemo_search_bg.png) }
#templatemo_search form {
	margin: 0;
	padding: 0;
}

#templatemo_search .txt_field {
	float: left;
	display: block;
	height: 22px;
	line-height: 22px;
	width: 170px;
	color: #999;
	font-size: 12px;
	padding: 5px;
	font-variant: normal;
	border: none;	
	background: none;
}

#templatemo_search .sub_btn {
	float: right;
	display: block;
	color: #fff;
 	height: 33px;
	width: 40px;
	font-size: 11px;
	font-weight: 700;
	line-height: 26px;
	cursor: pointer;
	border: none;
	background: none;	
}
*/
.sidebar_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.news_pr_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.facebook_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.announce_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.procure_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.news_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.procure_old_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.egp_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.procure_box_t1-8 {
	
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
	margin-left: auto;
    margin-right: auto
}
.file_box {
	position: relative;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #dbdbdb
}
.sidebar_box_icon {width:33px; height:33px; overflow:hidden; display:block; float:left; cursor:default;}
.sidebar_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 173px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/templatemo_sidebar_header.png) right center  no-repeat; color: #2f2f2f; position:relative }
.news_pr_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 633px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/announce_header2025.png) right center  no-repeat; color: #2f2f2f; position:relative }
.facebook_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 633px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/facebook_header.png) right center  no-repeat; color: #2f2f2f; position:relative }
.announce_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 633px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/announce_header2025.png) right center  no-repeat; color: #2f2f2f; position:relative }
.procure_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 633px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/announce_header2025.png) right center  no-repeat; color: #2f2f2f; position:relative }

.news_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 633px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/news_header2025.png) right center  no-repeat; color: #2f2f2f; position:relative }
.procure_old_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 633px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/announce_header2025.png) right center  no-repeat; color: #2f2f2f; position:relative }
.egp_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 633px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/announce_header2025.png) right center  no-repeat; color: #2f2f2f; position:relative }

.file_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 633px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(../images/file_header.png) right center  no-repeat; color: #2f2f2f; position:relative }

.sidebar_box h3 a {position:absolute; left:0;}
.news_pr_box h3 a {position:absolute; left:0;}
.facebook_box h3 a {position:absolute; left:0;}
.announce_box h3 a {position:absolute; left:0;}
.procure_box h3 a {position:absolute; left:0;}
.news_box h3 a {position:absolute; left:0;}
.procure_old_box h3 a {position:absolute; left:0;}
.egp_box h3 a {position:absolute; left:0;}
.file_box h3 a {position:absolute; left:0;}

#sidebar .sidebar_box .content {
	padding: 10px 10px 0;
}
#news_pr .news_pr_box .content {
	padding: 10px 10px 0;
}
#news_pr .facebook_box .content {
	padding: 10px 10px 0;
}
#announce .announce_box .content {
	padding: 10px 10px 0;
}
#procure .procure_box .content {
	padding: 10px 10px 0;
}
#news .news_box .content {
	padding: 10px 10px 0;
}
#procure_old .procure_old_box .content {
	padding: 10px 10px 0;
}
#egp .egp_box .content {
	padding: 10px 10px 0;
}
#file .file_box .content {
	padding: 10px 10px 0;
}



#sidebar .sidebar_list { margin: 0; padding: 0 0 10px; list-style: none; }
#sidebar .sidebar_list li { display: block; margin: 0; padding: 5px 0; border-top: 1px solid #fff; border-bottom: 1px solid #d3d3d3 }
#sidebar .sidebar_list li.first { border-top: none }
#sidebar .sidebar_list li.last { border-bottom: none }
#sidebar .sidebar_list li a { color: #666;   }
#sidebar .sidebar_list li a:hover { color: #000; text-decoration: none }

#news_pr .sidebar_list { margin: 0; padding: 0 0 10px; list-style: none; }
#news_pr .sidebar_list li { display: block; margin: 0; padding: 5px 0; border-top: 1px solid #fff; border-bottom: 1px solid #d3d3d3 }
#news_pr .sidebar_list li.first { border-top: none }
#news_pr .sidebar_list li.last { border-bottom: none }
#news_pr .sidebar_list li a { color: #666;  }
#news_pr .sidebar_list li a:hover { color: #000; text-decoration: none }

#announce .sidebar_list { margin: 0; padding: 0 0 10px; list-style: none; }
#announce .sidebar_list li { display: block; margin: 0; padding: 5px 0; border-top: 1px solid #fff; border-bottom: 1px solid #d3d3d3 }
#announce .sidebar_list li.first { border-top: none }
#announce .sidebar_list li.last { border-bottom: none }
#announce .sidebar_list li a { color: #666;  }
#announce .sidebar_list li a:hover { color: #000; text-decoration: none }

#procure .sidebar_list { margin: 0; padding: 0 0 10px; list-style: none; }
#procure .sidebar_list li { display: block; margin: 0; padding: 5px 0; border-top: 1px solid #fff; border-bottom: 1px solid #d3d3d3 }
#procure .sidebar_list li.first { border-top: none }
#procure .sidebar_list li.last { border-bottom: none }
#procure .sidebar_list li a { color: #666;   }
#procure .sidebar_list li a:hover { color: #000; text-decoration: none }

#news .sidebar_list { margin: 0; padding: 0 0 10px; list-style: none; }
#news .sidebar_list li { display: block; margin: 0; padding: 5px 0; border-top: 1px solid #fff; border-bottom: 1px solid #d3d3d3 }
#news .sidebar_list li.first { border-top: none }
#news .sidebar_list li.last { border-bottom: none }
#news .sidebar_list li a { color: #666;   }
#news .sidebar_list li a:hover { color: #000; text-decoration: none }

#procure_old .sidebar_list { margin: 0; padding: 0 0 10px; list-style: none; }
#procure_old .sidebar_list li { display: block; margin: 0; padding: 5px 0; border-top: 1px solid #fff; border-bottom: 1px solid #d3d3d3 }
#procure_old .sidebar_list li.first { border-top: none }
#procure_old .sidebar_list li.last { border-bottom: none }
#procure_old .sidebar_list li a { color: #666;   }
#procure_old .sidebar_list li a:hover { color: #000; text-decoration: none }

#egp .sidebar_list { margin: 0; padding: 0 0 10px; list-style: none; }
#egp .sidebar_list li { display: block; margin: 0; padding: 5px 0; border-top: 1px solid #fff; border-bottom: 1px solid #d3d3d3 }
#egp .sidebar_list li.first { border-top: none }
#egp .sidebar_list li.last { border-bottom: none }
#egp .sidebar_list li a { color: #666;   }
#egp .sidebar_list li a:hover { color: #000; text-decoration: none }

/*
.bs_box { clear: both; margin-bottom: 20px }
.bs_box img { float: left; margin-right: 10px; border: 4px solid #fff }
.bs_box h4 { margin-bottom: 0 }
.bs_box h4 a { font-size: 11px; color: #000; font-weight: 700}
.bs_box .price { font-size: 12px; font-weight: 700; color: #11bdd1}

.product_box {
	float: left;
	width: 220px;
	text-align: center;
	margin: 0 10px 30px 0;
	padding-bottom: 20px;
	border-bottom: 1px dotted #ccc
}

.product_box img {
	margin-bottom: 5px;
}
.product_box h3 {
	font-size: 11px;
	color: #000;
	font-weight: 700;
	margin-bottom: 10px;
}
.product_box .product_price {
	color: #11bdd1;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 20px;
}
.product_box .addtocart {
	float: left;
	display: block;
}
.product_box .detail {
	float: right;
	display: block;
}

#contact_form { padding: 0; width: 300px; margin-bottom: 40px }
#contact_form form { margin: 0px; padding: 0px; }

#contact_form form .input_field { 
	font-family: Arial, Helvetica, sans-serif;
	width: 270px; 
	padding: 5px; 
	color: #808b98;
	background: #fff;
	border: 1px solid #dedede; 
}

#contact_form form label { display: block; width: 100px; margin-right: 12px; font-size: 11px }

#contact_form form textarea { 
	font-family: Arial, Helvetica, sans-serif;
	width: 270px; 
	height: 200px; 
	padding: 5px; 
	color: #808b98;
	background: #fff; 
	border: 1px solid #dedede; 
}

#contact_form form .submit_btn { 
	display: block; 
	padding: 5px 12px; 
	text-align: center; 
	text-decoration: none; 
	font-weight: bold;
	background-color: #000; 
	border: 1px solid #fff; 
	color: #fff; 
	font-size:11px; 
	cursor: pointer;
}

.content_half { width: 320px }
.content_13 { width: 220px; margin-right: 10px }

.faqs p { margin-bottom: 20px }
.faqs h5 { margin-bottom: 5px }
*/
#footer {
	color: #dadada
}
#footer a {
	color: #fff;
}

/*============================*/
/*=== Custom Slider Styles ===*/
/*============================*/
#slider-wrapper {
	float: left;
    width: 680px;
    height: 340px;
	margin-right: 20px;
	margin-bottom: 60px;
}

#slider-wrapper_2 {
	float: left;
    width: 680px;
    height: 288px;
	margin-right: 20px;
	margin-bottom: 60px;
}

#slider {
	position:relative;
    width: 680px;
    height: 340px;
	background:url(../images/loading.gif) no-repeat 50% 50%;
	border: solid 2px #969696;
	background-color: #F4F4F4;
}
#slider_2 {
	position:relative;
    width: 680px;
    height: 288px;
	background:url(../images/loading.gif) no-repeat 50% 50%;
	border: solid 2px #969696;
	background-color: #F4F4F4;
}
#slider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
#slider a {
	border:0;
	display:block;
}

.nivo-controlNav {
	position:absolute;
	right: 10px;
	bottom: -30px;
}
.nivo-controlNav a {
	display:block;
	width:14px;
	height:18px;
	background:url(../images/bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin-right:3px;
	float:left;
}
.nivo-controlNav a.active {
	background-position:0 -18px;
}

.nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(../images/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
}
a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
}
a.nivo-prevNav {
	left:15px;
}

.nivo-caption {
    text-shadow:none;
    font-family: Helvetica, Arial, sans-serif;
}
.nivo-caption a { 
    color:#efe9d1;
    text-decoration:underline;
}

/* แบ่งหน้า */
.browse_page{  
    clear:both;  
    margin-left:12px;  
    height:35px;  
    margin-top:5px;  
    display:block;  
}
.browse_page a,.browse_page a:hover{  
	display:block;  
	height:18px;  
	width:18px;  
	font-size:10px;  
	float:left;  
	margin-right:2px;  
	border:1px solid #CCCCCC;  
	background-color:#F4F4F4;  
	color:#333333;  
	text-align:center;  
	line-height:18px;  
	font-weight:bold;  
	text-decoration:none;  
}
.browse_page a:hover{  
	border:1px solid #0A85CB;  
	background-color:#0A85CB;  
	color:#FFFFFF;  
}
.browse_page a.selectPage{  
	display:block;  
	height:18px;  
	width:18px;  
	font-size:10px;  
	float:left;  
	margin-right:2px;  
	border:1px solid #0A85CB;  
	background-color:#0A85CB;  
	color:#FFFFFF;  
	text-align:center;  
	line-height:18px;  
	font-weight:bold;  
}
.browse_page a.SpaceC{  
	display:block;  
	height:18px;  
	width:18px;  
	font-size:10px;  
	float:left;  
	margin-right:2px;  
	border:0px dotted #0A85CB;  
	font-size:11px;  
	background-color:#FFFFFF;  
	color:#333333;  
	text-align:center;  
	line-height:18px;  
	font-weight:bold;  
}
.browse_page a.naviPN{  
	width:50px;  
	font-size:12px;  
	display:block;  
	height:18px;  
	float:left;  
	border:1px solid #0A85CB;  
	background-color:#0A85CB;  
	color:#FFFFFF;  
	text-align:center;  
	line-height:18px;  
	font-weight:bold;     
}
.browse_page a.naviPN:hover{  
	width:50px;  
	font-size:12px;  
	display:block;  
	height:18px;  
	float:left;  
	border:1px solid #0A85CB;  
	background-color:#0A85CB;  
	color:#FFFFFF;  
	text-align:center;  
	line-height:18px;  
	font-weight:bold;     
}
/* end แบ่งหน้า */

.text_indent {
	text-indent: 4em;
	text-align: justify;
	margin-left: 40px;
	width: 600px;
}
.td_center {
	border: none;
	background-color: #f0f0f0; 
}
.odd {
	background-color:#e6e6fa; 
}


/* หัวข้อ ประชาสัมพันธ์ */



/* หัวข้อ ประชาสัมพันธื จบ */