@charset "utf-8";
/* CSS Document */
@font-face {
    font-family: 'THSarabunPSKRegular';
    src: url('../fonts/thsarabun-webfont.eot?') format('eot'),
         url('../fonts/thsarabun-webfont.woff') format('woff'),
         url('../fonts/thsarabun-webfont.ttf') format('truetype'),
         url('../fonts/thsarabun-webfont.svg#webfontf1ETUZ6v') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'THSarabunPSKBold';
    src: url('../fonts/thsarabun_bold-webfont.eot?') format('eot'),
         url('../fonts/thsarabun_bold-webfont.woff') format('woff'),
         url('../fonts/thsarabun_bold-webfont.ttf') format('truetype'),
         url('../fonts/thsarabun_bold-webfont.svg#webfont3Us2m4l3') format('svg');
    font-weight: normal;
    font-style: normal;

}
* {
	margin: 0px;
	padding: 0px;
}
body {
	background-color: #000;
}
img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
h3  {
	color: #5BBDEC;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bolder;
	font-size: 18pt;
	letter-spacing: -2pt;
	padding: 3px;
	margin: 0px;
}
#container {
	font-family: Tahoma, Verdana;
	background-image: url(../images/header.jpg);
	background-repeat: no-repeat;
	background-position: center -50px;
	display: block;
	height: auto;
	width: 100%;
	padding: 0px;
	color: #666;
}
#header {
	text-align: left;
	width: 999px;
	display: block;
	margin: auto;
	vertical-align: middle;
	padding: 4px 5px 5px;
	clear: right;
}
#header h1,#header h2 {
	display: none;
}
#header #topbanner {
	float: right;
	padding-right: 15px;
	padding-top: 15px;
}
#header #weblogo {
	float: left;
	padding-left: 10px;
}
#myMenu {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #09669a;
	margin: auto;
	width: 100%;
	height: 48px;
	clear: right;
	padding-top: 12px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

#myMenu ul {
	margin:0;
	padding:0;
	display: block;
	float: right;
}

#myMenu li {
	text-align:center;
	list-style-type: none;
	float: left;
}
#myMenu li a {
	display:block;
	height:20px;
	color:#333333;
	text-decoration:none;
	background-image: url(../images/bg-menu.png);
	background-repeat: repeat;
	background-position: 0 0;
	font-family: Tahoma, Verdana;
	font-size: 12pt;
	font-weight: bold;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #000;
	padding:10px 10px 0px 10px;
	height: 27px;
}
#myMenu li a:hover {
	color:#FFF;
	text-decoration:none;
}

#main {
	width: 999px;
	display: block;
	min-height:500px;
	background-color: #FFF;
	padding-right: 5px;
	padding-left: 5px;
	padding-top: 5px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
}
#main #content{
	display: block;
	width: 780px;
	border-right-width: 1px;
	border-right-style: dashed;
	border-right-color: #999;
	text-align: left;
	text-indent: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	float: left;
	font-size: 11pt;
	padding-right: 0px;
	padding-left: 0px;
}
#main #content .newpost {
	width: 740px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
}
#main #content a, #main #content a:visited {
	color: #06C;
	text-decoration: none;
}
#main #content a:hover {
	color: #09C;
	text-decoration: underline;
}
#main #content .newpost a, #main #content .newpost a:visited{
	text-decoration: none;
}
#main #content .tophead h2 {
	background-image: url(../images/content-header-bg.png);
	background-repeat: no-repeat;
	background-position: left top;
	text-shadow: 0px 1px 1px #030, 1px 1px 5px #999;
	font: 1cm/0.9cm THSarabunPSKBold;
	text-decoration: none;
	color: #FFF;
	letter-spacing: 1px;
	padding-top: 10px;
	margin-top: 15px;
	margin-bottom: 0px;
}
#main #content  .tophead  h2 a{
	color:#FFF;
	text-decoration: none;
}

#main #content .subhead {
	background-image: url(../images/content-header-bg.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 30px;
	width: 740px;
}
#main #content  .tophead  a:hover {
	text-shadow:#999999 1px 1px 1px;	
}

#main #content .post-content {
	padding-top: 10px;
}

#main #rightmenu {
	float: right;
	width: 207px;
	text-align: left;
}
#main img {
	position: relative;
}
#rightmenu h2{
	font-size: 14px;
	color: #FFF;
	margin: 0px;
	text-transform: uppercase;
	font-weight: bold;
	background-color: #163F6C;
	border: 1px solid #036;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	background-image: url(../images/right-topic.png);
	background-position: left top;
	background-repeat: no-repeat;
	padding-top: 8px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 8px;
	display: block;
	clear: both;
}
#rightmenu ul  {
	padding-left: 0px;
	font-size: 10pt;
}
#rightmenu ul li {
	line-height: 19px;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #CCC;
	vertical-align: middle;
	padding-top: 4px;
	padding-bottom: 4px;
	margin: 0px;
	list-style-type: none;
}
#rightmenu ul li:hover {
	line-height: 19px;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #CCC;
	vertical-align: middle;
	padding-top: 4px;
	padding-bottom: 4px;
}
#rightmenu a, #rightmenu a:visited {
	font-size: 10pt;
	text-decoration: none;
	color: #818181;
	width: 194px;
	display: list-item;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
