@charset "utf-8";
/* CSS Document */

body, ul, li, ol, h1, h2, h3, h4, h5, h6, form, p, figure, figcaption { padding:0; margin:0; }
body {}
a { text-decoration:none; outline:none; }
a:hover { text-decoration:underline; }
*:focus { outline:none; }
a img { border:0; }
ul, li, ol { list-style:none; }

header, footer, nav, article, section, figure, figcaption { display:block; }

.sss { width:1px; height:1px; border-left:10px solid #000; border-top:20px solid #000; border-bottom:20px solid transparent; border-right:10px solid transparent; }

body>nav { background:#505051; position:relative; height:34px; width:1003px; margin:0 auto; box-shadow:0 -10px 10px rgba(0,0,0,0.2) inset, 0 0 2px rgba(0,0,0,0.8); margin-bottom:6px }
body>nav>ul.topbar li { display:inline; float:right; color:#FFFFFF; height:34px; padding-right:10px; border-left:1px solid #252626; border-right:1px solid #6E6E6E; }
body>nav>ul.topbar li:first-child { border:0; }
body>nav>ul.topbar li:last-child { border-left:0; }
body>nav>ul.topbar li a { -ms-transition:color linear 0.4s; -moz-transition:color linear 0.4s; -webkit-transition:color linear 0.4s; -o-transition:color linear 0.4s; color:#FFFFFF; display:block; padding:0 5px; height:34px; line-height:32px; text-shadow:0 1px 1px rgba(0,0,0,0.8); }
body>nav>ul.topbar li a:hover { text-decoration:none; color:#F90; }
body>nav>ul.topbar li a span { -ms-transition:color linear 0.4s; -moz-transition:color linear 0.4s; -webkit-transition:color linear 0.4s; -o-transition:color linear 0.4s; font-size:18px; display:inline; float:left; color:#C5C5C5; padding:0 5px 0 10px; }
body>nav>ul.topbar li a:hover span { color:#F90; }
body>nav>ul.topbar li.submenu { float:left; }
body>nav>ul.topbar li.submenu a { display:block; width:200px; padding:0; }
body>nav>ul.topbar li.submenu a span { font-size:30px; color:#FFFFFF; padding:0; text-align:center; display:inline; float:left; width:34px; height:34px; background:#F30000; box-shadow:0 -15px 15px rgba(0,0,0,0.3) inset; border-right:1px solid #2E2F2F; }
body>nav>ul.topbar li.submenu a img { display:inline; float:left; margin:6px 0 0 7px; }
body>nav>ul.menu {
	overflow:hidden;
	width:783px;
	padding:0 0 0 220px;
	height:0;
	position:absolute;
	top:34px;
	left:0;
	z-index:999;
	background:#333;
	background:rgba(0,0,0,0.8);
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
	box-shadow:0 2px 2px rgba(0,0,0,0.4);
}

body>nav>ul.menu:before { content:" "; width:1px; height:1px; position:absolute; top:0; left:8px; border-top:9px solid #AC0000; border-left:8px solid transparent; border-right:8px solid transparent; }
body>nav>ul.menu li { border-left:1px solid #363636; display:inline; float:left; width:190px; }
body>nav>ul.menu li:first-child, nav>ul.menu li:nth-child(2), nav>ul.menu li:nth-child(3), nav>ul.menu li:nth-child(4) { margin-top:10px; }
body>nav>ul.menu li a { color:#FFF; line-height:25px; height:25px; display:inline; float:left; }
body>nav>ul.menu li a span { margin-right:5px; font-size:16px; display:inline; float:left; color:#FFF; border-left:1px solid #676767; padding-left:10px; }
body>nav>form.loginbox { color:#CCCCCC; overflow:hidden; width:330px; height:0; position:absolute; top:34px; right:0; z-index:9; background:#333; background:rgba(65,65,65,1); border-bottom-left-radius:10px; border-bottom-right-radius:10px; box-shadow:0 2px 2px rgba(0,0,0,0.4), 0 -50px 60px rgba(0,0,0,0.5) inset, 0 5px 4px rgba(0,0,0,0.2) inset; }
body>nav>form.loginbox fieldset { border-radius:10px; margin:10px; border:1px solid #676767; }
body>nav>form.loginbox fieldset legend { text-align:center; font-weight:bold; color:#98D634; padding:0 10px; }
body>nav>form.loginbox fieldset label { display:inline; float:left; width:80px; text-align:right; padding:6px 10px 0 0; margin-top:5px; }
body>nav>form.loginbox fieldset input.input-login { display:inline; float:left; width:180px; border-radius:10px; margin-top:5px; font-size:16px; padding:3px; background:#666666; border:1px solid #000; box-shadow:0 2px 2px rgba(0,0,0,0.5) inset; color:#FFFFFF; }
body>nav>form.loginbox fieldset input.input-login:focus { background:#FF9600; color:#333; }
body>nav>form.loginbox fieldset input.btn-login { margin:5px 0 0 90px; background:#4F4F4F; color:#FF9900; padding:5px 20px; border-radius:10px; border:1px solid #000; box-shadow:0 2px 2px 1px rgba(0,0,0,0.5), 0 2px 4px rgba(255,255,255,0.3) inset; cursor:pointer; }
body>nav>form.loginbox fieldset input.btn-login:hover { background:#707070; }
body>nav>form .connectFB { margin:10px; }
body>nav>form .connectFB a { display:block; padding:5px 0; transition:background linear .3s; -moz-transition:background linear .3s; -webkit-transition:background linear .3s; -o-transition:background linear .3s; background:#557AC5; border-radius:10px; margin:0 10px; border:1px solid #25567C; box-shadow:0 -15px 30px rgba(52,78,133,0.9) inset, 1px 1px 1px rgba(255,255,255,.5) inset; height:40px; color:#FFF; text-shadow:0 1px 1px rgba(0,0,0,.8); font-size:22px; line-height:40px; }
body>nav>form .connectFB a span { display:inline; float:left; padding:0 10px 0 12px; border-right:1px solid #6589D2; margin-right:10px; font-size:28px; }
body>nav>form .connectFB a:hover { text-decoration:none; background:#70C5F5; }
body>nav>form .connectFB:before { content:" หรือ "; display:block; width:100%; height:20px; clear:both; text-align:center; }

body>nav>ul.topbar li.login a.btnloginnow img { width:25px; height:25px; display:inline; float:left; margin:4px 5px 0 0 ; border:1px solid #999; }
body>nav>ul.topbar li.login a.btnloginnow { font-weight:bold; color:#FF9900; }
body>nav>div.loginnow { color:#CCCCCC; overflow:hidden; width:250px; height:0px; position:absolute; top:34px; right:0; z-index:9; background:#333; background:rgba(65,65,65,1); border-bottom-left-radius:10px; border-bottom-right-radius:10px; box-shadow:0 2px 2px rgba(0,0,0,0.4), 0 -50px 60px rgba(0,0,0,0.5) inset, 0 5px 4px rgba(0,0,0,0.2) inset; }
body>nav>div.loginnow a img { display:inline; float:left; margin:15px 10px 0 20px; border:2px solid #999; border-radius:10px; }
body>nav>div.loginnow strong { display:block; margin-top:10px; }
body>nav>div.loginnow strong a { font-size:18px; color:#FF9900; }
body>nav>div.loginnow a.subbtn { display:inline; float:left; border:1px solid #CCC; padding:2px 5px; border-radius:10px; box-shadow:0 0 3px rgba(0,0,0,0.5); margin-top:5px; background:#666666; box-shadow:0 -15px 10px rgba(0,0,0,0.3) inset; color:#FFFFFF; font-weight:bold; text-shadow:0 0 2px #000000; width:120px; }
body>nav>div.loginnow a.subbtn:hover { text-decoration:none; background:#FF6600; color:#000; text-shadow:0 0 0 #000; }


body>header>section { width:983px; margin:0 auto; position:relative; background:#84FD00; box-shadow:0 -30px 50px rgba(80,156,0,0.6) inset; padding:10px 10px 15px; } 
body>header>section img.kapook { position:relative; z-index:10; }
body>header>section .bannertop { position:absolute; z-index:8; top:7px; right:30px; width:728px; height:90px; border:1px solid #FFF; background:#FFFFFF; box-shadow:0 0 3px rgba(0,0,0,0.6); }
body>header>section .bannertop:before, body>header .bannertop:after { content:" "; display:block; width:50px; height:70px; position:absolute; z-index:-1; top:10px; }
body>header>section .bannertop:before { left:5px; box-shadow:-9px -2px 5px 5px rgba(0,0,0,0.2); -webkit-transform: rotate(-9deg); -moz-transform: rotate(-9deg); -o-transform: rotate(-9deg); -ms-transform: rotate(-9deg); transform: rotate(-9deg); }
body>header>section .bannertop:after { right:5px; box-shadow:9px -2px 5px 5px rgba(0,0,0,0.2); -webkit-transform: rotate(9deg); -moz-transform: rotate(9deg); -o-transform: rotate(9deg); -ms-transform: rotate(9deg); transform: rotate(9deg); }


#footerbg { width:100%; margin:0 auto; background:url(../images_templates/bg-footer.png) bottom center no-repeat; padding-top:0 }
#footerbg footer {  width:1003px;  margin:0 auto; overflow:hidden ; font-size:13px; }
#footerbg footer>nav { overflow:hidden; position:absolute; z-index:9; background:none }
#footerbg footer>nav>a { color:#FFFFFF; display:inline-block; background:#000; padding:5px 30px 5px 10px; border-radius:10px 40px 0 0;  }
#footerbg footer>nav>ul { clear:both; width:100%; background:#333;  }

#footerbg footer>nav>ul li { display:inline; float:left; }
#footerbg footer>nav>ul li a { display:block; width:100px; background:#FA0064; border-top:5px solid #FA0064; height:0px; text-align:center; font-weight:bold; color:#FFFFFF; overflow:hidden; transition:height linear .2s; -webkit-transition:height linear .2s; -moz-transition:height linear .2s; -o-transition:height linear .2s; }
#footerbg footer>nav>ul li a span { display:block; font-size:24px; }
#footerbg footer>nav>ul li:nth-child(2) a { background:#56CA33; border-top:5px solid #56CA33; }
#footerbg footer>nav>ul li:nth-child(3) a { background:#FFDB0D; border-top:5px solid #FFDB0D; }
#footerbg footer>nav>ul li:nth-child(4) a { background:#FF240E; border-top:5px solid #FF240E; }
#footerbg footer>nav>ul li:nth-child(5) a { background:#9427CE; border-top:5px solid #9427CE; }
#footerbg footer>nav>ul li:nth-child(6) a { background:#A8D6F0; border-top:5px solid #A8D6F0; }
#footerbg footer>nav>ul li:nth-child(7) a { background:#3C5A98; border-top:5px solid #3C5A98; }
#footerbg footer>nav>ul li:nth-child(8) a { background:#FFDB0D; border-top:5px solid #FFDB0D; }
#footerbg footer>nav>ul li:nth-child(9) a { background:#FFA10D; border-top:5px solid #FFA10D; }
#footerbg footer>nav>ul li:nth-child(10) a { background:#FEA7D1; border-top:5px solid #FEA7D1; }
#footerbg footer>nav>ul li a:hover { text-decoration:none; height:50px; border-bottom-left-radius:10px; border-bottom-right-radius:10px; }


#footerbg footer>section { overflow:hidden; margin-top:30px; padding-top:10px;  width:1005px;  background:url(../images_templates/bg_foot_inside.png) bottom center  repeat-x; box-shadow:0 -6px 5px rgba(0,0,0,0.2); position: relative}


#footerbg footer>section article.sitemap { width:300px; display:inline; float:left; margin:5px 15px 20px; min-height:185px; }
#footerbg footer>section article.sitemap h4 { border-bottom:1px dashed #2e8194; padding:5px 0; color:#333333;}
#footerbg footer>section article.sitemap ul { overflow:hidden; padding-top:5px; }
#footerbg footer>section article.sitemap ul li { display:inline; float:left; width:150px; padding:2px 0 0; }
#footerbg footer>section article.sitemap ul li a { color:#505e45; display:block; padding:3px 0 0; -ms-transition:padding linear .3s; -webkit-transition:padding linear .3s; -moz-transition:padding linear .3s; -o-transition:padding linear .3s; }
#footerbg footer>section article.sitemap ul li a:hover { background:#cccccc; padding-left:10px; color:#fff; border-radius:3px;}
#footerbg footer>section article.sitemap ul li a:before { content:"• ";}
#footerbg footer>section article.service { width:670px; display:inline; float:right; }
#footerbg footer>section article.service h4 { display:inline; float:right; width:340px; border-bottom:1px dashed #333333; padding:5px 0; position:relative; z-index:3; color:#333333}
#footerbg footer>section article.service ul { display:inline; float:right; width:330px; overflow:hidden; margin-left:10px; padding-top:5px; }
#footerbg footer>section article.service ul li { display:inline; float:left; width:165px; }
#footerbg footer>section article.service ul li>a { color:#505e45; display:block; padding:3px 0 3px 3px; margin-right:5px; position:relative; z-index:3; }
#footerbg footer>section article.service ul li>a:before { content:"• ";}
#footerbg footer>section article.service ul li>a:hover {  background:#666666; color:#fff; text-decoration:none; border-radius:3px; }
#footerbg footer>section article.service ul li:last-child { position:absolute; bottom:0; right:0; border-radius:40px 0 0 0; border-top:3px solid #999999; background:#333333; width:150px; padding-left:10px; }
#footerbg footer>section article.service ul li:last-child>a { color:#FFFFFF; font-size:16px; display:block; line-height:16px; text-align:center; padding:4px 0; }
#footerbg footer>section article.service ul li:last-child>a span { color:#92FF05; text-transform:uppercase; font-size:11px; }
#footerbg footer>section article.service ul li:last-child>a:before { content:" "; }
#footerbg footer>section article.service ul li:last-child>a:hover { background:none; }
#footerbg footer>section article.service figure { display:inline; float:left; width:330px; }
#footerbg footer>section article.service ul li figure { width:670px; padding-top:10px; position:absolute; top:0; right:0px; z-index:0; visibility:hidden; display:none;  }
#footerbg footer>section article.service ul li:hover figure { visibility:visible; display:block; }
#footerbg footer>aside { background:#515151; box-shadow:0 -10px 20px rgba(0,0,0,0.6) inset; padding:5px 10px 2px; clear:both; }
#footerbg footer>aside a { display:inline-block; margin-right:5px; position:relative; }
#footerbg footer>aside a.suggest { display:inline; float:right; padding:3px 10px; border:1px solid #999999; background:#6c6c6c; box-shadow:0 -12px 10px rgba(0,0,0,0.3) inset; color:#FFF; font-size:12px; border-radius:10px; margin:3px; transition:background linear .3s; -moz-transition:background linear .3s; -webkit-transition:background linear .3s; -o-transition:background linear .3s; }
#footerbg footer>aside a.suggest:hover { text-decoration:none; color:#000; background:#5c950b; border:1px solid #5f9a0b; }




@-webkit-keyframes resize {
	0% { -webkit-transform:rotateY(0deg); }
	50% { -webkit-transform:rotateY(90deg); }
	100% { -webkit-transform:rotateY(180deg); }
}
@-moz-keyframes resize {
	0% { -moz-transform:rotateY(0deg); }
	50% { -moz-transform:rotateY(90deg); }
	100% { -moz-transform:rotateY(180deg); }
}

#footerbg footer>aside a:hover img {
	-webkit-animation-name: resize;
	-webkit-animation-duration: .4s;
	-webkit-animation-iteration-count: 4;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: ease-in-out;
	-moz-animation-name: resize;
	-moz-animation-duration: .4s;
	-moz-animation-iteration-count: 4;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: ease-in-out;
}