body {
	margin: 0;
	padding: 0;
	background: #F1F1F1 url(../images/img01.gif) repeat-x left top;
	font-family:Tahoma;
	font-size: 13px;
	color: #787878;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	color: #023848;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2.4em;
}

h3 {
	font-size: 1.6em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	text-decoration: none;
	color: #4486C7;
}

a:hover {
}

#wrapper {
	width: 980px;
	margin: 0 auto;
	padding: 0;
}
.showimg a img{ border:2px #FEF1D3 solid; }
.showimg a:hover img{ border:2px #666666 solid; }
.agency ul {
	margin: 0;
	padding: 0;
}
.agency li { float:left; display: inline; margin:5px; }
.agency li .kob {  width:140px; height:200px; }
.agency li .kob p { padding:0px; margin:0px;}
.agency li a img{ border:1px #666666 solid; padding:3px; width:120px; height:120px;}
.agency li a:hover img{ border:1px #333333 solid; background:#333333;}
.agency center { margin-top:5px; }
/* Header */
.underline { border-bottom:1px #999999 dashed; }
#header {
	width: 980px;
	height: 280px;
	margin: 0 auto;
	padding: 0px;
	background: url(../images/img02.jpg) no-repeat left top;
}

/* Logo */

#logo {
	float: right;
	margin: 0;
	padding: 0;
	color: #000000;
}

  #banner {
  	margin-top:18px;
	margin-right:7px;
    width: 961px;
    height: 246px;
  }

/* Search */

#search {
	float: right;
	width: 280px;
	height: 75px;
	padding: 10px 0px 0px 10px;
	background: #E2E2E2;
	border-bottom: 4px solid #FFFFFF;
}

#search form {
	height: 41px;
	margin: 0;
	padding: 10px 0 0 20px;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search-text {
	width: 170px;
	padding: 6px 5px 2px 5px;
	border: 1px solid #DEDEDE;
	background: #FFFFFF;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #5D781D;
}

#search-submit {
	border: none;
	padding:4px 10px 4px 10px;
	background: #B9B9B9;
	color: #000000; cursor:pointer;
}
#search-submit:hover { background:#333333; color:#FFFFFF;  }
/* Menu */

#menu {
	width: 980px;
	height: 90px;
	margin: 0 auto;
	padding: 0;
}

#menu ul {
	margin: 0;
	padding: 50px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
}

#menu a {
	display: block;
	width: 130px;
	height: 30px;
	margin-right: 1px;
	padding: 9px 0px 0px 0px;
	background: url(../images/img02.gif) no-repeat left top;
	/*background-color:#3E3E3E;*/
	text-decoration: none;
	text-align: center;
	font-family:Tahoma;
	font-size: 15px;
	font-weight: bold;
	color: #FFFFFF;
	border: none;
}

#menu a:hover, #menu .current_page_item a {
	text-decoration: none;
	color:#333333;
}

#menu .current_page_item a {
	padding-left: 0;
}

/* Page */

#page {
	width: 940px;
	margin: 0 auto;
	padding: 0px 0px 0px 40px;
	background: url(../images/img03.gif) repeat-y left top;
}

#page-bgtop {
	padding: 20px 0px;
}

#page-bgbtm {
}

/* Content */

#content {
	float: left;
	width: 580px;
	padding: 30px 0px 0px 0px;
}

.post {
	background: url(../images/img07.gif) no-repeat left 50px;
	margin-bottom: 15px;
}

.post-bgtop {
}

.post-bgbtm {
}

.post .title {
	height: 38px;
	margin-bottom: 20px;
	padding: 9px 0 0px 6px;
	letter-spacing: -.5px;
	color:#73634A;
	background:url(../images/ec_background_img.gif);
}
.post h2{  font-size:22px; }
.post .title a {
	color: #73634A;
	border: none;
}

.post .meta {
	margin-bottom: 30px;
	padding: 5px 0px 15px 0px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
}

.post .meta .date {
	float: left;
}

.post .meta .posted {
	float: right;
}
.post .meta .posted a {
	color:#26731F;
}

.post .meta a {
}

.post .entry {
	background: url(../images/img08.gif) no-repeat left top;
	padding: 0px 0px 20px 0px;
	padding-bottom: 20px;
	text-align: justify;
}

.links {
	padding-top: 20px;
	font-size: 12px;
	font-weight: bold;
}
.links a{
 	color:#C16A2B;
}

/* Sidebar */

