body, table, tr, th, td, input, select, option, textarea, button {
	font-family: Verdana, Arial, Tahoma, "Arial Unicode MS", "Bitstream Vera Sans", "Lucida Grande", Helvetica, sans-serif;
}
body {
	color: #000000;
	font-size: 80%;
}
table, tr, th, td, input, button, select, option, textarea {
	color: #000000;
	font-size: 100%;
}

/* Forms */
form {
	margin: 0;
	padding: 0;
}
input, select, option, textarea {
	border: 1px solid #667;
}
input.check {
	border-width: 0;
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
	font-weight: normal;
}

/* Paragraphs or lists */
p {
	margin: 0;
	padding: 0 0 4px;
}


/*แก้ถึงตรงนี้อะะะะะะะะะะะะะะะะะะะ*/


/* Navigation links - for the link tree. ลิ้งค์ส่วนของแสดงหัวข้อกระทู้ */
.nav
{
	color: #000000;
	text-decoration: none;
}
.nav:link, .nav:visited
{
	color: #04a;
	text-decoration: none;
}
a.nav:hover
{
	color: #0085CB;
	text-decoration: none;
}

/* Main Body */
body {
	background: #FFD4BF url(images/background.gif) top right repeat-x;
	margin: 0;
	padding: 12px 30px 4px 30px;
	color: #000;
}

/* Header */
h1 {
	font: bold 300% Arial, Tahoma, "Arial Unicode MS", "Bitstream Vera Sans", "Lucida Grande", Helvetica, sans-serif;
	margin: 0;
	padding: 0 0 4px;
	color: #DF4D0D;
}
h1 a, h1 a:link, h1 a:visited {
	color: #DF4D0D;
	text-decoration: none;
}
h1 a:hover
{
	color: #DF4D0D;
	text-decoration: none;
}
h1 {
	font-size: 200%;
}


.grayed {
	color: #778;
	text-decoration: none;
}

/* Images in links */
a img
{
	border: 0;
}
/* Links */
a, a:link {
	color: #04a;
	text-decoration: none;
}
a:visited {
	color: #039;
	text-decoration: none;
}
a:hover {
	color: #0085CB;
	text-decoration: none;
}


/* เหมือนกันทั้งหมด        *

/* Horizontal rules */
hr, .hrcolor {
	height: 1px;
	border: 0;
	color: #778;
	background-color: #778;
}

/* Quotes */
.quote
{
	color: #000;
    background: #fff url(quote.png) top left no-repeat;
	border: 1px solid #E794EA;
	margin: 1px;
	padding: 3px;
	font-size: 90%;
	line-height: 1.4em;
}

/* Code */
.code
{
	background: #fff url(codeb.png) top left no-repeat;
	font: 13px "Consolas", "courier new", monospace;
	border: 1px solid #090;
	margin: 1px auto 1px auto;
	padding: 3px;
	width: 99%;
	white-space: nowrap;
	overflow: auto;
	max-height: 24em;
	line-height: 16px;
}
.code pre {
	font: 13px "Consolas", "courier new", monospace;
}

/* Quote: Code: */
.quoteheader, .codeheader {
	font-weight: bold;
	font-size: 90%;
	text-align: right;
}

/* Help */
.help
{
	cursor: help;
}

/* Me Actions */
.meaction
{
	color: red;
}

/* The post box */
.editor
{
	width: 96%;
}

/* Highlighted text */
.highlight {
	background-color: #f66;
	font-weight: bold;
	color: black;
}

/* Backgrounds */
.windowbg {
	color: #000;
	background: #E9F0FA;
}
.windowbg2 {
	color: #000;
	background: #F1F5FB;
}
.windowbg3 {
	color: #000;
	background: #DFE6EC;
}

/* Today */
.calendar_today {
	background: #fff;
}


/* Titles */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
	color: #000;
	font-style: normal;
	background: url(images/title.gif) #DAEBC0 repeat-x;
	border-bottom: solid 2px #8DC63F;
	border-top: solid 2px #C4DF9B;
	padding: 3px 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
	font-weight: bold;
	color: black;
	font-style: normal;
}

