

body ,html {
	background: url(../images/5.png) repeat;
	margin:0px;
	padding:0px;
	font-family:Tahoma, Geneva, sans-serif;
}
a {
	text-decoration:none;
}
.text-g {
	color:#666666;
}
.text-b {
	color:#333333;
}
.container {
	min-width:1370px;
	max-width:1700px;
	margin:0 auto;
	display:block;
	background-color:rgb(248, 248, 248);
	border-left: solid 1px #e0e3e5;
	
}
.header{
	
	background:#393739;
}
.link10 {
	color:#0CB3B0;
}
.link10:hover {
	color:#0DB0AD;
}
.logo {
	
	margin-left:0px;
}

.line-red {
	background:#de4c4c;
	height:3px;
}

.left_menu {
	float:left;
	width:20%;
	background-color:#FFFFFF;
	/*height:650px;
	border-right:1px #CCC dashed;*/
	margin-right:0px;
	/*min-height:870px;*/
}
.herder-bar {
	/*border-top-left-radius:3px;
	border-top-right-radius:3px;
	border-bottom-right-radius:3px;
	border-bottom-left-radius:3px;*/
	
	border:solid 1px #e0e3e5 ;
	/*-moz-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;*/
	width:99%;
	height:30px;
	background:#e0e3e5;
	padding:4px 0px 4px 0px;
	margin:0px 0px 0px 0px;
}
.herder-bar-r {
	/*border-top-left-radius:3px;
	border-top-right-radius:3px;
	border-bottom-right-radius:3px;
	border-bottom-left-radius:3px;*/
	
	/*border:solid 1px #e0e3e5 ;
	-moz-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;*/
	width:100%;
	height:30px;
	background:#e0e3e5;
	/*padding:4px 0px 4px 0px;
	margin:5px 0px 0px 5px;*/
	
	padding: 4px 0px 5px 0px;
	margin: 0px 0px 0px 0px;
}

.herder-bar-r .nav{
	margin:0px 0px 0px 5px;
	padding:0;
	font-size:14px;
	font-weight:bold;
	color:#6d6d6d;
	line-height:25px;
	

}

.body-r {
	/*background:#666;*/
	min-height:800px; 
	width: 99.5%;
	padding: 1px 5px 35px 0px;
	*padding: 1px 5px 0px 0px;
	margin: 2px 0px 0px -2px;
}

.herder-bar a{
	margin:0px 0px 0px 5px;
	padding:0;
	font-size:14px;
	font-weight:bold;
	color:#6d6d6d;
	line-height:25px;
	

}
.body {
	/*background:#666;*/
	
	
	width:99%;
	padding:4px 0px 4px 0px;
	margin:0px 0px 0px 0px;
}
.bg_b {
	background:#393739;
	border:solid 1px #666 ;
}
.bg_w {
	background:#f5f5f5;
	border:solid 1px #e0e3e5 ;
}
.bg_w2 {
	background:rgb(248, 248, 248);
	border:solid 1px #e0e3e5 ;
}
.body img {
	border:#00d79e solid 5px;
	margin:5px;
	border-radius: 3px;
}
.profile{
	float:left;
	width:50px;
	height:50px;
	background:#CCC;
	padding:5px 5px 5px 5px;
	margin:10px 0px 0px 10px;
	border:none 3px #000000;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	text-align:center;
}


ul.left-menu  {
	margin:0px 0px 0px 0px; padding:0px 0px 0px 0px;
	
}
li.left-menu2 {
	border-bottom: 1px solid #ebebeb; list-style:none; /*padding-bottom:5px;*/
	
}
li.left-menu2:hover {
	/*background:#e0e3e5;*/
	border-bottom:1px solid #de4c4c;
}
li.left-menu2 a {
	text-decoration:none; font-size:14px; font-weight:bold;
	margin-left:22px;
	display:block;
	
	
}