#sidebar {
	float: right;
	width: 280px;
	margin: 0px;
	padding: 0px 20px 0px 0px;
	color: #787878;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar li ul {
	margin: 0px 0px;
	padding-bottom: 30px;
}

#sidebar li li {
	line-height: 35px;
	border-bottom: 1px dashed #FFFFFF;
	margin: 0px 0px;
	padding-left:30px;
	border-left: none;
	background:#F8DFBB;
}
#sidebar li li:hover { background:#F3CB8F; }
#sidebar li li a{ color:#282828;
}
#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

#sidebar h2 {
	height: 30px;
	padding-left: 20px;
	padding-top:5px;
	letter-spacing: -.5px;
	font-size:18px;
	background:url(../images/img04.jpg);
	color:#FFFFFF;
}

#sidebar p {
	margin: 0 0px;
	padding: 0px 30px 20px 30px;
	text-align: justify;
}

#sidebar a {
	border: none;
}

#sidebar a:hover {
	text-decoration: underline;
	color: #8A8A8A;
}

/* Calendar */

#calendar {
}

#calendar_wrap {
	padding: 20px;
}

#calendar table {
	width: 100%;
}

#calendar tbody td {
	text-align: center;
}

#calendar #next {
	text-align: right;
}

/* Footer */

#footer {
	height: 50px;
	margin: 0 auto;
	padding: 0px 0 15px 0;
	background:#211507;
	border-top: 1px solid #DEDEDE;
	font-family: Arial, Helvetica, sans-serif;
}

#footer p {
	margin: 0;
	padding-top: 20px;
	line-height: normal;
	font-size: 12px;
	text-align: center;
	color:#FFB55F;
}

#footer a {
	color: #8A8A8A;
}

/*-----จัดการตาราง------*/
#table-1
{
	font-size: 12px;
	background: #fff;
	margin-left:4px;
	width:99%;
	border-collapse: collapse;
	text-align: left;
}
#table-1 th
{
	font-size: 12px; font-weight:bold;
	color:#383838;
	padding: 10px 8px;
	background:#EAF4F7;
	border-bottom: 2px solid #6678b1;
}
#table-1 td
{
	border-bottom: 1px solid #ccc;
	color:#7C7C7C;
	padding: 8px 9px;
}
#table-1 tbody tr:hover td
{
	color:#EDA203;
	background-color:#F3F3F3;
}
.message_error { 
    background: #fff6bf url(../images/exclamation.png) center no-repeat;   
    background-position: 15px 50%; /* x-pos y-pos */  
    text-align: left;   
    padding: 5px 20px 5px 45px;   
    border-top: 2px solid #ffd324;   
    border-bottom: 2px solid #ffd324;   
    font-size:12px;
	color:#FF3300;
 }
 /*-----จัดการตาราง------*/
#table-2
{
	font-size: 12px;
	margin-left:4px;
	width:99%;
	border-collapse: collapse;
	border:1px #AB9775 solid;
	text-align: left;
}
#table-2 th
{
	font-size: 12px; font-weight:bold;
	color:#383838;
	padding: 7px 7px;
	background:#F4EBDB;
	border-bottom: 2px solid #AB9775;
}
#table-2 td
{
	border-bottom: 1px solid #AB9775;
	color:#666666;
	background:#FFFFFF;
	padding: 5px 7px;
}
#table-2 tbody tr:hover td
{
	color:#D26900;
	background:#F7F7F7;
}
/*-------------------------form-----------------------------------*/
#table-3
{
	font-size: 12px;
	margin-left:4px;
	width:99%;
	border-collapse: collapse;
	border:1px #AB9775 solid;
	text-align: left;
}
#table-3 th
{
	font-size: 12px; font-weight:bold;
	color:#383838;
	padding: 7px 7px;
	background:#F4EBDB;
	border-bottom: 2px solid #AB9775;
}
#table-3 td
{
	border-bottom: 1px solid #AB9775;
	color:#666666;
	background:#FFFFFF;
	padding: 5px 7px;
}
#table-3 tbody tr:hover td
{
	color:#D26900;
	background-color:#F8F8F8;
}
#table-4
{
	font-size: 12px;
	background: #fff;
	margin-left:4px;
	width:99%;
	border-collapse: collapse;
	text-align: left;
}
#table-4 th
{
	font-size: 12px; font-weight:bold;
	color:#383838;
	padding: 10px 8px;
	border-bottom: 2px solid #6678b1;
}
#table-4 td
{
	border-bottom: 1px solid #ccc;
	color:#7C7C7C;
	padding: 8px 9px;
}
 /*-----จัดการตาราง------*/