@import "kanit.css";
/**************************************************************/
/*** Body ***/
/**************************************************************/
* {
    box-sizing: border-box;
    }
body {
	margin: 0px;
	padding: 0px;
	font-size: 16px;
	font-family: 'Kanit', Tahoma, Geneva, sans-serif;
	font-style: bold;
	color:#333333;
	font-weight: 300;
    background-color: #fdf9f9;
	}
hr {
	border:none;
	border-top:1px solid #fef8c5;
	height:1px;
	display:block;
	margin:5px 0px 0px 0;
	padding:0;
	}
a {
	text-decoration: none;
	}
#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index:99;
    cursor: pointer;
    }
/**************************************************************/
/*** Wrapper ***/
/**************************************************************/
#wrapper {
    width: 1012px;
    margin: 0px auto;
    display: grid;
    grid-template-columns:220px 780px;
    grid-template-rows: auto auto auto auto auto auto 1fr auto;
    grid-template-areas:"header header"
						"nav nav"
                        "slideshow slideshow"
                        "search search"
                        "quickkey quickkey"
                        "horonumber horonumber"
                        "sidebar main"
                        "footer footer";
    /*background-color: rgba(0, 0, 0, 0.98);*/
    padding: 0px 6px 8px 6px;
    /*-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.25);
	-khtml-box-shadow:0 0 3px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.25);
	box-shadow:0 0 3px rgba(0, 0, 0, 0.25);*/
	}
/**************************************************************/
/*** Header ***/
/**************************************************************/
header {
    grid-area: header;
	width:100%;
	}
#imgheader {
	width:100%;
	display: block;
	}
/**************************************************************/
/*** Nav ***/
/**************************************************************/
nav {
    grid-area: nav;
	background:-webkit-gradient(linear,left top,left bottom,from(#39bd24),to(#3baf28));
	background:-moz-linear-gradient(top,#39bd24, #3baf28);
	background-color: #3baf28;
    margin-bottom:5px;
}
#menu {
	padding: 0;
	margin: 0;
	list-style-type: none;
	z-index:999999;
	position:relative;
	display: grid;
	/*grid-template-columns:repeat(7, 1fr);*/
	/*grid-auto-flow: column;*/
}
#menu li {
	text-align: center;
	border-right:solid 1px  rgba(255,255,255,0.9);
	-webkit-transition: border .5s;
	-moz-transition: border .5s;
	-o-transition: border .5s;
	-ms-transition: border .5s;
	transition: border .5s;
	font-size:15px;
	padding:10px 0px 8px 0px;
}
#menu li a {
	color: #FFFFFF;
	display: block;
	height:40px;
	text-decoration: none;
	-webkit-transition: color .5s, background .5s, height .5s;
	-moz-transition: color .5s, background .5s, height .5s;
	-o-transition: color .5s, background .5s, height .5s;
	-ms-transition: color .5s, background .5s, height .5s;
	transition: color .5s, background .5s, height .5s;
	line-height:20px;
}
#menu li a:hover {
	color: #FFFFFF;
}
#menu li:last-child {
	border-right: none;
}
#menu li span {
	display: block;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.1);
	/*text-shadow:1px 1px 1px #F8FF00;*/
}
.icon + span {
    -webkit-transition: margin .5s;
    -moz-transition: margin .5s;
    -o-transition: margin .5s;
    -ms-transition: margin .5s;
    transition: margin .5s;
}
#menu i {
    position: relative;
    display: inline-block;
    margin: 0 auto 0px auto;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
/**************************************************************/
/*** Search ***/
/**************************************************************/
#search {
    grid-area: search;
	margin-bottom:7px;
    font-size:15px;
}
#block_search {
    background-color: #e9f0f7;
	background:-webkit-gradient(linear,left top,left bottom,from(#f0f5f9),to(#e9f0f7));
	background:-moz-linear-gradient(top,#f0f5f9, #e9f0f7);
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    padding: 15px;
    float: left;
    display: grid;
    grid-template-columns:185px 1fr 120px;
    grid-gap: 8px;
    width: 100%;
    color: #fd9898;
    }
#box_s_1 {
    float: left;
}
#box_s_2 {
    width: 100%;
    float: left;
    display: grid;
    grid-template-rows:55px 65px 60px;
}
#box_s_21 {
    float: left;
    font-size: 26px;
}
#box_s_22 {
    width: 100%;
    float: left;
    display: grid;
    grid-template-columns:160px 140px 140px 1fr;
    grid-gap: 8px;
}
#box_s_23 {
    width: 100%;
    float: left;
    display: grid;
    grid-template-columns:160px 1fr 130px;
    grid-gap: 8px;
}
#box_s_3 {
    float: left;
    padding-top: 5px;
}