.left-menu2 {
	border-bottom: 1px solid #ebebeb; list-style:none; /*padding-bottom:5px;*/
}
.left-menu2:hover {
	/*background:#e0e3e5;*/
	border-bottom:1px solid #de4c4c;
}
.left-menu2 a {
	text-decoration:none; font-size:13px; font-weight:bold;
	/*margin-left:10px;*/
}






.right_content {
	float:left;
	width:80%;
	background-color:#FFF;
	/*height:650px;*/
	margin-left:0px;
	/*min-height:870px;*/
	
}
.menu3 {
	margin-top:5px;
	margin-bottom:3px;
	/*margin-top:5px;*/
	background:#e0e3e5;
	/*height:120px;*/
	height:38px;
	border-bottom:5px #bbbcbd solid;
}
.menu ul {
	margin:0;
	padding:0;
	*padding-top:15px;
	
}
.menu ul li {
	padding:18px 25px 0px 25px;
	margin-top:0px;
	margin-right:-3px;
	
	display:inline-block;
	
	border-bottom:5px #bbbcbd solid;
	border-right:1px #bbbcbd solid;
	 *display: inline;
	
}
.menu ul li:hover {
	border-bottom:5px #de4c4c solid;
	color:#de4c4c;
}
.menu ul li a {
	font-size:14px;
	font-weight:bold;
	color:#6d6d6d;
}
.menu ul li a:hover {
	color:#de4c4c;
}









/* ตาราง */
table.plus {
	background:#FFF;
	/*border-left: solid 1px #9d3c3c;
	border-right: solid 1px #9d3c3c;*/
	border-bottom:solid 1px #d44343;
	/*border-top:solid 1px #9d3c3c;*/
	/*font-size: 11pt;*/
	font-size:13px;
	width: 100%;
}
table.plus tr {
	background: #F2F2F2;
	border-bottom: solid 1px #FFFFFF;
		height:30px;
		color:#666666;

}
table.plus td {
/*	border-right: solid 1px #FFFFFF;
	border-left: solid 1px #FFFFFF;
*/}

table.plus thead tr {
	background-color: #d44343;
	color: white;
	font-style:inherit;
	height:30px;
	font-weight:bold;
}
table.plus thead tr a {
	text-decoration:none;
	color: white;
	height:30px;
}

table.plus tbody tr:nth-of-type(odd) {
	background: #F8F8F8;
	border-bottom: solid 1px #FFFFFF;
	/*box-shadow: 0 2px 0 -1px #7ba0cd;*/
	color:#666666;
}
table.plus tbody tr:hover {
	background: #fbafaf;
	border-bottom: solid 1px #FFFFFF;
}
table.plus tbody tr.case,
table.plus tfoot tr {
	/*background-color: #d7d7d7;*/
	background-color:#EAEAEA;
	
}
/* ตาราง */






/*Pagination*/
.pagination {
	margin:5px -30px 0px 5px;
	padding:0px;
	height: auto;
	
	/*margin: 0 0 0px 0;*/
}
.pagination ul {box-shadow: none;}
	.pagination a {
		display: inline-block;
		float: right;
		padding: 0 10px;
		line-height: 25px;
		text-decoration: none;
		border: 1px solid #c4c4c4;
		background-color: #f3f3f3;
		color: #717171;
		margin-right: 4px;
		-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
		border-radius: 2px 2px 2px 2px;
		font-weight: bold;
		margin-bottom: 10px ;
		font-size:12px;
		
		 /*display: inline;*/
		 *float:none;
		 	}
	.pagination li { list-style:none; *display: inline;}
	.pagination li:first-child a {
		*display: inline;
		border-left-width: 1px;
		-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
		border-radius: 2px 2px 2px 2px;
	}
	.pagination li:last-child a {
		-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
		border-radius: 2px 2px 2px 2px;
	}
	.pagination a span {
		margin:0;
		color: #717171;
		padding:0;
		line-height: 25px;
		background: transparent;
		border: none;
	}

	.pagination li>span {
		margin: 0px 8px 0 7px !important; 
		padding:0 5px 0 5px !important;
		float:left !important;
		display: inline-block;
		border:none !important;
		background: transparent !important;
		line-height: 30px !important;


*display: inline;
	}

	.pagination .active a {
		color: #f2f2f2;
		border-color: #E80A24;
		background: #D74B4B;
	}
	.pagination .active a:hover {
		color: #717171;
	}
	.pagination a:hover {
		border: 1px solid #a3a3a3 !important;
		background: #e8e6e6 !important;
	}

