/* CSS Document */
* {
	margin: 0 auto;
	font-family: "Kanit", "Itim", "Chonburi", "Tahoma";
}
html { 
    font-size: 62.5%;     /* set root font-size  เป็น 10px */
} 
body { 
	padding: 0;
    font-size: 16px;      /* กรณีไม่รองรับ rem */
}
h1 { 
    font-size: 24px;
}
h2 { 
    font-size: 20px;
}
#container {
	width: 100%;
	margin: 0 auto;
	background-color:#FFFF33 ;
	border: 1px solid #DDDDDD;
}
#header {
	width: 100%;
	min-height:100px;
	
	background-color:#FFFF33;
}
#headersub {
	width: 1000px;
	margin: 0 auto;
	padding: 3px 0px 4px 0px;
	color: #CC00FF;
	font-family: "Tahoma", "Berlin Sans FB", "Tahoma";
	overflow:auto;
}
#headerleft {
	float:left;
	padding-left: 3px;
}
#headerright{
	float: right;
	padding-top: 14px;
	padding-right: 3px;
}
#nav {
	width: 100%;
	background-color:#E8962C;
}
#navsub {
	width:1000px;
	margin:0 auto;
	padding: 10px 0px 5px 5px;	
	overflow:auto;
}
#navsubleft {
	float:left;
}
#navsubright {
	float:right;
}
#nav ul {
	list-style:none;
}
#nav ul li {
	display:inline; 
}
#nav a {
	color: #000000;
	text-decoration: none;
	padding-right: 30px;
}
#nav a:hover {
	text-decoration: underline;
}
#navchannel {
	width: 13%;
	float: left;
}
#navuseronline {
	width: 18%;
	float: right;
	text-align:center;
	padding-top:5px;
}
#navuseronline a {
	font-size:12px;
	color: #000000;
	text-decoration:none;
}
#navuseronline a:hover {
	text-decoration: underline;
}
#navlink {
	width: 68%;
	float: right;
}
#navlink ul {
	list-style: none;
}
#navlink ul li {
	display: inline;
}
#navlink a {
	color: #666666;
	text-decoration: none;
	padding: 0px 15px 0px 15px;
}
#navlink a:hover {
	text-decoration:underline;
}
#mainbody {
	width: 1000px;
	min-height: 600px;
	overflow:auto;
	margin: 0 auto;
	color: #000000;
}

#product {
	width:200px;
	min-height:295px;
	border:1px solid #666666;
	margin:10px 10px 10px 25px;	
	border-radius:10px;							/*ขอบโค้ง*/
	text-align:center;
	padding:5px;
	float:left;
}
#product a {
	color:#006600;
	text-decoration:none;
}
#foodtype a {
	color: #0066cc;
	font-weight:bold;
	text-decoration: none;
	padding: 0px 12px 0px 12px;
}
#foodtype a:hover {
	text-decoration:underline;
}
#basket a {
	color:#000000;
	text-decoration:none;
}
#netamount{
	font-size:20px;
	color:#008800;
	font-weight:bold;
	padding:10px 0px 10px 0px;
}
#nettotal{
	font-size:20px;
	color:#008800;
	font-weight:bold;
	padding:10px 0px 10px 0px;
}

#content_left {
	width:33%;
	min-height:300px;
	border:1px solid #666666;
	border-radius:10px;
	box-shadow: 4px 4px 7px #999;
	float:left;
	margin:10px 0px 10px 10px;
	padding-top:25px;
}

#content_right {
	width:60%;
	min-height:300px;
	border:1px solid #666666;
	border-radius:10px;
	box-shadow: 4px 4px 7px #999;
	float:right;
	margin:10px 10px 10px 0px;
	padding:15px;
}

#prohead {
	font-size:16px;
	color:#555555;
	font-weight:bold;
}
#prodata {
	font-size:18px;
	font-weight:bold;
	color:#009933;
	padding-bottom: 20px;
}
#prodetail {
	font-size:18px;
	padding-top: 10px;
	padding-bottom: 30px;
	color:#006600;
}

#showdesc {
	clear:both;
	width:100%;
	padding:5px;
}
#aside {
	display:block;
	float:right;
	width:30%;
	margin:2px;
	text-align:center;
}
#logo {
	width:31%;
	display:block;
	float:left;
	margin:3px;
	padding-top:15px;
}
#footer {
	clear:both;
	width:100%;
	min-height:80px;
	background-color:#E8962C;
}
#footerbar {
	width:100%;
	text-align:center;
	font-size: 13px;
	color:#66FF66;
	padding:20px 0px 10px 0px;
}

.clear {
	clear:both;	
}


@media screen and (max-width:720px) {
	#container, #headersub, #navsub, #mainbody, #section, #aside, #footer, p {
		width:100%; 
	}
	#logo {
		width:18%;	
	}
}
@media screen and (max-width:480px) {
	#container, #headersub, #navsub, #mainbody, #section, #aside, #footer, p {
		width:100%;
	}
	#navsub {
		text-align:left;
	}
	#nav ul li { 
		display:block;
		padding:0 0 0 15px;
	}
	#adiv1 {
		/* display:none; */
	}
	#logo {
		width:23%;	
	}
}
