
/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

body {
	margin-top: 20px;
	padding: 0;
	background: #FFFFFF url(images/img01.jpg) repeat-x left top;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font: 14pt "Browallia New";
	color: #837669;
}

h1, h2, h3 {
	margin: 0;
	font: 14pt "Browallia New";
	//font-family: Georgia, "Times New Roman", Times, serif;
	//font-weight: normal;
	color: #649632;
}

h1 { font-size: 44px; }

h2 { 
font-size: 20px;
}

 h4 { 	font: 1.5em "Browallia New";  }

h3 { }

/*p, ul, ol {
	margin-top: 0;
	line-height: 150%;
	text-align: justify;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px;
}*/
p {
	margin: 0;
	padding: 0;
	line-height: 130%;
	
}

p.indent {
	text-indent:15px;
	text-align:justify;
	
}
ul, ol { }
blockquote { }
a { color: #000000; }
a:hover { text-decoration: none; }
a img {
	border: none;
}

a { 
	color: #000000;
	background-color: inherit;
	text-decoration: none;
}

a:hover {
	color: #BF3E17;
	background-color: inherit;
}


img.left {
	float: left;
	margin: 7px 30px 0 0;
}

img.right {
	float: right;
	margin:7px 0 0 30px;
}

hr { display: none; }

.list1 {
}

.list1 li {
	float: left;
	line-height: normal;
}

.list1 li img {
	margin: 0 30px 30px 0;
}

.list1 li.alt img {
	margin-right: 0;
}

#wrapper {
}

/* Header */

#header-wrapper {
	width: 880px;
	margin: 0 auto;
}

#header1 {
	width: 900px;
	height:90px;
	margin:0 auto;
}

/* Menu */

#menu {
	float: left;
	width: 620px;  /*เดิม 540*/
	height: 51px;		  /*เดิม 51*/

}

#menu ul {
	margin: 0;
	padding: 10px 0 0 20px; /*เดิม20px 0 0 20 px;*/
	list-style: none;
	line-height: normal;
}

#menu li {
	display: block;
	float: left;
}

#menu a {
	display: block;
	float: left;
	margin-right: 5px;
	padding: 5px 12px 5px 28px;
	background: url(images/img06.gif) no-repeat left 50%;
	text-decoration: none;
	font: 14pt "Browallia New";
	//font: 16px "Times New Roman";
	color: #FFFFFF;
}

#menu a:hover { text-decoration: underline; }

#menu .current_page_item a {
	color: #FFFFFF;
}

/* Search */

#search {
	float: right;
	width: 250px;
	height: 76px;
}

#search form {
	float: right;
	margin: 0;
	padding: 0px 20px 0 0;
}

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

#search input {
	float: left;
	/*font: 18px Georgia, "Times New Roman", Times, serif;*/
	border: none;
}

#search-text {
	width: 135px;
	height: 18px;
	padding: 3px 0 0 5px;
	background: #ECF9E4;
	color: #658453;
}

#search-submit {
	height: 21px;
	margin-left: 12px;
	color: #39561D;
}

/* Page */

#page1 {  
	width: 900px;
	margin: 0 auto;
	padding: 15px 0px 0px 0px; /*ช่องว่าง linkmaun1*/
}
#page {  
	width: 900px;
	margin: 0 auto;
	padding: 0px 0px 0px 0px; /*ช่องว่าง linkmaun1*/
}

/** LOGO */

/*#logo {
	width: 900px;
	height: 100px;
	margin: 0 auto;
	background: url(images/img03.jpg) no-repeat left top;
}
#logo1 {
	width: 900px;
	height: 180px;
	margin: 0 auto;
	background: url(images/header.jpg) no-repeat left top;
}*/


/*#logo h1, #logo p {
	margin: 0;
	padding: 0 0 0 170px;
	line-height: normal;
}

#logo h1 { 	float: left;
padding-top: 70px; }


#logo h1 a {
	text-decoration: none;
	text-transform: lowercase;
	color: #FFFFFF;
}

#logo h1 a:hover { text-decoration: underline; }

#logo p {
	padding: 130px 0 0 170px;
	font: italic 13px Georgia, "Times New Roman", Times, serif;
	color: #FFFFFF;
}
#logo1 p {
	padding: 130px 0 0 170px;
	font: italic 13px Georgia, "Times New Roman", Times, serif;
	color: #FFFFFF;
}

#logo p a {
	text-decoration: none;
	color: #FFFFFF;
}

#logo p a:hover { text-decoration: underline; }*/

/* Content */

#content {
	float: right;
	width: 640px;


}
.content1 {
	position: absolute;
	width: 306px;
	left: 265px;
	background-color: #f4dcc5;
	padding: 5px 0px 5px 3px;
	height: 435px;
	border-top: 6px solid #ffffff;

}
.content2 {
	position: relative;
	width: 315px;
	float: right;
	/*background-color: #f2c799;*/
	padding: 5px 0px 5px 0px;
	height:290px;
	border-top: 2px solid #ffffff;
}
/* Post */