#box_search_position {
	width:51px;
	height:49px;
	text-align:center;
	font-size:28px;
	color:#c75959;
}
#horonumber {
    grid-area: horonumber;
    font-size:15px;
    margin-bottom:7px;
}
#block_horo {
    background-color: #e9f0f7;
	background:-webkit-gradient(linear,left top,left bottom,from(#f0f5f9),to(#e9f0f7));
	background:-moz-linear-gradient(top,#f0f5f9, #e9f0f7);
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    padding: 15px;
    float: left;
    display: grid;
    grid-template-columns:185px 1fr 120px;
    grid-gap: 8px;
    width: 100%;
    color: #fd9898;
    }
#quickkey {
    grid-area: quickkey;
    margin-bottom:7px;
    background-color: #e9f0f7;
	background:-webkit-gradient(linear,left top,left bottom,from(#f0f5f9),to(#e9f0f7));
	background:-moz-linear-gradient(top,#f0f5f9, #e9f0f7);
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    padding: 15px;
    width: 100%;
    color: #fd9898;
    display: grid;
    grid-template-columns:185px 1fr;
}
#quickkey_block {
    float: left;
    display: grid;
    /*grid-template-columns:repeat(9, 1fr);*/
    grid-gap: 8px;
    padding-left: 8px;
    }
#quickkey_box {

    }
#quickkey_btn {
    font-size: 4em;
    color: #FFFFFF;
    background-color:#fd9898;
    border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    text-align: center;
    text-decoration: none;
    height: 80px;
    display: grid;
    align-content: center;
    justify-content: center;
    }
#quickkey_btn:hover {
    border: solid 2px #c75959;
}
#quickkey_txt {
    text-align: center;
    text-decoration: none;
    color: #fd9898;
    font-weight: 400;
    background-color:#FFFFFF;
    border-radius:10px;
    margin-top: 3px;
    font-size: 0.8em;
    }
/**************************************************************/
/*** Slideshow ***/
/**************************************************************/
#slideshow {
    grid-area: slideshow;
    margin-bottom: 7px;
}
/**************************************************************/
/*** Sidebar ***/
/**************************************************************/
aside {
    grid-area: sidebar;
}
#list-title {
	/*border-radius:5px 5px 0px 0px;*/
	padding:5px 10px 5px 10px;
	text-shadow:1px 1px 1px rgba(0,0,0,0.2);
	font-size:1.4em;
	color: #FFFFFF;
    /*background:url(../images/title.png);
	background-repeat:no-repeat;*/
    height: 48px;
    text-align: center;
    margin-bottom: 3px;
    background:-webkit-gradient(linear,left top,left bottom,from(#39bd24),to(#3baf28));
	background:-moz-linear-gradient(top,#39bd24, #3baf28);
	background-color: #3baf28;
    border-radius:8px;
    border:1px solid #268317;
	}
#list-menu {
	margin:0px auto 7px auto;
	padding: 5px 5px 5px 5px;
	border:1px solid #3baf28;
	/*border-top:none;*/
    color:#333333;
    background-color: #e9f0f7;
	background:-webkit-gradient(linear,left top,left bottom,from(#f0f5f9),to(#e9f0f7));
	background:-moz-linear-gradient(top,#f0f5f9, #e9f0f7);
    border-radius:8px;
	}
#list-menu ul {
	list-style:none;
	margin:0;
	padding:0;
	}
#list-menu ul li {
	background-image:url(../images/cat-w.png);
	background-position:bottom;
	background-repeat:no-repeat;
	/*border-bottom: 1px solid #E1E1E1;*/
	font-size: 14px;
	position:relative;
	}
/*#list-menu ul li:last-child {
	border-bottom: 1px solid #ecd26d;
	border-radius:0px 0px 10px 10px;
    -moz-border-radius:0px 0px 10px 10px;
    -webkit-border-radius:0px 0px 10px 10px;
	}
#list-menu ul li:last-child {
	background-image:none;
	}*/
#list-menu ul li a {
	padding: 6px 0px 6px 6px;
	color:#333333;
	cursor: pointer;
	text-decoration: none;
	display: block;
	}
#list-menu ul li a:hover {
	text-decoration: none;
	color:#FFFFFF;
	background-color: #3baf28;
	}
#list-menu ul li:hover ul {
	display:block;
	}
