﻿

html, body { margin:0; }

body {  }

.clear { clear:both; }

#topbar_Box {
	/* background-color: #000000; */
	background: #000000 url('../../template/000/images/bar_top.gif');
	padding: 0px;
	height: 38px;
	width: 100%;
}


.TopFabricDecoration {
	float:left;
	width:100%;
	height:19px;
	line-height:19px;
	background:url('../../template/051/images/top_decorate.png') repeat-x;
}

.header_part_1 {
	float:left;
	width:996px;
	height:44px;
	background:url('../../template/051/images/header_1.gif');
}

.header_part_2 {
	float:left;
	width:996px;
	height:7px;
	font-size: 1px; 	/* font-size:1px;  และ line-height:1;  มีไว้สำหรับกำหนด height ของ div ให้ต่ำกว่า 19 px ได้  (ถ้าไม่ใส่ 2 ค่านี้จะไม่สามารถกำหนดค่าให้ต่ำกว่า 19px ได้ */
	line-height: 1; 
	background:url('../../template/051/images/header_2.gif');
}


#TopBar_Box {
	height: 38px;
	width: 100%;
	background:url('../../template/000/images/bar_top.gif');
}

#Main_Box_BG2 {
	clear:both;
	width: 100%;
	
	
}

#Main_Box_BG1 {
	clear:both;
	width: 100%;

	
	
}

#MainBody_Box {
   	float:left;	
	display: inline;
	padding:0px;
   	margin:0px;
	width: 996px;
}

#Main_Box {
	width: 996px;
  	margin-left: auto ;
  	margin-right: auto ;
	background: url('../../template/051/images/bg_body.gif') repeat-y;background-position:center;
}


#Header_Box {
   	float:left;
	width:996px;
	background:#f8f1de;
}

.HeaderImage_Box {
	width:976px;
	border:0;
  	margin-left:auto;margin-right:auto;
}

.MaxHeaderWidth {
	max-width: 976px;
	/* Resize the image for IE6 */
	width: expression(this.width > 976 ? 976: true);	
}

.CP_NAME_POSITION {
	width:273px;height:116px;color:#9a0523;margin-top:50px;margin-left:320px;font-family:Tahoma;font-size:18px;text-align:center;
}



/*---------------- Menu Top -----------------*/
#div_Menu_Top {
	float:left;
	width:100%;
	height:36px;
	padding-top:11px;
	padding-bottom:5px;
	background:url('../../template/051/images/bg_menutopbar.gif');
}

.menutopbar {
	width:100%;
	height:20px;
	margin-left:auto;margin-right:auto;
}

.div_TopMenu {
	width:100%;
	height:36px;
	overflow:hidden;
}

#MenuTop_Box {
	width:976px;
	height : 20px;
	margin-left: auto;
	margin-right: auto;
	overflow:hidden;			/*  มีอันนี้ไว้ เพราะว่าการจับ ul ให้มาที่กึ่งกลาง 50% จะทำให้เกิด scrollbar เนื่้องจาก ul ยาว 50% มันเกินความกว้างของหน้าจอออกไป  */
	display: block;
	/* vertical-align : middle; */
	/* display : table-cell; */
}

#MenuTop_Box ul {
   	clear:left;
   	float:left;
   	list-style:none;
   	margin:0;
   	padding:0;
   	position:relative;
   	left:50%;
   	text-align:center;
	}
#MenuTop_Box ul li{
   	display:block;
   	float:left;
   	list-style:none;
   	margin:0;
   	padding:0;
   	position:relative;
   	right:50%;
	}
#MenuTop_Box ul a {
	font-family: Tahoma;
	font-size: 12px;
   	display:block;
   	margin:0;
   	padding:0px 19px;
   	text-decoration:none;
   	line-height: 20px;
	color:#4b3f3b;
	font-weight: bold;
	
	background:url('../../template/051/images/bg_menu_seperate.gif') no-repeat right top;
}

#MenuTop_Box ul a:hover {
   	text-decoration:underline;
	color:#c1512b;
	
	font-weight: bold;
	text-decoration:underline;
	
}

/*---------------- End Menu Top -----------------*/




#Left_Box {
   	float:left;
	width:219px;
	
	background-image:url('../../template/051/images/bg_menuleft.gif');
}

