*, html, body {
	box-sizing: border-box;
	font-family: "Noto Sans Thai UI Alpha", Tahoma, system-ui, -apple-system, BlinkMacSystemFont, 
	"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, monospace, sans-serif;

}

@font-face {
  font-family: 'Noto Sans Thai UI Alpha';
  font-style: normal;
  font-weight: 400;
  src: url("../font/noto/NotoSansThaiUI-Regular.woff2") format("woff2"), 
  url("../font/noto/NotoSansThaiUI-Regular.woff") format("woff"), 
  url("../font/noto/NotoSansThaiUI-Regular.ttf") format("truetype");
}

@font-face {
  font-family: 'Noto Sans Thai UI Alpha';
  font-style: normal;
  font-weight: 600;
  src: url("../font/noto/NotoSansThaiUI-Bold.woff2") format("woff2"), 
  url("../font/noto/NotoSansThaiUI-Bold.woff") format("woff"), 
  url("../font/noto/NotoSansThaiUI-Bold.ttf") format("truetype");
}

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0; 
}

body {
	min-width: 300px;
	position: relative;
}

._container {
	width: 100%;
	height: 100%;
	background-color: #000;
	overflow-x: hidden;

	background-image: url(../img/bg.jpg?v1);
    background-size: cover;
    background-position: center;
}

#token {  
	font-size: 12px;    
	color: red;
	text-align: center;
	padding-top: 10px;
	position: relative;
}
.logo-container {
	width: 100%;
	height: 100px;
	background-image: url(../img/bg_top.png);
	background-size: cover;
	background-position: center;
	position: relative;
}

.logo-wrapper {
	width: 150px;
    padding: 30px 10px 10px 10px;
    margin: 0 auto;
}

.logo-wrapper img {
	width: 100%;
}

.top-bar {
	display: flex;
	height: 60px;
	position: absolute;
	top: 40px;
	width: 100%;
}

.top-bar .top-bar-img:nth-child(1),
.top-bar .top-bar-img:nth-child(3) {
	flex: 1;
}

.top-bar .top-bar-img:nth-child(2) {
	width: 240px;
}

.top-bar .top-bar-img img {
	width: 100%;
	height: 100%;
}

.nav-menu-container {}

