body {
	font-size: 0.85rem;
	font-family: "IBM Plex Sans Thai", sans-serif;
	font-weight: 400;
	color: #aaaaaa;
	background: #0c0f42;
}
h1, h2, h3, h4, h5 {
	font-family: "IBM Plex Sans Thai", sans-serif;
}
h1 {
	color: #ffd60a;
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 1.5rem;
	font-weight: 600;
	-webkit-text-fill-color: rgba(255, 214, 10);
	-webkit-opacity: 1;
}
h2 {
	color: #fff;
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: medium;
}
h3 {
	color: #ffd60a;
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: initial;
	font-weight: 600;
	-webkit-text-fill-color: rgba(255, 214, 10);
	-webkit-opacity: 1;
}
h4 {
	font-size: 1rem;
	margin-top: 5px;
	margin-bottom: 5px;
}
h5 {
	color: #ffd60a;
	font-size: 0.95rem;
	-webkit-text-fill-color: rgba(255, 214, 10);
	-webkit-opacity: 1;
}
p {
	text-indent: 1rem;
	line-height: normal;
	letter-spacing: normal;
}
.text-gunmetal {
	color: #2a3439;
}
a:link, a:visited, a:hover, a:active {
	text-decoration: none;
	color: initial;
}
.bg-header {
	background-color: linear-gradient(to bottom, #272727 0%, #171717 100%);
}
.bg-menu, .bg-menu-top {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 35px 0px;
	background-color: #ffc800;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.bg-menu-top {
	background: linear-gradient(45deg, #0c0f42 30%, #dc404e 100%);
}
section {
	display: flex;
}
.alert-danger {
	color: bisque;
	background-color: #44090a;
	border-color: #3c0001;
}
.block {
	flex: 1;
}
.block-s {
	flex: 1;
}
.container {
	margin: auto auto;
	width: 100%;
}
.container-banner {
	max-width: 100%;
	width: 100%;
}
.fx {
	display: flex;
	flex-wrap: wrap;
}
.taskbar {
	max-width: 500px;
	margin: 10px auto;
}
.taskbar img {
	width: 50px;
}
.taskbar > div {
	margin-top: auto;
}
.m-icon a:link, .m-icon a:visited, .m-icon a:active {
	color: #cfcfcf;
}
.m-icon {
	font-size: 1.25rem;
	color: #fff;
}
.btn {
	border: none;
	border-radius: 50px;
	padding: 5px 10px;
}
.btn-auto, .btn-auto-no, .btn-auto-edit {
	width: 100%;
	font-size: 0.75rem;
	font-weight: 600;
	color: #000;
	background-color: #ffc800;
}
.btn-auto-no {
	background-color: #888888;
	color: #555;
	font-weight: 400;
}
.btn-auto-edit {
	background-color: #a0001c;
	color: #fff;
}
.btn-danger {
	background-color: #a0001c;
}
.product-list {
	border: 0px;
	border-radius: 10px;
	background-color: #260000;
	padding: 20px 0px;
}
.profile-icon {
	font-size: 2rem;
	color: #ffbc00;
	border-radius: 50%;
	background-color: #820002;
	width: 70px;
	height: 70px;
	padding-top: 5px;
	margin-bottom: -50px;
}
.profile-box, .box-auto {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	background-color: rgba(255,255,255,0.1);
	border-radius: 35px 0;
	padding: 15px;
}
.profile-box {
	border-radius: 15px;
}
.profile-box h5 {
	color: #ccc;
}
.box-auto, .box-auto-no {
	padding: 0px;
}
.box-auto-no {
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #888;
	border-radius: 35px 0;
	margin-top: 10px;
}
.inactive-logo {
	padding: 5px;
	margin: 0px 8px;
}
.closed-logo {
	opacity: 0.7;
	filter: grayscale(100%);
}
/* --------------display--------------- */
.d-block, .d-sm-none {
	display: none;
}
.d-none, .d-xl-block {
	display: block;
}
/*----------------  box ---------------*/
.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}
.box-popup {
	background-color: #111111;
	margin: 70px auto;
	padding: 20px;
	border-radius: 10px;
	width: 400px;
	position: relative;
	transition: all 5s ease-in-out;
}
.box-popup .close {
	position: absolute;
	top: 0px;
	right: 10px;
	transition: all 200ms;
	font-size: 30px;
	font-weight: bold;
	text-decoration: none;
	color: #ffbc00;
}
.box-popup .close:hover {
	color: #ff5353;
}
.box-login {
	position: fixed;
	margin-left: auto;
	margin-right: auto;
	border: medium solid #c1ab52;
	border-radius: 10px;
	width: 400px;
	padding: 30px 10px;
	background-color: #111111;
	color: #aaa;
}
.box-popup .logo {
	width: 200px;
}
.btn-close {
	position: absolute;
	right: 20px;
	top: 10px;
	left: auto;
}
/*----------------  modal ---------------*/
.register-comment {
	width: 90%;
	background-color: #44090a;
	border-radius: 8px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	margin-left: auto;
	margin-right: auto;
	font-size: 14px;
	font-weight: 100;
}
.box-login {
	width: 100%;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-color: #111111;
	color: #aaa;
}
.modal-login {
	margin: auto;
	border: medium solid #ffd60a;
	border-radius: 10px;
	width: 400px;
	padding: 30px 10px;
	background-color: transparent;
	color: #aaa;
}
.modal-register {
	margin: auto auto;
	border: medium solid #c1ab52;
	border-radius: 10px;
	background: transparent;
	color: #aaa;
}
.register-comment {
}
.modal-input {
	position: relative;
	margin: 10px 0px;
}
.modal-btn-ok {
	font-family: "IBM Plex Sans Thai", sans-serif;
	border-radius: 8px;
	color: #000;
	width: 100%;
	padding: 15px;
	margin: 10px 0px;
	background: linear-gradient(0deg, #ffc300, #ffd60a);
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	border-style: none;
	cursor: pointer;
}
.modal-header {
	flex-wrap: wrap;
	flex-grow: 1;
	padding: 10px 20px;
	text-align: center;
	border-bottom: 0;
}
.modal-body {
	position: relative;
	margin: 10px 50px;
	padding: 0;
}
.modal-body a:link {
	color: #ccc;/* text-decoration: underline; */
}
.modal-body a:active {
	color: #ccc;
}
.modal-body a:visited {
	color: #ccc;
}
.modal-content {
	background-color: #ffffff;
	color: #2a3439;
}
.modal-backdrop {
	z-index: 1;
}
/*********** form ***************/
.input-icon {
	position: absolute;
	width: 30px;
	top: 18px;
	left: 15px;
	text-align: center;
	color: #555;
}
.form-control {
	color: #555;
	border-radius: 0px;
	width: 100%;
	font-size: 1rem;
	border: none;
	text-align: center;
	padding: 0.8rem 0px;
	font-family: "IBM Plex Sans Thai", sans-serif;
}
.form-group {
	display: flex;
	position: relative;
	margin-bottom: 1rem;
}
.form-select {
	-webkit-appearance: none;
	height: 55px;
	background-color: #fff;
	padding-left: 50px;
}
/*---------------- header ---------------*/
nav {
	display: flex;/* border: thin dashed #D200FF; */
}
nav .navicon {
	color: #ffbc00;
	font-size: 35px;
	line-height: 40px;
	padding-top: 5px;
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 0px;
}
header {
	display: flex;
	margin-top: 0px;
	margin-bottom: -50px;
	padding: 5px 5px;
}
header .logo img {
	width: 350px;
}
.box-header {
	justify-content: space-between;
	font-family: "IBM Plex Sans Thai", sans-serif;
	align-items: center;
	padding: 10px 5px;
}
.logo {
	top: -15;
}
.logo-page {
	display: flex;
	margin: 10px auto;
	width: 300px;
}
.logo-page img {
	width: 100%;
}
.header-btn {
	display: flex;
	font-family: "IBM Plex Sans Thai", sans-serif;
	font-size: 16px;
	line-height: 14px;
	font-weight: 700;
	color: #222;
	border-style: none;
	border-radius: 8px;
	padding: 10px 15px;
	justify-content: center;
	align-items: center;
	background-image: linear-gradient(  180deg,  rgba(255, 255, 255, 1) 0%,  rgba(255, 155, 0, 1) 100%  );
	background: linear-gradient(0deg, #efbb2a, #f6e7a2);
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=$from, endColorstr=$to, GradientType=1);
	cursor: pointer;
}
.header-btn a:link, .header-btn a:active, .header-btn a:visited {
	color: #222;
}
.header-mainbox {
	font-family: "IBM Plex Sans Thai", sans-serif;
	display: flex;
	flex: 3;
	justify-content: flex-end;
}
/*---------------- splash ---------------*/
.splash-img {
	margin: 10px auto;
}
.box-hilight {
	display: flex;
	justify-content: center;
	color: #dddddd;
	font-family: "IBM Plex Sans Thai", sans-serif;
}
.hilight-btn, .step-btn {
	display: flex;
	font-family: "IBM Plex Sans Thai", sans-serif;
	font-size: 20px;
	line-height: 20px;
	font-weight: 700;
	color: #ffd7d8;
	border-radius: 15px;
	padding: 15px 20px;
	justify-content: center;
	align-items: center;
	background-image: linear-gradient(  180deg,  rgba(230, 0, 0, 1) 0%,  rgba(255, 61, 61, 61) 100%  );
	background: linear-gradient(0deg, #e30000, #ff4343);
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=$from, endColorstr=$to, GradientType=1);
	border-style: none;
	cursor: pointer;
}
.not-active {
	filter: grayscale(100%);
}
.slogan-img {
	width: 150px;
}
/*---------------- contents ---------------*/
.contents {
	display: flex;
	width: 100%;
	align-items: center;
}
.box-dark {
	width: 100%;
	padding: 20px 0px;
	background: rgb(51, 51, 51);
	background: -moz-radial-gradient(  top center,  ellipse cover,  rgba(51, 51, 51, 1) 0%,  rgba(9, 9, 9, 1) 100%  );
	background: -webkit-radial-gradient(  top center,  ellipse cover,  rgba(51, 51, 51, 1) 0%,  rgba(9, 9, 9, 1) 100%  );
	background: radial-gradient(  ellipse at top center,  rgba(51, 51, 51, 1) 0%,  rgba(9, 9, 9, 1) 100%  );
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#090909', GradientType=1 );
}
.box-red {
	width: 100%;
	background-image: url("../images/splash-bg.png"); /*background-color: #222;*/
	background-position: center top;
	background-size: cover;
	border-bottom: thick solid #960001;
}
.box-black {
	background-color: #000;
	width: 100%;
	padding: 20px 0px;
}
.box-banner {
	width: 100%;
	border-bottom: thick solid rgba(255, 155, 0, 1);
}
/*---------------- download ---------------*/
.box-download {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	background: rgb(51, 51, 51);
	background: -moz-linear-gradient(  top,  rgba(51, 51, 51, 1) 0%,  rgba(9, 9, 9, 1) 100%  );
	background: -webkit-linear-gradient(  top,  rgba(51, 51, 51, 1) 0%,  rgba(9, 9, 9, 1) 100%  );
	background: linear-gradient(  to bottom,  rgba(51, 51, 51, 1) 0%,  rgba(9, 9, 9, 1) 100%  );
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#090909', GradientType=0 );
	border-bottom: thick solid #b30002;
}
/*---------------- game ---------------*/
.box-game {
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;
	justify-content: space-around;
}
.each-game {
	display: flex;
	flex-basis: 200px;
	flex-direction: column;
}
.each-game img {
	width: 100%;
}
/*---------------- footer ---------------*/
footer {
	background-color: #3c0001;
	padding: 30px 10px;
	color: #ddd;
	font-size: 12px;
	justify-content: center;
	border-top: thick solid #960001;
	background-image: -webkit-linear-gradient(  270deg,  rgba(68, 0, 1, 1) 0%,  rgba(0, 0, 0, 1) 100%  );
	background-image: -moz-linear-gradient(  270deg,  rgba(68, 0, 1, 1) 0%,  rgba(0, 0, 0, 1) 100%  );
	background-image: -o-linear-gradient(  270deg,  rgba(68, 0, 1, 1) 0%,  rgba(0, 0, 0, 1) 100%  );
	background-image: linear-gradient(  180deg,  rgba(68, 0, 1, 1) 0%,  rgba(0, 0, 0, 1) 100%  );
}
/*----------------  products ---------------------*/
/*----------------  padding ---------------------*/
.pd-5 {
	padding: 5px;
}
.pdt-5 {
	padding-top: 5px;
}
.pdb-5 {
	padding-bottom: 5px;
}
.pdl-5 {
	padding-left: 5px;
}
.pdr-5 {
	padding-right: 5px;
}
.pd-10 {
	padding: 10px;
}
.pdt-10 {
	padding-top: 10px;
}
.pdb-10 {
	padding-bottom: 10px;
}
.pdl-10 {
	padding-left: 10px;
}
.pdr-10 {
	padding-right: 10px;
}
.mr-5 {
	margin-right: 5px;
}
.ml-5 {
	margin-left: 5px;
}
.w-100 {
	width: 100%;
}
/******************  **********************/
.txt-white {
	color: #dddddd;
}
.fx-440 {
	display: flex;
	flex-wrap: wrap;
	flex-grow: 1;
	padding: 10px 20px;
	flex-basis: 440px;
	max-width: 800px;
	align-content: center;
	overflow: hidden;
}
.fx-280 {
	flex-wrap: wrap;
	flex-grow: 1;
	padding: 10px 20px;
	flex-basis: 280px;
	text-align: center;
}
.fx-280 > p {
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
}
.div80 {
	height: 80px;
}
.jp-vdo {
	width: 100%;
	max-width: 550px;
}
.img-100 {
	width: 100%;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
.addline-btn {
	position: fixed;
	right: 5%;
	bottom: 5%;
	max-width: 200px;
}
.btn-receive {
	background-color: #28a745;
	border-color: #28a745;
	color: #fff;
	border-radius: 5px;
	padding: 10px 15px;
}

/**************  Media Query *******************/
@media screen and (max-width: 1200px) {
header .logo img {
	width: 350px;
}
.d-none .d-xl-block {
	display: block;
}
.d-block .d-sm-none {
	display: none;
}
}

@media screen and (max-width: 768px) {
.each-game {
	flex-basis: 170px;
}
header {
	margin-bottom: 0px;
}
header .logo img {
	width: 250px;
}
.logo-page {
	width: 200px;
}
.rev-wrap {
	flex-wrap: wrap-reverse;
}
.jp-vdo {
	width: 90%;
	max-width: 550px;
}
.addline-btn {
	max-width: 200px;
	right: 0;
	bottom: 2%;
}
/*---------------- splash ---------------*/
.splash-img {
}
.hilight-detail {
	background-color: #000000a8;
	padding-bottom: 20px;
}
.taskbar img {
	width: 40px;
}
/*************************/
.box-popup {
	padding: 10px 0px;
	width: 100%;
	margin: auto;
	position: fixed;
	background-color: #111111;
	color: #aaa;
	height: 100%;
	border-style: none;
	transition: all 1s ease-in-out;
}
/*************************/
.modal-login {
	border: none;
	width: 100%;
	padding: 0px;
	height: 150vw;
}
.modal-register {
	margin-bottom: 80px;
	padding-bottom: 120px;
	padding-top: 0px;
	border: none;
}
.modal-body {
	margin: 10px 20px;
}
.modal-input {
	position: relative;
	margin: 20px 0px;
}
/* .modal-btn-ok {
    position: fixed;
    border-radius: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0px 0px;
    z-index: 999;
  } */
.modal-comment {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	margin: 0px 0px;
	padding-bottom: 60px;
	background-color: rgb(0 0 0 / 65%);
}
/************/
}

@media screen and (max-width: 650px) {
header .logo img {
	width: 200px;
}
.d-sm-none {
	display: block;
}
.d-xl-block {
	display: none;
}
.addline-btn {
	max-width: 100px;
	right: 0;
	bottom: 2%;
}
}

@media screen and (max-width: 320px) {
.each-game {
	flex-basis: 220px;
}
header .logo img {
	width: 200px;
}
.addline-btn {
	max-width: 80px;
	right: 0;
	bottom: 2%;
}
}
.fx-center {
	display: flex;
	justify-content: center;
}
.txt-center {
	text-align: center;
}
.txt-right {
	text-align: right;
}
.btn-tag {
	background-color: #960001;
	color: #d7d7d7;
	font-size: 0.8rem;
	border-radius: 5px;
	padding: 5px 10px;
	line-height: 2.5;
	border-style: none;
}
.header-bar {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	opacity: 1;
	transition: -webkit-transform 0.5s ease-out;
	transition: transform 0.5s ease-out;
	transition: transform 0.5s ease-out, -webkit-transform 0.5s ease-out;
}
.header-bar-out {
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
}
.detail-btn, .download-btn {
	font-family: "IBM Plex Sans Thai", sans-serif;
	display: flex;
	color: #fff;
	font-size: 16px;
	line-height: 14px;
	padding: 8px 10px;
	justify-content: center;
	width: 120px;
	margin-left: auto;
	margin-right: auto;
	background-image: linear-gradient(  180deg,  rgba(230, 0, 0, 1) 0%,  rgba(255, 61, 61, 61) 100%  );
	background: linear-gradient(0deg, #e30000, #ff4343);
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=$from, endColorstr=$to, GradientType=1);
	border-radius: 5px;
	border-style: none;
	cursor: pointer;
}
.download-btn, .step-btn {
	background: rgb(53, 145, 232);
	background: -moz-linear-gradient(  top,  rgba(53, 145, 232, 1) 0%,  rgba(0, 86, 226, 1) 100%  );
	background: -webkit-linear-gradient(  top,  rgba(53, 145, 232, 1) 0%,  rgba(0, 86, 226, 1) 100%  );
	background: linear-gradient(  to bottom,  rgba(53, 145, 232, 1) 0%,  rgba(0, 86, 226, 1) 100%  );
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3591e8', endColorstr='#0056e2', GradientType=0 );
}
.navbar-toggler {
	font-size: 1rem;
	color: #fff;
	border: 1px solid #fff;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
	background-color: #ffd60a;
	color: #000;
}
.nav-pills .nav-link {
	color: #fff;
}