a.ac {
		display: inline-block;
		float: right;
		padding: 0 10px;
		line-height: 25px;
		text-decoration: none;
		border: 1px solid #c4c4c4;
		margin-right: 4px;
		-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
		border-radius: 2px 2px 2px 2px;
		font-weight: bold;
		margin-bottom: 10px ;
		font-size:12px;
		color: #f2f2f2;
		border-color: #E80A24;
		background: #D74B4B;
		*float:none;
}




.footer {
	border: 1px solid #c4c4c4;
	border-left:none;
	border-right:none;
	border-bottom:none;
	position: relative;
	height:30px;
	background: url('../images/patterns/4.png') repeat;
}



.align-right {
	float:right;
	
	
}

.align-left {
	float:left;
}



.button {
display: inline-block;
vertical-align: top;
height: 30px;
line-height: 1;
padding: 0 16px;
font-size: 13px;
font-weight:bold;
color: #243140;
text-align: center;
text-shadow: 0 1px rgba(255,255,255,0.2);
background: #e5e7ed;
border: 0;
cursor: pointer;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
		border: 1px solid #c4c4c4;
		-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
		border-radius: 2px 2px 2px 2px;

}

.button-red {
color: white;
text-shadow: 0 1px rgba(0,0,0,0.08);
background: #D74B4B;
border-color: #E80A24;
}
.button-green {
color: white;
text-shadow: 0 1px rgba(0,0,0,0.08);
background: #0b918f;
border-color: #0DB0AD;
}

.button-brown {
color: white;
text-shadow: 0 1px rgba(0,0,0,0.08);
background: #4B2A1D;
border-color: rgb(74, 32, 11);
}

/*a:hover {
text-decoration: underline;
}
*/a.button {
line-height: 30px;
text-decoration: none;
*height: 30px;

}
.button:hover {
color: #243140;
background: #dcdfe7;
}
.button-red:hover {
color: white;
background: #f17163;
}

.button-green:hover {
color: white;
background: #097a78;
}

.button-brown:hover {
color: white;
background: #220A01;
}

.imgAvatar{
border-radius: 2px;
-moz-border-radius: 2px;/*ขนาดความโค้ง*/
-webkit-border-radius: 2px;/*ขนาดความโค้ง*/
box-shadow: 0 0 2px #666;/*ขนาดเงา*/
z-index:-1;
}


.xx {
}
.xx tr {
}.xx tr:hover {
}

.font-red {
	color:#8c0000 !important;
}
.error {
	background:#999999;
    border: 1px solid #D44343;
}

.valid {
	/*padding:4px;
    border: 0px solid #D44343;*/
}
.form-error .error2,
.error{
	color: red;
	background:#999999;
}

img.cancel_photos1 {
	margin-bottom:-3px;
	margin-left:-37px;
	z-index:1;
}


/*.footer {
	border: 1px solid #c4c4c4;
	border-left:none;
	border-right:none;
	border-bottom:none;
	position: relative;
	height:30px;
	background: url('../images/patterns/4.png') repeat;
}*/
.footer {
/*	background-image:url(../images/admin-table_15.png) ;
	background-repeat:no-repeat;	
	background-repeat:repeat-y;
	background-color:#CCFF66;8*/
	clear:both;
	display:block;
	width:100%;
	border-top:2px solid #D44141;
	border-bottom:2px solid #D44141;
/*-moz-box-shadow: 0px -3px 5px #000000;
-webkit-box-shadow: 0px -3px 5px #000000;
box-shadow: 0px -3px 5px #000000;
position:relative;
	min-height:200px;
*/
}