#list-menu ul li#sub-menu {
	background:url('../images/icon_more.gif') no-repeat scroll right center transparent;
	}
#list-menu ul ul {
	position:absolute;
	left:177px;
	top:0;
	border-top:1px solid #e9e9e9;
	display:none;
	margin-top:-1px;
	z-index: 10;
	}
#list-menu ul ul li {
	width:173px;
	background:#f1f1f1;
	border:1px solid #e9e9e9;
	border-top:0;
	}
#list-menu ul ul li a {
	color:#333;
	font-size:13px;
	text-transform:none;
	}
#list-menu ul ul li a:hover {
	color: #fff;
	background-color:#333;
	}
/**************************************************************/
/*** List Categories ***/
/**************************************************************/
#list-cat {
	margin:0px auto 15px auto;
	padding: 5px 20px 0px 20px;
	}
#list-cat ul {
	list-style:none;
	margin:0;
	padding:0;
	}
#list-cat ul li {
	background-image:url(../images/cat-div.png);
	background-position:bottom;
	background-repeat:no-repeat;
	font-size: 15px;
	position:relative;
	}
#list-cat ul li a {
	padding: 6px 0px 6px 0px;
	cursor: pointer;
	text-decoration: none;
	display: block;
	color:#6F5B11;
	line-height:18px;
	}
#list-cat ul li a:hover {
	text-decoration: none;
	text-shadow:0px 0px 10px #f4eba0;
	}
#list-cat ul li:hover ul {
	display:block;
	}
#list-cat ul li#sub-cat {
	background:url('../images/icon_more.gif') no-repeat scroll right center transparent;
	}
#list-cat ul ul {
	position:absolute;
	left:177px;
	top:0;
	border-top:1px solid #e9e9e9;
	display:none;
	margin-top:-1px;
	z-index: 100;
	}
#list-cat ul ul li {
	width:173px;
	background:#f1f1f1;
	border:1px solid #e9e9e9;
	border-top:0;
	}
#list-cat ul ul li a {
	color:#6F5B11;
	font-size:13px;
	text-transform:none;
	}
#list-cat ul ul li a:hover {
	color: #fff;
	background-color:#333;
	}
/**************************************************************/
/*** List Article ***/
/**************************************************************/
#list-article {

	}
#list-article ul {
	list-style:none;
	padding: 5px 5px 5px 5px;
	border:1px solid #3baf28;
	/*border-top:none;*/
    color:#fd9898;
    background-color: #e9f0f7;
	background:-webkit-gradient(linear,left top,left bottom,from(#f0f5f9),to(#e9f0f7));
	background:-moz-linear-gradient(top,#f0f5f9, #e9f0f7);
    border-radius:8px;
	}
#list-article ul li {
	background-image:url(../images/cat-w.png);
	background-position:bottom;
	background-repeat:no-repeat;
	/* border-bottom: 1px solid #E1E1E1; */
    padding: 5px 0px 5px 0px;
	}
#list-article ul li:last-child {
	background-image: none;
	}
#list-article ul li a {
	color:#333333;
	text-decoration: none;
	display: block;
	font-size:16px;
	}
#list-article ul li:hover {
	text-decoration: none;
    background-color: #FFFFFF;
	/*color:#6F5B11;
	background:linear-gradient(to right, #D1B464 0%, #FCF6BA 25%, #FCF6BA 50%, #FBF5B7 75%, #D1B464 100%);*/
	}
/**************************************************************/
/*** Main Content ***/
/**************************************************************/
section {
    grid-area: main;
    padding-left:8px;
	}
#main-content{
	padding:10px;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	width:100%-20px;
	border:1px solid #3baf28;
	background-color: #FFFFFF;
    margin-bottom:8px;
	}
/**************************************************************/
/*** Footer ***/
/**************************************************************/
footer {
    grid-area: footer;
	margin:0px auto 0px auto;
	overflow:hidden;
/*	border-top:solid 1px #ffffff;*/
	width:100%;
	padding-top:7px;
	text-align: center;
	font-size:13px;
    background-image:url(../images/foot-div-bk.png);
	background-repeat:no-repeat;
	background-position:center top;
    font-family: 'Kanit', Tahoma, Geneva, sans-serif;
	font-style: bold;
	color: #333333;
	font-weight: 400;
}
footer a {
	color: inherit;
	text-decoration:none;
	cursor:pointer;
	/*text-shadow:0px 0px 1px #000;*/
	}
footer a:hover {
	color: #333333;
	}
div#navbar-bottom {
	padding:6px;
	}
