@import url('https://fonts.googleapis.com/css?family=Sarabun');
a {
	font-family: 'Sarabun', sans-serif;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

table {
	font-family: 'Sarabun', sans-serif;
	font-weight: normal;
}

div {
	font-family: 'Sarabun', sans-serif;
}
strong {
	font-family: 'Sarabun', sans-serif;
}

.txtCenter {
	align-items: center;
}

.fLeft {
	float: left;
}

.fRight {
	float: right;
}

.bg_title {
	font-family: 'Sarabun', sans-serif;
	font-weight: normal;
}

input {
	font-family: 'Sarabun', sans-serif;
	height: 28px;
}


.body_bg {
	margin: 0px;
	padding: 0px;
	background-color: var(--wcolor1);
	box-sizing: border-box;
}


/* Click to Top */
#bt_toTop {
	position: fixed;
	background-image: url(../images/icon/top.png);
	background-repeat: no-repeat;
	background-position: center top;
	width: 148px;
	height: 116px;
	right: 10px;
	bottom: -10px;
	opacity: 0;
	z-index: 4;
	cursor: pointer;
}


.bg_top_l {
	background-image: url(../images/bg1_01.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}

.bg_top_c {
	background-image: url(../images/bg1_02.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}

.bg_top_r {
	background-image: url(../images/bg1_03.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

.bg_footer_l {
	background-image: url(../images/bg1_07.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
}
.bg_footer_r {
	background-image: url(../images/bg1_09.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
}

.bg_footer_c {
	background-image: url(../images/bg1_08.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
}



/*-------- Logo ----------*/
#logo_header{
	padding:60px 0 0 160px;
}

#logo_header img {
	width:150px;
}


/*--------- Menu Top --------*/
.menu_top {
	padding-top: 300px;
	text-align: center;
}


/*--------- Navbar styles ------- */
.navbar {
    display: flex;
    justify-content: center;
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.menu-item {
    margin: 0 5px;
}

/* Image styles */
.menu-item img {
    height: 64px;
    vertical-align: middle;
}



.table_content {
	border-radius: 10px; /* ปรับค่าตามต้องการ */
	background-color: var(--txtColor7);
	box-shadow: 0px 0px 20px #07070733; /* ปรับค่าตามต้องการ */
	width: 100%;
	vertical-align: top;	
}

.table_address_footer {
	background-color: #ffffffb3;
	border-radius: 10px;
	box-shadow: 0px 8px 8px #00000080;
	position: relative;
	bottom: -300px;
}  


.table_data_index {
	width: 100%;
	margin-top: 10px;
} 

.table_data_index td {
	text-align: center;
	vertical-align: top;
}



/*--------- เมนูด้านซ้าย -----------*/
.m_left {
	width:260px;
	height: auto;
	float: left;
	margin-top: 10px;
	vertical-align: top;
	margin-right: 5px;
}  

.m_content {
	height: auto;
	float: left;
	margin-top: 5px;
	vertical-align: top;
	position: relative;
	/*margin-bottom: 380px;*/
	text-align: center;
}


#menu {
	text-decoration: none;
	list-style: none;
	margin: 0px;
	padding: 0px;
}
#menu li {
	margin: 0px;
	padding: 0px;
}
#menu li a {
	position: relative;
	overflow: hidden;
	display: block;
	width: 250px;
	margin: 0px;
	text-decoration: none;
}

.hMenu{
	position: relative;
	background-image: url(../images/titlebar.png);
	background-repeat: no-repeat;
	background-position: left center;
	width: 260px;
	height: 80px;
	margin: 0px 0px 5px 0px;
	z-index:1;
}

.hMenu span {
	position: absolute;
	justify-content: center;
	left:40px;
	top:12px;
	font-size: 16px;
	font-weight: bold;
	color: var(--txtColor2);
	text-shadow: 0.08em 0.08em var(--txtColor7);
	line-height: 45px;
	text-indent: 45px;
	text-decoration: none;
}


#subMn {
	padding: 0px;
	background-color: #f8dd9d;
	vertical-align: top;
	position: relative;
	margin: -48px 10px 10px 10px;
	padding-top: 40px;
	padding-bottom: 10px;
	border-radius: 10px; /* ปรับค่าตามต้องการ */
}


#subMn li {
	top: 0px;
	list-style: none;
}

.ico_subMn {
    padding-left: 25px;
    background: url(../images/icon/sub3.png) 0px -2px no-repeat;
    padding-bottom: 3px;
    text-align: left;
}


#subMn li a {
	width: 220px;
	text-decoration: none;
	font-family: "Sarabun", sans-serif;
	font-size: 14px;
	color: var(--txtColor3);
	padding-left: 27px;
	line-height: 20px;
	margin: 0px 0px 8px 0px;
	cursor: pointer;
}





#subMn li a:hover {
	color: var(--txtColor4);
	text-decoration: none;
}



#sSubMn {
	padding: 0px;
	margin: 0px;
}

#sSubMn li {
	top: 0px;
	list-style: none;
}

#sSubMn li a {
	position: relative;
	background-image: url(../images/icon/arrow.png);
	background-repeat: no-repeat;
	background-position: 0px 6px;
	border-radius: none;
	box-shadow: none;
	width: 215px;
	height: auto;
	left: 15px;
	text-decoration: none;
	font-family: "Sarabun", sans-serif;
	font-size: 14px;
	color: var(--txtColor3);
	text-align: left;
	text-indent: 0px;
	line-height: 26px;
	margin: 0px 0px 0px 0px;
}

#sSubMn li a:hover {
	color: var(--txtColor4);
	text-decoration: none;
}

