html { background:url(../images/bg.jpg) repeat-y center top; height:100%;}

body{font:13px/1.5 Tahoma,'Helvetica Neue',Arial,'Liberation Sans',FreeSans,sans-serif; background:url(../images/bg_top.jpg) no-repeat center top;}
.main { background:url(../images/bg_bottom.jpg) no-repeat bottom center;}
a { text-decoration: none; color:#08609b; }
a:hover { text-decoration: none; color:#999; }
#wrapper { width: 1020px; margin: 0 auto; border:0; background:none;}

#top-bar { height:30px; background:none; clear: both; padding-top:5px;}
#mainsearchfrm { padding-right:10px !important; float:right; }
#top-bar a{ color:#fff;}
#top-bar a:hover { color:#ccc; text-decoration:none; }
#top-bar label { float:left; display:block; width:50px; padding: 2px; text-align:center; font-weight:bold; color:#000; }
#top-bar input, #top-bar select { float:left; display:block; padding:2px; margin-right:10px; font-size:13px !important; }
#top-bar input[type=submit] { height:24px; width:24px; background:url(../images/btn-search.png) no-repeat; text-indent:-9999px; }
#header { height: 380px; clear: both; position: relative; background:url(../images/header.jpg) no-repeat center top; }
#header h1 { margin: 0; position: absolute; top:30px; left:80px;}
#header h1 a { color:#fff; }
#header h1 a:hover { text-decoration:none;}
#main-navigator { padding:0; background:url(../images/nav_bar.jpg) no-repeat center; border:0; height:35px; margin-top:2px; }
#main-navigator ul { display: block; text-align: center; z-index:1000; padding:0; margin:0; height:100%;}
#main-navigator ul ul { padding:0; height:auto;}
#main-navigator li li { padding:0 !important;}
#main-navigator ul li { display: inline-block; padding:10px 0; margin:0 15px; font-weight:bold;}
#main-navigator ul li.icon { padding-left:30px; background:url(../images/icon.png) no-repeat center left;}
#main-navigator ul li a { color:#fff; z-index:9999; text-shadow:none;}
#main-navigator ul li a:hover { text-decoration: none; color:#ccc; text-shadow:none;}

.sidebar { padding:0; float: left; border:0; width:190px; margin:0;}
.sidebar.left { margin-left:10px; }
.sidebar.right { margin-right:10px; }

.widget { background:url(../images/widget_footer.png) no-repeat bottom center; margin-bottom:10px; padding:0 0 15px 0; height:auto;}
.widget .container { background:url(../images/widget_bg.png) repeat-y center; padding:0; }
.widget h4.title { font-size: 1.1em; background:url(../images/widget_title.png) no-repeat top center; text-align:center; height:47px; line-height:28px; margin:0px; padding:0; color:#000; border:0; }
.widget ul { margin: 0; padding:0 12px 0 8px; color:#fff; }
.widget p { margin:0; padding: 3px 12px 3px 8px; color:#fff; }
.widget p:first-child { padding-top: 5px; }
.widget ul ul { margin: 0; padding: 0 0 0 10px; }
.widget ul li { margin: 0; padding:0; list-style: none; display: block; }
.widget ul li ul li { border:none; background:none; padding:0; }
.widget ul li a { display: block; margin-left: 23px; color:#fff; }
.widget ul li a:hover { text-decoration: none; color:#00a8ff; }
.widget ul li label, .widget p label { color:#fff; }

.widget.members a { color:#00a8ff; }
.widget.members a:hover { text-decoration:underline; }

.widget.default { padding: 5px 0 0 0; margin:0; }
.widget.default .container { text-align: center; }
.widget.link_image ul li { list-style: none; display: block; margin: 0; padding: 0; }
.widget.link_image ul li a { margin: 0; }

.widget.poll label.poll-answer-name { display: block; float: left; width: 40%; }
.widget.poll textarea { width: 150px; height: 45px; background:#fff; }
.widget.poll input[type=text] { width: 105px; margin: 0; }
.widget.poll input[type=radio] { display: block; float: left; margin-right: 10px; }
.widget.productsearch { /*height:348px;*/}
.widget.productsearch input[type=text] { margin-bottom: 5px; }
.widget.productsearch select { display: block; margin-bottom: 10px; }
.widget.productsearch br { display: none; }
.widget.newsletter input[type=text] { width: 154px !important; margin: 0; }
#footer { text-align: center; background:url(../images/footbar.png) no-repeat; overflow: hidden; font-size: 0.9em; clear: both;  border:0; padding:0; margin-bottom:20px; height:120px;}
#footer ul { display: block; }
#footer ul li { display: inline-block; margin: 0 15px; }
#footer p { color:#000; font-size:0.8em; }
#footer a { font-weight:bold; color:#fff; } 
#footer a:hover { text-decoration: none; color:#ccc; text-shadow:none !important; } 
#foot-navigation {margin:17px 0 10px 0;}

.sidebar input[type=text], .sidebar input[type=password] { color:#352547; padding:2px !important; width:44% !important; background:#fff; }
.sidebar input[type=submit], .sidebar input[type=reset] { width:75px; line-height:13px; }

#main-navigator li li a img { margin:0 5px; }
#main-navigator li li a { background:#2070a5; color:#fff !important; text-align:left; text-shadow:none !important; }
#main-navigator li li a:hover { background:#2696e0; color:#fff !important; text-shadow:none !important; }
.sfHover ul { border:#09507e 1px solid !important; border-bottom:0 !important; box-shadow:none !important; }
.sfHover ul li { border-bottom:#09507e 1px solid !important; }
.sf-sub-indicator { right:-1em; }

.block-content { border:1px dotted #999; height:auto;}

.block-content h4.entry-title a { color:#2070a5; }
.block-content h4.entry-title a:hover { text-decoration:underline; }
.block-content .entry-meta span { color:#444;}
.entry-meta span { border-left:1px solid #999; }
.block-content.block-list { margin-right:10px !important; }

#content { margin: 0; float:left; color:#000;}
#content.small { width:600px; padding:0 10px; }
#content.medium { width:800px; padding:0 0 0 10px; }
#content.full { width:1000px; padding:0 10px; }

.module-header { text-align:left; padding:0 0 0 59px; height:32px; margin-bottom:10px;}
h3.module-title { font-size:1.2em; margin-bottom:0; }
a.module-readmore span { color: #fff; padding:0 40px 10px 0; font-weight:bold; text-shadow:none; }
.module-header .module-title a { margin-bottom:0; color:#000; /*text-shadow:1px 1px 2px #663700 !important;*/}
a.module-readmore:hover span { text-decoration:none; }
#content.small .module-header { background:url(../images/header_small.png) no-repeat left top; }
#content.medium .module-header { background:url(../images/header_medium.png) no-repeat left top; }
#content.medium .block-half .module-header { background:url(../images/header_block-half.png) no-repeat left top; }
#content.full .module-header { background:url(../images/header_full.png) no-repeat left; }

.module-content-header { display:none; }
.module-content-footer { display:none; }

.module-content-intro { height:184px; }
#content.small .module-content-intro { background:url(../images/intro_small.png) no-repeat center top; }
#content.medium .module-content-intro { background:url(../images/intro_medium.png) no-repeat center top;}
#content.full .module-content-intro { background:url(../images/intro_full.png) no-repeat center top;}
#content.small .content-padding-intro { padding:30px 20px 20px 220px;}
#content.medium .content-padding-intro { padding:30px 20px 20px 260px;}
#content.full .content-padding-intro { padding:30px 20px 20px 280px;}
.module-content-intro .module-title a { color:#2070a5;}
.module-content-intro p { color:#000; margin-bottom:0px; text-indent:25px; }
hr.endline { border:0; margin:0; }
.entry-utility a.entry-readmore { color:#2070a5;}
.entry-utility a.entry-readmore:hover { text-decoration:underline; }

table.forum-table-topic-list tr { border:1px solid #2070a5; }
table.forum-table-topic-list tr th { background:#2070a5; color:#fff; }
.entry-title a, .entry-full-title a, table.forum-table .forum-detail .forum-room-name a, table.forum-table-topic-list .forum-topic-name a, .topic-title, table.forum-table-post .member-name { color:#522b00; }
.language { display:inline-block; float:right; top:0; }

#web-stats, #user-stats { height:35px; padding:8px 0 0 0; color:#111; display:inline-block; *display:inline; zoom:1; vertical-align:middle; }
#sidesearch-frm b { color:#fff; }
.tab-header { margin: 0 auto; width: 1000px;}
.module-header .module-utility { line-height:1.8em; text-shadow:1px 1px 3px #222 !important; }
#login-form p select { width:47%; }
.block-full .module-content-intro { margin-bottom:10px; }
.bg_content {/*background-color:#e8e8e8;*/} /*สีแบคกราวเนื้อหาทั้งหมด*/

#footer { height:inherit; }
#footer p { height:inherit; overflow:inherit; }