#MainContent_Box {
   	float:left;
	width:770px;
	min-height:1000px;
	padding-left:7px;
	padding-right:0px;
}

#tbl_STORE_HOMETYPE0 {
	margin-left:10px;
	width:730px;
	word-wrap: break-word;
}

#Right_Box {
   	float:left;
	width:0px;
	background-color:#;
	
}

#BottomOutside_Box {
   	float:left;
	width:100%;	
	height:158px;
	
		
}

#BottomCenter_Box {
  	margin-left: auto;
  	margin-right: auto;
	width: 996px;
	height:158px;
	background:url('../../template/051/images/bg_bottom.gif') no-repeat center top;
	
	color:#877767;
}

.WebStatus {
		
	margin-left:auto;margin-right:auto;
	width:197px;
	height:90px;	
	padding:109px 0px 0px 22px;
	
	background:url('../../template/051/images/bg_status.gif') no-repeat top;
	font-family:Tahoma;
	color:#5b5852;
	font-size:11px;
	border:0px;
	display:block;	
}

.MenuLeftData_1 {
	margin:10px 0px 0px 0px;
	width:177px;
	height:41px;line-height:41px;
	padding:15px 0px 0px 20px;
	background:url('../../template/051/images/tmplt_30.gif');
	font-family:Tahoma;
	color:000000;
	font-size:11px;
	font-weight:bold;
	
	margin-left: auto;
	margin-right: auto;
	border:0px;
	display:block;	
}

.MenuLeftData_2 {
	width:187px;
	
	margin-top:0px;
	padding:5px 5px 5px 5px;
	color:#292928;
	font-size:11px;
	margin-left: auto;
	margin-right: auto;	
	word-wrap: break-word;
	border:0px;
	display:block;	
}

.MenuLeftData_3 {
	width:177px;
	
	height:10px;
	margin-top:0px;
	font-size: 1px; 	/* font-size:1px;  และ line-height:1;  มีไว้สำหรับกำหนด height ของ div ให้ต่ำกว่า 19 px ได้  (ถ้าไม่ใส่ 2 ค่านี้จะไม่สามารถกำหนดค่าให้ต่ำกว่า 19px ได้ */
	line-height: 1; 
	margin-left: auto;
	margin-right: auto;		
   	padding:0;
}

.MenuSide_TextLink {
	float:left;
	margin-top:10px;
	width:100%;
	padding-left:10px;
	padding-right:10px;
	height:25px;
	line-height:25px;
}

.MenuLeftSubDiv_NoMargin {
   	margin:0;
	margin-left: auto;
	margin-right: auto;
	width:177px;
}



/*================================ Decoration ================================*/

.img_maxwidth {
	max-width: 720px;
	/* Resize the image for IE6 */
	width: expression(this.width > 720 ? 720: true);
}


/*---------------- Home -----------------*/

.NormalFont_Color {
	color:#79715d;;
}

.LinkFont_Color {
	color:#4b3f3b;;
}

#MenuMainData_Bar {
	width:100%;
	margin:0;
	margin-top:10px;	
	padding:0;
	height:34px;line-height:34px;
	background:url('../../template/051/images/tmplt_54.gif') no-repeat;		
}

#MenuMainData_Bar ul {
   	clear:left;
   	float:left;
   	list-style:none;
   	margin:0;
   	padding:0;
	width:100%;
	height:34px;line-height:34px;
	height:34px;line-height:34px;
	}

.MenuMainData_Bar_li_Left {
   	display:inline;
	font-family: Tahoma;
	font-size: 12px;
   	float:left;
   	list-style:none;
   	margin:0;
   	padding-left:50px;
	width:387px;
	height:34px;line-height:34px;
	color:#6b4021;
	}
	
.MenuMainData_Bar_li_Right {
   	display:inline;
   	float:right;
   	list-style:none;
   	margin:0;
   	padding:0;
	width:123px;
	height:34px;line-height:34px;
	}

.MenuMainData_Content {	   	
	font-family: Tahoma;
	font-size: 12px;
	margin-left: auto;
	margin-right: auto;
	margin-top:10px;
	width:750px;
	word-wrap: break-word;
	}

.CompanyLogoBox {
	width:230px;
	height:200px;
	background: #f7e9d5;
	border: 1px solid #e4c7a6;
}