#xSubMn {
	padding: 0px;
	margin: 0px;
}

#xSubMn li {
	top: 0px;
	list-style: none;
}

#xSubMn li a {
	position: relative;
	background-image: url();
	background-repeat: no-repeat;
	background-position: 0px 6px;
	border-radius: none;
	box-shadow: none;
	width: 215px;
	height: auto;
	left: 35px;
	text-decoration: none;
	font-family: "Sarabun", sans-serif;
	font-size: 14px;
	color: var(--txtColor3);
	text-align: left;
	text-indent: 20px;
	line-height: 26px;
	margin: 0px 0px 0px 0px;
}

#xSubMn li a:hover {
	color: var(--txtColor4);
	text-decoration: none;
}


.has-sub img {
	position: relative;
	top:10px;
}


/*--------- Hot News & Welcome -----------*/
.hotnews {
	position: relative;
	background-image: url(../images/hotnews.png);
	background-repeat: no-repeat;
	width: 916px;
	height: 450px;
	z-index:1;
	text-align: right;
	display: table-cell;
	vertical-align: top;
}

.hotnews .text_run {
	padding-left:110px;
	padding-right: 20px;
	padding-top:25px;
}


.welcome {	
	position: absolute;
	top:68px;
	width: 900px;
	height: 360px;
}






/*--------- Gallery -----------*/

.text_titleB {
	background-image: url(../images/barcenterbig.png);
	width: 912px;
	height: 48px;	
}

.text_titleB span {
	display: table-cell;
	vertical-align: middle;
	color: var(--txtColor7);
	padding-top: 12px;
	padding-left: 30px;
}

.text_titleB .view-all {
	border: 1px solid #36a621;
    border-radius: 25px;
    color: var(--txtColor8);
    font-size: 12px;
    padding: 4px 12px;
	float: right;
	margin-top: 12px;
	margin-right: 15px;
}

.view-all a:hover {
	color: var(--txtColor7);
	text-decoration: none;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
	margin-bottom: 20px;
}

.items {
    background-color: var(--txtColor7);
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 2px 4px #d3d3d3;
    text-align: center;
}

.items img {
    max-width: 100%;
    border-radius: 5px;
}

.items h3 {
    margin-top: 10px;
    font-size: 14px;
	line-height: 20px;
}

.items p {
    font-size: 12px;
    color: var(--txtColor4);
}

.items a {
	text-decoration: none;
	color: var(--txtColor1);
	font-size: 14px;
}

.items a:hover {
	color: var(--txtColor4);
	text-decoration: none;
}


/*--------- ข่าวประชาสัมพันธ์ และ ประกวดราคา -----------*/
.bg_NewsTop p {
	background-image: url(../images/boxnews_01.png);
	width: 431px;
	height: 44px;		
	text-align: center;
	display: table-cell;
	vertical-align: top;
	color: var(--txtColor2);
	padding-top: 5px;
}

.bg_NewsCenter {
	background-image: url(../images/boxnews_02.png);
	width: 431px;
	height: 217px;		
	vertical-align: top;
	padding-left: 20px;
}

.bg_NewsCenter .datanew {
	overflow: scroll;
	overflow-x:hidden;
	width: 392px;
	height: 210px;
}

.bg_NewsFooter {
	background-image: url(../images/boxnews_03.png);
	width: 431px;
	height: 52px;	
	text-align: center;
	display: table-cell;
	vertical-align: top;
	padding-top: 5px;
}

.bg_NewsFooter a {
	font-size: 14px;
	color: var(--txtColor7);
}

.datanew ul {
    list-style-type: none;
	padding: 10px 5px 10px 5px;
}
  
.datanew li {
    list-style: none;
	border-bottom: dotted 1px #b4b4b1;
	margin-bottom: 5px;
}
  
.ico_news {
    padding-left: 25px;
    background: url('../images/icon/ico_menu1.png') 0px 0px no-repeat;
    padding-bottom: 3px;
	text-align: left;
}

.ico_news a {
	text-decoration: none;
	font-size: 14px;
	color: var(--txtColor1);
	line-height: 25px;
}

.ico_news a:hover {
	color: var(--txtColor4);
	text-decoration: none;
	
}

.ico_news span {
	text-decoration: none;
	font-size: 12px;
	color: var(--txtColor9);
	padding-left: 10px;
}


/*--------- เว็บบอร์ด -----------*/
.ico_topic {
    padding-left: 25px;
    background: url('../images/ico/i_topic.gif') 0px 5px no-repeat;
    padding-bottom: 3px;
	text-align: left;
}

.ico_topic a {
	text-decoration: none;
	font-size: 14px;
	color: var(--txtColor1);
	line-height: 25px;
}

.ico_topic a:hover {
	color: var(--txtColor4);
	text-decoration: none;
	
}

.ico_topic span {
	text-decoration: none;
	font-size: 12px;
	color: var(--txtColor9);
	padding-left: 10px;
}




/*--------- ข่าวทั่วไป -----------*/
.text_titleS {
	background-image: url(../images/barcentersmall.png);
	width: 670px;
	height: 48px;	
}

.text_titleS span {
	float: left;
	display: table-cell;
	vertical-align: middle;
	color: #fff;
	padding-top: 12px;
	padding-left: 30px;
}

.text_titleS .view-all {
	border: 1px solid #36a621;
    border-radius: 25px;
    color: #f0fc05;
    font-size: 12px;
    padding: 4px 12px;
	float: right;
	margin-top: 12px;
	margin-right: 15px;
}


.table_frm td {
	padding:5px;
}