.post {
	margin-bottom: 25px;
}

.post .title {
	height: 30px;
	margin-bottom: 3px;
	padding: 8px 0px 2px 40px;
	background: url(images/img05.jpg) no-repeat left top;
	color: #FFFFFF;
	font: 16pt "Browallia New";
}

.post .date {
	float: right;
	margin-top: -45px;
	padding-right: 20px;
	font: 14pt "Browallia New";
	//font-family: Georgia, "Times New Roman", Times, serif;
	//font-weight: normal;
	//font-size: 18px;
	color: #F1B566;
}

.post .meta {
	margin: -30px  0 3px 25px;
	padding: 2px 30px 2px 0px;
	font: 14pt "Browallia New";
	//font-family: Arial, Helvetica, sans-serif;
	//font-weight: normal;
	//font-size: 10px;
	color: #B6ACA2;
}

.post .meta a { color: #B6ACA2; }

.post .entry {
	padding: 10px 2px 0px 0px; /*ช่องว่างเนื้อหา*/
}
.post .bg{
		background: #f6e6cc;
}

.post .links {
	margin: 0 250px 0 0;
	padding: 0 0 0 0px;
}

.post .links .comments {
}

.post .links .permalink {
	padding-left: 17px;
}

/* Sidebar */

#sidebar {
	float: left;
	width: 250px;  /*280*/
}
#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

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

#sidebar li ul {
	line-height: 50%; /*เมนู2*/
}

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

#sidebar p {
	margin: 0;
	padding: 0 20px;
}

#sidebar h2 {
	height: 33px;
	margin: 0 0 2px 0px; /*2ช่องว่างระหว่างไอคอน link */
	padding: 10px 0 3px 40px;
	background: url(images/img04.jpg) no-repeat left top;
	font-size: 20px;
	color: #FFFFFF;
}


#sidebar p {
	line-height: 200%;
}

/* Calendar */

#calendar {
}

#calendar caption {
	padding-bottom: 5px;
	font-weight: bold;
}

#calendar table {
	width: 100%;
	border-collapse: collapse;
	border-right: 1px solid #F5F2EF;
}

#calendar thead th {
	padding: 5px 0;
	text-align: center;
	border-top: 1px solid #F5F2EF;
	border-left: 1px solid #F5F2EF;
	background: #F5F2EF;
}

#calendar tbody td {
	padding: 5px 0;
	text-align: center;
	border-top: 1px solid #F5F2EF;
	border-left: 1px solid #F5F2EF;
}

#calendar tfoot td {
	padding: 5px;
}

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

#calendar #today {
	background: #E7F1E1;
}

/* Footer */

#footer {
	position: relative;

	width: 900px;
	margin: 0 auto;
	padding: 0;
	background: url(images/img07.jpg) no-repeat left top;
	height: 61px;

}

#footer p {
	margin: 0;
	padding: 15px 0;
	text-align: center;
	line-height: normal;
	color: #FFFFFF;
}

#footer a {
	color: #F1B566;
}


}

#left {
	width: 220px;
}

#leftmenu a {
	display: block;
	background: url(images/bg_iconleftmenu.jpg);
	color: #000000;
    padding: 5px 0 5px 19px;
	margin: 0px 0px1px 0px;
	text-decoration: none;
}

#leftmenu a:hover {
color: #ffffff;
background: url(images/bg_iconleftmenu_hover.jpg);

}

#leftmenu2 a {
	display: block;
	background: url(images/bg_iconmenu.jpg) no-repeat top left;	*/
	color: #853a59;
    padding: 5px 0 5px 19px;
	margin: 0 0 1px 0px;
	text-decoration: none;
}

#leftmenu2 a:hover {
	color: #BF3E17;
	background: url(images/bg_iconmenu.jpg) no-repeat top left;	*/
}

#menu_olds_news  ul a {
	float: left;
	display: block;
	text-decoration: none;
}


#menu_olds_news li {
	float: left;
	list-style: none;
	background: url(images/bgicon1.jpg) no-repeat center left;
}
#menu_olds_news a:hover {
	color: #ffffff;
	background: url(images/bgicon3.jpg) no-repeat center left;
}