.BG_COLOR_1 {
	background: #f6e2c6;
}

.BG_COLOR_2 {
	background: #f7e9d5;
}

.BG_COLOR_3 {
	background: #fff4e3;
}


.LINE_COLOR {
	background:#e4c7a6;
}

.boardhome_style_1 {
	background: url(../../template/051/images/bulletin/forum_03.gif);
	width:50px;
	height:27px;
}

.boardhome_style_2 {
	background: url(../../template/051/images/bulletin/forum_04.gif);
	font-family: Tahoma;
	font-size: 11px;
}

.boardhome_style_3 {
	background: url(../../template/051/images/bulletin/forum_06.gif);
	width:21px;
	height:27px;
}

.boardhome_style_4 {
	background: url(../../template/051/images/bulletin/forum_07.gif);
}

.boardhome_style_5 {
	background: url(../../template/051/images/bulletin/forum_09.gif);
	width:9px;
	height:27px;
}

.boardhome_style_6 {
	background: url(../../template/051/images/bulletin/bg_boardfixtopic.jpg);
}

.boardhome_style_7 {
	background: url(../../template/051/images/bulletin/forum_15.gif);
	font-family: Tahoma;
	font-size: 10px;
}

.boardhome_style_8 {
	background:#fbebd3;
}

.boardhome_style_BorderColor {
	background:#c8bba6;
}

.boardhome_style_BgRow_Part1 {
	background:#fef6e9;
}

.boardhome_style_BgRow_Part1_1 {
	padding-top:4px;padding-left:6px;padding-right:6px;padding-bottom:4px;
	font-family: Tahoma; font-size: 13px; font-style: normal; line-height: normal; font-variant: normal;
	background:#fef6e9;
}

.boardhome_style_BgRow_Part2 {
	background:#faf0e0;
}




.PdtBox_BorderColor {
	background:#e4d0ac;
}

.PdtBox_BGColor {
	background:#ffebcd;
}




/*---------------- Product Page -----------------*/

.FontColor_Topic {
	color:#4d4d4f;
}

.FontColor_TopicBar {
	color:#7e5739;
}

.SubTopic_Color {
	color:#ac2839;
}

.PdtDesc_FontColor {
	color:#51483a;
	font-family: Tahoma;
	font-size: 11px;
}

.Paging_FontColor {
	color:#8b7b5e;
	font-family:Tahoma;
	font-size: 12px;
}

.GoTo_BorderColor {
	background:#cdb78e;
}

.GoTo_BGColor {
	background:#fff9ef;
}

.GoTo_FontColor {
	color:#8b7b5e;
}

.GoTo_Bttn { 
  font-family:Tahoma; 
  font-size:12px;
  font-weight:normal; 
  background:#e5d0a9;
  border-top: #cdb78e solid;
  border-left: #cdb78e solid;
  border-right: #cdb78e solid;
  border-bottom: #cdb78e solid;
  border-style:normal; 
  border-width:1px; 
  color:#000000; 
}

/* ------- Css Product Data Box ----- */
.PDTGALLERY_DATA_STYLE {
	padding-left:10px;
}

#pdtgallerybox {
	width:367px;
	height:175px;
	padding-top:20px;
	padding-bottom:5px;
}

#pdtgallerybox_left {
	width:145px;
	float:left;
}

#pdtgallerybox_left ul {
	list-style:none;
   	margin:0;
   	padding:0;
}

#pdtgallerybox_left ul li {
   	display:block;
   	list-style:none;
	width:145px;
	padding-bottom:5px;
   	margin:0;
   	padding:0;
}


#pdtgallerybox_right {
	width:222px;
	float:left;
}

#pdtgallerybox_right ul {
	list-style:none;
   	margin:0;
   	padding:0;
}

#pdtgallerybox_right ul li {
   	display:block;
   	list-style:none;
	width:222px;
	padding-bottom:5px;
   	margin:0;
   	padding:0;
	word-wrap:break-word;
}
/* ------- End Css Css Product Data Box ----- */


.ArticleList_Detail_FontColor {
	color:#997753px;
}




/* ------- Board ----- */

.Board_TopicBGColor {
	background:#f8dfbc;
}



/* ------- HowToPay ----- */

