/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

* {
    font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif;
}

body {
    margin: 0 auto;
    padding: 0 30px 0 30px;
    background: #f7f5f5 url(../images/bg_body.jpg) top center no-repeat fixed;
    font-size: 11px;
    color: #000;
    height:100% !important;
	font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
/*  text-transform: lowercase;*/
    font-weight: normal;
    color: #2582A4;
}

h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #F4F4F4;
    font-size: 26px;
    color:#809B30;
    padding:0 0 5px 0; 
    margin:0;
}

h3 {
    margin-bottom: 12px;
    padding-bottom: 5px;
    font-size: 16px;
    border-bottom: 1px solid #F4F4F4;
}

h4 {
    font-size:15px;
    color: #EC5600;
    padding: 0 0 5px 0;
    margin-bottom: 2px;
    display: block;
}

p, ol, ul, li, blockquote {
    line-height: 20px;
    text-align: left;
    margin: 0 auto;
	font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif;
	font-size:11px;	
}

ul {
    margin-left: 10px;
    padding-left: 0;
    list-style: none;
}

ol {
    margin-left: 40px;
    padding-left: 0;
}

dl.explanation dt {
    font-weight: bold;
    font-size: 14px;
    margin: 0 0 5px 0;
}

dl.explanation dd {
    font-weight: normal;
    margin: 0 0 5px 20px;
}

dl.viewmem dt {
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #809B30;
}
dl.viewmem dd {
    font-weight: normal;
    font-size: 13px;
    margin: 0 0 5px 20px;
    padding: 5px;
}
dl.viewmem strong {
    font-weight: normal;
    font-size: 14px;
    color: #EC5600;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
	color: #666; 
	text-decoration: none;
}

img {
    border: none;
}

.dotline {
	float:left;
	width:100%;
	margin:0 auto;
	padding:2px 0 0 0;
	display:inline;
    background: url(../images/dotline.gif) repeat-x left top
}

/* Header */

#header {
    width: 917px;
    height: 398px;
    margin:0 auto;
	padding:0;
	background-color:#FFFFFF;
    background: url(../images/hm-sub-section-bkg.png) top center no-repeat;
	/*position: absolute;*/
}

/* Logo */

#header .logo {
    float: left;
	width: 300px;
	margin:40px 0 0 0;
    padding: 0 0 0 0;
	background-color:none !important;
	display:inline;
    /*background: url(../images/img1.gif) no-repeat;*/
}

#header .logo * {
    text-decoration: none;
}

#header .logo h1 {
    float: left;
	margin:0 auto;
    padding: 0 0 0 20px;
    font-size: 36px;
}

#header .logo h1 a {
    color: #000000;
}

#header .logo h1 span {
    font-weight: bold;
}

#header .logo h2 {
    float: left;
    padding: 0 0 0 25px;
    /*margin: 0 0 0 -250px;*/
    font-size: 12px;
    border: none;
}

 #header .logo h2 a {
    color: #3B3B3B;
}

/* Menu */

#header .menu {
	margin:0 0 0 30px;
    padding: 5px 15px 0 0;
    background-color:none !important;
	position:absolute;
	/*background: url(../images/img3.gif) no-repeat right top;*/
}

#header .menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#header .menu li {
    display: inline;
}

#header .menu a {
    padding: 0 15px 0 20px;
    border-left: 1px solid #DBDBDB;
    text-transform: lowercase;
    text-decoration: none;
    font-size: 13px;
    color: #3B3B3B;
}

#header .menu li a:hover {
    color:#286ea0; /* สีของตัวหนังสือ */
    border-bottom: 2px solid #286ea0;
    background: #f4f4f4;
}

#header .menu .first a {
    border: none;
}
/*top search*/
#header .search {
	float:right;
	width: 300px;
	height:80px;
	margin:20px 20px 0 0;
	padding:0;
	display:inline;
}
#header .search input {
	float:right;
	width:250px;
	margin:50px 0 0 0;
	padding:0;
	border:1px solid #ccc;
	padding: 2px 2px 2px 4px;
	color:#666;
	display:block;
	font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif;
	font-size:12px;
}
/* Splash */

