html {  height: auto; background:url(../images/bg.png) repeat; width:100%; }
body{font:13px/1.5 Tahoma,'Helvetica Neue',Arial,'Liberation Sans',FreeSans,sans-serif; background:url(../images/bg_top.png) no-repeat top; margin:0; height:100%; }
.repeat_bg { background:url(../images/bg_bottom.png) no-repeat bottom; width:100%; }
a { text-decoration: none; color:#666; }
a:hover { text-decoration: underline; color:#444; }
#festival-banner { text-align: center; }
#wrapper { width: 1000px; margin: 0 auto; background:none; border:0; }
/*.wrapper_body { background:url(../images/bg.jpg) repeat-y center center; }*/
#search { padding: 20px; float: right; }
#login { padding: 20px; float: left; }
#search form.generic-form, #login form.generic-form { margin: 0; }
#search form.generic-form p, #login form.generic-form p { float: left; margin: 0; }
#search form.generic-form label, #login form.generic-form label { display: block; float: left; margin: 3px 10px 0 0; }
#top-bar { height: 30px; clear: both; position: relative; background:none; padding-top:10px; }
#top-bar a { text-decoration:none; color:#fff; background:#933586; border-radius:4px; padding:2px 6px; }
#top-bar a:hover { text-decoration:none; color:#ff9900; }
#top-bar label { float:left; display:block; color:#000; width:50px; padding:2px; text-align:center; font-weight:bold; line-height:15px;  }
#top-bar input, select { float:left; display:block; padding:2px; font-size:13px !important; margin-right:10px; }
#top-bar input[type=submit] { line-height:8px !important; height:24px; background:#891779; color:#fff; border-radius:4px; text-shadow:none; width:60px; }
/* header */
#header { height: 298px; clear: both; position: relative; background:url(../images/header.jpg) no-repeat center; }

/* logo */
#header h1 { margin: 0; position: absolute; left: 20px; top: 10px; }
#header h1 a { color:#fff; }
#header h1 a:hover { text-decoration:none; color:#fff; }

/* main menu */
#main-navigator { padding: 28px 0 0 0; background:url(../images/nav_bar.jpg) no-repeat bottom; border:0; height:34px; }
#main-navigator ul { display: block; margin: 0; text-align: center; padding:0; }
#main-navigator ul ul { padding:0; }
#main-navigator li li { padding:0 !important; }
#main-navigator ul li { display: inline-block; padding: 5px 0; margin:4px 15px; font-weight:bold; }
#main-navigator ul li.icon { padding-left:35px; background:url(../images/icon.png) no-repeat center left;  }
#main-navigator ul li a { color:#891779; text-shadow:none; }
#main-navigator ul li a:hover { text-decoration: none; color:#111; }

/*side block left */
.sidebar { width: 190px; float: left; border:0; padding:0; }

/* widget all */
.widget { background:url(../images/widget_footer.png) no-repeat bottom left; margin:0; padding-bottom:45px; margin-bottom:10px; }
.widget .container { background:url(../images/widget_bg.jpg) repeat-y; padding:10px 0; }
.widget h4.title { font-size: 1.1em; margin:0; padding:0; display:block; height:51px; line-height:45px; text-align:center; color:#fff; background:url(../images/widget_title.png) no-repeat; border:0; }
.widget ul { margin: 0; padding:0 12px; color:#000; }
.widget p { margin:0; padding: 3px 12px; color:#000; }
.widget p:first-child { padding-top: 10px; }
.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 a { display: block; margin-left: 23px; color:#000; }
.widget ul li a:hover { text-decoration: none; color:#ff9900; }

/* widget stat */
/*.widget.stat ul { padding:20px 25px; }
.widget.stat { background:url(../images/box_1_bg.jpg) no-repeat; background-position:0 139px; margin:0; }
.widget.stat h4.title { font-size: 1.1em; margin:0; height:139px; padding:0; text-align:center; color:#fff; background:url(../images/box_1_title.jpg); border:0; text-indent:-9999px; }
.widget.stat .container { background:url(../images/box_1_footer.png) no-repeat bottom; padding-bottom:30px; }*/
.widget.stat ul li, .widget.shoppingcart ul li { margin: 0; padding: 0; text-align: right; clear: both; color:#c54b9;  }
.widget.stat ul li label, .widget.shoppingcart ul li label { text-align: left; float: left; color:#000; }

.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 member */
/*.widget.members h4.title { background:url(../images/box_2_title.png) no-repeat center; height:0; height:44px; color:#c54b9e;}
.widget.members .container { background:url(../images/box_2_bg.png) no-repeat bottom center; }
.widget.members form.generic-form { padding:10px 5px 20px 5px; }*/
.widget.members label { width: 45%; display: block; float: left; color:#5f485a; }
.widget.members select { margin:0; }
/*.widget.members .member-forgot-pwd, .widget.members .member-signin { display: block; float: left; }
.widget.members .member-forgot-pwd { margin-right: 10px; }
.widget.members .member-signin { padding-left: 10px; }*/

/* widget poll */
.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 product search */
.widget.productsearch input[type=text] { margin-bottom: 10px; }
.widget.productsearch select { display: block; margin-bottom: 10px; }
.widget.productsearch br { display: none; }

/* widget newsletter */
.widget.newsletter input[type=text] { width: 154px !important; margin: 0; }

/* footer */
#footer { text-align: center; height:70px; background:url(../images/footbar.png) no-repeat top; overflow: hidden; font-size: 0.9em; clear: both;  border:0; padding:5px 0; }
#footer ul li { display: inline-block; margin: 0 15px; }
#footer p { color:#000; font-size:0.8em; text-align:center; }
#footer a { color:#933586; }
#footer a:hover { text-decoration: none; color:#111; }
#foot-navigation {
	margin:12px 0;
}

/* เฉพาะช่อง input ด้านซ้าย โดยเปลี่ยนค่า  width */
.sidebar input[type=text], .sidebar input[type=password] { color:#352547; padding:2px !important; width:40% !important; background:#fff; }
.sidebar input[type=submit], .sidebar input[type=reset] { width:75px; line-height:13px; }

/* สี sub menu */
#main-navigator li li a img { margin:0 5px; }
#main-navigator li li a { background:#8e4a91; color:#fff !important; text-align:left; }
#main-navigator li li a:hover { background:#fe81e5; color:#fff !important; }
/* สีกรอบ sub menu */
.sfHover ul { border:#7f0270 1px solid !important; border-bottom:0 !important; box-shadow:none !important; }
.sfHover ul li { border-bottom:#7f0270 1px solid !important; }
.sf-sub-indicator { right:-1em; background:url(../images/arrows-ffffff.png); background-position: -10px -100px; }
/*a > .sf-sub-indicator { text-indent:9999px !important; }*/

.block-content { border:1px dotted #fff; margin:0 0 10px; padding:10px; }
/* สี Title article, webboard, product + hover */
.module-header h3.module-title a { color:#fff; text-align:center; display:block; font-size:18px; }
.module-header h3.module-title a:hover { text-decoration:underline; }

/* ดูทั้งหมด  กำหนดระยะห่างจากด้านขวา*/
a.module-readmore { color:#fff; text-decoration:none;  }
a.module-readmore span { margin-right:15px;  margin-left:-52px;  }
/* สีหัวข้อ  */
.block-content h4.entry-title a { color:#c54b9e; }
.block-content h4.entry-title a:hover { text-decoration:underline; }
/* สีวันที่ */
.block-content .entry-meta span { color:#f78f1e; }
/* สีข้อความ */
.block-content .entry-content { }
/* สีข้อความอ่านต่อ */
.block-content .entry-utility { }

/* ความกว้าง content */
#content { float: left; color:#000; }
#content.small { width:600px; padding:10px; }
#content.medium { width:800px; padding:10px 0 10px 10px;}
#content.full { width:1000px; padding:0; }

.block-content { background:none; border:1px dotted #333; margin:0 0 10px; padding:10px; }
/* กำหนดความสูง-กว้าง ของ title ทุกอัน */
#content.small .module-header { background:url(../images/header_small.png) no-repeat; height:38px; text-align:left; padding:14px 10px 0 90px; margin-bottom:10px; }
#content.medium .module-header { background:url(../images/header_medium.png) no-repeat; height:38px; text-align:left; padding:14px 10px 0 90px; margin-bottom:10px; }
#content.medium .block-half .module-header { background:url(../images/header_block-half.png) no-repeat; height:38px; text-align:left; padding:14px 10px 0 90px; margin-bottom:10px; }
#content.full .module-header { background:url(../images/header_full.png) no-repeat; height:38px; text-align:left; padding:14px 10px 0 90px; margin-bottom:10px; }

#content.small .module-content-header { background:url(../images/content_header_small.jpg) no-repeat top left; height:17px; }
#content.small .module-content { background:url(../images/content_bg_small.jpg) repeat-y top left; padding:0 0 0 10px; height:100%; overflow:hidden; }
#content.small .module-content-footer { background:url(../images/content_footer_small.jpg) no-repeat bottom left; height:17px; }

#content.medium .module-content-header { background:url(../images/content_header.png) no-repeat top left; height:17px; }
#content.medium .module-content { background:url(../images/content_bg.jpg) repeat-y top left; padding:0 0 0 10px; height:100%; overflow:hidden; }
#content.medium .module-content-footer { background:url(../images/content_footer.jpg) no-repeat bottom left; height:17px; }

#content.full .module-content-header { background:url(../images/content_header_full.jpg) no-repeat top left; height:17px; }
#content.full .module-content { background:url(../images/content_bg_full.jpg) repeat-y top left; padding:0 0 0 10px; height:100%; overflow:hidden; }
#content.full .module-content-footer { background:url(../images/content_footer_full.jpg) no-repeat bottom left; height:17px; }

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

#content.small .module-content-intro { background:url(../images/intro_small.png) no-repeat; height:300px; }
#content.medium .module-content-intro { background:url(../images/intro_medium.png) no-repeat; height:300px; }
#content.full .module-content-intro { background:url(../images/intro_full.png) no-repeat; height:300px; }
.content-padding-intro { padding:20px 40px; }
.content-padding-intro .module-title a  { background:#fff; padding:2px 10px; border-radius:7px; }
.module-title { margin-bottom:0px; }
.module-title a { color:#c54b9e; }
.module-content-intro p { color:#000; }
.block-full { margin-bottom:10px; }
/* border แบ่งแต่ละ block */
hr.endline { margin:0; border:none; }

/* webboard */
table.forum-table-topic-list tr { border:1px solid #a54499; }
table.forum-table-topic-list tr th { background:#a54499; 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:#000; }
.language { display:inline-block; float:right; top:10px; margin-right:10px; }

#web-stats, #user-stats { padding:0; }

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