/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html {
  height: 100%;
  margin-bottom: 1px;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Helvetica,Arial,sans-serif;
	line-height: 1.3em;
	margin: 0;
	font-size: 14px;
	color: #333;
	background: url(../images/bg_square.png) top left repeat-x;
	background-attachment:fixed;
	}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0 none; }

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
	padding: 10px 0;
	margin-bottom: 1px;
}

div#bgwater{
	background: url(../images/bg_water.png) repeat-x bottom;
	background-position:5px 35px;
	height:277px;
}

/* All web links*/
div#king{
	position: relative;
	width:100%;
	height:125px;
	margin-left: auto;
	margin-right: auto;
	margin-top:-20px;
	}

div#haiiweb{
	 display: block;
    float: right;
    font-size: 0.9em;
    height: 30px;
    margin: -25px 10px 0 0;
    width: 460px;
    z-index: 1;
}
div.moduletable_haiiweb a:link{
	text-decoration: none;
	font-weight: normal;
	color:#C4C8CB;
}
div.moduletable_pnc h3 {font-size: 100%;}
div.moduletable_pnc {font-size: 10px;}

div#haiiweb a:visited {
	font-weight: normal;
	color:#BAD9DB;
}

div#haiiweb a:active {
	color:black;
	font-weight:bold;
	text-decoration: underline;
}

div#header {
	position: relative;
	width:100%;
	height:96px;
	margin-top:10px;
}

div#brand {
	position: relative;
	width: 330px;
	height:90px;
	float: left;
}

h1#logo {
	position: relative;
	float: left;
	margin-left: 105px;
	margin-top: -35px;

}

h1#logo a {
	display:inline-block;
	width:200px;
	height:90px;
}

h1#logo a span {display:none;
}

div#mainmenu{
	position: relative;
	display:block;
	height:26px;
	color:#ffffff;
	background: url(../images/menubg_bg.png) top right no-repeat;
}
div#xcur-right {
	background: url(../images/bg_cur-right.png) top right no-repeat;
}

div#path,div#path2  {
	background:#F7F4F4;
	height:16px;
	padding:3px;
	font-size:10px;
}
div#path {
	border-bottom:1px solid #B5B3B3;
}
div#path2 {
	margin-left: auto;
	margin-right: auto;
	width: 892px;
	border-top:1px solid #B5B3B3;
}
/* top menu */
#mainmenu ul {
  margin: 0;
  padding: 0;
  list-style:none;
}
#mainmenu li {
	float: left;
	background: url(../images/menu_bg2.png) top left no-repeat;
	margin: 0;
	padding: 0 5px;
}

#mainmenu a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  float:left;
  display:block;
  height: 26px;
  line-height: 26px;
  padding: 0 5px;
  color: #fff;
  text-decoration: none;
}

#mainmenu li a:hover {
	color:#6FDF93;
}


#mainmenu ul.menu li.active a{
	color: orange;
	}


#mainmenu a#active_menu-nav {
	margin-top:2px;
	height: 21px;
	line-height: 21px;
	background-position: 0 0;
}


/* lay out of content wrapper คือขอบเขตของส่วนเว็บลิงค์ */
div#wrapper {
	margin-left: auto;
	margin-right: auto;
	width:1024px;
}

div#content {
	margin-left: auto;
	margin-right: auto;
	width: 900px;
	position: relative;
}

div#body_wrapper {
	position: relative;
	clear:both;
	color:#000000;
	padding:10px 10px 0 10px;
	display:inline-block;
	background:#FDFDFF;
	width:880px;
}
/*start Box*/
#box_wrapper {
	margin:0;
	padding:0;
	display:block;
	width:650px;
	float:left;	
}
#box_wrapper_full {
	margin:0;
	padding:0;
	display:block;
	width:100%;
	float:left;
	min-height:300px;
}

#box_right {
	margin:0;
	padding:0;
	display:block;
	margin-left:10px;
	width:210px;
	float:right;	
}

#box_content{
	padding:0;
	display:block;	
	width:650px;
	float:left;	
}


/*end Box*/

/*class user2 3 */
#content_top{
	padding:0;
	margin:0;	
}
#content_top .user2 {
	padding:0;
	margin:0 10px 0 2px;
	display:block;
	width:500px;
	float:left;				
}

