/* Top elements */
 { margin:0; padding: 0; } 

body {
	background-color: #3A3A3A;
 	color: #555; 
 	font: 70%/1.5  Verdana, 'Trebuchet MS', arial, sans-serif;
 	text-align: center; 
 	margin: 15px 0;
}  

TD {
	FONT-SIZE: 11px; MARGIN: 2px; COLOR: #666666; FONT-FAMILY: Tahoma, Arial, Helvetica, sans-serif
}


/* links */
a	{ 
	color: #228B22;
	/*#72A545; สีเขียวอ่อนเดิม*/
	background: inherit;
	text-decoration: none;
}
a:hover { 
	color: #006699;
	background: inherit; 	 
}
 
/* headers */
h1, h2, h3 {
	font-family: 'Trebuchet MS', Arial, sans-serif;
	font-weight: bold;
}
h1 {
	font-size: 1.5em;	
}
h2 {
	font-size: 1.3em;
	text-transform: uppercase;
	color: #339900;
}
h3 {
	font-size: 1.1em;
	text-transform: uppercase;
	color: #333;
	letter-spacing: 1px;
}

h1, h2, h3, p { 
	padding: 0;
	margin: 10px 15px; 
}

ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
	color: #72A545;	
}
ul span, ol span {
	color: #666666;
}

/* images */
img {
	border: 0px solid #CCC;
}
img.float-right {
  margin: 5px 0px 10px 10px;  
}
img.float-left {
  margin: 5px 10px 10px 0px;
}

.dotline {
	BACKGROUND: url(images/dotline.gif) #ffffff repeat-x left top
}

.tablecomment {
	border: 1px solid #9fc4f5;
}
.tabletopic {
	border: 1px dotted #9fc4f5;
}

.topicicon {
	margin: 5px;
	border: 1px solid #D3D3D3;
}

codekung {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  	background: #FAFAFA url(images/nrrcode.gif) no-repeat 250px 0px !important; 
	background-position: 8px 10px;
/*  background: #FAFAFA; */
  border: 1px solid #EAEAEA;  
  border-left: 5px solid #72A545;
}

acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
 blockquote {
	margin: 15px;
 	padding: 0 0 0 32px;  	
  	background: #FAFAFA url(images/nrrcode.gif) no-repeat 250px 0px !important; 
	background-position: 8px 10px;
	border: 1px solid #EAEAEA; 
	border-left: 5px solid #72A545;  
}

/* form elements */
form {
	margin:0px 0px; padding: 0;
	border: 1px solid #FFFFFF; 
/*	background-color: #FAFAFA;  */
}
label {
/*	display:block; */
	font-weight:bold;
	margin:5px 0;
}
input {
	padding:3px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:500px;
	padding:4px;
	font: 11px normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:150px;
	display:block;
	color:#777;
}

.textarea2 {
	width:220px;
	padding:4px;
	font: 11px normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:130px;
	display:block;
	color:#777;
}
.textarea3 {
	width:300px;
	padding:4px;
	font: 11px normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:130px;
	display:block;
	color:#777;
}
.textarea4 {
	width:350px;
	padding:4px;
	font: 11px normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:130px;
	display:block;
	color:#777;
}
.textarea5 {
	width:400px;
	padding:4px;
	font: 11px normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}

.form2 {
	margin:1px 1px; padding: 0;
	border: 0px ; 
/*	background-color: #FAFAFA;  */
}

input.button { 
	margin: 0; 
	font: bolder 12px Arial, Sans-serif; 
	border: 1px solid #EAEAEA;
	padding: 2px 3px; 
	background: #CCC url(images/buttonbg.gif) repeat-x left bottom; 
	color: #333;/* color: #339900; */
}

input.bluebtn { background: #488EB2 ; border:0px ; padding: 1px 1px 1px 1px; color: #fff; text-decoration: none; }
input.greenbtn { background: #9EC068 ; border:0px; padding: 1px 1px 1px 1px; color: #fff; text-decoration: none; }


/* search */
#sidebar #search {
	background: #f2f2f2;
	margin: 0 15px;
	padding: 5px 0;	
}
#sidebar #search img {
	vertical-align: bottom;
}
#sidebar #search .textbox {
	background: #FFF url(images/input.png) no-repeat top left; 
	border: 1px solid #EAEAEA;
	font-size: 11px;
	padding: 3px;	
	width: 110px;
}
#sidebar #search input.searchbutton { 
	margin: 0; 
	font: bold 100% Arial, Sans-serif;
	border: 1px solid #CCC; 
	background: #CCC url(images/buttonbg.gif) repeat-x left bottom; 
	padding: 1px; 
	height: 25px;
	color: #333;	
	width: 55px;
}