.footer .top {
	background-color:#0f0f0f;
	height:100px;
	width:100%;

}
.footer .top .box1 {
	float:left;
	width:95px;
	height:70px;
	background:#666666;
	padding:5px 5px 5px 5px;
	margin:10px 0px 0px 10px;
	border:none 5px #000000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	text-align:center;
}
.footer .top .boxadd {
	float:left;
	width:500px;
	height:70px;
	margin:20px 0px 0px 10px;
	
}
.footer .top .boxadd .companyf {
	height:15px;
	width:100%;
	position:relative;
	font-size:15px;
	font-weight:bold;
}
.footer .top .boxadd .companyf .com1 {
	color:#FFFFFF;
}
.footer .top .boxadd .companyf .com2 {
	color:#da3232;
}
.footer .top .boxadd  .add {
	color:#FFFFFF;
	font-size:11px;
	font-family:Tahoma, Geneva, sans-serif;
	text-decoration:none;
	width:165%;
}
.footer .top .boxadd  .add a{
	color:#FFFFFF;
	text-decoration:none;
}

.footer .bottom {
	background-color:#0f0f0f;
	height:25px;
	width:100%;
	text-align:center;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:11px;
	padding-top:1px;
	
	/*	opacity:0.4;
 	filter:alpha(opacity=40);
*/	

}
.footer .top .contact {
	float:right;
	width:400px;
	height:20px;
	margin:40px 10px 0px 10px;
	text-align:right;
}

.footer .top .socail {
	float:left;
	width:120px;
	height:24px;
	margin:70px 0px 0px 10px;
}
.footer .top .bottom .box {
	float:right;
	width:400px;
	height:20px;
	margin:75px 10px 0px 10px;
	text-align:right;
	
	
}
.footer .bottom .box {
	height:11;
	width:100%;
	margin-top:8px;
}
.footer .bottom .box .text1 {
	color:#FFFFFF;
}
.footer .bottom .box .text2 {
	color:#da3232;
	font-weight:bold;
}



.left-sub-menu {
	padding-left:15px;
}
.line-vertical {
	width:18px;
	background:url(../images/line-vertical.png) repeat-y left top;
}
.none-child {
	width:18px;
	height:14px;
	margin:11px 0;
	background:#f5f5f5 url(../images/more-less.png) no-repeat left -44px;
}
.ft-left {
	float:left;
}
.clear {
	clear:both;
}

.news4{
	width: 670px;
	margin: 9px;
	background: #EEEDEC;
	-webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-khtml-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	border: 1px solid #c3c3c3;
	padding: 5px;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #7c0106;
	float: left;
	/*box-shadow:0 0 7px #505050;*/
}
.news44{
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 13px;
	font-weight:normal;
	color:#333;
}
.news4 .frame-news4 {
	float:left;
	margin: 5px;
	padding:5px;
	border:1px solid #fff;
	background:white;
	border-radius:3px;
	box-shadow:0 0 3px #000;
	font-size:0;line-height:0;
	}
.news5{
	width: 670px;
	margin: 0px 0px 10px 50px;
	background: #fff;
	-webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-khtml-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	border: 1px solid #c3c3c3;
	padding: 5px;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #7c0106;
	float: left;
	/*box-shadow:0 0 7px #505050;*/
}
.news5 .frame-news5 {
	float:left;
	margin: 5px;
	padding:5px;
	border:1px solid #fff;
	background:white;
	border-radius:3px;
	box-shadow:0 0 3px #000;
	font-size:0;line-height:0;
	}
.news-content5 {
	float:right;
	width:450px;
	padding-left:5px;
	text-align: left;
	}