.BankBox_BorderColor {
	background:#e4d0ac;
}

.BankBox_BgColor {
	background:#faedd8;
}

.BankBox_TopicBgBar {
	background:url(../../template/001/images/bg_header.gif);
	height:35px;
	line-height:35px;
	font-family:Tahoma;
	font-size:11px;
	font-weight: bold;
	color:#000000;
}

.PayForm_TopicBgBar {
	background:#faedd8;
	height:35px;
}




/* ------- PdtDetail ----- */

.PdtDetail_ImgThumbBG {
	background:url('../../template/051/images/tmplt_16.gif') no-repeat right top;
}

.PdtDetail_BgLineUnderTopSlideImg {
	margin-left: auto;margin-right: auto;font-size:1px;line-height:1;width:699px;height:14px;background:url(../../template/051/images/tmplt_26.gif);
}

.PdtDetail_BgLinePdtDetailBox {
	background:url(../../template/051/images/tmplt_36.gif) repeat-x bottom;	
}

.PdtDetail_BgPdtBigThumb_Width_MarginTop {
	width:196px;
	margin-top:31px;	
}

.PdtDetail_BgPdtBigThumb {
	background:url(../../template/051/images/tmplt_32.gif) no-repeat;
}

.PdtDetail_BttnAddToCart {
	background:url(../../template/051/images/tmplt_49.gif);
	color:#ffffff;
	width:185px;
	height:33px;
}

.block_pdtimg {
	border:1px solid #e4d0ac;
	width:120px;
	height:124px;
	background:#ffebcd;
}

.wraptocenter {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	height:120px;
}
.wraptocenter * {
	vertical-align: middle;
}


.wraptocenter_pdtdetail {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	height:201px;
}
.wraptocenter_pdtdetail * {
	vertical-align: middle;
}

 html .wraptocenter_pdtdetail {
	display: block;
	line-height: 0.6;
}
 
 html .wraptocenter_pdtdetail span {
	display: inline-block;
	height: 100%;
	width: 1px;
}


/* ------- Cart & Other Page ----- */

#cart_data {
	background:#ffffff;
}

.Cart_ImgIcon {
	background:url(../../template/051/images/img_cart.jpg) no-repeat;
}

#tbl_CartContent {
	margin-left:25px;
}

.OTHER_CONTENT_PADDING_LEFT {
	margin-left:25px;
}

.JoinForBuy_ImgIcon {
	background:url(../../template/051/images/img_login.jpg) no-repeat;
}

.JoinSignup_ImgIcon {
	background:url(../../template/051/images/img_register.jpg) no-repeat;
}

.Shipping_ImgIcon {
	background:url(../../template/051/images/img_shipping.jpg) no-repeat;
}

.Checkout_ImgIcon {
	background:url(../../template/051/images/img_check.jpg) no-repeat;
}

.CheckoutFinish_ImgIcon {
	background:url(../../template/051/images/img_thank.jpg) no-repeat;
}

.ForgetPasswd_ImgIcon {
	background:url(../../template/051/images/img_question.jpg) no-repeat;
}

.OK_ImgIcon {
	background:url(../../template/051/images/img_finish.jpg) no-repeat;
}

.Welcome_ImgIcon {
	background:url(../../template/051/images/img_welcome.jpg) no-repeat;
}

.Cart_Img_01 {
	background:url(../../template/051/images/checkout_16.gif);
	width:20px;
	height:111px;
}

.Cart_Img_02 {
	background:url(../../template/051/images/checkout_17.gif);
	height:111px;
}

.Cart_Img_03 {
	background:url(../../template/051/images/checkout_21.gif);
	width:19px;
}

.Cart_Img_04 {
	background:url(../../template/051/images/checkout_30.gif);
}



/* ------- Bottom ----- */

#MainBottomOutside_Box {
	float:left;	
	width:100%;
	height:158px;
	padding:0;
	margin:0;
}	
	
#MainBottomCenter_Box {
	width:996px;
	height:158px;
	margin:0;
  	margin-left: auto;
  	margin-right: auto;	
	font-family:Tahoma;
	font-size:11px;
	background:url(../../template/051/images/bg_bottom.gif);
}

.FOOTER_CONTENT_PADDING_TOP {
	padding-top:50px;
}