#rightmenu a:hover {
	color: #000;
	text-decoration: none;
}

.fr  a,.fr a:visited {
	font-family: Georgia, Tahoma;
	font-size: 9pt;
	text-decoration: none;
	color: #666666;
	font-style: normal;
	font-weight: normal;
}
.fr a:hover {
	color: #0099CC;
	text-decoration: underline;
}
.fr {
	font-size: 8pt;
	text-decoration: none;
	color: #666666;
	display: block;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
.resent {
	font-size: 8pt;
	text-decoration: none;
	color: #666666;
	background-image: url(../images/bg_box_content_big.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	clear: both;
	border: 1px solid #CCC;
	display: block;
	margin-top: 10px;
}
.resent ul {
	margin-top: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: 20px;
}
.resent a ,.resent a:visited {
	font-size: 10pt;
	text-decoration: none;
	color: #333;
}
.resent a:hover {
	color: #C00;
	text-decoration: none;
}
.haft {
	display: inline-block;
	width: 33%;
	z-index: -10;
	float: left;
	height: auto;
	text-align: left;
	clear: right;
}
#menu ul li {
	list-style-image: url(../images/menu-bullet.png);
	line-height: 19px;
}
#board ul li {
	list-style-image: url(../images/board-bullet.png);
	line-height: 19px;
}
#post ul li {
	list-style-image: url(../images/post-bullet.png);
	line-height: 19px;
	font-size: 10pt;
}
.news {
	font-family: Tahoma, Verdana;
	font-size: 11px;
	margin-bottom: 10px;
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	margin-top: 0px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 8px;
	display: block;
}
.news .subBox {
	width: 50%;
	float: left;
	display: block;
	margin: 0px;
	padding: 0px;
}
.news p {
	margin-top: 2px;
	margin-bottom: 18px;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 10px;
	margin-right: 0px;
	margin-left: 0px;
}
.h2news {
	background:none;	
}
.h2news a,.h2news a:visited ,.h2news a:hover{
	margin: 0px;
	line-height: 9px;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-right: 0px;
	padding-left: 0px;
	font-family: Tahoma, Verdana;
	color: #039;
	text-decoration: underline;
	font-size: 11px;
}
.news .datetime {
	font-size: 8pt;
	color: #999;
	font-family: Tahoma, Verdana;
}

.news .op-page {
	font-size: 11pt;
	font-weight: bold;
	margin-bottom: 5px;
}
.news .op-page ul {
	list-style:none;
}
.news .op-page ul li {
	display:inline;
}
.news .op-page  a, .op-page  a:link ,op-page a:visited {
	padding: 0.2em 0.6em 0.2em 0.6em;
	margin: 2px;
	text-decoration: none;
	color: #FFFFFF;
	background-color: #5CA6E2;
	border: 1px solid #0066CC;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
}


.news .op-page a:hover {
	border: 1px solid #99CC00;
	color: #009900;
	background-color: #ECFFB0;	
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
}
.news .op-page .pages {
	padding: 0.2em 0.6em 0.2em 0.6em;
	margin: 2px;
	color: #000000;
}
.news .op-page .current {
	padding: 0.2em 0.6em 0.2em 0.6em;
	margin: 2px;
	font-weight: bold;
	border: 1px solid #53A402;
	color: #53A402;	
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
}
.news .readmore a {
	background-image: url(../images/readmore.png);
	background-position: left top;
	height: 30px;
	width: 100px;
	background-repeat: no-repeat;
	text-indent: -9999pt;
	display: block;
}
.news .readmore a:hover {
	background-image: url(../images/readmore.png);
	background-position: left bottom;
	background-repeat: no-repeat;
}
.clear {
	clear:both
}

#gallery {
	position:relative;
	height:280px
}
	#gallery a {
	float:left;
	position:absolute;
	}
	
	#gallery a img {
		border:none;
	}
	
	#gallery a.show {
		z-index:500
	}

	#gallery .caption {
	z-index:600;
	background-color:#000;
	color:#ffffff;
	height:100px;
	width:100%;
	position:absolute;
	bottom:0;
	left: 20px;
	}

	#gallery .caption .content {
		margin:5px
	}
#gallery .caption .content h3 {
	margin:0;
	padding:0;
	color:#1DCCEF;
	letter-spacing: 1px;
	}
	