/*styleofficernew*/
#featured{ 
	width:250px; 
	padding-right:300px; 
	position:relative; 
	border:5px solid #ccc; 
	/*กำหนดความสูงของกรอบ */
	height:700px; 
	background:#fff;
}
#featured ul.ui-tabs-nav{ 
	position:absolute; 
	top:0; left:250px; 
	list-style:none; 
	padding:0; margin:0; 
	width:300px; 
}
#featured ul.ui-tabs-nav li{ 
	padding:1px 0; padding-left:13px;  
	font-size:12px; 
	color:#666; 
}
#featured ul.ui-tabs-nav li img{ 
	float:left; margin:2px 5px; 
	background:#fff; 
	padding:2px; 
	border:1px solid #eee;
}
#featured ul.ui-tabs-nav li span{ 
	font-size:11px; font-family:Verdana; 
	line-height:18px; 
}
#featured li.ui-tabs-nav-item a{ 
	display:block; 
	height:60px; 
	color:#333;  background:#fff; 
	line-height:20px;
}
#featured li.ui-tabs-nav-item a:hover{ 
	background:#f2f2f2; 
}
#featured li.ui-tabs-selected{ 
	background:url('images/selected-item.gif') top left no-repeat;  
}
#featured ul.ui-tabs-nav li.ui-tabs-selected a{ 
	background:#ccc; 
}
#featured .ui-tabs-panel{ 
	width:250px; height:350px; 
	background:#999; position:relative;
}
#featured .ui-tabs-panel .info{ 
	position:absolute; 
	top:280px; left:0; 
	height:70px; 
	background: url('images/transparent-bg.png'); 
}
#featured .info h2{ 
	font-size:18px; font-family:Georgia, serif; 
	color:#fff; padding:5px; margin:0;
	overflow:hidden; 
}
#featured .info p{ 
	margin:0 5px; 
	font-family:Verdana; font-size:11px; 
	line-height:15px; color:#f0f0f0;
}
#featured .info a{ 
	text-decoration:none; 
	color:#fff; 
}
#featured .info a:hover{ 
	text-decoration:underline; 
}
#featured .ui-tabs-hide{ 
	display:none; 
}
/*styleofficernew*/

.container {
	width: 900px;
	margin: 0 auto;
	position: relative;
	}
#header {
	background: url(images/img03.jpg) no-repeat center;
	padding-top: 150px;
	border-bottom: 10px solid #ffffff; 
	margin:0 auto;
}
#header .disclaimer {
	color: #999;
	padding: 50px 0 7px 0;
	text-align: right;
	display: block;
	position: absolute;
	top: 0; right: 0;
	}
#header .disclaimer a {	color: #ccc;}
ul.topnav {
	list-style: none;
	padding: 5px 20px;	
	margin: 0;
	float: left;
	width: 860px;
	background: #222;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px;
/*	background: url(topnav_bg.gif) repeat-x;*/
	background: url(images/img02.jpg) repeat-x;
}
ul.topnav li {
	float: left;
	margin: 0;	
	padding-left:20px;
	padding: 0 15px 0 1px; /*ช่องว่างของเมนู*/
	position: relative; /*--Declare X and Y axis base--*/
}
ul.topnav li a{
	padding: 10px 5px;
	color: #fff;
	display: block;
	text-decoration: none;
	float: left;
	background: url(images/img06.gif) no-repeat left center;
}
ul.topnav li a:hover{
	background: url(images/img06.gif) no-repeat left center; /*top*/
}
/*ul.topnav li span {*/ /*--Drop down trigger styles--*/
/*	width: 17px;
	height: 35px;
	float: left;*/
	/*background: url(subnav_btn.gif) no-repeat center top;*/
/*}*/
ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
ul.topnav li ul.subnav {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; top: 35px;
	background: #333;
	margin: 0; padding: 0;
	display: none;
	float: left;
	width: 170px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border: 1px solid #d57210;
}
ul.topnav li ul.subnav li{
	margin: 0; padding: 0;
	border-top: 1px solid #d57210; /*--Create bevel effect--*/
	border-bottom: 1px solid #d57210; /*--Create bevel effect--*/
	clear: both;
	width: 170px;
}
html ul.topnav li ul.subnav li a {
	float: left;
	width: 145px;
	background: #e9831e url(images/dropdown_linkbg.gif) no-repeat 10px center;
	padding-left: 20px;

}
html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
	background: #8e4e10 url(images/dropdown_linkbg2.gif) no-repeat 10px center; 	
}



/*------------------POPUPS------------------------*/
#fade {
	display: none;
	background: #f1e3c9; 
	position: fixed; left: 0; top: 0; 
	z-index: 10;
	width: 100%; height: 100%;
	opacity: .80;
	z-index: 9999;
}
.popup_block{
	display: none;
	background: #fff;
	padding: 20px; 	
	border: 10px solid #f4bf64;
	float: left;
	font: 14pt "Browallia New";
	position: fixed;
	top: 50%; left: 50%;
	z-index: 99999;
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
img.btn_close {
	float: right; 
	margin: -15px -15px 0 0;
}
.popup p {
	padding: 5px 10px;
	margin: 5px 0;
}
/*--Making IE6 Understand Fixed Positioning--*/
*html #fade {
	position: absolute;
}
*html .popup_block {
	position: absolute;
}