/*****************************
      LAYOUT 
******************************/
#wrap {
   margin: 0 auto ;
   padding:0;	
   text-align: left;
   background-color:#000000;
   width: 900px;  	
}
#content-wrap {
   clear:both;
   margin:0; padding:0;
   background-color:#FFFFFF;
   width: 900px;		
}

/* header */
#header {
	position: relative;
   clear:left;
   width: 900px;
	height: 135px; 
	margin: 0; padding: 0;
	background: #000 url(images/headerbg.jpg) no-repeat left bottom;			
}
#header h1#logo-text {
	position: absolute;
	margin: 0;
	padding: 0;
	font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #FFF;
	text-transform: none;
	top: 38px;
	right: 50px;
	left: 570px;
	height: 77px;
	width: 323px;
}
#header h2#slogan {
	position: absolute;
	margin: 0;
	padding: 0;
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	letter-spacing: 1px;
	color: #FFF;
	top: 32px;
	right: 0px;
	left: 750px;
	height: 25px;
	width: 323px;
}

/* menu tabs */
#header #header-tabs {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 25px;
	background: #000;
   font: bold 1.1em Verdana, Tahoma, 'Trebuchet MS',  Sans-serif;  
} 
#header-tabs ul {		
	margin:0;
   padding:2px 0px 0px 7px;
   list-style:none;
}
#header-tabs li {
	display:inline;
   margin:0;
   padding:0;
}
#header-tabs a {
	float:left;
   background: url(images/tableft.gif) no-repeat left top;
   margin:0;
   padding:0 0 0 4px;
   text-decoration:none;
}
#header-tabs a span {
	float:left;
   display:block;
   background: url(images/tabright.gif) no-repeat right top;
   padding:7px 15px 4px 8px;
   color: #CCC;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header-tabs a span {float:none;}
/* End IE5-Mac hack */
#header-tabs a:hover span {
	color:#FFF;
}
#header-tabs a:hover {
	background-position:0% -42px;
}
#header-tabs a:hover span { background-position: 100% -42px;}
#header-tabs #current a { background-position:0% -42px; }
#header-tabs #current a span { background-position:100% -42px; color: #FFF;}

/* main content */
#main {
    clear: both;
	float: center;
	width: 680px;
	margin: 0; padding: 0;
	background-color: inherit;
}
#main h1 {
	padding: 8px 0 3px 25px;
	text-transform: none;
	background: url(images/square_arrow.gif) no-repeat 0% .7em;
	border-bottom: 2px solid #f2f2f2;	
	color: #339900;	
}	

/* sidebar */
#sidebar {
	float: right;
	margin-left: 5em; 
	width: 210px;
	margin: 0px 0 3px 0; padding: 0;
	/* background-color: #ffffff; 
	 #D3D3D3;	*/
}
#sidebar h1 {
	padding: 8px 0px 3px 25px;
	background: url(images/square_arrow.gif) no-repeat 0% .7em;
	text-transform: none;	
	color: #339900;
}

#sidebar ul.sidemenu {
	list-style:none;
	margin:10px 15px;
	padding:0;		
}
#sidebar ul.sidemenu li {
	margin-bottom:1px;
	border: 1px solid #f2f2f2;
}
#sidebar ul.sidemenu a {
	display: block;
	font-weight: bold;
	color: #333;
	text-decoration:none;	
	padding: 2px 5px 2px 10px;
	background: #f2f2f2;
	border-left: 5px solid #CCC;	
	
	min-height: 18px;	
}

* html body #sidebar ul.sidemenu a { height: 18px; }

#sidebar ul.sidemenu a:hover {
	padding:2px 5px 2px 10px;
	background: #f2f2f2;
	color: #339900;
	border-left:5px solid #72A545;
}

/* footer */
#footer { 
	clear: both;
	height: 120px;
	color: #CCC;
	background: #000;
	margin: 0;	
	font-size: 92%;			
}
#footer a { 
	text-decoration: none; 
	font-weight: bold;	
	color: #FFF; 
}
#footer #footer-left {
	width: 85%;
	float: left;
	text-align: left;
	margin: 0; padding: 10px;
}
#footer #footer-right {
	width: 10%;
	float: right;
	text-align: right;
	margin: 0; padding: 10px;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* additional classes */
.clear {	clear:both;	} 
.hide  { display: none; }
.gray  { color: #CCC; }

/* เริ่มโค้ดของ maxsite เดิม */
#table { 
	font: 5px  Verdana, 'Trebuchet MS', arial, sans-serif; */
    font-weight: bolder; 
    color: #FFFFFF; 
}