.nav-hamburger {
	width: 100%;
	height: 30px;
	color: #0c7114;

	background: #dadada;
background: -webkit-linear-gradient(#dadada 0%, #f7f7f7 10%, #d9d9d9, #f7f7f7 90%, #dadada 100%);
background: -o-linear-gradient(#dadada 0%, #f7f7f7 10%, #d9d9d9, #f7f7f7 90%, #dadada 100%);
background: linear-gradient(#dadada 0%, #f7f7f7 10%, #d9d9d9, #f7f7f7 90%, #dadada 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dadada', endColorstr='#dadada', GradientType=0 );
}

.hamburger-title {
	display: inline-block;
	height: 30px;
	line-height: 30px;
	padding: 0 6px;
}

.hamburger {
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	float: right;
	clear: left;
	font-size: 18px;
    font-weight: bold;
}

.nav-menu {
	background-color: #f7f7f7;
	max-height: 0;
	overflow: hidden;
	transition: max-height 250ms;
}

.nav-menu ul,
.nav-menu li {
	list-style: none;
	color: #333;
	margin: 0;
	padding: 0; 
}

.nav-menu li a {
	width: 100%;
	line-height: 32px;
	padding-left: 15px; 
	cursor: pointer;
	display: block;
	text-decoration: none;
	color: #333;

	background: -webkit-linear-gradient(#eeeeee 0%, #f7f7f7 50%, #ffffff 100%);
	background: -o-linear-gradient(#eeeeee 0%, #f7f7f7 50%, #ffffff 100%);
	background: linear-gradient(#eeeeee 0%, #f7f7f7 50%, #ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
}

.nav-menu li a:hover {
	background-color: #eee;
}

.login-container {
	width: 100%;
}

.login-form {
	width: 100%;
	max-width: 450px;
	padding: 40px;
	margin: 0 auto;
}

.uname-bg, .pass-bg {
	width: 100%;
	height: 40px;
	border: 1px solid rgb(93 93 93 / 58%);
    background-color: rgb(144 144 144 / 65%);
	border-radius: 40px;
	margin-bottom: 10px;
	position: relative;
	padding-left: 50px;
	padding-right: 10px;
	outline: none;
	color: #fff;
	background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: 4px 50%;
}

::placeholder 
{
	color: rgba(255, 255, 255, .6);
    opacity: 1;
}

:-ms-input-placeholder {
	color: rgba(255, 255, 255, .6);
}

::-ms-input-placeholder {
	color: rgba(255, 255, 255, .6);
}

.uname-bg {
	background-image: url(../img/userIcon.png);
}

.pass-bg {
	background-image: url(../img/passIcon.png);
}

.login-submit {
	width: 100%;
	height: 40px;
	border: 1px solid rgb(170 184 104);
	color: #ffffff;
    text-shadow: 0px 0px 3px black;
	border-radius: 40px;
	outline: none;
	color: #358400;
	font-size: 16px;
}

/*banner*/
.banner-container {
	display: none;
}
/*bottom*/
.bottom-slider-container {
	position: relative;
}

.silver-line {
	width: 100%;
	height: 4px;
	background-image: url(../img/m_line-01.png);
	background-size: 100%;
	margin-bottom: 20px;
	background-color: #fff;
}

.footer-img-container {
  display: flex;
  position: relative;
  justify-content: center;
  height: 300px;
}

.bottom-slider-container .left,
.bottom-slider-container .right {
  	background: rgba(125,2,4,1);
background: -webkit-linear-gradient(left, rgba(125,2,4,1) 0%, rgba(234,29,36,1) 50%, rgba(125,2,4,1) 100%);
background: -o-linear-gradient(left, rgba(125,2,4,1) 0%, rgba(234,29,36,1) 50%, rgba(125,2,4,1) 100%);
background: linear-gradient(to right, rgba(125,2,4,1) 0%, rgba(234,29,36,1) 50%, rgba(125,2,4,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d0204', endColorstr='#7d0204', GradientType=1 );

  width: 40px;
  height: 40px;
  position: absolute;
  top: 230px;
  left: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 34px;
  font-size: 34px;
  font-family: sans-serif;
  cursor: pointer;
  z-index: 3;
  color: #fff;
  box-shadow: 0px 1px 2px #fff;
}

.bottom-slider-container .right {
  left: unset;
  right: 30px;
}

.bottom-slider-container .left:hover,
.bottom-slider-container .right:hover {
  background: rgba(97,0,2,1);
background: -webkit-linear-gradient(left, rgba(97,0,2,1) 0%, rgba(234,29,36,1) 50%, rgba(97,0,2,1) 100%);
background: -o-linear-gradient(left, rgba(97,0,2,1) 0%, rgba(234,29,36,1) 50%, rgba(97,0,2,1) 100%);
background: linear-gradient(to right, rgba(97,0,2,1) 0%, rgba(234,29,36,1) 50%, rgba(97,0,2,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#610002', endColorstr='#610002', GradientType=1 );
}

.bottom-slider-container .left:active,
.bottom-slider-container .right:active {
  background: rgba(77,0,4,1);
background: -webkit-linear-gradient(left, rgba(77,0,4,1) 0%, rgba(184,17,25,1) 50%, rgba(77,0,4,1) 100%);
background: -o-linear-gradient(left, rgba(77,0,4,1) 0%, rgba(184,17,25,1) 50%, rgba(77,0,4,1) 100%);
background: linear-gradient(to right, rgba(77,0,4,1) 0%, rgba(184,17,25,1) 50%, rgba(77,0,4,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d0004', endColorstr='#4d0004', GradientType=1 );
}

.footer-img {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 300px;
  position: absolute;
  -ms-transform: translate(0,0);
  -moz-transform: translate(0,0);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -o-transition: all 800ms ease-out;
  -moz-transition: all 800ms ease-out;
  -webkit-transition: all 800ms ease-out;
  transition: all 800ms ease-out;
  will-change: transform;
}

.footer-img img {
	/*margin-top: 10px;*/
  	width: 200px;
  	-o-transition: all 800ms ease-out;
  	-moz-transition: all 800ms ease-out;
  	-webkit-transition: all 800ms ease-out;
  	transition: all 800ms ease-out;
}
.footer-img-center {
  z-index: 2;
  position: relative;
/*  -webkit-clip-path: inset(0px 50px);
  clip-path: inset(0px 50px);*/
  overflow: hidden;

}

.footer-img-center img {
/*	box-shadow: 0 0 20px rgba(255, 123, 86, .4), 0 0 4px rgb(255, 255, 255);
    border-radius: 24px;*/

   /* -o-animation: light-fade 2.5s infinite; 
    -moz-animation: light-fade 2.5s infinite; 
    -webkit-animation: light-fade 2.5s infinite; 
    animation: light-fade 2.5s infinite;*/
}

@-o-keyframes light-fade {
0%, 100%   {box-shadow: 1px 0 20px #ff6563;}
50% {box-shadow: 1px 0 20px rgba(255, 255, 255, .1);}
}

@-moz-keyframes light-fade {
0%, 100%   {box-shadow: 1px 0 20px #ff6563;}
50% {box-shadow: 1px 0 20px rgba(255, 255, 255, .1);}
}

@-webkit-keyframes light-fade {
0%, 100%   {box-shadow: 1px 0 20px #ff6563;}
50% {box-shadow: 1px 0 20px rgba(255, 255, 255, .1);}
}

@keyframes light-fade {
0%, 100%   {box-shadow: 1px 0 20px #ff6563;}
50% {box-shadow: 1px 0 20px rgba(255, 255, 255, .1);}
}

.footer-img-center:after {    
	content: " ";
    width: 140px;
    height: 189px;
    position: absolute;
    /*top: 10px;*/
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 10%, rgba(255, 123, 86, .4), rgba(255, 255, 255, 0) 90%);
    -o-animation: light-pass 3s infinite ease-in-out;
    -moz-animation: light-pass 3s infinite ease-in-out;
    -webkit-animation: light-pass 3s infinite ease-in-out;
    animation: light-pass 3s infinite ease-in-out;

    transform: translate3d(-100px,0,0);
}

@-o-keyframes light-pass {
 	0%, 60% {
    	opacity: 0;
    	transform: translate3d(-100px,0,0);
    }
    80%   {
    	opacity: 1;
    }
    100%   {
    	opacity: 0;
    	transform: translate3d(100px,0,0);
    }
}
@-moz-keyframes light-pass {
    0%, 60% {
    	opacity: 0;
    	transform: translate3d(-100px,0,0);
    }
    80%   {
    	opacity: 1;
    }
    100%   {
    	opacity: 0;
    	transform: translate3d(100px,0,0);
    }
}
@-webkit-keyframes light-pass {
    0%, 60% {
    	opacity: 0;
    	transform: translate3d(-100px,0,0);
    }
    80%   {
    	opacity: 1;
    }
    100%   {
    	opacity: 0;
    	transform: translate3d(100px,0,0);
    }
} 
@keyframes light-pass {
    0%, 60% {
    	opacity: 0;
    	transform: translate3d(-100px,0,0);
    }
    80%   {
    	opacity: 1;
    }
    100%   {
    	opacity: 0;
    	transform: translate3d(100px,0,0);
    }
}


.footer-img-left,
.footer-img-right
{
  width: 200px;
  align-items: flex-start;
}

.footer-img-left{
  justify-content: flex-end;
  transform: translate3d(-250px,0,0);
  will-change: transform;
}

.footer-img-right {
  justify-content: flex-start;
  transform: translate3d(250px,0,0);
  will-change: transform;

}

.footer-img-left img ,
.footer-img-right img {
  width: 200px;
  transition: all 700ms;
}

@media only screen and (min-width: 400px) {
	.footer-img {
  		width: 350px;
	}

	.footer-img img {
	  	width: 250px;
	}

	.footer-img-left,
	.footer-img-right
	{
	  width: 200px;
	  align-items: flex-start;
	}
	.footer-img-left{
	  transform: translate3d(-250px,0,0);
	}
	
	.footer-img-right {
	  transform: translate3d(250px,0,0);
	
	}
	
	.footer-img-left img ,
	.footer-img-right img {
	  width: 200px;
	}

	.bottom-slider-container .left {
		left: unset;
		right: 50%;
		margin-right: 140px;
	}

	.bottom-slider-container .right {
		right: unset;
		left: 50%;
		margin-left: 140px;
	}

	.footer-img-center:after {
    	height: 237px;
	}
	#token {  
		font-size: 12px;    
		color: red;
		position: absolute;
		bottom: -2px;
	}
}

@media only screen and (min-width: 700px) {
	._container:before
	{
		content: " ";
	    /*background-color: rgba(0, 0, 0, 0.4);*/
	    background-color: rgb(0 0 0 / 0%);
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	}

	.top-group {
		position: relative;
		height: 130px;
	}

	.logo-container {
		height: 140px;
	}
	
	.logo-wrapper {
    	width: 160px;
    	padding: 40px 10px 10px 10px;
	}

	.top-bar {
		top: 70px;
	}

	.nav-menu-container {
		position: absolute;
	    top: 0;
	    left: 0;
	    right: 50%;
	    padding-right: 100px;
	    height: 60px;
	}
	#token {  
		font-size: 12px;    
		color: red;
		position: absolute;
		bottom: -2px;
	}

	.nav-hamburger {
		display: none;
	}

	.nav-menu {
		max-height: unset;
		background-color: rgba(0,0,0,0);
	}

	.nav-menu ul {
		display: flex;
		height: 60px;
		justify-content: flex-end;
	}

	.nav-menu ul li a {
		display: list-item;
		width: auto;
		line-height: 60px;
		padding: 0 8px;
		color: #fff;
		text-align: center;
		background: rgba(0,0,0,0);
	}

	.nav-menu ul li:last-child a{
		padding-right: 0;
	}

	.nav-menu ul li a {	}

	.nav-menu ul li a:hover {
		background-color: rgba(0,0,0,0);
		position: relative;
	}

	.nav-menu ul li a:hover:after {
		content: " ";
		clear: both;
		display: block;
		height: 1px;
		position: absolute;
		bottom: 10px;
		left: 8px;
		right: 8px;
		background-color: #009b20;
    	box-shadow: 0px 1px 2px #009b20, 2px 0px 2px #009b20, -2px 0px 2px #009b20;
	}
	
	.nav-menu ul li:last-child a:hover:after{
		right: 0;
	}

	.login-container {
		position: absolute;
		top: 0;
		right: 0;
		left: 50%;
		padding-left: 100px;
		height: 60px;
	}

	.login-form {
		padding: 0;
    	margin: 0;
    	display: flex;
    	height: 100%;
    	align-items: center;
	}

	.uname-bg, .pass-bg {
		background-image: url(../img/bg_user-01.png);
    	background-size: 100% 100%;
    	background-repeat: no-repeat;
    	background-position: center;
    	padding: 0 8px;
    	border-radius: 4px;
    	border: 0;
    	height: 28px;
    	width: 84px;
    	margin-right: 4px;
    	margin-bottom: 0;
    	color: #333;
	}

	::placeholder 
	{
		color: #606060;
	    opacity: 1;
	}
	
	:-ms-input-placeholder {
		color: #606060;
	}
	
	::-ms-input-placeholder {
		color: #606060;
	}

	.login-submit {
		/*background-image: url(../img/bottom-01.png);*/
		background-image: url(../img/color_btn.png);
    	background-size: 100% 100%;
    	background-repeat: no-repeat;
    	background-position: center;
    	border-radius: 4px;
    	border: 0;
    	height: 28px;
    	width: 60px;
    	font-size: 13px;
    	cursor: pointer;
	}

	.banner-container {
		display: block;
		width: 100%;
		min-height: 250px;
		background-color: #000;
		background-image: url(../img/bg_center.png?v1);
    	background-size: cover;
    	background-repeat: no-repeat;
    	background-position: center;
    	position: relative;
	}
	
	.slide-container-wrapper {
		width: 100%;
		height: 250px;
		max-width: 700px;
		margin: 0 auto;
		position: relative;
	}

	.slide-container {
		width: 100%;
		height: 100%;
		position: absolute;
		opacity: 0;
		display: flex;
		justify-content: center;
		transition: all 1000ms ease-out;
	}

	.slide-container img {
		position: absolute;
		height: 270px;
		bottom: 0;
	}

	.slide-l {
		transform: translate3d(-300px, 0, 0);
	}

	.slide-r {
		transform: translate3d(300px, 0, 0);
	}


	.slide-in {
		transform: translate3d(0, 0, 0);
		opacity: 1;
	}

	.footer-img-container {
	    height: 270px;
	}
}

@media only screen and (min-width: 820px) {
	.nav-menu ul li a {
		padding: 0 16px;
	}

	.nav-menu ul li a:hover:after {
		left: 16px;
		right: 16px;
	}

	.uname-bg, .pass-bg {
    	width: 100px;
    	padding: 0 12px;
	}

	.login-submit {
    	width: 80px;
	}

	.slide-container-wrapper {
		max-width: 800px;
	}
	
	
}

@media only screen and (min-width: 900px) {
	.nav-menu-container {
		padding-right: 120px;
	}

	.login-container {
		padding-left: 120px;
	}

	.logo-wrapper {
    	width: 190px;
	}

	.top-bar .top-bar-img:nth-child(2) {
    	width: 300px;
	}
}

@media only screen and (min-width: 1000px) {
	.nav-menu ul li a {
		padding: 0 20px;
	}
	
	.nav-menu ul li a:hover:after {
		left: 20px;
		right: 20px;
	}

	.uname-bg, .pass-bg {
    	width: 130px;
    	margin-right: 6px;
	}

}