#splash{
    width: 877px;
    height: 100%;
	padding:0px;
    margin:50px 0 0 0;
    /*background: url(../images/img15.gif) repeat-x left bottom;*/
    /*border-right: 20px solid #FFFFFF;
    border-left: 20px solid #FFFFFF;*/
}
#splash.hd {
    width: 877px;
    height: 240px;
	padding:0;
    margin:0 auto;
	background-color:#203c53;
    /*background: url(../images/head.jpg) no-repeat center top;*/
}

#splash .text {
    width: 877px;
    height: 100%;
    margin: 0 auto;
    background-color: none !important;
    /*background: url(../images/headder/headder.php) no-repeat left bottom;*/
    /*border-right: 0 solid #FFFFFF;
    border-left: 0 solid #FFFFFF;
    position: relative; */
    padding: 0 0 0 0;
}

/* Menu2 */
#frammenu {
    width: 877px;
    height: 38px;
    margin: 3px 0 0 20px;
	padding:0;
    background: #BECF74 url(../images/img01.gif) repeat-x;

}

.mainmenu {
    float: left;
    width: 600px;
    height: 38px;
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
    background: url(../images/img02.gif) no-repeat;
}

.mainmenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mainmenu li {
    display: inline;
}

.mainmenu a {
    display: block;
    float: left;
    height: 27px;
    padding: 10px 15px 0px 15px;
    text-transform: lowercase;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
}

.mainmenu li a:hover {
    background: #A4B74C url(../images/img04.gif) repeat-x;
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
    text-transform: none;
}

/* Search */

#menu_end {
    float: right;
    height: 28px;
    margin: 0;
    padding: 9px 25px 0 0;
    background: url(../images/img03.gif) no-repeat right top;
}

#input1 {
    width: 164px;
    padding: 2px 5px;
    background: #FFFFFF;
    border: none;
}

#submit1 {
    padding: 1px 1px;
    border-top: 1px solid #BAD300;
    border-left: 1px solid #A9C817;
    border-right: 1px solid #7DAB00;
    border-bottom: 1px solid #578900;
    background: #6E9D00 url(../images/img16.gif) repeat-x;
    font-size: 11px;
    font-weight: bold;
    color: #FFFFFF;
    cursor:pointer;
}

.field {
    font-family:Tahoma;
    font-size: 12px;
    line-height: 14px;
    border: 1px solid #578900;
    color: #5C5C5C;
    padding: 2px 2px 2px 2px;
    cursor:text;
}


/* Posted */

.posted {
    height: 25px;
    margin: 0 0 20px 0;
    padding: 5px 15px 0 15px;
    background: url(../images/img6.gif) repeat-x;
    border-bottom: 1px solid #F2F2F2;
}

.posted p {
    float: left;
    margin: 0;
}

.posted .comments {
    float: right;
}

.posted a {
    color: #EC5600;
}

.indent {
    margin-top: 0;
}

.tablecomment {
    border: 1px solid #339999;
}

.image {
    float: left;
    border: 1px solid #ccc;
    margin: 5px 8px 3px 3px;
    padding: 5px;
    /*background:url(../images/bgr.gif) repeat top;*/
}
.imgnews {
    float: left;
    border: 1px solid #ccc;
    margin: 0 auto;
    padding: 1px;
    /*background:url(../images/bgr.gif) repeat top;*/
}
.usericon {
    float: none;
    border: 1px solid #ccc;
    margin: 5px 8px 3px 3px;
    padding: 2px;
    /*background:url(../images/bgr.gif) repeat top;*/
}
.text {
    color : #666666;
    font-family : "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif;
    font-size : 12px;
    border-top : solid 1px #666666;
    border-left : solid 1px #666666;
    border-bottom : solid 1px #C7C7C7;
    border-right : solid 1px #C7C7C7;
    vertical-align: middle;
}
/* img Light box */
#whois {
    float: none;
    width: 95%;
    height: 100%;
    border: 1px solid #FFFFFF;
    padding:2px;
    margin-left:2px;
	margin-bottom: 4px;
}
div.imag
{
  margin: 2px;
  border: 1px solid #ADD300;
  height: auto;
  width: auto;
  float: left;
  text-align: center;
  padding:5px;
}

div.imag imag {
  display: inline;
  margin: 2px;
  border: 1px solid #ffffff;
}