.comments { 
	color: #333; 
	background: #FFF;
	text-align: right; 
	border-top: 1px dashed #EFF0F1;
	border-bottom: 1px dashed #EFF0F1; 
	padding: 5px 0;
	margin-top: 20px;
}
.calendarHeader {
 	font: 11  Verdana, 'Trebuchet MS', arial, sans-serif;
    font-weight: bolder; 
    color: #FFFFFF; 
    background-color: #228B22; 
}

.calendarToday { 
    background-color: #98FB98;
 	font: 11  Verdana, 'Trebuchet MS', arial, sans-serif;
	font-weight: bold;
}

.calendar { 
    width:190px;
    background-color: #F3F3F3;
 	font: 11 Verdana, 'Trebuchet MS', arial, sans-serif;

}

.highslide-html {
    background-color: white;
}
.highslide-html-content {
	position: absolute;
    display: none;
}
.highslide-loading {
    display: block;
	color: black;
	font-size: 8pt;
	font-family: sans-serif;
	font-weight: bold;
    text-decoration: none;
	padding: 2px;
	border: 1px solid black;
    background-color: white;    
    padding-left: 22px;
    background-image: url(highslide/graphics/loader.white.gif);
    background-repeat: no-repeat;
    background-position: 3px 1px;
}
.control {
	float: right;
    display: block;
    /*position: relative;*/
	margin: 0 5px;
	font-size: 12pt;
    font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
	color: #999;
}
.control:hover {
	color: black !important;
}
.highslide-move {
    cursor: move;
}
.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}


#dhtmltooltip{
	position: absolute;
	width: 150px;
	border: 1px dotted black;
	padding: 2px;
	background-color: #FFFFFF;
	visibility: hidden;
	z-index: 100;
	filter: Alpha(Opacity=90);
	font-weight: bold;
	color: #228B22;
	font-family: MS Sans Serif;
	font-size: 12px;
:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}
.transp {
	filter: Alpha(Opacity=100);
}


#DHTMLgoodies_formTooltipDiv{
	color:#FFF;
	font-family:tahoma;
	font-weight:bold;
	font-size:11px;
	line-height:120%;
}
.DHTMLgoodies_formTooltip_closeMessage{
	color:#FFFFFF;
	font-weight:normal;
	font-size:10px;
}


/* the div that holds the date picker calendar */
.dpDiv {
	}


/* the table (within the div) that holds the date picker calendar */
.dpTable {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: center;
	color: #505050;
	background-color: #ece9d8;
	border: 1px solid #AAAAAA;
	}


/* a table row that holds date numbers (either blank or 1-31) */
.dpTR {
	}


/* the top table row that holds the month, year, and forward/backward buttons */
.dpTitleTR {
	}


/* the second table row, that holds the names of days of the week (Mo, Tu, We, etc.) */
.dpDayTR {
	}


/* the bottom table row, that has the "This Month" and "Close" buttons */
.dpTodayButtonTR {
	}


/* a table cell that holds a date number (either blank or 1-31) */
.dpTD {
	border: 1px solid #ece9d8;
	}


/* a table cell that holds a highlighted day (usually either today's date or the current date field value) */
.dpDayHighlightTD {
	background-color: #CCCCCC;
	border: 1px solid #AAAAAA;
	}


/* the date number table cell that the mouse pointer is currently over (you can use contrasting colors to make it apparent which cell is being hovered over) */
.dpTDHover {
	background-color: #aca998;
	border: 1px solid #888888;
	cursor: pointer;
	color: red;
	}


/* the table cell that holds the name of the month and the year */
.dpTitleTD {
	}


/* a table cell that holds one of the forward/backward buttons */
.dpButtonTD {
	}


/* the table cell that holds the "This Month" or "Close" button at the bottom */
.dpTodayButtonTD {
	}


/* a table cell that holds the names of days of the week (Mo, Tu, We, etc.) */
.dpDayTD {
	background-color: #CCCCCC;
	border: 1px solid #AAAAAA;
	color: white;
	}


/* additional style information for the text that indicates the month and year */
.dpTitleText {
	font-size: 12px;
	color: gray;
	font-weight: bold;
	}


/* additional style information for the cell that holds a highlighted day (usually either today's date or the current date field value) */ 
.dpDayHighlight {
	color: 4060ff;
	font-weight: bold;
	}


/* the forward/backward buttons at the top */
.dpButton {
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: gray;
	background: #d8e8ff;
	font-weight: bold;
	padding: 0px;
	}


/* the "This Month" and "Close" buttons at the bottom */
.dpTodayButton {
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: gray;
	background: #d8e8ff;
	font-weight: bold;
	}