#content_top .user3 {
	padding:0;
	margin:0;
	display:block;
	width:350px;
	float:left;	
}

/*class user2 3 */
/* full page blue tab */
#content_blue {
	background: url(../images/bg_fade.jpg) 0 0 repeat-x;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	min-height:200px;
	padding-top:10px;
}

.blue {
	clear:both;
	display:table;
	width:900px;
	color:white;
	margin-left:auto;
	margin-right:auto;
}

#content_blue .user5 {
	padding:0;
	margin:0;
	display:block;
	width:60%;
	float:left
}

#content_blue .user6 {
	padding:10px 10px 0 0;
	margin:0;
	display:block;
	width:25%;
	float:right;
}
#content_blue a.link, a.visit{
	color:white;
}
/* full page blue tab */

div#contentu7, div#contentu8 {
	margin-left: auto;
	margin-right: auto;
	width: 880px;
	padding:10px 10px 15px 10px;
	background:#FDFDFF;
	position: relative;
}



div#footer {
	width:900px;
	margin-left:auto;
	margin-right:auto;
	background:#FDFDFF url(../images/bg_footer.png) top center no-repeat;
	position:relative;
	clear:both;
	padding-top: 20px;
	min-height: 150px;
	margin-bottom:20px;
}

div#footer div {
	text-align: center;
	font-size: .90em;
	color: #9F9F9F;
}

div#footer a:link, div#footer a:visited  {
	color: #9F9F9F;
}


div#footerspacer {
	height: 10px;
}

#pathway {
	padding: 0px 10px 8px;
	width: auto;
	margin-top: 2px;
	margin-right: 250px;
	text-align: left;
}


/* horizontal pill menu */
table.pill {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

td.pill_l {
  background: url(../images/mw_menu_cap_l.png) no-repeat;
  width:  20px;
  height: 32px;

}

td.pill_m {
  background: url(../images/mw_menu_normal_bg.png) repeat-x;
  padding: 0;
  margin: 0;
  width: auto;
}

td.pill_r {
  background: url(../images/mw_menu_cap_r.png) no-repeat;
  width:  19px;
  height: 32px;
}

#pillmenu {
  white-space: nowrap;
  height: 32px;
  float: left;
}

#pillmenu ul {
  margin: 0;
  padding: 0;
  list-style:none;
}

#pillmenu li {
	float: left;
	background: url(../images/mw_menu_separator.png) top right no-repeat;
	margin: 0;
	padding: 0;
}

#pillmenu a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
	float:left;
  display:block;
  height: 24px;
  line-height: 24px;
  padding: 0 20px;
  color: #000;
  text-decoration: none;
}

#pillmenu a#active_menu-nav {
	margin-top:2px;
	height: 21px;
	line-height: 21px;
	background-position: 0 0;
}

#leftcolumn {
	padding: 0;
	margin: 0;
	width: 20%;
	float:left;
}

#maincolumn,
#maincolumn_full {
	margin-left: 20%;
	padding-left: 15px;
	width: 75%;
}

#maincolumn_full {
	margin-left: 0;
	padding: 0;
	width: 100%;
}

table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
	margin-bottom: 15px;
}