.titlebg a:hover
{
	color: #310;
}
.titlebg2 a:link, .titlebg2 a:visited
{
	color: black;
	font-style: normal;
	text-decoration: none;
}

.titlebg2 a:hover
{
	text-decoration: none;
}

/* Categories */
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
	background: #C8E890 url(images/category.gif) top left repeat-x;
	color: #790000;
	padding-left: 10px;
	padding-right: 10px;
	border-bottom: solid 1px #406400;
}
.catbg2 , tr.catbg2 td
{
	background: url(images/category.gif) #C8E890 repeat-x;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px;
	border-bottom: solid 1px #406400;
}
.catbg, .catbg2
{
	font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited, .catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited {
	color: #790000;
	text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover {
	color: #EDLC24;
}

/* Nice borders */
.bordercolor
{
	background-color: #9ab;
	padding: 0px;
}
.tborder {
	padding: 1px;
	border: 1px solid #777;
	background: #FFFFFF;
}

/* Font sizes */

.smalltext  { font-size: 85%;  }
.middletext { font-size: 92%;  }
.normaltext { font-size: 100%; }
.largetext  { font-size: 120%; }

/* Posts, messages, and siggies */

.post, .personalmessage, .signature {
	width: 100%;
	overflow: auto;
	line-height: 1.27em;
}
.signature {
	padding-bottom: 3px;
}

/* Errors */
.error
{
	color: red;
}


/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
	color: white;
	text-transform: uppercase;
	vertical-align: top;
}

.maintab_back, .maintab_active_back
{
	color: white;
	text-decoration: none;
	font-size:  11px;
	vertical-align: top;
	padding: 2px 6px 6px 6px;
	font-family: tahoma, sans-serif;
}

.maintab_first
{
	background: url(images/maintab_first.gif) left bottom no-repeat;
	width: 10px;
}

.maintab_back
{
	background: url(images/maintab_back.gif) left bottom repeat-x;
}
.maintab_last
{
	background: url(images/maintab_last.gif) left bottom no-repeat;
	width: 8px;
}
.maintab_active_first
{
	background: url(images/maintab_active_first.gif) left bottom no-repeat;
	width: 6px;
}
.maintab_active_back
{
	background: url(images/maintab_active_back.gif) left bottom repeat-x;
}
.maintab_active_last
{
	background: url(images/maintab_active_last.gif) left bottom no-repeat;
	width: 8px;
}

/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{
	color: white;
	text-decoration: none;
}

.maintab_back a:hover, .maintab_active_back a:hover
{
	color: #e0e0ff;
	text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
	color: white;
	text-transform: uppercase;
	vertical-align: top;
}
.mirrortab_back, .mirrortab_active_back
{
	color: white;
	text-decoration: none;
	font-size: 11px;
	vertical-align: bottom;
	padding: 6px 6px 2px 6px;
	font-family: tahoma, sans-serif;
}

.mirrortab_first
{
	background: url(images/mirrortab_first.gif) no-repeat;
	width: 10px;
}
.mirrortab_back
{
	background: url(images/mirrortab_back.gif) repeat-x;
}
.mirrortab_last
{
	background: url(images/mirrortab_last.gif) no-repeat;
	width: 6px;
}
.mirrortab_active_first
{
	background: url(images/mirrortab_active_first.gif) no-repeat;
	width: 6px;
}
.mirrortab_active_back
{
	background: url(images/mirrortab_active_back.gif) repeat-x;
}
.mirrortab_active_last
{
	background: url(images/mirrortab_active_last.gif) no-repeat;
	width: 8px;
}

/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
	color: white;
	text-decoration: none;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
	color: #e0e0ff;
	text-decoration: none;
}

/* The AJAX notifier */
#ajax_in_progress {
	color: #000;
	text-align: center;
	font-weight: bold;
	font-size: 200%;
	padding: 8px 0;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
}