div#navbar-bottom a#menu-footer {
	padding-right:8px;
	padding-left:3px;
	background-image:url(../images/divider-line-bk.png);
	background-repeat:no-repeat;
	background-position:center right;
	color: inherit;
	}
div#navbar-bottom a#menu-footer:hover {
	color: #FFBE00;
	}
div#navbar-bottom a#menu-footer:last-child {
	background-image:none;
	}
/**************************************************************/
/*** Waranty ***/
/**************************************************************/
div.fixed-warranty {
    position: fixed;
    top:0px;
    left:0px;
    width:138px;
	z-index:10;
}
#warranty-detail {
	background-image:url(../images/w-bg.png);
	background-position:right bottom;
	background-repeat:no-repeat;
	font:normal 14px 'Kanit', Tahoma, Geneva, sans-serif;
	font-weight:300;
}
/**************************************************************/
/*** Label Title ***/
/**************************************************************/
#title-categories {
	margin:0px auto 7px auto;
	text-align:center;
	border-radius:8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
	font-family:'Kanit', Tahoma, Geneva, sans-serif;
	font-weight:300;
    text-shadow:1px 1px 1px rgba(0,0,0,0.2);
    height: 48px;
    padding:5px 10px 5px 10px;
	font-size:1.4em;
	}
.vip-title {
	color:#FCF6BA;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.1);
	background:-webkit-gradient(linear,left top,left bottom,from(#000),to(#333));
	background:-moz-linear-gradient(top,#000, #333);
	background-color: #000;
	border:solid 1px rgba(255, 255, 255, .3);
	}
.gold-title {
	color:#333333;
	background:linear-gradient(to right, #D1B464 0%, #FCF6BA 25%, #FCF6BA 50%, #FBF5B7 75%, #D1B464 100%);
	background:-webkit-gradient(linear,left top,left bottom,from(#D1B464),to(rgb(247, 238, 146)));
	background:-moz-linear-gradient(top,#D1B464, rgb(247, 238, 146));
	background-color: #D1B464;
    text-shadow: 1px 1px 1px #F8FF00;
	border:solid 1px rgba(255, 255, 255, .3);
	}
.gray-title {
	color:#FFFFFF;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.1);
	background:-webkit-gradient(linear,left top,left bottom,from(#666),to(#333));
	background:-moz-linear-gradient(top,#666, #333);
	background-color: #666;
	border:solid 1px rgba(255, 255, 255, .5);
	}
.label-title {
    color:#333333;
    text-shadow: 0px 1px 1px rgba(0,0,0,0.1);
    background-color: #ffe035;
	background:-webkit-gradient(linear,left top,left bottom,from(#ffe035),to(#fec031));
	background:-moz-linear-gradient(top,#ffe035, #fec031);
    border:solid 1px rgba(255, 255, 255, .3);
	}
.blue-title {
	color:#FFFFFF;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.1);
	/*background: -moz-linear-gradient(top,#008efd, #0280e2);
    background:-webkit-gradient(linear,left top,left bottom,from(#008efd),to(#0280e2));
    background-color: #008efd;*/
    background:-webkit-gradient(linear,left top,left bottom,from(#39bd24),to(#3baf28));
	background:-moz-linear-gradient(top,#39bd24, #3baf28);
	background-color: #3baf28;
	border:solid 1px #3baf28;
	}
/**************************************************************/
/*** Tag ***/
/**************************************************************/
.tags {
	list-style: none;
	margin: 0;
	overflow: hidden; 
	padding: 0;
  }
.tags span {
	float: left; 
  }
.tag {
    color: #A87B13;
    /*text-shadow:1px 1px 1px rgba(0,0,0,0.2);*/
    background:-webkit-linear-gradient(left, #D1B464 0%, #FCF6BA 25%, #FCF6BA 50%, #FBF5B7 75%, #D1B464 100%);
    background:-o-linear-gradient(left, #D1B464 0%, #FCF6BA 25%, #FCF6BA 50%, #FBF5B7 75%, #D1B464 100%);
    background:linear-gradient(to right, #D1B464 0%, #FCF6BA 25%, #FCF6BA 50%, #FBF5B7 75%, #D1B464 100%);
    border:solid 1px rgba(246, 233, 189, .5);
    border-radius: 3px;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 15px 0 15px;
    position: relative;
    margin: 0 7px 7px 0;
    text-decoration: none;
    -webkit-transition: color 0.2s;
    font-size:13px;
  }
  /*.tag::before {
	background: #333333;
	border-radius: 10px;
	box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
	content: '';
	height: 6px;
	left: 10px;
	position: absolute;
	width: 6px;
	top: 10px;
  }*/
  /*.tag::after {
	background: #fff;
	border-bottom: 13px solid transparent;
	border-left: 10px solid #E1E1E1;
	border-top: 13px solid transparent;
	content: '';
	position: absolute;
	right: 0;
	top: 0;
  }*/
  .tag:hover {
	background-color: crimson;
	color: #F7D700;
  }
  .tag:hover::after {
	 border-left-color: crimson; 
  }
/**************************************************************/
/*** Trackpost ***/
/**************************************************************/
.track-list #headtitle {
	border-radius:5px 5px 0 0;
	padding:5px 10px 5px 10px;
	color:#333333;
	/*text-shadow:1px 1px 1px rgba(0,0,0,0.2);*/
	font-size:22px;
	background:linear-gradient(to right, #D1B464 0%, #FCF6BA 25%, #FCF6BA 50%, #FBF5B7 75%, #D1B464 100%);
	font-weight: normal;
	font-style: normal;
	}
.track-list th {
	font-weight: normal;
	font-style: normal;
	}
.track-list td {
	margin:0px auto 7px auto;
	padding: 5px 5px 5px 5px;
	border-bottom:1px solid #E5E5E5;
	background:#fdfdfd;
	color:#333;
	}
/**************************************************************/
/*** Article ***/
/**************************************************************/
#block_article {
    width: 100%;
    border-bottom:1px solid #E5E5E5;
    padding-bottom: 15px;
}
#title_article {
    width: 100%;
    font-size:18px;
}
#date_article {
    width: 100%;
    font-size:13px;
}
#group_article {
    width: 100%;
}
#img_article {
    width: 30%;
    float: left; 
}
#txt_article {
    width: 70%;
    float: left; 
    padding-left: 15px;
}
/**************************************************************/
/*** เพิ่มเติม ***/
/**************************************************************/
.title {
    height: 45px;
    width: fit-content;
    margin: 8px auto;
    display: grid;
    grid-template-columns: 6px auto 6px;
    }
.t_center {
    background-image: url("../images/label_c.png");
    background-repeat: repeat-x;
    height: 45px;
    color: #edc464;
    font-size: 20px;
    display: grid;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding-left: 40px;
    padding-right: 40px;
    }  
    
#product_list {
  position: relative;
}
.ribbon {
  position: absolute;
  top: -7px;
  left: -7px;
  width:20%;
}
.ribbon:hover {
  /*top: 4px;*/
}
    
.cat {
    width: 220px;
}
.c_top {
    height: 56px;
    width: 100%;
    background: url("../images/c_top.png");
    background-repeat:no-repeat;
    }
.c_center {
    width: 100%;
    margin: -1px 0px;
    list-style: none;
    padding-left: 1rem;
    background: url("../images/c_center.png");
    background-repeat: repeat-y;
    }
.c_center a {
    text-decoration: none;
    color: #edc464;
    font-size: 14px;
    }
.c_center li {
    padding: 1px 5px 3px 0px;
    background-position: center bottom;
    background-image: url("../images/cat-line.png");
    background-repeat:no-repeat;
    }
.c_center li a:hover {
    color:#bc7c3b;
    }
.c_footer {
    height: 19px;
    width: 100%;
    background: url("../images/c_footer.png");
    background-repeat:no-repeat;
    }
/*.welcomebox {
    height: 232px;
    width: 100%;
    color: #edc464;
    padding: 30px 40px 10px 40px;
    background: url("../images/textbox.png");
    background-repeat:no-repeat;
    }*/
.welcomebox {
    width: 100%;
    color: #edc464;
    position: relative;
}
.ctl {
  position: absolute;
  top: 0px;
  left: 0px;
}
.cbr {
  position: absolute;
  bottom: 0px;
  right: 0px;
}
.textbox_t {
    height: 22px;
    width: 100%;
    background: url("../images/textbox_t.png");
    background-repeat:no-repeat;
    }
.textbox_c {
    width: 100%;
    margin: 0px;
    padding: 15px 40px 15px 40px;
    list-style: none;
    background: url("../images/textbox_c.png");
    background-repeat: repeat-y;
    }
.textbox_b {
    height: 26px;
    width: 100%;
    background: url("../images/textbox_b.png");
    background-repeat:no-repeat;
    }
/**************************************************************/
/*** Media Screen Mobile ***/
/**************************************************************/

/**************************************************************/
/*** Media Screen Tablet Mobile ***/
/**************************************************************/