table.nopad td.middle_pad {
	width: 20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

span.pathway {
  display: block;
  margin: 0;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
}

/* headers */
div.componentheading {
  padding-left: 0px;
}

h1 {
	padding: 0;
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	color: #666;
	text-align: left;
	width: 100%;
}

h2, .contentheading {
	padding: 0;
	font-family: Arial, Helvetica,sans-serif;
	font-size: 1.2em;
	font-weight: normal;
	vertical-align: bottom;
	color: #333;
	text-align: left;
	width: 100%;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

h3, .componentheading, table.moduletable th, legend {
  margin: 0;
  font-weight: bold;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 1.1em;
  padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
}

/* small text */
.small {
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.modifydate {
  height: 20px;
  vertical-align: bottom;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;

}

a.readon {
	margin: 10px 0 20px 0;
	display: block;
	float: left;
	background: url(../images/mw_readon.png) top right no-repeat;
	padding-right: 20px;
	line-height: 18px;
	height: 18px;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }



/* menu links */
a.mainlevel:link, a.mainlevel:visited {
	padding-left: 5px;
}

a.mainlevel:hover {

}

/* spacers */
span.article_separator {
	display: none;
	height: 20px;
}

.article_column {
	padding-right: 5px;
}

.column_separator {
	border-left: 1px dashed #e0e0e0;
	padding-left: 10px;
}

.clr {
	clear: both;
}



table.blog span.article_separator {
	display: block;
	height: 20px;
}

/* edit button */
.contentpaneopen_edit{
	float: left;
}

/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
  float: right;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}


/* content styles */
table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: 100%;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

.highlight {
	background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 5px;
}

div.module_menu h3 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #eee;
	margin: -23px -4px 5px -5px;
	padding-left: 10px;
	padding-bottom: 2px;
}

div.module_menu {
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}

div.module_menu div div div {
	padding: 10px;
	padding-top: 30px;
	padding-bottom: 15px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0;
}

div.module_menu ul {
	margin: 10px 0;
	padding-left: 20px;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
	font-weight: bold;
}

/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input {
	width: 145px;
	border: 1px solid #ccc;
	margin: 15px 0 10px 0;
}

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

div.img_caption       { padding: 0 10px 0 10px; }
div.img_caption img   { border: 1px solid #CCC; }
div.img_caption p     { font-size: .90em; color: #666; text-align: center; }



/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }


/* Frontend Editing*/
fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 15px;
}

legend {
	margin: 0;
	padding: 0 10px;
}

td.key {
	border-bottom:1px solid #eee;
	color: #666;
}

/* Component Specific Fixes */

#component-contact table td {
	padding: 2px 0;
}


/* modified component css */
.vocab1 {
	background:#DFFAFF;
}
.vocab2 {
	background:#F3FFDF;
}


/*com_attachment*/
.attachmentsList {
	display:block;
	margin-top:50px;
}

#newsshow1 h4.gk_news_show_news_header {
    color: white;
    margin: 0 0 8px;
    padding: 0;
    text-align: left;
}
p.gk_news_show_news_info a, #newsshow1 a {color:#6FDF93;}

div.moduletable_7days h3 {
	color:green;
	font-size: 1.2em;
}
/* history */
.HeadRed{
	color: #FF0000;
	font-size: 13pt;
	font-weight: bold;
	font-family: Tahoma;
}
.HeadBlue {
	color: #0099FF;
	font-family: Tahoma;
	font-weight: bold;
	font-size: 12pt;
}
.Textblue {
	color: #0000FF;
	font-family: Tahoma;
	font-size: 12pt;
}
.TextTable {
	color: #0000FF;
	font-family: Tahoma;
	font-size: 10pt;
}
.TableHead {
	color: #000000;
	font-family: Tahoma;
	font-size: 10pt;
	font-weight: bold;	
}
/* บันทึกเหตุการณ์ */
.head0 {
	font-family: "Tahoma", CordiaUPC, MS Sans Serif;
	font-size: 22px;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
	color: #ff3300;
}

.head1 {
	font-family: "Tahoma", CordiaUPC, MS Sans Serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
	color: #0099ff;
}
.head2 {
	font-family: "Tahoma",MS Sans Serif,CordiaUPC;
	font-size: 16px;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
	color: #0000ff;
}
.text1 {
	font-family: "Tahoma",MS Sans Serif,CordiaUPC;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	color: #000000;
}
.text2 {
	font-family: "Tahoma",MS Sans Serif,CordiaUPC;
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
	color: #000000;
}
.text3 {
	font-family: "Tahoma",MS Sans Serif,CordiaUPC;
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
	color: #ff3300;
}
.style8 {color: #FFFFFF; font-weight: bold; }
.style10 {color: #333333}
.style11 {
	font-family: "Tahoma", "MS Sans Serif", CordiaUPC;
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
	color: #FFFFFF;
}
.style13 {color: #000000}
.style14 {font-size: 16px; font-style: normal; font-weight: bold; font-variant: normal; font-family: "Tahoma", "MS Sans Serif", CordiaUPC;}
.style15 {font-family: "Tahoma", "MS Sans Serif", CordiaUPC; font-size: 14px; font-style: normal; font-weight: normal; font-variant: normal; color: #000000; }

.topic_header{
	font-size: 10pt;
	font-weight: bold;
	color: #2A93A7;	
}

#warnflashavreloaded0 {display:none;}