div.imag a:hover imag {border: 1px solid #EC5600; }
div.desc {
  text-align: center;
  font-weight: normal;
  font-size: 9px;
  width: 100%;
  margin: 0 auto;
}

/* Content */
#content {
    width: 847px;
    margin: 0 auto;
    padding: 15px 35px 10px 35px;
    /*background: #FFFFFF url(../images/img8.gif) no-repeat left bottom;*/
	background-color: #FFFFFF;
}

#colOne {
    float: left;
    width: 620px;
    margin: 0 auto;
    padding:0;
    /*background: url(images/img17.gif)  repeat-y right;*/
}

/*---mainmenubar---*/
#RightBar {
  float: right;
  width: 200px;
  margin: 0 auto;
  /*border: 1px solid #000000;*/
  padding: 2px 3px 5px 3px;
}
#RightBar #colTwo {
    float: right;
    /*width: 200px;*/
    margin:0 auto;
    padding: 0px 0px 5px 1px;
    background:#E5E5E5;
}
#RightBar #colTwo .right {
    float: none;
    width: 185px;
    padding: 5px 0 0 5px;
}
#RightBar #colTwo .right ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#RightBar #colTwo .right  li {
    margin: 0 0 0 10px;
    padding-left: 20px;
    background: url(../images/icon/bullet.gif) no-repeat left 55%;
}
#RightBar #colTwo .right  h3 {
    padding-top: 2px;
    margin-bottom: 2px;
    background: url(../images/img05.gif) no-repeat  right ;
    border-bottom: 1px dotted #D1D1D1;
    font-size: 18px;
}
#RightBar #colTwo ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#RightBar #colTwo li {
    margin-bottom: 3px;
    padding: 0 15px;
    /*background: url(images/img06.jpg) no-repeat left 50%;*/
}

#RightBar #whois {
    float: none;
	width: 192px;
    height: 100%;
    border: 1px solid #FFFFFF;
    padding:2px;
    margin-left:2px;
	margin-bottom: 4px;
}

#RightBar #Ads {
    /*float: left;*/
    /*width: 200px;*/
    margin: 2px 0px 2px 2px;
}

#colTwo2 {
    float: right;
    width: 200px;
    margin:0 auto;
    padding: 0 3px 0 0;
}

/* กรอบ content */
#boxPan {
    float: none;
    width:100%; 
    height:100%; 
    position:relative; 
    margin:3px auto; 
    /*padding:0; */
    border:1px solid #DCDAC2; 
    background:#fff; color:#000;
    display:block;
}

/* frame login*/
#login_top {
    float:none;
    width:200px;
    height:45px;
    margin-left:1px; 
    position:relative; 
    display:block;
    background: url(../images/login_top.gif) no-repeat top;
    background-position: 0% 0%;
}
#login_middle {
    float:none;
    font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
    font-size:12px;
    line-height:14px;
    width:200px;
    height:100%;
    position:relative; 
    margin-left:1px;
    background: url(../images/login_bg.gif) repeat-y top;
    display:block;
}
#login_bottom {
    float:none;
    width:200px;
    height:12px;
    background: url(../images/login_bottom.gif) no-repeat top;
    background-position: 0% 0%;
    color: #4E4A48;
    margin-left: 1px; 
}

/* เส้นขั้น*/
#hordot {
    width:100%;
    height:100%;
    position:relative;
    margin:0 auto;
    padding:0;
    background: url(../images/img18.gif)  repeat-y center;
}
#hordot2 {
    width:100%;
    height:100%;
    position:relative;
    margin:0 auto;
    padding:0;
    background: url(../images/img19.gif)  repeat-y center;
}

#boxPan .panal{
    float: none;
    width:98%;
    height:100%;
    position:relative;
    margin:3px auto;
    padding:3px 3px 3px 3px;
    border-top:3px solid #FF9933;
    background: url(../images/gradient_bg.jpg) repeat-x top;
}

#boxPan .activity {
    float:none;
    width:95%;
    height:100%;
    position:relative; 
    margin:3px auto;
    border-top:3px solid #88A017;
    background: url(../images/gradient_bg.jpg) repeat-x top;
}

