/* Css Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
caption, tbody, tfoot, thead, th {margin: 0; padding: 0; outline: 0; font-size: 12px; font-family: Tahoma, Sans-Serif; vertical-align: baseline;}
:focus {outline: 0;}
body {line-height: 1; color: black; background: #eff0f2;}
ol, ul {list-style: none;}
table {border-collapse: separate;}

caption, th, td {font-weight: normal;}
blockquote:before, blockquote:after,
q:before, q:after {content: “”;}
blockquote, q {quotes: “” “”;}
body,p,td,th,ul,li{ color: #000; font-family: Tahoma, Sans-Serif; font-size: 12px; line-height: 15px; padding: 0; margin:0; }
.clearspace {clear:both; height:0px; padding:0px; margin:0px; width:0px;}
a { color: #888888; text-decoration: none; }
a:hover { color: #333; }
a:active { color: #333; }
/* End Css Reset */

/* -------------------------------- Link มาตรฐาน -------------------------------- */
a { font:12px Tahoma; color:black; text-decoration:none; }
a:hover { font:12px Tahoma; color:black; text-decoration:underline; }

/* ------------------------ ส่วนควบคุมความกว้าง 820px ------------------------ */
 #warpper { margin: 0 auto; width: 820px; background:white; }

/* ------------------------------- ส่วน Wrap สีเทา ------------------------------- */
 .wrapgrey { width:820px; margin:0; padding:0; height:7px; font-size:1px; background:#eff0f2; } 
 /* .wrapgrey { float:left; width: 820px; margin:0; padding:0; height:7px; font-size:1px; background: #eff0f2; } */

 /* ------------------------------- ส่วน Wrap สีขาว ------------------------------- */
 .wrapwhite { margin:0; padding:0; height:7px; font-size:1px; background:#fff; } 

/* -------------------------------- ส่วน Header -------------------------------- */
 .header { background:url(../img/head_bg_nologo.jpg) no-repeat; padding:0; margin:0; height:102px; }
 .header #logo { float:left; padding:23px 0 0 34px; }
 .header #slogan { float:left; padding:55px 0 0 45px; }
 img.login { float:right; padding:70px 50px 0 0; }

/* -------------------------------- ส่วน Menu -------------------------------- */
 .subHeader { width:820px; height:195px; border-Bottom:1px solid #e5e5e5; position:relative }
 #menu { float:left; width:165px; position:absolute; }
 #menu ul { margin:0; list-style:none; }
 #menu ul li { background:#ffffff url(../img/arrow.gif) left no-repeat; border-Bottom:1px solid #e5e5e5; line-height:27px; }
  /* #menu ul li { background:#ffffff url(../img/arrow2.gif) left no-repeat; line-height:28px; } */
 #menu ul li a { font:12px Tahoma; font-weight:bold; color:#146092; text-decoration:none; padding-left:30px; }
 #menu ul li a:hover { font:12px Tahoma; font-weight:bold; color:#e56d1b; text-decoration:none; padding-left:30px; }

/* -------------------------------- ส่วน News -------------------------------- */
 #news { float:right; width:171px; background:; }
 p.news { font:11px Tahoma; font-weight:bold; color:#146092; padding:9px 0 9px 8px; }
 p.news a { font:11px Tahoma; font-weight:bold; color:#146092; line-height:12px; }
 p.news a:hover, { font:11px Tahoma; font-weight:bold; color:#e56d1b; line-height:12px; }
 #line_news img { padding:0; margin:0 auto; }

/* -------------------------------- ส่วน Member -------------------------------- */
 #memberForm { float:right; width:175px; background:url(../img/bg_member.gif); }
 #memberForm .tab { padding: 0 0 0 9px; font:11px Tahoma; color:#6b6d6b; }
 #memberForm ul { padding:3px 0 0 40px; list-style:none; }
 #memberForm ul li { background:#ffffff url(../img/arrow_login.gif) left no-repeat; line-height:15px; }
 #memberForm ul li a { font:10px Tahoma; color:#146092; text-decoration:none; padding-left:15px; }
 #memberForm ul li a:hover { font:10px Tahoma; color:#e56d1b; text-decoration:none; padding-left:15px; }
 form { padding:11px 0 0 21px; }
 input.txt { margin: 0 0 2px 0; font:11px Tahoma; color:#146092; border:1px solid #c6c3c6; width:132px; height:15px; }
 input.submit { float:right; margin:10px 18px 0 0; font:11px Tahoma; color:#146092; background-color:#eff3f7; border:1px solid #c6c3c6; width:52px; }

/* -------------------------------- ส่วน Banner -------------------------------- */
 #banner { float:left; top:-28px; left:177px; position:absolute; padding:2px; border: 1px solid #e6e6e6; background:#ffffff; }

/* ---------------------------- ส่วนควบคุม Mainbody ---------------------------- */
/* #mainbody { float:left; width: 820px; height:100px; background:red; } */
#mainbody { width:820px; _height:891px; min-height:891px !important; border-top:1px solid #dde1e4; border-bottom:1px solid #dde1e4;  }


/* ---------------------------- ส่วนควบคุม กล่องใหญ่ด้านซ้าย ---------------------------- */
 #mainbody #lcol { float:left; width:205px; display:inline; margin:0; padding:10px 0 0 0; } 

/* ---------------------------- ส่วนควบคุม กล่องเล็กด้านซ้าย ---------------------------- */
 #sidebarLeft { width:190px; padding:0; margin:0px 0px 6px 8px; }

 #sidebarLeft #head { background:url(../img/tab_head.gif) no-repeat; height:48px; }
 #sidebarLeft #middle { background:url(../img/tab_middle.gif) repeat-y; height:99px; padding: 8px 0 0 0; }
 #sidebarLeft #middle2 { background:url(../img/tab_middle.gif) repeat-y; height:337px; padding: 0px 0 10px 0; }
 #sidebarLeft #middle3 { background:url(../img/tab_middle.gif) repeat-y; height:185px; padding: 0px 0 10px 0; }
 #sidebarLeft #bottom { background:url(../img/tab_bottom.gif) no-repeat; height:22px; }
 
 p.middle2 { text-align:left; padding:0 5px 0 15px; }
 p.head_promo { text-align:center; font:12px Tahoma; font-weight:bold; color:#006dbe; line-height:14px; }
 p.promo { text-align:left; font-size:11px; line-height:14px; padding:0 0 0 25px; margin:0; }
 #promotion { padding:10px 0 8px 0; }
 #line_left img { margin-top:20px;}

 #sidebarLeft #middle ul { list-style:none; margin:0 auto;}
 #sidebarLeft #middle ul li { padding:4px 0 0 0; margin-left:5px; background:url(../img/icon_menu.gif) no-repeat; }
 #sidebarLeft #middle ul li a { font:11px Tahoma; color:#146092; text-decoration:none; margin-left:44px;}
 #sidebarLeft #middle ul li a:hover { color:#e56d1b; }

/* ---------------------------- ส่วนควบคุม กล่องใหญ่ตรงกลาง ---------------------------- */
 #ccol { float:left; width:607px; display:inline; padding:10px 0 0 0; }

/* ---------------------------- ส่วนควบคุม กล่องเล็กตรงกลาง ---------------------------- */

/* ส่วนเนื้อหา คอลัมน์ตรงกลาง */
 #sidebarCenter { width: 607px; padding-bottom:10px; }
 #sidebarCenter #head { background:url(../img/inside_tab_center_head.gif) no-repeat; height:48px; }
 #sidebarCenter #middle { background:url(../img/tab_center_middle.gif) repeat-y; }
 #sidebarCenter #middleMap { background:url(../img/tab_center_middle.gif) repeat-y; }
 #sidebarCenter #middleMap p { line-height:18px; }
 .line_products { float:none; margin:0 auto; width:85%; font-size:1px; border-bottom:1px dashed #000000; padding-top:5px; }
 p.click { text-align:center; font-weight:bold; }
 p.click a { font-weight:bold; color:#146092; }
 p.click a:hover { font-weight:bold; color:#146092; }
 .underline { text-decoration:underline; color:red; }
 .center { text-align:center; margin-top: auto; margin-bottom: auto; }
 .square { list-style:square; }
 ul.bullet { margin:0; padding-left:40px; padding-right:20px; color:red; }
 ul.bullet li { margin:0; list-style:square; color:red; }

 img.normal { float:left; margin:13px 20px 5px 24px; }
 img.logo_inside { float:left; margin:17px 0 0 0; }
 
 p.firstnormalmsg { text-indent:25px; padding:14px 20px 0 20px; line-height:17px; }
 .imgCenter{ display: block; padding-top:10px; margin-left: auto; margin-right: auto; }

/* ส่วน Topic ย่อย */
 p.topicRed { font-weight:bold; color:red; padding:0 0 0 20px; line-height:17px; }
 p.normalmsg { text-indent:25px; padding:0 20px 0 20px; line-height:17px; }
 p.paddingleft { padding-left:20px; }

/* ส่วน Select Menu */
 #select { float:right; display: inline; margin:-40px 12px 0 0; position:relative; }
 .topic { font:Tahoma 11px; background-color:#ccc; }
 .link { color:#000; font-weight: bold; background-color:#fff; }

/* ส่วนบอก sitemap ด้านขวามือ */
 #back { text-align:right; padding-top:8px; padding-right:12px; }
 a.arrow { text-decoration:none; font-weight:bold; }
 a.arrow:hover { text-decoration:none; font-weight:bold; color:#035c98; }

/* ส่วนเกี่ยวกับรูป */
 img.imageLeft { float:left; margin-left: 30px; margin-right: 20px; margin-bottom: 10px; }
 img.imageSub { display: block; margin-left: auto; margin-right: auto; }
 img.imageSubBorder { display: block; margin-left: auto; margin-right: auto; padding: 4px; border: solid 1px #ccc; }

 #contentThumb { display:block; width:80%; margin-left:auto; margin-right:auto; padding-left:70px; }
 #contentThumb img { display:block; padding:1px; border:1px solid #ccc; }
 ul.navigation { margin:0; padding:0; text-align:center; line-height:1px; list-style: none; }
 ul.thumb { margin:0; padding:0; float:left; text-align:center; line-height:1px; list-style:none; }
 ul.thumb a { display:block; float: left; margin:0 30px 0 0; width:116px; text-align:center; }
 ul.thumb a:hover { text-decoration:none; }
 ul.thumb li, ul.navigation li { display:inline; margin:0; padding:0; }
 #flow { float:left; margin-top:28px; margin-right:30px; }

 img.cse { border: solid 1px #ccc; padding: 4px; float:left; margin:0 10px 0 20px; }

/* ส่วนกรอบ และ bullet */
 #frame1 { width:355px; display: block; margin-left: auto; margin-right: auto; background:#f2f2f2; }
 #frame2 { width:450px; display: block; margin-left: auto; margin-right: auto; }
 #frame3 { width:355px; display: block; margin-left: auto; margin-right: auto; background:#fff; }
 #frame4 { width:355px; display: block; margin-left: auto; margin-right: auto; background:#f2f2f2; }
 #frame5 { width:200px; height:100px; display: block; float:left; margin-left: 55px; margin-right: auto; background:#f2f2f2; }
 #frame6 { width:200px; height:100px; display: block; float:right; margin-left: auto; margin-right: 53px; background:#f2f2f2; }
 #frameNomargin { width:450px; margin-left:-40px; margin-right:-20px; }
 .boxli { background:#f2f2f2; list-style:square; display:block; margin:0; padding:10px 10px 10px 30px; border:solid 1px #ccc; }
 .boxli2 { background:#f2f2f2; list-style:none; display:block; margin:0; padding:10px 10px 10px 10px; border: solid 1px #ccc; }
 #sidebarCenter li { line-height:17px; }
 #black { color:black; }
 #green { color:#00a651; }
 #blue { color:blue; }
 #red { color:red; }
 .bold { font-weight:bold; }

 p.msgMap { margin:0; padding:0; font-size:12px; }
 .map { float:left; border:solid 1px #aacfe4; margin:0 20px 0 100px; }

 #sidebarCenter #bottom { background:url(../img/tab_center_bottom.gif) no-repeat; height:22px; }

/* ------------------------------------- ส่วน Clear ------------------------------------- */
.clearfloat { clear:both; }

/* ------------------------------------- ส่วน Footer ------------------------------------- */
 #footer { height: 91px; background: #ffffff; border-top: 2px solid #dde1e4; padding: 10px 10px 0 34px; margin: 0px; } 
 
 #footer p { font: 11px Tahoma; color: #6b6c6e; line-height: 14px; } 
 #footer p #fontblack { font-weight: bold; color: #000000; line-height: 22px; } 
 #footer p #fontblue { font-weight: bold; color: #006dbe; line-height: 22px; } 

 #footer p a,  #footer p a:visited { font-weight: bold; color: #006dbe; text-decoration: none; }
 #footer p a:hover,  #footer p a:active { font-weight: bold; color: #035c98; text-decoration: underline; }

 /* ----------- My Form ----------- */
.myform{
margin:0 auto 0 auto;
width:400px;
padding:14px;
}


/* ----------- stylized ----------- */
#stylized{
border:solid 2px #b7ddf2;
background:#ebf4fb;
line-height:14px;
}
#stylized h1 {
font-size:14px;
font-weight:bold;
margin-bottom:8px;
}
#stylized p{
font-size:11px;
color:#666666;
margin-bottom:20px;
border-bottom:solid 1px #b7ddf2;
padding-bottom:10px;
}
#stylized label{
display:block;
font-weight:bold;
text-align:right;
width:140px;
float:left;
}
#stylized .small{
color:#666666;
display:block;
font-size:11px;
font-weight:normal;
text-align:right;
width:140px;
}
#stylized input{
float:left;
font-size:12px;
padding:4px 2px;
border:solid 1px #aacfe4;
width:200px;
margin:2px 0 20px 10px;
}
#stylized button{
clear:both;
margin-left:150px;
width:125px;
height:31px;
background:#666666 url(img/button.png) no-repeat;
text-align:center;
line-height:31px;
color:#FFFFFF;
font-size:11px;
font-weight:bold;
}

#stylized textarea{
float:left;
font-size:12px;
padding:4px 2px;
border:solid 1px #aacfe4;
width:200px;
margin:2px 0 20px 10px;
}