#img-event {
    background: url(../images/img-event) no-repeat top;
    height:188px;
    position:relative;
}

#img-event .bottom {
  position:absolute;
  text-align: center;
  width:98%;
  bottom:0; /* กำหนดให้ชิดด้านล่าง */
  padding: 0 3px 3px 5px;
  cursor:pointer;
}

/* counter
--------------------------------------------------------------------------------------- */

.counter_status {float: left; width: 100%; margin: 5px 0 5px 0; padding:0 ; }
.counter {float: left; width: 110px; margin: 0 5px 2px 0; padding: 2px; font-size: 1em; display: block;}
.coun {float: left; width: 60px; margin: 0 0 2px 0 ; padding: 2px; font-size: 1em; display: block; background-color:#F0F0F0;}
.count_link { float: left; width: 94%; margin: 5px 0 5px 0; padding:5px; display: block; }


/*Style sheet used for demo. Remove if desired*/
.handcursor{
cursor:pointer;
}

/* Calender */
.calendarHeader {
    font-weight: bolder;
   color: #FFFFFF;
    background-color: #CC0000;
}
.calendarToday {
    background-color: #618B04;
    font-weight: bold;
    color: #FFFFFF;
}
.calendar {
    width:190px;
/*    background-color: none;!important*/
}
.CalBg {
    background-image: url(../images/icon/pencil_icon.gif);
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.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: 9pt;
    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 solid black;
    padding: 2px;
    background-color: #FFFFFF;
    visibility: hidden;
    z-index: 100px;
    filter: Alpha(Opacity=80);
    font-weight: bold;
    color: #000000;
    font-family: MS Sans Serif;
    font-size: 10px;
: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 {
    font-family: Tahoma, Arial, sans-serif;
}


/* the table (within the div) that holds the date picker calendar */
.dpTable {
    font-family: Tahoma, Arial, 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 {
        font-family: Tahoma, Arial, sans-serif;
}


/* the top table row that holds the month, year, and forward/backward buttons */
.dpTitleTR {
    font-family: Tahoma, Arial, sans-serif;
    }


/* the second table row, that holds the names of days of the week (Mo, Tu, We, etc.) */
.dpDayTR {
    font-family: Tahoma, Arial, sans-serif;
    }


/* the bottom table row, that has the "This Month" and "Close" buttons */
.dpTodayButtonTR {
    background-color: #CCCCCC;
    border: 1px solid #AAAAAA;
    color: white;
}


/* 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 {
    color: #000;
}


/* a table cell that holds one of the forward/backward buttons */
.dpButtonTD {
    color: #aca998;
}


/* the table cell that holds the "This Month" or "Close" button at the bottom */
.dpTodayButtonTD {
    background-color: #CCCCCC;
    border: 1px solid #AAAAAA;
    color: white;
    }


/* 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, 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, sans-serif;
    font-size: 10px;
    color: gray;
    background: #d8e8ff;
    font-weight: bold;
}

#wait {
  position:absolute;
  left:50%;
  top:50%;
  color:navy;
  text-align:center;
  width:100px;
}


/* Footer */

#footer{
    width: 917px;
    margin:0 auto;
	padding:0;
	text-align:center;
	background-color:#fff;
}

#footer ul {
    margin: 0 auto;
    padding: 20px 0 0 0;
    list-style: none;
    text-align: center;
    width: 600px;
}

#footer li {
    display: inline;
}

#footer a {
    padding: 0 15px 0 10px;
    border-left: 1px solid #DBDBDB;
    text-transform: lowercase;
    text-decoration: none;
    font-size: 12px;
    color: #3B3B3B;
}

#footer .first a {
    border: none;
}
    
#footer p {
    text-align: center;
    color: #777777;
}

#footer p a {
    color: #5D5D5D;
}

#footer2{
	width:917px;
    margin: 0 auto;
	padding:0;
	background: #FFFFFF url(../images/img8.gif) no-repeat center bottom;
}

#footer2 a {
    padding: 0 15px 0 10px;
    text-transform: lowercase;
    text-decoration: none;
    font-size: 12px;
    color: #3B3B3B;
}
    
#footer2 p {
    text-align: center;
    color: #777777;
}

#footer2 p a {
    color: #5D5D5D;
}
